]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
ARM: Disable compat mcount code when unneeded.
[thirdparty/glibc.git] / ChangeLog
1 2014-01-10 Roland McGrath <roland@hack.frob.com>
2
3 * sysdeps/generic/gcc-compat.h: New file.
4
5 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6
7 * benchtests/asin-inputs: Correct slow inputs.
8 * benchtests/acos-inputs: Likewise.
9
10 2014-01-10 Allan McRae <allan@archlinux.org>
11
12 * po:sv.po: Update Swedish translation from translation project.
13
14 * po/vi.po: Update Vietnamese translation from translation project.
15
16 * po/eo.po: Update Esperanto translation from translation project.
17
18 * po/cs.po: Update Czech translation from translation project.
19
20 * po/nl.po: Update Dutch translation from translation project.
21
22 * po/pl.po: Update Polish translation from translation project.
23
24 * po/ru.po: Update Russian translation from translation project.
25
26 * po/uk.po: Update Ukrainian translation from translation project.
27
28 2014-01-08 Brooks Moses <bmoses@google.com>
29
30 * elf/dl-load.c: Fix comment typo.
31
32 2014-01-08 Carlos O'Donell <carlos@redhat.com>
33
34 * po/header.pot: Rename to...
35 * po/pot.header: ... this.
36 * po/Makefile: Use pot.header.
37
38 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
39 Maxim Kuvyrkov <maxim@kugelworks.com>
40
41 [BZ #16394]
42 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
43 SRC and DEST against LEN.
44
45 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46
47 [BZ #16414]
48 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
49 implementation.
50 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
51
52 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53
54 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55
56 2014-01-08 Joseph Myers <joseph@codesourcery.com>
57
58 [BZ #16408]
59 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
60 for large positive arguments.
61
62 2014-01-07 Joseph Myers <joseph@codesourcery.com>
63
64 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
65
66 * math/auto-libm-test-in: Mark various tests with
67 xfail-rounding:ldbl-128ibm.
68 * math/auto-libm-test-out: Regenerated.
69
70 [BZ #16407]
71 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
72 Increase overflow threshold.
73
74 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
75
76 [BZ #14286]
77 * stdio-common/vfprintf.c: Check for integer overflow.
78
79 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
80
81 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
82 the first argument and return value of __tls_get_addr_internal.
83
84 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
85
86 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
87 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
88
89 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
90
91 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
92 * sysdeps/s390/rtld-global-offsets.sym: New file.
93 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
94 GLIBC_2.19 symbol.
95 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
96 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
97 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
98 ... this.
99 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
100 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
101 ... this.
102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
103 Regenerate.
104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
105 Regenerate.
106 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
107 halfs of GPRs for high_gprs contexts.
108 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
109 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
110 field.
111 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
112 uc_flags field.
113 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
114 64 bit versions:
115 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
116 for high GPRs (uc_high_gprs) and for future extensions
117 (__reserved).
118 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
119 for future extensions (__reserved).
120 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
121 64 bit versions:
122 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
123 SC_HIGHGPRS offset definition.
124 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
125 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
126
127 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
128
129 * Versions.def: Add GLIBC_2.19 for libpthread.
130 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
131 siglongjmp for libpthread with GLIBC_2.19 symver.
132 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
133 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
134 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
135 * sysdeps/s390/__longjmp.c: New file.
136 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
137 * sysdeps/s390/longjmp.c: New file.
138 * sysdeps/s390/setjmp.S: New file.
139 * sysdeps/s390/sigjmp.S: New file.
140 * sysdeps/s390/v1-longjmp.c: New file.
141 * sysdeps/s390/v1-setjmp.h: New file.
142 * sysdeps/s390/v1-sigjmp.c: New file.
143 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
144 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
145 GLIBC_2.19 version.
146 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
147 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
148 versioned symbols for ____longjmp_chk.
149 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
150 Likewise.
151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
152 Regenerate.
153 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
154 Regenerate.
155 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
156 Regenerate.
157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
158 Regenerate.
159 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
160 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
161 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
162 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
163 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
164 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
165 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
166 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
167 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
168 * sysdeps/s390/rtld-__longjmp.c: New file.
169 * sysdeps/s390/rtld-setjmp.S: New file.
170
171 2014-01-06 Joseph Myers <joseph@codesourcery.com>
172
173 [BZ #16400]
174 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
175 Return -__logl (x) for small positive arguments without evaluating
176 a polynomial.
177
178 2014-01-06 Mike Frysinger <vapier@gentoo.org>
179
180 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
181 Rename to ...
182 (__ptrace_peeksiginfo_args): ... this.
183 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
184 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
185 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
186
187 2014-01-06 Allan McRae <allan@archlinux.org>
188
189 * inet/netinet/in.h: Fix typo in comment.
190
191 2014-01-05 Andreas Jaeger <aj@suse.de>
192
193 * sysdeps/i386/fpu/libm-test-ulps: Update.
194
195 2014-01-05 Allan McRae <allan@archlinux.org>
196
197 * po/libc.pot: Regenerated.
198
199 * malloc/memusagestat.c: Fix gettext call formatting.
200
201 2014-01-04 Sami Kerola <kerolasa@iki.fi>
202
203 * nscd/nscd.c: Improve usage() output.
204
205 2014-01-04 Mike Frysinger <vapier@gentoo.org>
206
207 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
208 * sysdeps/unix/sysv/linux/configure: Regenerated.
209 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
210 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
211
212 2014-01-03 Joseph Myers <joseph@codesourcery.com>
213
214 [BZ #16390]
215 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
216 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
217
218 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
219
220 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
221 extra tokens at end of #undef directive.
222 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
223 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
224 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
225
226 2014-01-03 Andrew Hunter <ahh@google.com>
227
228 * elf/dl-open.c (dl_open_worker): New comment.
229 * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
230 atomic_compare_and_exchange_bool_acq
231 (_dl_allocate_static_tls): Block signals.
232 * elf/dl-tls.c (allocate_and_init): Return void.
233 (_dl_update_slotinfo): Block signals, use atomic update.
234
235 2014-01-03 Joseph Myers <joseph@codesourcery.com>
236
237 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
238
239 * math/auto-libm-test-in: Mark various tests with
240 xfail-rounding:ldbl-128ibm.
241 * math/auto-libm-test-out: Regenerated.
242
243 2014-01-02 Joseph Myers <joseph@codesourcery.com>
244
245 [BZ #16386]
246 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
247 numbers with subnormal high part when calculating exponent.
248
249 [BZ #16385]
250 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
251 fabs.
252
253 [BZ #16384]
254 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
255 M_LN2l.
256 (__ieee754_acoshl): Use __log1pl not __log1p.
257
258 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
259
260 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
261 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
262 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
263 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
264 Convert to GNU style.
265 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
266 mem2mem_check, mem2chunk_check, top_check, realloc_check,
267 memalign_check, __malloc_set_state): Likewise.
268 * malloc/mallocbug.c (main): Likewise.
269 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
270 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
271 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
272 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
273 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
274 * malloc/malloc.h: Likewise.
275 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
276 memalignhook, reallochook, mabort): Likewise.
277 * malloc/mcheck.h: Likewise.
278 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
279 mmap64, mremap, munmap, dest): Likewise.
280 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
281 * malloc/morecore.c (__default_morecore): Likewise.
282 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
283 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
284 _obstack_allocated_p, obstack_free, _obstack_memory_used,
285 print_and_abort): Likewise.
286 * malloc/obstack.h: Likewise.
287 * malloc/set-freeres.c (__libc_freeres): Likewise.
288 * malloc/tst-mallocstate.c (main): Likewise.
289 * malloc/tst-mtrace.c (main): Likewise.
290 * malloc/tst-realloc.c (do_test): Likewise.
291
292 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
293
294 [BZ #16366]
295 * nscd/netgroupcache.c (do_notfound): New function.
296 (addgetnetgrentX): Use it.
297
298 [BZ # 16365]
299 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
300 NSS_STATUS_NOTFOUND.
301
302 2014-01-01 Joseph Myers <joseph@codesourcery.com>
303
304 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
306
307 2014-01-01 Allan McRae <allan@archlinux.org>
308
309 * scripts/update-copyrights: Update configure input file suffix.
310
311 * NEWS: Update copyright year.
312 * catgets/gencat.c: Likewise.
313 * csu/version.c: Likewise.
314 * debug/catchsegv.sh: Likewise.
315 * debug/pcprofiledump.c: Likewise.
316 * debug/xtrace.sh: Likewise.
317 * elf/ldconfig.c: Likewise.
318 * elf/ldd.bash.in: Likewise.
319 * elf/pldd.c: Likewise.
320 * elf/sotruss.ksh: Likewise.
321 * elf/sprof.c: Likewise.
322 * iconv/iconv_prog.c: Likewise.
323 * iconv/iconvconfig.c: Likewise.
324 * locale/programs/locale.c: Likewise.
325 * locale/programs/localedef.c: Likewise.
326 * login/programs/pt_chown.c: Likewise.
327 * malloc/memusage.sh: Likewise.
328 * malloc/memusagestat.c: Likewise.
329 * malloc/mtrace.pl: Likewise.
330 * manual/libc.texinfo: Likewise.
331 * nscd/nscd.c: Likewise.
332 * nss/getent.c: Likewise.
333 * nss/makedb.c: Likewise.
334 * posix/getconf.c: Likewise.
335 * scripts/test-installation.pl: Likewise.
336
337 * All files with FSF copyright notices: Update copyright dates
338 using scripts/update-copyrights.
339 * intl/plural.c: Regenerated.
340 * locale/programs/charmap-kw.h: Likewise.
341 * locale/programs/locfile-kw.h: Likewise.
342
343 2013-12-31 Mike Frysinger <vapier@gentoo.org>
344
345 * sysdeps/unix/sysv/linux/configure: Regenerated.
346 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
347 the linux/fanotify.h header.
348 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
349 HAVE_LINUX_FANOTIFY_H is defined.
350
351 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
352
353 * benchtests/cos-inputs: New inputs.
354 * benchtests/sin-inputs: Likewise.
355
356 * benchtests/atan-inputs: New inputs. Fix name of multiple
357 precision fallback inputs.
358
359 * benchtests/atanh-inputs: New inputs.
360 * benchtests/tanh-inputs: Likewise.
361
362 * benchtests/acosh-inputs: New inputs.
363 * benchtests/asinh-inputs: Likewise.
364
365 * benchtests/cosh-inputs: New inputs.
366 * benchtests/sinh-inputs: Likewise.
367
368 * benchtests/acos-inputs: Add more inputs.
369 * benchtests/asin-inputs: Likewise.
370
371 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
372
373 [BZ #16375]
374 * manual/arith.texi: Fix spelling.
375 * manual/charset.texi: Likewise.
376 * manual/errno.texi: Likewise.
377 * manual/filesys.texi: Likewise.
378 * manual/lang.texi: Likewise.
379 * manual/llio.texi: Likewise.
380 * manual/locale.texi: Likewise.
381 * manual/message.texi: Likewise.
382 * manual/resource.texi: Likewise.
383 * manual/search.texi: Likewise.
384 * manual/setjmp.texi: Likewise.
385 * manual/stdio.texi: Likewise.
386 * manual/string.texi: Likewise.
387 * manual/sysinfo.texi: Likewise.
388 * manual/time.texi: Likewise.
389
390 2013-12-27 Carlos O'Donell <carlos@redhat.com>
391
392 * po/sl.po: New file.
393
394 2013-12-27 Mike Frysinger <vapier@gentoo.org>
395
396 * .gitignore: Add core/.gdbinit/.gdb_history.
397
398 2013-12-27 Allan McRae <allan@archlinux.org>
399
400 [BZ #16369]
401 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
402 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
403
404 2013-12-24 Brooks Moses <bmoses@google.com>
405
406 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
407 all compilers that claim C++98 compliance, not just GCC.
408 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
409 Likewise.
410
411 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
412
413 * NEWS: Restore accidentally deleted bug-fix entries.
414
415 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
416 Ondřej Bílka <neleai@seznam.cz>
417
418 [BZ #15073]
419 * malloc/malloc.c (_int_free): Perform sanity check only if we
420 have_lock.
421
422 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
423
424 [BZ #12986]
425 * manual/stdio.texi (String Input Conversions): Clarify that character
426 classes are not supported.
427
428 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
429
430 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
431
432 2013-12-22 Joseph Myers <joseph@codesourcery.com>
433
434 [BZ #16337]
435 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
436 Calculate results for small negative arguments directly rather
437 than using reflection formula with special underflow handling.
438
439 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
440 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
441 sysdeps/unix/bsd/bsd4.4/syscalls.list.
442 (fchflags): Likewise.
443 (revoke): Likewise.
444 (setlogin): Likewise.
445 (sigaltstack): Likewise.
446 (wait4): Likewise.
447 (sigblock): Remove.
448 (sigsetmask): Likewise.
449 (wait3): Likewise.
450 (waitpid): Likewise.
451 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
452 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
453 file.
454 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
455 * sysdeps/unix/bsd/Makefile: ... here.
456 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
457 * sysdeps/unix/bsd/Versions: ... here.
458 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
459 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
460 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
461 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
462 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
463 * sysdeps/unix/bsd/sigblock.c: ... here.
464 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
465 * sysdeps/unix/bsd/sigsetmask.c: ... here.
466 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
467 * sysdeps/unix/bsd/sigvec.c: ... here.
468 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
469 * sysdeps/unix/bsd/tcdrain.c: ... here.
470 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
471 * sysdeps/unix/bsd/tcgetattr.c: ... here.
472 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
473 * sysdeps/unix/bsd/tcsetattr.c: ... here.
474 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
475 * sysdeps/unix/bsd/wait.c: ... here.
476 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
477 * sysdeps/unix/bsd/wait3.c: ... here.
478 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
479 * sysdeps/unix/bsd/waitpid.c: ... here.
480
481 2013-12-21 Joseph Myers <joseph@codesourcery.com>
482
483 [BZ #16356]
484 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
485 round-to-nearest for [!USE_AS_EXPM1L].
486 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
487 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
488 more tests of exp and exp10. Expect some exp10 tests to miss
489 exceptions or fail in directed rounding modes.
490 * math/auto-libm-test-out: Regenerated.
491 * math/libm-test.inc (exp10_tonearest_test_data): New array.
492 (exp10_test_tonearest): New function.
493 (exp10_towardzero_test_data): New array.
494 (exp10_test_towardzero): New function.
495 (exp10_downward_test_data): New array.
496 (exp10_test_downward): New function.
497 (exp10_upward_test_data): New array.
498 (exp10_test_upward): New function.
499 (main): Call the new functions.
500 * sysdeps/i386/fpu/libm-test-ulps: Update.
501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
502
503 2013-12-20 Joseph Myers <joseph@codesourcery.com>
504
505 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
506 asinh, atan, atan2, atanh, cbrt, cos and cosh.
507 * math/auto-libm-test-out: Regenerated.
508 * math/libm-test.inc (acosh_test_data): Add more tests.
509 (atanh_test_data): Likewise.
510 (ceil_test_data): Likewise.
511 (copysign_test_data): Likewise.
512 * sysdeps/i386/fpu/libm-test-ulps: Update.
513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
514
515 * timezone/checktab.awk: Update from tzcode 2013i.
516 * timezone/private.h: Likewise.
517 * timezone/scheck.c: Likewise.
518 * timezone/tzfile.h: Likewise.
519 * timezone/tzselect.ksh: Likewise.
520 * timezone/zdump.c: Likewise.
521 * timezone/zic.c: Likewise.
522
523 * math/auto-libm-test-in: Add tests of cpow.
524 * math/auto-libm-test-out: Regenerated.
525 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
526 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
527 mpc_cc_c.
528 (func_calc_desc): Add mpc_cc_c union field.
529 (test_functions): Add cpow.
530 (special_fill_2pi): New function.
531 (special_real_inputs): Add 2pi.
532 (calc_generic_results): Handle mpc_cc_c.
533 * sysdeps/i386/fpu/libm-test-ulps: Update.
534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
535
536 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
537 csqrt, ctan and ctanh.
538 * math/auto-libm-test-out: Regenerated.
539 * math/libm-test.inc (TEST_COND_x86_64): New macro.
540 (TEST_COND_x86): Likewise.
541 (ccos_test_data): Use AUTO_TESTS_c_c.
542 (ccosh_test_data): Likewise.
543 (cexp_test_data): Likewise.
544 (clog_test_data): Likewise.
545 (csqrt_test_data): Likewise.
546 (ctan_test_data): Likewise.
547 (ctan_tonearest_test_data): Likewise.
548 (ctan_towardzero_test_data): Likewise.
549 (ctan_downward_test_data): Likewise.
550 (ctan_upward_test_data): Likewise.
551 (ctanh_test_data): Likewise.
552 (ctanh_tonearest_test_data): Likewise.
553 (ctanh_towardzero_test_data): Likewise.
554 (ctanh_downward_test_data): Likewise.
555 (ctanh_upward_test_data): Likewise.
556 * math/gen-auto-libm-tests.c (func_calc_method): Add value
557 mpc_c_c.
558 (func_calc_desc): Add mpc_c_c union field.
559 (FUNC_mpc_c_c): New macro.
560 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
561 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
562 ctanh.
563 (special_fill_min_subnorm_p120): New function.
564 (special_real_inputs): Add min_subnorm_p120.
565 (calc_generic_results): Handle mpc_c_c.
566 * sysdeps/i386/fpu/libm-test-ulps: Update.
567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
568
569 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
570
571 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
572 do_sin_slow): New functions.
573 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
574 cslow2, csloww1, csloww2): Use the new functions.
575
576 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
577 Use M to change sign of result instead of X. Assume X is
578 positive.
579 (csloww1): Likewise.
580 (__sin): Adjust.
581 (__cos): Adjust.
582
583 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
584 arguments A and DA.
585 (__sin): Adjust.
586 (__cos): Likewise.
587
588 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
589 (__cos): Likewise.
590 (sloww1): Don't adjust sign of DX.
591 (csloww1): Likewise.
592 (sloww2): Use X directly and don't adjust sign of DX.
593 (csloww2): Likewise.
594
595 2013-12-19 Joseph Myers <joseph@codesourcery.com>
596
597 * math/auto-libm-test-in: Add tests of cabs and carg.
598 * math/auto-libm-test-out: Regenerated.
599 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
600 (carg_test_data): Likewise.
601 * math/gen-auto-libm-tests.c (func_calc_method): Add value
602 mpc_c_f.
603 (func_calc_desc): Add mpc_c_f union field.
604 (test_functions): Add cabs and carg.
605 (calc_generic_results): Handle mpc_c_f.
606
607 * sysdeps/powerpc/powerpc32/libgcc-compat.S
608 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
609 as a macro and a compat symbol.
610 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
611 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
612 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
613 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
614 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
615 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
616 not use .hidden.
617 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
618 Likewise.
619 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
620 Likewise.
621 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
622 Likewise.
623 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
624 Likewise.
625 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
626 Likewise.
627 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
628 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
629 from GLIBC_2.3.2.
630
631 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
632
633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
634
635 2013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
636
637 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
638 (__signal_safe_memalign, __signal_safe_free): Use it.
639 (__signal_safe_realloc): Likewise.
640
641 2013-12-19 Joseph Myers <joseph@codesourcery.com>
642
643 * manual/texinfo.tex: Update to version 2013-11-26.10 with
644 trailing whitespace removed.
645 * scripts/config.guess: Update to version 2013-11-29.
646 * scripts/config.sub: Update to version 2013-10-01.
647
648 * math/auto-libm-test-in: Add tests of sincos.
649 * math/auto-libm-test-out: Regenerated.
650 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
651 * math/gen-auto-libm-tests.c (func_calc_method): Add value
652 mpfr_f_11.
653 (func_calc_desc): Add mpfr_f_11 union field.
654 (test_functions): Add sincos.
655 (calc_generic_results): Handle mpfr_f_11.
656 * sysdeps/i386/fpu/libm-test-ulps: Update.
657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
658
659 2013-12-19 Andreas Schwab <schwab@suse.de>
660
661 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
662 CALL_MCOUNT.
663 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
664 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
665 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
666
667 2013-12-19 Joseph Myers <joseph@codesourcery.com>
668
669 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
670 * sysdeps/i386/fpu/libm-test-ulps: Update.
671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
672
673 [BZ #16293]
674 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
675 round-to-nearest mode when using frndint.
676 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
677 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
678 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
679 Likewise.
680 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
681 sinh test to fail.
682 * math/auto-libm-test-out: Regenerated.
683 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
684 (TEST_COND_x86): Likewise.
685 (expm1_tonearest_test_data): New array.
686 (expm1_test_tonearest): New function.
687 (expm1_towardzero_test_data): New array.
688 (expm1_test_towardzero): New function.
689 (expm1_downward_test_data): New array.
690 (expm1_test_downward): New function.
691 (expm1_upward_test_data): New array.
692 (expm1_test_upward): New function.
693 (main): Run the new test functions.
694 * sysdeps/i386/fpu/libm-test-ulps: Update.
695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
696
697 * include/features.h: Update comment documenting feature test
698 macros. Mention _DEFAULT_SOURCE in comment.
699 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
700 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
701 _BSD_SOURCE and _SVID_SOURCE.
702 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
703 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
704 !_SVID_SOURCE]: Likewise.
705 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
706 (__USE_POSIX_IMPLICITLY): Define.
707 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
708 (_POSIX_SOURCE): Undefine and redefine.
709 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
710 (_POSIX_C_SOURCE): Likewise.
711 * manual/creature.texi (_DEFAULT_SOURCE): Document.
712 (Feature Test Macros): Update documentation of default features.
713
714 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
715
716 * benchtests/Makefile: Add bench-strtok.
717 * benchtests/bench-strtok.c: New file: strtok benchtest.
718
719 2013-12-19 Allan McRae <allan@archlinux.org>
720
721 * manual/install.texi: Suppress menu for plain text output.
722 * INSTALL: Regenerated.
723
724 2013-12-18 Andrew Hunter <ahh@google.com>
725
726 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
727 (__signal_safe_malloc, __signal_safe_free): Likewise.
728 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
729 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
730 (__signal_safe_memalign, __signal_safe_malloc): New function.
731 (__signal_safe_free, __signal_safe_realloc): Likewise.
732 (__signal_safe_calloc): Likewise.
733 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
734 functions.
735 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
736
737 2013-12-18 Andrew Hunter <ahh@google.com>
738
739 * elf/Versions (ld): Add _dl_clear_dtv.
740 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
741 * elf/dl-tls.c (_dl_clear_dtv): New function.
742 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
743
744 2013-12-18 Andrew Hunter <ahh@google.com>
745
746 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
747 (_dl_unmask_signals): Likewise.
748 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
749 (_dl_unmask_all_signals): Likewise.
750 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
751 (_dl_unmask_all_signals): Likewise.
752 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
753 (_dl_unmask_signals): Likewise.
754
755 2013-12-18 Brooks Moses <bmoses@google.com>
756
757 [BZ #15846]
758 * misc/getauxval.c: Include errno.h.
759 (__getauxval): Set errno to ENOENT if the requested type is not
760 found.
761 * misc/sys/auxv.h (getauxval): Document that it may set errno;
762 don't declare with __attribute_const__.
763 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
764 * manual/startup.texi: Document that getauxval sets errno.
765
766 2013-12-18 Joseph Myers <joseph@codesourcery.com>
767
768 * math/auto-libm-test-in: Add tests of jn and yn.
769 * math/auto-libm-test-out: Regenerated.
770 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
771 (yn_test_data): Likewise.
772 * math/gen-auto-libm-tests.c (func_calc_method): Add value
773 mpfr_if_f.
774 (func_calc_desc): Add mpfr_if_f union field.
775 (FUNC_mpfr_if_f): New macro.
776 (test_functions): Add jn and yn.
777 (calc_generic_results): Assert type of second input for
778 mpfr_ff_f. Handle mpfr_if_f.
779 (output_for_one_input_case): Disable all checking for arguments
780 fitting floating-point types in case of an integer argument.
781 * sysdeps/i386/fpu/libm-test-ulps: Update.
782 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
783
784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
785 Don't expect fegetround reference in libm.so.
786
787 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
788
789 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
790 $(config-cflags-nofma).
791
792 2013-12-18 Joseph Myers <joseph@codesourcery.com>
793
794 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
795 * math/auto-libm-test-out: Regenerated.
796
797 [BZ #16338]
798 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
799 to determine exponent and adjust argument to have exponent of -1.
800 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
801 log2.
802 * math/auto-libm-test-out: Regenerated.
803 * sysdeps/i386/fpu/libm-test-ulps: Update.
804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
805
806 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
807
808 * manual/probes.texi: Remove cases when per-thread arenas are
809 disabled.
810
811 2013-12-18 Andreas Schwab <schwab@suse.de>
812
813 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
814 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
815 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
816 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
817 * sysdeps/i386/i686/multiarch/Makefile: Update.
818 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
819
820 2013-12-17 Joseph Myers <joseph@codesourcery.com>
821
822 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
823 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
824
825 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
826
827 Support TZ transition times < 00:00:00.
828 This is needed for version-3 tz-format files; it supports time
829 stamps past 2037 for America/Godthab (the only entry in the tz
830 database for which this change is relevant).
831 * manual/time.texi (TZ Variable): Document transition times
832 from -167:59:59 through -00:00:01.
833 * time/tzset.c (tz_rule): Time of day is now signed.
834 (__tzset_parse_tz): Parse negative time of day.
835
836 Document TZ transition times >= 25:00:00.
837 * manual/time.texi (TZ Variable): Document transition times from
838 25:00:00 through 167:59:59. These are already supported, and this
839 support will help with version-3 tz-format files.
840
841 * manual/time.texi (TZ Variable): Modernize North America example
842 to reflect current (i.e., 2007-and-later) daylight saving rules.
843
844 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
845
846 2013-12-17 Joseph Myers <joseph@codesourcery.com>
847
848 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
849 * sysdeps/unix/bsd/bits/stat.h: Likewise.
850 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
851 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
852 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
853 * sysdeps/unix/bsd/bsdstat.h: Likewise.
854 * sysdeps/unix/bsd/clock.c: Likewise.
855 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
856 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
857 * sysdeps/unix/bsd/init-posix.c: Likewise.
858 * sysdeps/unix/bsd/poll.c: Likewise.
859 * sysdeps/unix/bsd/ptsname.c: Likewise.
860 * sysdeps/unix/bsd/seekdir.c: Likewise.
861 * sysdeps/unix/bsd/setegid.c: Likewise.
862 * sysdeps/unix/bsd/seteuid.c: Likewise.
863 * sysdeps/unix/bsd/setgid.c: Likewise.
864 * sysdeps/unix/bsd/setrgid.c: Likewise.
865 * sysdeps/unix/bsd/setruid.c: Likewise.
866 * sysdeps/unix/bsd/setsid.c: Likewise.
867 * sysdeps/unix/bsd/setuid.c: Likewise.
868 * sysdeps/unix/bsd/sigaction.c: Likewise.
869 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
870 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
871 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
872 * sysdeps/unix/bsd/telldir.c: Likewise.
873 * sysdeps/unix/bsd/times.c: Likewise.
874 * sysdeps/unix/bsd/usleep.c: Likewise.
875
876 * misc/Makefile (install-lib): Remove libbsd-compat.a.
877 ($(objpfx)libbsd-compat.a): Remove rule.
878
879 * include/features.h (__FAVOR_BSD): Do not define.
880 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
881 features conflicting with POSIX.
882 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
883 (_BSD_SOURCE): Remove description of not being a subset of other
884 feature test macros.
885 * manual/job.texi (getpgrp): Do not document BSD version.
886 (getpgid): Do not document by reference to BSD getpgrp.
887 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
888 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
889 * signal/signal.h [__FAVOR_BSD]: Likewise.
890 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
891 instead of making contents conditional on [__FAVOR_BSD].
892 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
893
894 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
895
896 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
897
898 2013-12-17 Joseph Myers <joseph@codesourcery.com>
899
900 [BZ #16314]
901 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
902 values below 2**-450, not 2**-500.
903 * math/auto-libm-test-in: Don't allow spurious underflow from
904 hypot.
905 * math/auto-libm-test-out: Regenerated.
906
907 [BZ #16316]
908 [BZ #16330]
909 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
910 values of ha and hb and sort them after adjusting subnormal
911 arguments.
912 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
913 Likewise.
914 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
915 values of ea and eb and sort them after adjusting subnormal
916 arguments.
917 * math/auto-libm-test-in: Do not expect some hypot tests of
918 subnormals to fail. Add more hypot tests.
919 * math/auto-libm-test-out: Regenerated.
920
921 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
922
923 [BZ #13304]
924 * sysdeps/sh/s_fma.c: New file.
925 * sysdeps/sh/s_fmaf.c: New file.
926 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
927 version.
928 * sysdeps/sh/Implies: Add sh/soft-fp.
929
930 2013-12-16 Roland McGrath <roland@hack.frob.com>
931
932 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
933 level of indirection to members `objname', `errstring', `malloced'.
934 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
935 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
936 it as the __longjmp argument (just pass 1 instead).
937 (_dl_catch_error): Initialize C with argument pointers and address of
938 volatile local ERRCODE rather than copying values out of C at return.
939
940 2013-12-16 Joseph Myers <joseph@codesourcery.com>
941
942 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
943 * math/auto-libm-test-out: Regenerated.
944 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
945 (hypot_test_data): Likewise.
946 (pow_test_data): Likewise.
947 (pow_tonearest_test_data): Likewise.
948 * math/gen-auto-libm-tests.c (func_calc_method): Add value
949 mpfr_ff_f.
950 (func_calc_desc): Add mpfr_ff_f union field.
951 (FUNC_mpfr_ff_f): New macro.
952 (test_functions): Add atan2, hypot and pow.
953 (special_fill_min): New function.
954 (special_fill_minus_min): Likewise.
955 (special_fill_min_subnorm): Likewise.
956 (special_fill_minus_min_subnorm): Likewise.
957 (special_real_inputs): Add min, -min, min_subnorm and
958 -min_subnorm.
959 (calc_generic_results): Handle mpfr_ff_f.
960 * sysdeps/i386/fpu/libm-test-ulps: Update.
961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
962
963 2013-12-16 Will Newton <will.newton@linaro.org>
964
965 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
966 (Aligned Memory Blocks): Add documentation for aligned_alloc
967 and suggest it as an alternative to posix_memalign.
968 (Hooks for Malloc): Document __memalign_hook is also called
969 for aligned_alloc. (Summary of Malloc): Add summary for
970 aligned alloc. Document __memalign_hook is also called
971 for aligned_alloc.
972
973 2013-12-16 Will Newton <will.newton@linaro.org>
974
975 * manual/memory.texi (Malloc Examples): Clarify default
976 alignment documentation. Suggest posix_memalign rather
977 than memalign or valloc.
978 (Aligned Memory Blocks): Remove suggestion to use memalign
979 or valloc. Remove obsolete comment about BSD.
980 Document memalign errno values and mark the function obsolete.
981 Document posix_memalign returned error codes. Mark valloc
982 as obsolete. (Hooks for Malloc): __memalign_hook is also
983 called for posix_memalign and valloc.
984 (Summary of Malloc): Add posix_memalign to function summary.
985 __memalign_hook is also called for posix_memalign and valloc.
986
987 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
988
989 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
990 TAYLOR_SIN.
991 (__sin): Adjust.
992 (__cos): Likewise.
993 (sloww): Use mynumber union. Expand ternary operator into
994 if-else statements.
995 (cslow): use mynumber union.
996
997 2013-12-16 Allan McRae <allan@archlinux.org>
998
999 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1000 * configure: Regenerated.
1001
1002 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1003
1004 [BZ #14120]
1005 * configure.ac: Added --enable-maintainer-mode. Check for
1006 autoconf when enabled.
1007 * configure: Regenerated.
1008
1009 * nscd/nscd.service: New file.
1010 * nscd/nscd.tmpfiles: New file.
1011
1012 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
1013
1014 [BZ #12100]
1015 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1016 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1017 * sysdeps/x86_64/multiarch/strstr.c: ... here.
1018 (strstr): Add __strstr_sse2_unaligned ifunc.
1019 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1020 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1021 (strcasestr): Remove __strcasestr_sse42 ifunc.
1022 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1023 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1024 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1025
1026 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1027
1028 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1029 * sysdeps/sh/bits/fenv.h: ... here.
1030 * sysdeps/sh/sh4/fpu/bits: Remove directory.
1031
1032 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1033
1034 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1035
1036 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1037
1038 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1039 hypotf multiarch implementations.
1040 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1041 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1042 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1043 multiarch hypot for PPC64.
1044 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1045 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1046 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1047 multiarch hypotf for PPC64.
1048
1049 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1050
1051 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1052 modff multiarch implementations.
1053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1056 multiarch modf for PPC64.
1057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1059 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1060 multiarch modff for PPC64.
1061
1062 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1063
1064 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1065 and logl multiarch implementations.
1066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1069 multiarch logb for PPC64.
1070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1071 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1073 multiarch logb for PPC64.
1074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1076 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1077 multiarch logb for PPC64.
1078
1079 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1080
1081 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1082 isinff multiarch implementation.
1083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1084 file.
1085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1087 multiarch isinf for PPC64.
1088 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1089 file.
1090 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1091 multiarch isinff for PPC64.
1092
1093 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1094
1095 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1096 finitef multiarch implementation.
1097 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1098 file.
1099 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1101 multiarch finite for PPC64.
1102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1103 file.
1104 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1105 multiarch finitef for PPC64.
1106
1107 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1108
1109 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1110 lrint multiarch implementation.
1111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1112 file.
1113 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1115 multiarch llrint for PPC64.
1116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1117 multiarch lrint for PPC64.
1118
1119 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1120
1121 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1122 copysignf multiarch implementation.
1123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1124 file.
1125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1126 file.
1127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1128 multiarch copysign for PPC64.
1129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1130 multiarch copysignf for PPC64.
1131
1132 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1133
1134 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1135 multiarch implementation.
1136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1137 file.
1138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1139 file.
1140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1141 file.
1142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1143 file.
1144 multiarch llround for PPC64.
1145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1146 multiarch trunc for PPC64.
1147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1148 multiarch truncf for PPC64.
1149
1150 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1151
1152 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1153 multiarch implementation.
1154 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1155 file.
1156 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1157 file.
1158 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1159 file.
1160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1161 file.
1162 multiarch llround for PPC64.
1163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1164 multiarch round for PPC64.
1165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1166 multiarch roundf for PPC64.
1167
1168 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1169
1170 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1171 multiarch implementation.
1172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1173 file.
1174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1175 file.
1176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1177 file.
1178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1179 file.
1180 multiarch llround for PPC64.
1181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1182 multiarch floor for PPC64.
1183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1184 multiarch floorf for PPC64.
1185
1186 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1187
1188 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1189 multiarch implementation.
1190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1191 file.
1192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1193 file.
1194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1195 file.
1196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1197 file.
1198 multiarch llround for PPC64.
1199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1200 multiarch ceil for PPC64.
1201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1202 multiarch ceilf for PPC64.
1203
1204 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1205
1206 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1207 multiarch implementation.
1208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1209 file.
1210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1211 file.
1212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1213 file.
1214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1215 multiarch llround for PPC64.
1216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1217 multiarch lround for PPC64.
1218
1219 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1220
1221 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1222 multiarch implementation.
1223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1226 file.
1227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1230 multiarch isnan for PPC64.
1231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1232 multiarch isnanf for PPC64.
1233
1234 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1235
1236 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1237 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1238 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1239 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1240 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1242
1243 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1244
1245 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1246 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1247 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1248 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1249
1250 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1251
1252 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1253 multiarch implementations.
1254 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1255 (__libc_ifunc_impl_list): Likewise.
1256 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1257 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1258 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1259 multiarch stpcpy for PPC64.
1260
1261 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1262
1263 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1264 multiarch implementations.
1265 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1266 (__libc_ifunc_impl_list): Likewise.
1267 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1268 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1269 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1270 multiarch strcpy for PPC64.
1271
1272 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1273
1274 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1275 redefine function name.
1276 (_wordcopy_fwd_dest_aligned): Likewise.
1277 (_wordcopy_bwd_aligned): Likewise.
1278 (_wordcopy_bwd_dest_aligned): Likewise.
1279 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1280 multiarch implementations.
1281 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1282 (__libc_ifunc_impl_list): Likewise.
1283 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1284 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1285 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1286 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1287 multiarch wcscpy for PPC64.
1288
1289 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1290
1291 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1292 multiarch implementations.
1293 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1294 (__libc_ifunc_impl_list): Likewise.
1295 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1296 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1297 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1298 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1299 multiarch wcscpy for PPC64.
1300
1301 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1302
1303 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1304 multiarch implementations.
1305 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1306 (__libc_ifunc_impl_list): Likewise.
1307 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1308 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1309 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1310 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1311 multiarch wcsrchr for PPC64.
1312
1313 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1314
1315 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1316 multiarch implementations.
1317 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1318 (__libc_ifunc_impl_list): Likewise.
1319 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1320 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1321 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1322 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1323 multiarch wcschr for PPC64.
1324
1325 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1326
1327 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1328 multiarch implementations.
1329 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1330 (__libc_ifunc_impl_list): Likewise.
1331 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1332 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1333 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1334 multiarch strchrnul for PPC64.
1335
1336 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1337
1338 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1339 implementations.
1340 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1341 (__libc_ifunc_impl_list): Likewise.
1342 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1343 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1344 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1345 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1346 strchr for PPC64.
1347
1348 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1349
1350 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1351 implementations.
1352 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1353 (__libc_ifunc_impl_list): Likewise.
1354 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1355 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1356 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1357 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1358 strncmp for PPC64.
1359
1360 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1361
1362 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1363 multiarch implementations.
1364 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1365 (__libc_ifunc_impl_list): Likewise.
1366 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1367 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1368 strncasecmp for PPC64.
1369 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1370 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1371 multiarch strncasecmp_l for PPC64.
1372
1373 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1374
1375 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1376 multiarch implementations.
1377 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1378 (__libc_ifunc_impl_list): Likewise.
1379 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1380 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1381 multiarch strcasecmp for PPC64.
1382 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1383 file.
1384 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1385 multiarch strcasecmp_l for PPC64.
1386
1387 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1388
1389 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1390 implementations.
1391 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1392 (__libc_ifunc_impl_list): Likewise.
1393 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1394 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1395 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1396 strnlen for PPC64.
1397
1398 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1399
1400 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1401 implementations.
1402 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1403 (__libc_ifunc_impl_list): Likewise.
1404 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1405 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1406 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1407 strlen for PPC64.
1408
1409 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1410
1411 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1412 implementations.
1413 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1414 (__libc_ifunc_impl_list): Likewise.
1415 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1416 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1417 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1418 rawmemrchr for PPC64.
1419
1420 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1421
1422 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1423 implementation.
1424 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1425 (__libc_ifunc_impl_list): Likewise.
1426 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1427 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1428 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1429 memrchr for PPC64.
1430
1431 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1432
1433 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1434 implementation.
1435 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1436 (__libc_ifunc_impl_list): Likewise.
1437 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1438 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1439 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1440 memchr for PPC64.
1441
1442 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1443
1444 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1445 implementation.
1446 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1447 (__libc_ifunc_impl_list): Likewise.
1448 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1449 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1450 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1451 mempcpy for PPC64.
1452
1453 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1454
1455 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1456 avoid cretion of __bzero symbol.
1457 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1458 Likewise.
1459 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1460 Likewise.
1461 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1462 Likewise.
1463 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1464 multiarch implementations.
1465 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1466 (__libc_ifunc_impl_list): Likewise.
1467 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1468 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1469 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1470 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1471 bzero for PPC32.
1472 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1473 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1474 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1475 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1476 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1477 memset for PPC64.
1478 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1479
1480 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1481
1482 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1483 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1484 implementations.
1485 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1486 (__libc_ifunc_impl_list): Likewise.
1487 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1488 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1489 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1490 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1491 memcmp for PPC64.
1492
1493 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1494
1495 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1496 multiarch for POWER/PPC64.
1497 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1498 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1499 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1500 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1501 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1502 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1503 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1504 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1505 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1506 memcpy for PPC64.
1507
1508 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1509
1510 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1511 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1512 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1513 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1514 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1515 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1516 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1517 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1518 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1519 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1520 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1521 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1522 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1523 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1524 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1532
1533 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1534
1535 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1536
1537 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1538
1539 * benchtests/Makefile (bench): Add exp2 and log2.
1540 (LDLIBS-bench-exp2): Add -lm.
1541 (LDLIBS-bench-log2): Likewise.
1542 * benchtests/exp2-inputs: New inputs file.
1543 * benchtests/log2-inputs: New inputs file.
1544 * benchtests/log-inputs: Add new inputs.
1545 * benchtests/tan-inputs: Likewise.
1546
1547 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1548
1549 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1550 definition...
1551 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1552 csloww1, csloww2): ... from here.
1553
1554 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1555 instead of structures.
1556 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1557 (POLYNOMIAL): Likewise.
1558 (TAYLOR_SLOW): Likewise.
1559 (__sin): Likewise.
1560 (__cos): Likewise.
1561 (slow1): Likewise.
1562 (slow2): Likewise.
1563 (sloww): Likewise.
1564 (sloww1); Likewise.
1565 (sloww2): Likewise.
1566 (bsloww1): Likewise.
1567 (bsloww2): Likewise.
1568 (cslow2): Likewise.
1569 (csloww): Likewise.
1570 (csloww1): Likewise.
1571 (csloww2): Likewise.
1572
1573 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1574
1575 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1576 (__malloc_assert, __libc_realloc, __libc_calloc,
1577 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1578 memcpy and memset.
1579 * malloc/hooks.c (realloc_check): Likewise.
1580
1581 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1582
1583 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1584 * malloc/arena.c: Remove PER_THREAD conditional.
1585 [!PER_THREAD]: Remove code.
1586 (ptmalloc_unlock_all2): Likewise.
1587 (ptmalloc_init): Likewise.
1588 (_int_new_arena): Likewise.
1589 (arena_get2): Likewise.
1590 * malloc/hooks.c (__malloc_get_state): Likewise.
1591 (__malloc_set_state): Likewise.
1592 * malloc/malloc.c: Likewise.
1593 (struct malloc_state): Likewise.
1594 (struct malloc_par): Likewise.
1595 (__libc_realloc): Likewise.
1596 (__libc_mallopt): Likewise.
1597
1598 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1599
1600 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1601
1602 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1603
1604 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1605 macro to a function. Check for zero perturb_byte.
1606 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1607
1608 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1609
1610 * malloc/malloc.c: (force_reg): Remove.
1611 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1612 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1613 force_reg by atomic_forced_read.
1614 * malloc/arena.c (ptmalloc_init): Likewise.
1615 * malloc/hooks.c (top_check): Likewise.
1616
1617 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1618
1619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1620
1621 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1622
1623 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1624
1625 2013-12-08 Joseph Myers <joseph@codesourcery.com>
1626
1627 * math/auto-libm-test-in: Add tests of lgamma.
1628 * math/auto-libm-test-out: Regenerated.
1629 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1630 (M_LOG_2_SQRT_PIl): Likewise.
1631 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1632 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1633 mpfr_f_f1.
1634 (func_calc_desc): Add mpfr_f_f1 union field.
1635 (ARGS1): New macro.
1636 (ARGS2): Likewise.
1637 (ARGS3): Likewise.
1638 (ARGS4): Likewise.
1639 (RET1): Likewise.
1640 (RET2): Likewise.
1641 (CALC): Likewise.
1642 (FUNC): Likewise.
1643 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1644 (test_functions): Add lgamma.
1645 (calc_generic_results): Handle mpfr_f_f1.
1646 * sysdeps/i386/fpu/libm-test-ulps: Update.
1647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1648
1649 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1650
1651 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1652 __mpn_add_n for PowerPC64/POWER7.
1653 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1654 __mpn_sub_n for PowerPC64/POWER7.
1655
1656 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1657
1658 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1659 __mpn_addmul_1 for PowerPC64.
1660 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1661 __mpn_submul_1 for PowerPC64.
1662 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1663 for PowerPC64.
1664 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1665 for PowerPC64.
1666
1667 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1668
1669 [BZ #15089]
1670 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1671
1672 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1673
1674 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1675
1676 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1677
1678 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1679 add multiarch folders.
1680 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1681 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1682 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1683 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1684 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1685 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1686 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1687 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1688 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1689 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1690 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1697
1698 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1699
1700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1701 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1703 New file.
1704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1705 New file.
1706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1707 multiarch __ieee754_hypot for PowerPC32.
1708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1709 New file.
1710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1711 New file.
1712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1713 multiarch __ieee754_hypotf for PowerPC32.
1714
1715 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1716
1717 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1718 long_double_symbol only if __logbl is defined.
1719 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1720 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1721 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1722 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1723 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1724 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1725 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1726 path for implementation.
1727 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1728 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1730 logb, and logbl multiarch implementations for PowerPC32.
1731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1732 file.
1733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1734 file.
1735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1736 multiarch logb for PowerPC32.
1737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1738 file.
1739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1740 file.
1741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1742 multiarch logbf for PowerPC32.
1743 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1745 file.
1746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1747 multiarch logbl implementation for PowerPC32.
1748
1749 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1750
1751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1752 and modff multiarch implementations.
1753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1754 New file.
1755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1756 New file.
1757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1758 multiarch modf for PowerPC32.
1759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1760 New file.
1761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1762 New file.
1763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1764 multiarch modff for PowerPC32.
1765
1766 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1767
1768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1769 and lrintf multiarch implementations.
1770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1771 New file.
1772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1773 New file.
1774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1775 multiarch lrint for PowerPC32.
1776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1777 file: multiarch lrintf for PowerPC32.
1778
1779 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1780
1781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1782 and lroundf multiarch implementations.
1783 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1784 New file.
1785 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1786 New file.
1787 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1788 New file.
1789 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1790 multiarch lround for PowerPC32.
1791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1792 file: multiarch lroundf for PowerPC32.
1793
1794 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1795
1796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1797 copysign and copysignf multiarch implementations.
1798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
1799 New file.
1800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
1801 New file.
1802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
1803 file: multiarch copysign for PowerPC32.
1804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
1805 file: multiarch copysignf for PowerPC32.
1806
1807 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1808
1809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
1810 and truncf multiarch implementations.
1811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
1812 New file.
1813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
1814 file.
1815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
1816 multiarch trunc for PowerPC32.
1817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
1818 New file.
1819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1820 New file.
1821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
1822 multiarch truncf for PowerPC32.
1823
1824 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1825
1826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
1827 and roundf multiarch implementations.
1828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
1829 New file.
1830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
1831 file.
1832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
1833 multiarch round for PowerPC32.
1834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
1835 New file.
1836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1837 New file.
1838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
1839 multiarch roundf for PowerPC32.
1840
1841 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1842
1843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
1844 and floorf multiarch implementations.
1845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1846 New file.
1847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
1848 file.
1849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
1850 multiarch floor for PowerPC32.
1851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1852 New file.
1853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1854 New file.
1855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
1856 multiarch floorf for PowerPC32.
1857
1858 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1859
1860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
1861 and ceilf multiarch implementations.
1862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1863 New file.
1864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
1865 file.
1866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
1867 multiarch ceil for PowerPC32.
1868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1869 New file.
1870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
1871 file.
1872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
1873 multiarch ceilf for PowerPC32.
1874
1875 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1876
1877 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
1878 is defined.
1879 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
1880 FINITEF is defined.
1881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
1882 and finitef multiarch implementations.
1883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
1884 New file.
1885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
1886 file.
1887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
1888 multiarch finite for PowerPC32.
1889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
1890 New file.
1891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
1892 file: multiarch finitef for PowerPC32.
1893
1894 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1895
1896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
1897 and isinff multiarch implementations.
1898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
1899 file.
1900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
1901 file.
1902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
1903 multiarch isinf for PowerPC32.
1904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
1905 New file.
1906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
1907 multiarch isinff for PowerPC32.
1908
1909 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1910
1911 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
1912 alias when __isnan is defined.
1913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
1914 and isnanf multiarch implementations.
1915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
1916 file.
1917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
1918 file.
1919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
1920 file.
1921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
1922 file.
1923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
1924 multiarch isnan for PowerPC32.
1925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
1926 New file.
1927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
1928 New file.
1929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
1930 multiarch isnanf for PowerPC32.
1931
1932 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1933
1934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
1935 and sqrtf multiarch implementations.
1936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
1937 file.
1938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
1939 file.
1940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
1941 multiarch sqrt for PowerPC32.
1942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
1943 file.
1944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
1945 file.
1946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
1947 multiarch sqrtf for PowerPC32.
1948
1949 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1950
1951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
1952 and llroundf multiarch implementations.
1953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
1954 New file.
1955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
1956 New file.
1957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
1958 New file.
1959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
1960 file: multiarch llround for PowerPC32.
1961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
1962 file: multiarch llroundf for PowerPC32.
1963
1964 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1965
1966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
1967 multiarch PowerPC32 fpu implementations.
1968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
1969 New file.
1970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
1971 New file.
1972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
1973 multiarch llrint for PowerPC32.
1974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
1975 New file.
1976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
1977 New file.
1978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
1979 file.
1980
1981 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1982
1983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
1984
1985 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1986
1987 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
1988 file.
1989 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
1990 file.
1991 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
1992 file.
1993 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
1994 multiarch wordcopy for PPC32.
1995 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
1996 wordcopy objects.
1997 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
1998 (__libc_ifunc_impl_list): Likewise.
1999 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2000 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2001 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2002 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2003 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2004 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2005
2006 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2007
2008 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2009 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2010 file.
2011 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2012 file.
2013 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2014 file.
2015 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2016 multiarch wcscpy for PPC32.
2017 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2018 multiarch objects.
2019 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2020 (__libc_ifunc_impl_list): Likewise.
2021 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2022 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2023 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2024 sysdeps/powerpc/power6/wcscpy.c.
2025
2026 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2027
2028 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2029 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2030 file.
2031 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2032 file.
2033 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2034 file.
2035 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2036 multiarch wcsrchr for PPC32.
2037 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2038 multiarch objects.
2039 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2040 (__libc_ifunc_impl_list): Likewise.
2041 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2042 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2043 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2044 sysdeps/powerpc/power6/wcsrchr.c.
2045
2046 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2047
2048 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2049 file.
2050 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2051 file.
2052 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2053 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2054 multiarch wcschr for PPc32.
2055 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2056 multiarch objects.
2057 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2058 (__libc_ifunc_impl_list): Likewise.
2059 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2060 * sysdeps/powerpc/power6/wcschr.c: ... to here.
2061 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2062 sysdeps/powerpc/power6/wcschr.c.
2063
2064 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2065
2066 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2067 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2068 file.
2069 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2070 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2071 file: multiarch strchr for PPC32.
2072 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2073 multiarch objects.
2074 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2075 (__libc_ifunc_impl_list): Likewise.
2076
2077 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2078
2079 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2080 name.
2081 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2082 file.
2083 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2084 file.
2085 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2086 multiarch strchrnul for PPC32.
2087 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2088 multiarch objects.
2089 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2090 (__libc_ifunc_impl_list): Likewise.
2091
2092 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2093
2094 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2095 file.
2096 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2097 multiarch strncasecmp for PPC32.
2098 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2099 file.
2100 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2101 multiarch strncasecmp_l for PPC32.
2102 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2103 strncasecmp multiarch objects.
2104 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2105 (__libc_ifunc_impl_list): Likewise.
2106
2107 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2108
2109 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2110 file.
2111 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2112 multiarch strncasecmp for PPC32.
2113 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2114 New file.
2115 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2116 multiarch strcasecmp_l for PPC32.
2117 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2118 multiarch objects.
2119 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2120 (__libc_ifunc_impl_list): Likewise.
2121
2122 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2123
2124 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2125 file.
2126 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2127 file.
2128 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2129 multiarch strncmp for PPC32.
2130 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2131 multiarch objects.
2132 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2133 (__libc_ifunc_impl_list): Likewise.
2134
2135 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2136
2137 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2138 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2139 file.
2140 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2141 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2142 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2143 multiarch objects.
2144 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2145 (__libc_ifunc_impl_list): Likewise.
2146
2147 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2148
2149 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2150 file.
2151 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2152 file.
2153 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2154 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2155 multiarch objects.
2156 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2157 (__libc_ifunc_impl_list): Likewise.
2158
2159 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2160
2161 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2162 file.
2163 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2164 file.
2165 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2166 multiarch rawmemchr for PPC32.
2167 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2168 multiarch objects.
2169 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2170 (__libc_ifunc_impl_list): Likewise.
2171
2172 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2173
2174 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2175 file.
2176 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2177 file.
2178 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2179 file: memrchr multiarch for PPC32.
2180 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2181 multiarch objects.
2182 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2183 (__libc_ifunc_impl_list): Likewise.
2184
2185 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2186
2187 * string/memchr.c (__memchr): Using macro to redefine symbol name.
2188 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2189 file.
2190 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2191 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2192 multiarch memchr for PPC32.
2193 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2194 multiarch objects.
2195 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2196 (__libc_ifunc_impl_list): Likewise.
2197
2198 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2199
2200 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2201 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2202 file.
2203 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2204 file.
2205 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2206 file: multiarch mempcpy for PPC32.
2207 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2208 multiarch objects.
2209 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2210 (__libc_ifunc_impl_list): Likewise.
2211
2212 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2213
2214 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2215 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2216 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2217 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2218 multiarch bzero for PPC32.
2219 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2220 file.
2221 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2222 file.
2223 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2224 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2225 file: multiarch memset for PPC32.
2226 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2227 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2228 memset multiarch objects.
2229 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2230 (__libc_ifunc_impl_list): Likewise.
2231
2232 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2233
2234 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2235 file.
2236 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2237 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2238 memcmp for PPC32.
2239 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2240 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2241 multiarch objects.
2242 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2243 (__libc_ifunc_impl_list): Likewise.
2244
2245 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2246
2247 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2248 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2249 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2250 file.
2251 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2252 file.
2253 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2254 file.
2255 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2256 multiarch memcpy for PPC32.
2257 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2258 multiarch objects.
2259 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2260 (__libc_ifunc_impl_list): Likewise.
2261
2262 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2263
2264 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2265 support multiarch for POWER/PPC32.
2266 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2267 Likewise.
2268 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2270 Implies file to make multiarch folder appers before the fpu and
2271 default folder for power4 configuration.
2272
2273 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2274
2275 * scripts/bench.pl: Append volatile keyword to type.
2276
2277 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2278
2279 * sysdeps/sh/sotruss-lib.c: New file.
2280 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2281
2282 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2283
2284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2285
2286 2013-12-05 Joseph Myers <joseph@codesourcery.com>
2287
2288 [BZ #6810]
2289 * math/w_tgamma.c: Include <errno.h>.
2290 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2291 * math/w_tgammaf.c: Include <errno.h>.
2292 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2293 * math/w_tgammal.c: Include <errno.h>.
2294 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2295 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2296 underflow. Add more tgamma tests.
2297 * math/auto-libm-test-out: Regenerated.
2298 * sysdeps/i386/fpu/libm-test-ulps: Update.
2299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2300
2301 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2302 sin, sinh, tan, tanh, tgamma, y0 and y1.
2303 * math/auto-libm-test-out: Regenerated.
2304 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2305 (TEST_COND_x86): Likewise.
2306 (M_E2l): Remove macro.
2307 (M_E3l): Likewise.
2308 (M_2_SQRT_PIl): Likewise.
2309 (M_SQRT_PIl): Likewise.
2310 (M_1_DIV_El): Likewise.
2311 (log_test_data): Use AUTO_TESTS_f_f.
2312 (log10_test_data): Likewise.
2313 (log1p_test_data): Likewise.
2314 (log2_test_data): Likewise.
2315 (sin_test_data): Likewise.
2316 (sin_tonearest_test_data): Likewise.
2317 (sin_towardzero_test_data): Likewise.
2318 (sin_downward_test_data): Likewise.
2319 (sin_upward_test_data): Likewise.
2320 (sinh_test_data): Likewise.
2321 (sinh_tonearest_test_data): Likewise.
2322 (sinh_towardzero_test_data): Likewise.
2323 (sinh_downward_test_data): Likewise.
2324 (sinh_upward_test_data): Likewise.
2325 (tan_test_data): Likewise.
2326 (tan_tonearest_test_data): Likewise.
2327 (tan_towardzero_test_data): Likewise.
2328 (tan_downward_test_data): Likewise.
2329 (tan_upward_test_data): Likewise.
2330 (tanh_test_data): Likewise.
2331 (tgamma_test_data): Likewise.
2332 (y0_test_data): Likewise.
2333 (y1_test_data): Likewise.
2334 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2335 (special_real_inputs): Add pi/4.
2336 * sysdeps/i386/fpu/libm-test-ulps: Update.
2337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2338
2339 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2340
2341 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2342 "longjmp_target" static probes.
2343 (__longjmp): Rename to __longjmp_symbol.
2344 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2345 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2346 on which longjmp to generate.
2347 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2348 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2349 probe.
2350 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2351 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2352 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2353 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2354 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2355 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2357 __longjmp_symbol based on which __longjmp to generate.
2358 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2359 probe.
2360 (setjmp): Rename to setjmp_symbol.
2361 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2362 (_setjmp): Rename to _setjmp_symbol.
2363 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2364 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2365 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2366 which setjmp to generate.
2367 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2368 "longjmp_target" static probes.
2369
2370 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2371
2372 * benchtests/README: Add note about output arguments.
2373 * benchtests/bench-sincos.c: Remove file.
2374 * benchtests/sincos-inputs: New file.
2375 * scripts/bench.pl: Identify output arguments and define
2376 static variables for them.
2377
2378 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2379
2380 [BZ #15941]
2381 * Makefile (INSTALL): Add install-plain.texi as the primary
2382 dependency.
2383 * manual/install-plain.texi: New file.
2384 * manual/install.texi: Include node directive only for
2385 non-plaintext output.
2386
2387 2013-12-04 Joseph Myers <joseph@codesourcery.com>
2388
2389 * stdlib/longlong.h: Update from GCC.
2390
2391 [BZ #6807]
2392 [BZ #15901]
2393 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2394 * math/w_j0f.c (y0f): Likewise.
2395 * math/w_j0l.c (__y0l): Likewise.
2396 * math/w_j1.c (y1): Likewise.
2397 * math/w_j1f.c (y1f): Likewise.
2398 * math/w_j1l.c (__y1l): Likewise
2399 * math/w_jn.c (yn): Likewise.
2400 * math/w_jnf.c (ynf): Likewise.
2401 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2402 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2403 value for Bessel function domain errors outside _SVID_ mode.
2404 Adjust sign of return value for yn (negative integer, 0).
2405 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2406 by zero in return for negative x and set sign appropriately for
2407 negative n.
2408 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2409 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2410 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2411 expectations in error cases.
2412 (y1_test_data): Likewise.
2413 (yn_test_data): Likewise.
2414 * sysdeps/i386/fpu/libm-test-ulps: Update.
2415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2416
2417 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2418
2419 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2420 "64" to "64-v1". Add "64-v2".
2421 (abi-64-options): Rename to ...
2422 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2423 (abi-64-condition): Rename to ...
2424 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2425 (abi-64-ld-soname): Rename to ...
2426 (abi-64-v1-ld-soname): ... this.
2427 (abi-64-v2-options): Define.
2428 (abi-64-v2-condition): Likewise.
2429 (abi-64-v2-ld-soname): Likewise.
2430 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2431 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2435
2436 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2437 Alan Modra <amodra@gmail.com>
2438
2439 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2440 New versions for use with the ELFv2 ABI.
2441 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2442 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2443 declaration.
2444 (struct La_ppc64v2_retval): Likewise.
2445 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2446 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2447 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2448 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2449 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2450 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2451 Do not save or restore CR.
2452 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2453 (_dl_profile_resolve): Do no save or restore CR. Support extended
2454 return values for ELFv2 ABI. Fix location of FPR return registers.
2455 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2456 updated values for _CALL_ELF == 2.
2457 (La_regs, La_retval, int_retval): Likewise.
2458
2459 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2460
2461 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2462 (FRAME_MIN_SIZE_PARM): Likewise.
2463 (FRAME_BACKCHAIN): Likewise.
2464 (FRAME_CR_SAVE): Likewise.
2465 (FRAME_LR_SAVE): Likewise.
2466 (FRAME_TOC_SAVE): Likewise.
2467 (FRAME_PARM_SAVE): Likewise.
2468 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2469 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2470 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2471 (call_mcount_parm_offset): New macro.
2472 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2473 (PROF): Use symbolic stack frame offsets.
2474 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2475 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2476 Redefine in terms of FRAME_MIN_SIZE.
2477 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2478 (_dl_profile_resolve): Likewise. Update comment.
2479 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2480 symbols stack frame offsets.
2481 (__sigsetjmp): Likewise.
2482 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2483 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2484 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2485 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2486
2487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2488 (FRAME_BACKCHAIN): Remove.
2489 (FRAME_CR_SAVE): Likewise.
2490 (FRAME_LR_SAVE): Likewise.
2491 (FRAME_COMPILER_DW): Likewise.
2492 (FRAME_LINKER_DW): Likewise.
2493 (FRAME_TOC_SAVE): Likewise.
2494 (FRAME_PARM_SAVE): Likewise.
2495 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2496 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2497 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2499 (CHECK_SP): Use symbolic stack frame offsets.
2500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2501 zone" instead of caller's parameter save area for temp storage.
2502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2503 Likewise. Also, use symbolic stack frame offsets.
2504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2505 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2506 our own stack frame instead of the caller's.
2507 (__socket): Use symbolic stack frame offsets.
2508
2509 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2510 Alan Modra <amodra@gmail.com>
2511
2512 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2513 Define.
2514 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2515 PPC64_LOCAL_ENTRY_OFFSET): Define.
2516 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2517 New function.
2518 (elf_machine_fixup_plt): Call it.
2519 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2520 reloc arguments.
2521 (elf_machine_rela): Update call to elf_machine_plt_conflict.
2522 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2523 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2524 r2 before calling target.
2525
2526 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2527 Alan Modra <amodra@gmail.com>
2528
2529 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2530 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2531 versions of macros to support ELFv2 ABI.
2532 (LOCALENTRY): New macro.
2533 (ENTRY, EALIGN): Use it.
2534 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2535 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2536 fall through into ENTRY entry point.
2537 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2538 Only define if _CALL_ELF != 2.
2539
2540 (elf_machine_matches_host): Verify ABI version matches.
2541 (RTLD_START): Use LOCALENTRY.
2542 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2543 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2544 (PLT_ENTRY_WORDS): New macro.
2545 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2546 (elf_machine_runtime_setup): Support ELFv2 ABI.
2547 (elf_machine_fixup_plt): Likewise.
2548 (elf_machine_plt_conflict): Likewise.
2549 (resolve_ifunc): Likewise.
2550 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2551 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2552 Likewise.
2553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2554 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2556 (makecontext): Support ELFv2 ABI.
2557 * elf/elf.h (EF_PPC64_ABI): Define.
2558
2559 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2560
2561 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2562 New assembler macro.
2563 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2564 [ASSEMBLER] (ENTRY): ... but instead here ...
2565 [ASSEMBLER] (EALIGN): ... and here.
2566 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2567 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2568 [!ASSEMBLER] (ENTRY_2): Use it.
2569 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2570 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2571 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2572 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2573 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2575 Use PPC64_LOAD_FUNCPTR.
2576
2577 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2578
2579 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2580
2581 2013-12-04 Alan Modra <amodra@gmail.com>
2582
2583 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2584 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2585 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2586 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2587
2588 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2589 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2590 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2591 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2592 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2593 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2594
2595 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2596
2597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2598 (__makecontext): Fix incorrect CFI when backtracing out of
2599 context created via makecontext.
2600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2601 (__setcontext): Fix incorrect CFI during switch to new context.
2602 (__novec_setcontext): Likewise.
2603
2604 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2605
2606 [BZ #4772]
2607 * time/strptime_l.c (__strptime_internal): Allow modifiers
2608 in strptime.
2609 * time/tst-strptime.c (day_tests): Add testcase.
2610
2611
2612 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2613
2614 * scripts/bench.pl: Skip over blank lines.
2615
2616 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2617
2618 [BZ #926]
2619 * manual/time.texi (Calendar Time): Clarify what timezone functions
2620 use.
2621
2622 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2623
2624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2625
2626 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2627
2628 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2629 implementation.
2630 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2631 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2632 * debug/memset_chk.c (__memset_chk): Likewise.
2633 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2634 * debug/strncpy_chk.c: Likewise.
2635
2636 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2637
2638 [BZ #15268]
2639 [BZ #15425]
2640 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2641 (__ieee754_exp): For possibly underflowing results, check size of
2642 result and force underflow exception if required.
2643 * math/auto-libm-test-in: Add more tests of exp.
2644 * math/auto-libm-test-out: Regenerated.
2645 * sysdeps/i386/fpu/libm-test-ulps: Update.
2646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2647
2648 [BZ #16283]
2649 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2650 * math/w_exp2f.c (__exp2f): Likewise.
2651 * math/w_exp2l.c (__exp2l): Likewise.
2652 * math/auto-libm-test-in: Do not allow missing errno on exp2
2653 underflow.
2654 * math/auto-libm-test-out: Regenerated.
2655
2656 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
2657
2658 [BZ #16274]
2659 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2660 handle filename validation.
2661 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2662 (do_open): Delete.
2663
2664 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2665
2666 [BZ #6786]
2667 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2668 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2669 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2670 <float.h>.
2671 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2672 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2673 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2674 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2675 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2676 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2677 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2678 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2679 Add more erfc tests.
2680 * math/auto-libm-test-out: Regenerated.
2681 * sysdeps/i386/fpu/libm-test-ulps: Update.
2682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2683
2684 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2685 exp2, expm1, j0 and j1.
2686 * math/auto-libm-test-out: Regenerated.
2687 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2688 (erfc_test_data): Likewise.
2689 (exp_test_data): Likewise.
2690 (exp_tonearest_test_data): Likewise.
2691 (exp_towardzero_test_data): Likewise.
2692 (exp_downward_test_data): Likewise.
2693 (exp_upward_test_data): Likewise.
2694 (exp10_test_data): Likewise.
2695 (exp2_test_data): Likewise.
2696 (expm1_test_data): Likewise.
2697 (j0_test_data): Likewise.
2698 (j1_test_data): Likewise.
2699 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2700 (input_flag_type): Add flag_xfail_rounding.
2701 (input_flags): Add xfail-rounding.
2702 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2703 (output_for_one_input_case): Handle flag_xfail_rounding.
2704 * sysdeps/i386/fpu/libm-test-ulps: Update.
2705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2706
2707 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2708
2709 [BZ #16289]
2710 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2711 division by 0.
2712
2713 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2714
2715 [BZ #16195]
2716 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2717 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2718 (STAP_PROBE0): New macro.
2719 (STAP_PROBE1): Likewise.
2720 (STAP_PROBE2): Likewise.
2721 (STAP_PROBE3): Likewise.
2722 (STAP_PROBE4): Likewise.
2723
2724 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
2725
2726 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2727
2728 2013-12-02 Steve Ellcey <sellcey@mips.com>
2729
2730 * benchtests/Makefile (bench): Add sqrt.
2731 (LDLIBS-bench-sqrt): New.
2732 * benchtests/sqrt-input: New.
2733
2734 2013-12-02 Pavel Simerda <psimerda@redhat.com>
2735
2736 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2737 (GAIH_EAI): Likewise.
2738 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2739 (gaih_inet): Likewise.
2740 (getaddrinfo): Don't use GAIH_EAI.
2741
2742 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2743 (struct gaih): Remove definition.
2744
2745 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2746
2747 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2748 Use HERRNOP directly.
2749
2750 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2751
2752 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2753
2754 2013-11-30 Joseph Myers <joseph@codesourcery.com>
2755
2756 * math/gen-auto-libm-tests.c (test_functions): Add more
2757 single-argument functions.
2758 (special_fill_pi_2): New function.
2759 (special_fill_minus_pi_2): Likewise.
2760 (special_fill_pi_6): Likewise.
2761 (special_fill_minus_pi_6): Likewise.
2762 (special_fill_pi_3): Likewise.
2763 (special_fill_2pi_3): Likewise.
2764 (special_fill_e): Likewise.
2765 (special_fill_1_e): Likewise.
2766 (special_fill_e_minus_1): Likewise.
2767 (special_real_inputs): Add more special inputs.
2768 (output_for_one_input_case): Do not require ERANGE on underflow to
2769 zero if round-to-nearest result does not underflow to zero, unless
2770 exact results required.
2771 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2772 atan, atanh, cbrt, cos and cosh.
2773 * math/auto-libm-test-out: Regenerated.
2774 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2775 (acos_tonearest_test_data): Likewise.
2776 (acos_towardzero_test_data): Likewise.
2777 (acos_downward_test_data): Likewise.
2778 (acos_upward_test_data): Likewise.
2779 (acosh_test_data): Likewise.
2780 (asin_test_data): Likewise.
2781 (asin_tonearest_test_data): Likewise.
2782 (asin_towardzero_test_data): Likewise.
2783 (asin_upward_test_data): Likewise.
2784 (asinh_test_data): Likewise.
2785 (atan_test_data): Likewise.
2786 (atanh_test_data): Likewise.
2787 (cbrt_test_data): Likewise.
2788 (cos_test_data): Likewise.
2789 (cos_tonearest_test_data): Likewise.
2790 (cos_towardzero_test_data): Likewise.
2791 (cos_downward_test_data): Likewise.
2792 (cos_upward_test_data): Likewise.
2793 (cosh_test_data): Likewise.
2794 (cosh_tonearest_test_data): Likewise.
2795 (cosh_towardzero_test_data): Likewise.
2796 (cosh_downward_test_data): Likewise.
2797 (cosh_upward_test_data): Likewise.
2798 * sysdeps/i386/fpu/libm-test-ulps: Update.
2799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2800
2801 2013-11-29 Joseph Myers <joseph@codesourcery.com>
2802
2803 [BZ #6787]
2804 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
2805 * math/w_exp10f.c (__exp10f): Likewise.
2806 * math/w_exp10l.c (__exp10l): Likewise.
2807 * math/libm-test.inc (exp10_test_data): Add more tests and expect
2808 errno settings in existing tests.
2809
2810 [BZ #14032]
2811 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
2812 precision control set to double precision.
2813 * sysdeps/i386/fpu/w_sqrt.c: New file.
2814 * math/auto-libm-test-in: Add more tests.
2815 * math/auto-libm-test-out: Update.
2816
2817 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
2818 (sqrt_test_tonearest): New function.
2819 (sqrt_towardzero_test_data): New variable.
2820 (sqrt_test_towardzero): New function.
2821 (sqrt_downward_test_data): New variable.
2822 (sqrt_test_downward): New function.
2823 (sqrt_upward_test_data): New variable.
2824 (sqrt_test_upward): New function.
2825 (main): Call the new functions.
2826
2827 * math/gen-auto-libm-tests.c: New file.
2828 * math/auto-libm-test-in: Likewise.
2829 * math/auto-libm-test-out: New generated file.
2830 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
2831 variables.
2832 (%beautify): Add generated representations of zero.
2833 (top level): Set $auto_input and call parse_auto_input.
2834 (beautify): Remove trailing "f" from hex float constants.
2835 (parse_args): Handle XFAIL_TEST.
2836 (convert_condition): New function.
2837 (or_value): Likewise.
2838 (or_cond_value): Likewise.
2839 (generate_testfile): Handle AUTO_TESTS_* lines.
2840 (parse_auto_input): New function.
2841 * math/libm-test.inc (XFAIL_TEST): New macro.
2842 (ERRNO_UNCHANGED): Update value.
2843 (ERRNO_EDOM): Likewise.
2844 (ERRNO_ERANGE): Likewise.
2845 (IGNORE_RESULT): Likewise.
2846 (TEST_COND_flt_32): New macro.
2847 (TEST_COND_dbl_64): Likewise.
2848 (TEST_COND_ldbl_96_intel): Likewise.
2849 (TEST_COND_ldbl_96_m68k): Likewise.
2850 (TEST_COND_ldbl_128): Likewise.
2851 (TEST_COND_ldbl_128ibm): Likewise.
2852 (TEST_COND_long32): Likewise.
2853 (TEST_COND_long64): Likewise.
2854 (TEST_COND_before_rounding): Likewise.
2855 (TEST_COND_after_rounding): Likewise.
2856 (enable_test): Handle XFAIL_TEST flag.
2857 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
2858 with finite results.
2859 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
2860 auto-libm-test-out.
2861
2862 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2863 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2864
2865 [BZ #16214]
2866 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
2867 __tls_get_addr_internal instead of __tls_get_offset in order to
2868 avoid GOT pointer dependency. Make rtld export
2869 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
2870 __tls_get_addr since we are a __tls_get_offset platform.
2871 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
2872 GOT pointer being set up before.
2873 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
2874
2875 2013-11-28 Joseph Myers <joseph@codesourcery.com>
2876
2877 * manual/math.texi (Errors in Math Functions): Document accuracy
2878 goals.
2879
2880 [BZ #15004]
2881 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
2882 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
2883 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2884 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2885 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2886 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2887 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2888 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2889 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2890 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2891 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2892 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2893 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2894 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2895 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2896 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2897
2898 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
2899 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
2900 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
2901 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
2902 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
2903 Likewise.
2904 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
2905 Likewise.
2906 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
2907 Likewise.
2908 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
2909 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
2910 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
2911 atomic-feupdateenv and flt-rounds.
2912 * sysdeps/powerpc/nofpu/Versions (libc): Add
2913 __atomic_feholdexcept, __atomic_feclearexcept,
2914 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
2915 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
2916 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
2917 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
2918 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
2919 here.
2920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2921 Update.
2922
2923 * manual/arith.texi (FP Exceptions): Document that exceptions may
2924 not be raised when matherr is used.
2925 (Math Error Reporting): Document overflow in directed rounding
2926 modes. Document that errno may not be set when finite values are
2927 returned on overflow. Document intent to set errno on underflow
2928 only for underflow to zero.
2929
2930 [BZ #16271]
2931 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
2932 round-to-nearest then adjust result for other rounding modes.
2933 * include/fenv.h (fegetround): Use libm_hidden_proto.
2934 * math/fegetround.c (fegetround): Use libm_hidden_def.
2935 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2936 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2937 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
2938 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2939 Likewise.
2940 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
2941 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2942 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2943 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
2944
2945 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2946
2947 [BZ #16077]
2948 * nss/Versions (libnss_files): Add
2949 _nss_files_gethostbyname3_r.
2950 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
2951 New function.
2952 (HOST_DB_LOOKUP): Remove macro.
2953 (_nss_files_gethostbyname_r): Implement function without the
2954 HOST_DB_LOOKUP macro.
2955 (_nss_files_gethostbyname2_r): Likewise.
2956
2957 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
2958
2959 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
2960
2961 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
2962
2963 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
2964 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
2965 warning.
2966
2967 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2968
2969 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
2970 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
2971 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
2972 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2973 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
2974 __fe_nomask_env_priv and attribute_hidden.
2975 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
2976 (libc_feupdateenv_test_ppc): Likewise.
2977 (libc_feresetround_ppc): Likewise.
2978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2979 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
2980 compat_symbol macro.
2981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2982 (__fe_nomask_env): Likewise.
2983 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
2984
2985 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
2986
2987 * string/Makefile: Remove ifunc tests.
2988 * string/test-string.h: Define TEST_IFUNC.
2989 * string/test-bcopy-ifunc.c: Remove.
2990 * string/test-bzero-ifunc.c: Likewise.
2991 * string/test-memccpy-ifunc.c: Likewise.
2992 * string/test-memchr-ifunc.c: Likewise.
2993 * string/test-memcmp-ifunc.c: Likewise.
2994 * string/test-memcpy-ifunc.c: Likewise.
2995 * string/test-memmem-ifunc.c: Likewise.
2996 * string/test-memmove-ifunc.c: Likewise.
2997 * string/test-mempcpy-ifunc.c: Likewise.
2998 * string/test-memrchr-ifunc.c: Likewise.
2999 * string/test-memset-ifunc.c: Likewise.
3000 * string/test-rawmemchr-ifunc.c: Likewise.
3001 * string/test-stpcpy-ifunc.c: Likewise.
3002 * string/test-stpncpy-ifunc.c: Likewise.
3003 * string/test-strcasecmp-ifunc.c: Likewise.
3004 * string/test-strcasestr-ifunc.c: Likewise.
3005 * string/test-strcat-ifunc.c: Likewise.
3006 * string/test-strchr-ifunc.c: Likewise.
3007 * string/test-strchrnul-ifunc.c: Likewise.
3008 * string/test-strcmp-ifunc.c: Likewise.
3009 * string/test-strcpy-ifunc.c: Likewise.
3010 * string/test-strcspn-ifunc.c: Likewise.
3011 * string/test-strlen-ifunc.c: Likewise.
3012 * string/test-strncasecmp-ifunc.c: Likewise.
3013 * string/test-strncat-ifunc.c: Likewise.
3014 * string/test-strncmp-ifunc.c: Likewise.
3015 * string/test-strncpy-ifunc.c: Likewise.
3016 * string/test-strnlen-ifunc.c: Likewise.
3017 * string/test-strpbrk-ifunc.c: Likewise.
3018 * string/test-strrchr-ifunc.c: Likewise.
3019 * string/test-strspn-ifunc.c: Likewise.
3020 * string/test-strstr-ifunc.c: Likewise.
3021
3022 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3023
3024 * benchtests/Makefile: Remove ifunc tests.
3025 * benchtests/bench-string.h: Define TEST_IFUNC.
3026 * benchtests/bench-bcopy-ifunc.c: Remove.
3027 * benchtests/bench-bzero-ifunc.c: Likewise.
3028 * benchtests/bench-memccpy-ifunc.c: Likewise.
3029 * benchtests/bench-memchr-ifunc.c: Likewise.
3030 * benchtests/bench-memcmp-ifunc.c: Likewise.
3031 * benchtests/bench-memcpy-ifunc.c: Likewise.
3032 * benchtests/bench-memmem-ifunc.c: Likewise.
3033 * benchtests/bench-memmove-ifunc.c: Likewise.
3034 * benchtests/bench-mempcpy-ifunc.c: Likewise.
3035 * benchtests/bench-memrchr-ifunc.c: Likewise.
3036 * benchtests/bench-memset-ifunc.c: Likewise.
3037 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3038 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3039 * benchtests/bench-stpcpy-ifunc.c: Likewise.
3040 * benchtests/bench-stpncpy-ifunc.c: Likewise.
3041 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3042 * benchtests/bench-strcasestr-ifunc.c: Likewise.
3043 * benchtests/bench-strcat-ifunc.c: Likewise.
3044 * benchtests/bench-strchr-ifunc.c: Likewise.
3045 * benchtests/bench-strchrnul-ifunc.c: Likewise.
3046 * benchtests/bench-strcmp-ifunc.c: Likewise.
3047 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3048 * benchtests/bench-strcpy-ifunc.c: Likewise.
3049 * benchtests/bench-strcspn-ifunc.c: Likewise.
3050 * benchtests/bench-strlen-ifunc.c: Likewise.
3051 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3052 * benchtests/bench-strncat-ifunc.c: Likewise.
3053 * benchtests/bench-strncmp-ifunc.c: Likewise.
3054 * benchtests/bench-strncpy-ifunc.c: Likewise.
3055 * benchtests/bench-strnlen-ifunc.c: Likewise.
3056 * benchtests/bench-strpbrk-ifunc.c: Likewise.
3057 * benchtests/bench-strrchr-ifunc.c: Likewise.
3058 * benchtests/bench-strsep-ifunc.c: Likewise.
3059 * benchtests/bench-strspn-ifunc.c: Likewise.
3060 * benchtests/bench-strstr-ifunc.c: Likewise.
3061
3062 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3063
3064 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3065
3066 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3067
3068 * resolv/netdb.h: Use __glibc_reserved instead __unused.
3069 * rt/aio.h: Likewise.
3070 * sysdeps/gnu/bits/utmp.h: Likewise.
3071 * sysdeps/gnu/bits/utmpx.h: Likewise.
3072 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3073 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3074 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3075 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3076 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3077 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3078 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3079 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3080 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3081 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3082 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3083 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3084 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3086 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3087 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3088 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3089 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3090 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3091 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3092 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3093 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3094 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3095 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3096 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3097 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3098 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3099 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3100 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3101 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3102 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3103 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3104 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3105 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3106 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3107 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3108 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3109 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3110 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3111 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3112 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3113 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3114
3115 2013-11-25 Carlos O'Donell <carlos@redhat.com>
3116
3117 [BZ #16245]
3118 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3119 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3120
3121 2013-11-25 Joseph Myers <joseph@codesourcery.com>
3122
3123 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3124 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3125 Likewise.
3126
3127 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3128
3129 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3130 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3131 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3132 (__fesetround): Remove define.
3133 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3134 rounding and exceptions handling.
3135 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3136 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3137 (__fe_nomask_env): Likewise.
3138 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3139 __fegetround instead of fegetround.
3140 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3141 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3142
3143 2013-11-21 Roland McGrath <roland@hack.frob.com>
3144
3145 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3146 it's there.
3147
3148 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3149
3150 2013-11-21 Meador Inge <meadori@codesourcery.com>
3151
3152 [BZ #11157]
3153 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3154 (encrypt_r): Likewise.
3155 * malloc/obstack.h (obstack_free): Likewise.
3156 * posix/unistd.h (encrypt): Likewise.
3157
3158 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
3159
3160 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3161 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3162 DL_CALL_DT_FINI() that call the functions directly.
3163 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3164 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3165 * elf/dl-fini.c: Likewise.
3166
3167 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
3168
3169 * malloc/hooks.c (memalign_check): Add alignment rounding.
3170 * malloc/malloc.c (_mid_memalign): New function.
3171 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3172 Implement by calling _mid_memalign.
3173 * manual/probes.texi (Memory Allocation Probes): Remove
3174 memory_valloc_retry and memory_pvalloc_retry.
3175
3176 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3177
3178 * locale/programs/locarchive.c (open_archive): Add const
3179 qualifier to ARCHIVEFNAME and copy default fname to
3180 DEFAULT_FNAME.
3181
3182 [BZ #15601]
3183 * libio/tst-widetext.input: Rename Oriya to Odia.
3184 * locale/iso-639.def: Likewise.
3185
3186 * manual/probes.texi (Mathematical Function Probes): Add
3187 documentation for sin, cos, asin and acos probes.
3188 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3189 (__sin32): Add slowasin probe.
3190 (__cos32): Add slowacos probe.
3191 (__mpsin): Add slowsin probe.
3192 (__mpcos): Add slowcos probe.
3193
3194 2013-11-19 Joseph Myers <joseph@codesourcery.com>
3195
3196 [BZ #15483]
3197 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3198 thread-local __sim_exceptions_thread and global
3199 __sim_exceptions_global.
3200 (__sim_disabled_exceptions): Change to thread-local
3201 __sim_disabled_exceptions_thread and global
3202 __sim_disabled_exceptions_global.
3203 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3204 and global __sim_round_mode_global.
3205 (__simulate_exceptions): Use thread-local floating-point state and
3206 set global state from it as needed.
3207 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3208 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3209 __sim_round_mode_thread.
3210 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3211 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3212 and global __sim_exceptions_global.
3213 (__sim_disabled_exceptions): Change to thread-local
3214 __sim_disabled_exceptions_thread and global
3215 __sim_disabled_exceptions_global.
3216 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3217 and global __sim_round_mode_global.
3218 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3219 (SIM_SET_GLOBAL): Likewise.
3220 * sysdeps/powerpc/soft-fp/sfp-machine.h
3221 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3222 __sim_round_mode_thread.
3223 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3224 __sim_disabled_exceptions_thread.
3225 (__sim_exceptions): Change to __sim_exceptions_thread.
3226 (__sim_disabled_exceptions): Change to
3227 __sim_disabled_exceptions_thread.
3228 (__sim_round_mode): Change to __sim_round_mode_thread.
3229 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3230 thread-local floating-point state and set global state from it as
3231 needed.
3232 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3233 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3234 (__sim_disabled_exceptions): Remove extern declaration.
3235 (feenableexcept): Use thread-local floating-point state and set
3236 global state from it as needed.
3237 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3238 extern declaration.
3239 (__sim_disabled_exceptions): Likewise.
3240 (__sim_round_mode): Likewise.
3241 (__fegetenv): Use thread-local floating-point state.
3242 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3243 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3244 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3245 floating-point state and set global state from it as needed.
3246 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3247 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3248 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3249 Likewise.
3250 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3251 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3252 Likewise.
3253 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3254 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3255 Use __sim_round_mode_thread.
3256 * math/test-fenv-tls.c: New file.
3257 * math/Makefile (tests): Add test-fenv-tls.
3258 ($(objpfx)test-fenv-tls): Depend on
3259 $(common-objpfx)nptl/libpthread.so.
3260
3261 2013-11-19 Andreas Schwab <schwab@suse.de>
3262
3263 * locale/programs/locale.c (show_info): Decode wordarray elements.
3264 * locale/categories.def (LC_MONETARY): Add element for
3265 _NL_MONETARY_CRNCYSTR.
3266 * locale/C-monetary.c (conversion_rate): New variable.
3267 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3268 element.
3269
3270 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3271
3272 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3273 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3274
3275 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3276
3277 * elf/Makefile (tst-auxv): New test.
3278 * elf/tst-auxv.c: New
3279 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3280
3281 2013-11-18 Joseph Myers <joseph@codesourcery.com>
3282
3283 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3284 (hidden_proto): Caller changed.
3285 (hidden_tls_proto): New macro.
3286 (libc_hidden_tls_proto): Likewise.
3287 (rtld_hidden_tls_proto): Likewise.
3288 (libm_hidden_tls_proto): Likewise.
3289 (libresolv_hidden_tls_proto): Likewise.
3290 (librt_hidden_tls_proto): Likewise.
3291 (libdl_hidden_tls_proto): Likewise.
3292 (libnss_files_hidden_tls_proto): Likewise.
3293 (libnsl_hidden_tls_proto): Likewise.
3294 (libnss_nisplus_hidden_tls_proto): Likewise.
3295 (libutil_hidden_tls_proto): Likewise.
3296
3297 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
3298
3299 [BZ #10253]
3300 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3301 (decompose_rpath): Defer expansion to fillin_rpath.
3302 (_dl_init_paths): Pass linkmap to fillin_rpath.
3303
3304 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3305
3306 * benchtests/Makefile: Add strsep.
3307 * benchtests/bench-strsep.c: New file: strsep benchtest.
3308 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3309
3310 2013-11-18 Andreas Schwab <schwab@suse.de>
3311
3312 * locale/programs/locale.c (show_info) [case byte]: Check for
3313 '\377' instead of '\177'.
3314 * locale/C-monetary.c (not_available): Always use "\377".
3315 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3316 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3317 detect unavailable sign_posn locale elements.
3318 * locale/localeconv.c (__localeconv): For grouping and
3319 mon_grouping handle "\177" and "\377" like no grouping.
3320 (INT_ELEM): New macro. Use it to set all numeric members.
3321 * locale/programs/ld-monetary.c (monetary_read)
3322 <tok_mon_grouping>: Normalize single -1 to the empty string.
3323 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3324 Likewise.
3325
3326 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3327
3328 [BZ #16055]
3329 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3330 when we match (nil).
3331 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3332
3333 2013-11-16 Joseph Myers <joseph@codesourcery.com>
3334
3335 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3336 (NO_TEST_INLINE): Update value.
3337 (ERRNO_UNCHANGED): Likewise.
3338 (ERRNO_EDOM): Likewise.
3339 (ERRNO_ERANGE): Likewise.
3340 (IGNORE_RESULT): Likewise.
3341 (check_float_internal): Check signs of NaN results if
3342 TEST_NAN_SIGN used.
3343 (check_complex): Pass TEST_NAN_SIGN flag through to second
3344 check_float_internal call.
3345 (copysign_test_data): Add tests with quiet NaNs as second
3346 argument. Use TEST_NAN_SIGN.
3347 (fabs_test_data): Add test of negative quiet NaN argument. Use
3348 TEST_NAN_SIGN.
3349 (signbit_test_data): Add tests of quiet NaN argument.
3350 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3351
3352 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3353 $ignore_result.
3354 (parse_args): Handle function results specified as IGNORE.
3355 * math/libm-test.inc (IGNORE_RESULT): New macro.
3356 (check_float_internal): Do not check numerical result if flag
3357 IGNORE_RESULT set.
3358 (check_complex): Pass through IGNORE_RESULT to second
3359 check_float_internal call.
3360 (check_int): Do not check numerical result if flag IGNORE_RESULT
3361 set.
3362 (check_long): Likewise.
3363 (check_bool): Likewise.
3364 (check_longlong): Likewise.
3365 (lrint_test_data): Add tests of infinite and NaN arguments.
3366 (lrint_tonearest_test_data): Likewise.
3367 (lrint_towardzero_test_data): Likewise.
3368 (lrint_downward_test_data): Likewise.
3369 (lrint_upward_test_data): Likewise.
3370 (llrint_test_data): Likewise.
3371 (llrint_tonearest_test_data): Likewise.
3372 (llrint_towardzero_test_data): Likewise.
3373 (llrint_downward_test_data): Likewise.
3374 (llrint_upward_test_data): Likewise.
3375 (lround_test_data): Likewise.
3376 (llround_test_data): Likewise.
3377
3378 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3379 (ERRNO_UNCHANGED): Update value.
3380 (ERRNO_EDOM): Likewise.
3381 (ERRNO_ERANGE): Likewise.
3382 (NO_TEST_INLINE_FLOAT): New macro.
3383 (NO_TEST_INLINE_DOUBLE): Likewise.
3384 (enable_test): New function.
3385 (RUN_TEST_f_f): Check enable_test before running test.
3386 (RUN_TEST_2_f): Likewise.
3387 (RUN_TEST_fff_f): Likewise.
3388 (RUN_TEST_c_f): Likewise.
3389 (RUN_TEST_f_f1): Likewise.
3390 (RUN_TEST_fF_f1): Likewise.
3391 (RUN_TEST_fI_f1): Likewise.
3392 (RUN_TEST_ffI_f1): Likewise.
3393 (RUN_TEST_c_c): Likewise.
3394 (RUN_TEST_cc_c): Likewise.
3395 (RUN_TEST_f_i): Likewise.
3396 (RUN_TEST_f_i_tg): Likewise.
3397 (RUN_TEST_ff_i_tg): Likewise.
3398 (RUN_TEST_f_b): Likewise.
3399 (RUN_TEST_f_b_tg): Likewise.
3400 (RUN_TEST_f_l): Likewise.
3401 (RUN_TEST_f_L): Likewise.
3402 (RUN_TEST_fFF_11): Likewise.
3403 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3404 conditionals.
3405 (cosh_test_data): Likewise.
3406 (exp_test_data): Likewise.
3407 (expm1_test_data): Likewise.
3408 (hypot_test_data): Likewise.
3409 (pow_test_data): Likewise.
3410 (sinh_test_data): Likewise.
3411 (tanh_test_data): Likewise.
3412 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3413 flags argument.
3414
3415 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3416 tests with quiet NaN input and output.
3417 (acosh_test_data): Likewise.
3418 (asin_test_data): Likewise.
3419 (asinh_test_data): Likewise.
3420 (atan_test_data): Likewise.
3421 (atanh_test_data): Likewise.
3422 (atan2_test_data): Likewise.
3423 (cbrt_test_data): Likewise.
3424 (cos_test_data): Likewise.
3425 (cosh_test_data): Likewise.
3426 (erf_test_data): Likewise.
3427 (erfc_test_data): Likewise.
3428 (exp_test_data): Likewise.
3429 (exp10_test_data): Likewise.
3430 (exp2_test_data): Likewise.
3431 (expm1_test_data): Likewise.
3432 (hypot_test_data): Likewise.
3433 (j0_test_data): Likewise.
3434 (j1_test_data): Likewise.
3435 (jn_test_data): Likewise.
3436 (lgamma_test_data): Likewise.
3437 (log_test_data): Likewise.
3438 (log10_test_data): Likewise.
3439 (log1p_test_data): Likewise.
3440 (log2_test_data): Likewise.
3441 (pow_test_data): Likewise.
3442 (scalb_test_data): Likewise.
3443 (sin_test_data): Likewise.
3444 (sincos_test_data): Likewise.
3445 (sinh_test_data): Likewise.
3446 (tan_test_data): Likewise.
3447 (tanh_test_data): Likewise.
3448 (tgamma_test_data): Likewise.
3449 (y0_test_data): Likewise.
3450 (y1_test_data): Likewise.
3451 (yn_test_data): Likewise.
3452
3453 [BZ #16167]
3454 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3455 argument being NaN and avoid computations with second argument in
3456 that case.
3457 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3458 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3459 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3460
3461 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3462
3463 * locale/iso-639.def: Add Chitwani Tharu (the).
3464
3465 2013-11-14 Andreas Schwab <schwab@suse.de>
3466
3467 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3468 word instead of empty string.
3469
3470 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3471
3472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3473 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3475 (__fe_nomask_env): Likewise.
3476
3477 2013-11-13 Steve Ellcey <sellcey@mips.com>
3478
3479 * benchtests/bench-timing.h: Include time.h.
3480
3481 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3482
3483 [BZ #15997]
3484 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3485 to 3.4.0 for x32.
3486 * sysdeps/unix/sysv/linux/configure: Regenerated.
3487
3488 2013-11-13 Joseph Myers <joseph@codesourcery.com>
3489
3490 [BZ #16151]
3491 * stdlib/strtod_l.c (round_and_return): Do not consider
3492 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3493 exponent one less than half the least subnormal exponent.
3494 * stdlib/test-strtod-round-data: Add more tests.
3495 * stdlib/tst-strtod-round.c (tests): Regenerated.
3496
3497 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3498
3499 [BZ #14143]
3500 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3501 (__fe_mask_env): Likewise.
3502 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3503 libm_hidden_proto and add function prototype.
3504 (__fe_mask_env): Add function prototype.
3505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3506 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3508 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3510 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3511
3512 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3513
3514 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3515 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3516
3517 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3518
3519 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3520 of htab_find_slot().
3521
3522 2013-11-11 David S. Miller <davem@davemloft.net>
3523
3524 [BZ #16150]
3525 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3526 symbol in the non-vis3 case in static builds.
3527 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3528 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3529 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3530 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3531
3532 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3533
3534 [BZ #387]
3535 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3536 it is empty.
3537
3538 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3539
3540 * benchtests/Makefile: Add bench-strtod.
3541 * benchtests/bench-strtod.c: New file: strtod benchtest
3542
3543 2013-11-11 Andreas Schwab <schwab@suse.de>
3544
3545 [BZ #16153]
3546 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3547 terminating NUL in key length.
3548
3549 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3550
3551 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3552 Add artificial ODP entry for vDSO symbol for PPC64.
3553 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3554 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3555
3556 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3557
3558 [BZ #15374]
3559 * nss/getent.c (services_keys): Recognize services starting with digit.
3560
3561 2013-11-06 David S. Miller <davem@davemloft.net>
3562
3563 [BZ #15985]
3564 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3565 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3566
3567 2013-11-06 Will Newton <will.newton@linaro.org>
3568
3569 * manual/memory.texi (Malloc Examples): Remove register
3570 keyword from examples.
3571
3572 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
3573
3574 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3575
3576 2013-11-04 Joseph Myers <joseph@codesourcery.com>
3577
3578 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3579 depending on [__GCC_IEC_559 > 0].
3580 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3581 depending on [__GCC_IEC_559_COMPLEX > 0].
3582
3583 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
3584
3585 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3586 to iso-639.def.
3587
3588 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
3589
3590 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3591
3592 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
3593
3594 [BZ #16112]
3595 * malloc/malloc (malloc_info): Do not handle first bin as
3596 special case.
3597
3598 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
3599
3600 * locale/iso-639.def: Add Central Nahuatl (nhn).
3601
3602 2013-11-01 Bruno Haible <bruno@clisp.org>
3603
3604 [BZ #7003]
3605 * manual/math.texi (BSD Random): Specify range upper bound as
3606 in POSIX.
3607
3608 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
3609
3610 * locale/iso-639.def: Add Meadow Mari (mhr).
3611
3612 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
3613
3614 [BZ #14752], [BZ #15763]
3615 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3616 Validate name.
3617 * rt/tst_shm.c: Add test for escaping directory.
3618
3619 2013-10-31 Andreas Schwab <schwab@suse.de>
3620
3621 [BZ #15917]
3622 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3623 followed by 'x' as part of digit sequence.
3624 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3625
3626 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3627
3628 [BZ #16037]
3629 * configure.ac: allow GNU Make 4.0 and greater.
3630 * configure: Regenerated.
3631
3632 2013-10-30 Will Newton <will.newton@linaro.org>
3633
3634 [BZ #16038]
3635 * malloc/hooks.c (memalign_check): Limit alignment to the
3636 maximum representable power of two.
3637 * malloc/malloc.c (__libc_memalign): Likewise.
3638 * malloc/tst-memalign.c (do_test): Add test for very
3639 large alignment values.
3640 * malloc/tst-posix_memalign.c (do_test): Likewise.
3641
3642 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3643
3644 [BZ #11087]
3645 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3646 (munmap_chunk): Likewise.
3647 (mremap_chunk): Likewise.
3648
3649 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3650
3651 [BZ #15799]
3652 * stdlib/div.c (div): Remove obsolete code.
3653 * stdlib/ldiv.c (ldiv): Likewise.
3654 * stdlib/lldiv.c (lldiv): Likewise.
3655
3656 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3657
3658 [BZ #16071]
3659 * nss/nss_files/files-XXX.c (get_contents_ret): New
3660 enumerator.
3661 (get_contents): New function.
3662 (internal_getent): Use it. Expand size of LINEBUFLEN.
3663
3664 2013-10-30 Mike Frysinger <vapier@gentoo.org>
3665
3666 * configure.in: Moved to ...
3667 * configure.ac: ... here. Change reference to configure.in
3668 to configure.ac.
3669 * sysdeps/arm/preconfigure.ac: ... here.
3670 configure.in to configure.ac.
3671 * sysdeps/gnu/configure.in: Moved to ...
3672 * sysdeps/gnu/configure.ac: ... here.
3673 * sysdeps/i386/configure.in: Moved to ...
3674 * sysdeps/i386/configure.ac: ... here.
3675 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3676 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3677 * sysdeps/mach/configure.in: Moved to ...
3678 * sysdeps/mach/configure.ac: ... here.
3679 * sysdeps/mach/hurd/configure.in: Moved to ...
3680 * sysdeps/mach/hurd/configure.ac: ... here.
3681 * sysdeps/powerpc/configure.in: Moved to ...
3682 * sysdeps/powerpc/configure.ac: ... here.
3683 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3684 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3685 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3686 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3687 * sysdeps/s390/s390-32/configure.in: Moved to ...
3688 * sysdeps/s390/s390-32/configure.ac: ... here.
3689 * sysdeps/s390/s390-64/configure.in: Moved to ...
3690 * sysdeps/s390/s390-64/configure.ac: ... here.
3691 * sysdeps/sh/configure.in: Moved to ...
3692 * sysdeps/sh/configure.ac: ... here.
3693 * sysdeps/sparc/configure.in: Moved to ...
3694 * sysdeps/sparc/configure.ac: ... here.
3695 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3696 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3697 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3698 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3699 * sysdeps/x86_64/configure.in: Moved to ...
3700 * sysdeps/x86_64/configure.ac: ... here.
3701 * sysdeps/x86_64/preconfigure.in: Moved to ...
3702 * sysdeps/x86_64/preconfigure.ac: ... here.
3703 * aclocal.m4: Change reference to configure.in to configure.ac.
3704 * config.h.in: Likewise.
3705 * manual/install.texi: Likewise.
3706 * manual/maint.texi: Likewise.
3707 * Makefile: Likewise.
3708 * malloc/Makefile: Likewise.
3709 * nscd/Makefile: Likewise.
3710 * Makeconfig: Change reference to configure.in and
3711 preconfigure.in to configure.ac and preconfigure.ac
3712 respectively.
3713 * INSTALL: Regenerated.
3714 * configure: Likewise.
3715 * sysdeps/gnu/configure: Likewise.
3716 * sysdeps/i386/configure: Likewise.
3717 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3718 * sysdeps/mach/configure: Likewise.
3719 * sysdeps/mach/hurd/configure: Likewise.
3720 * sysdeps/powerpc/configure: Likewise.
3721 * sysdeps/powerpc/powerpc32/configure: Likewise.
3722 * sysdeps/powerpc/powerpc64/configure: Likewise.
3723 * sysdeps/s390/s390-32/configure: Likewise.
3724 * sysdeps/s390/s390-64/configure: Likewise.
3725 * sysdeps/sh/configure: Likewise.
3726 * sysdeps/sparc/configure: Likewise.
3727 * sysdeps/unix/sysv/linux/configure: Likewise.
3728 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3729 * sysdeps/x86_64/configure: Likewise.
3730 * sysdeps/x86_64/preconfigure: Likewise.
3731
3732 2013-10-29 Andreas Schwab <schwab@suse.de>
3733
3734 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3735
3736 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3737
3738 * benchtests/pow-inputs: Add new inputs.
3739
3740 * benchtests/exp-inputs: Add new inputs.
3741
3742 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3743 conditional check for return value.
3744 (__cos32): Likewise.
3745
3746 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3747
3748 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3749 to provide a boost for large inputs with word alignment.
3750 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3751 implementation based on optimized PPC64 strcpy.
3752 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3753 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3754 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3755 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3756
3757 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3758
3759 [BZ #2801]
3760 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3761
3762 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3763
3764 [BZ #14876]
3765 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3766 * time/tst-strptime.c (day_tests): Add testcase.
3767
3768 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3769
3770 [BZ #14029]
3771 * manual/pattern.texi: Acknowledge that fnmatch can fail.
3772
3773 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
3774
3775 [BZ #16074]
3776 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3777 MAP_FAILED on error.
3778
3779 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3780
3781 [BZ #16072]
3782 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3783 heap for large requests.
3784
3785 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
3786
3787 [BZ #9954]
3788 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3789 result if the result has no associated interface.
3790 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3791 interface for all 127.X.Y.Z addresses.
3792
3793 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
3794
3795 * locale/iso-639.def: Add Ligurian (lij)
3796
3797 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
3798
3799 [BZ #15825]
3800 * sunrpc/rpc_main.c: Document rpcgen -5.
3801
3802 2013-10-19 Michael Stahl <mstahl@redhat.com>
3803
3804 * elf/rtld.c (do_preload): Print the reason why preloading failed.
3805
3806 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
3807
3808 [BZ #10278]
3809 * posix/glob.c: Match only directories when trailing slash is present.
3810 * posix/tst-gnuglob.c (my_opendir): Do not open files.
3811 (main): Add testcase.
3812
3813 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
3814
3815 [BZ #15670]
3816 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
3817
3818 2013-10-18 Carlos O'Donell <carlos@redhat.com>
3819
3820 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
3821 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
3822 AUTH_DES and cindex for FIPS 140-2.
3823 (DES Encryption): Add cindex FIPS 46-3.
3824
3825 * locale/locarchive.h (struct locarhandle): Add fname.
3826 * locale/programs/localedef.c (main): Pass ARGV[remaining]
3827 if an optional argument was specified to --list-archive,
3828 otherwise NULL.
3829 * locale/programs/locarchive.c (show_archive_content): Take new
3830 argument fname and pass it via ah.fname to open_archive.
3831 * locale/programs/localedef.h: Update decl.
3832 (open_archive): If AH->fname is non-null, open that file
3833 rather than the default file name, and don't ignore ENOENT.
3834 (create_archive): Set AH.fname to NULL.
3835 (delete_locales_from_archive): Likewise.
3836 (add_locales_to_archive): Likewise.
3837 * locale/programs/locfile.c (write_all_categories): Likewise.
3838
3839 2013-10-18 Joseph Myers <joseph@codesourcery.com>
3840 Aldy Hernandez <aldyh@redhat.com>
3841
3842 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
3843 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
3844 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
3845 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
3846 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
3847 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
3848 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
3849 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
3850 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
3851 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
3852 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
3853 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
3854 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
3855 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
3856 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
3857 Likewise.
3858 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
3859 Likewise.
3860 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
3861 Likewise.
3862 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
3863 Likewise.
3864 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
3865 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
3866 Likewise.
3867 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
3868 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
3869 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
3870 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
3871 Likewise.
3872 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
3873 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
3874 * sysdeps/powerpc/preconfigure: Likewise.
3875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
3876 Likewise.
3877 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
3878 Replace contents of file by #include of <fenv_libc.h>.
3879 * sysdeps/powerpc/soft-fp/sfp-machine.h
3880 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
3881 and <sys/prctl.h>.
3882 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
3883 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
3884 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
3885 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
3886 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
3887 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
3888 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
3889 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
3890 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
3891 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
3892 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
3893 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
3894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
3895 Allow copysignl PLT reference to be missing.
3896
3897 2013-10-18 Richard Sandiford <richard@codesourcery.com>
3898 Joseph Myers <joseph@codesourcery.com
3899
3900 [BZ #15948]
3901 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
3902 single character.
3903 (add_to_tablewc): Assert sequence of wide characters is nonempty.
3904
3905 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3906
3907 * elf/tst-tls-dlinfo.c: Don't include tls.h.
3908 * elf/tst-tls1.c: Likewise.
3909 * elf/tst-tls10.h: Likewise.
3910 * elf/tst-tls14.c: Likewise.
3911 * elf/tst-tls2.c: Likewise.
3912 * elf/tst-tls3.c: Likewise.
3913 * elf/tst-tls4.c: Likewise.
3914 * elf/tst-tls5.c: Likewise.
3915 * elf/tst-tls6.c: Likewise.
3916 * elf/tst-tls7.c: Likewise.
3917 * elf/tst-tls8.c: Likewise.
3918 * elf/tst-tls9.c: Likewise.
3919 * elf/tst-tlsmod1.c: Likewise.
3920 * elf/tst-tlsmod13.c: Likewise.
3921 * elf/tst-tlsmod13a.c: Likewise.
3922 * elf/tst-tlsmod14a.c: Likewise.
3923 * elf/tst-tlsmod16a.c: Likewise.
3924 * elf/tst-tlsmod16b.c: Likewise.
3925 * elf/tst-tlsmod2.c: Likewise.
3926 * elf/tst-tlsmod3.c: Likewise.
3927 * elf/tst-tlsmod4.c: Likewise.
3928 * elf/tst-tlsmod5.c: Likewise.
3929 * elf/tst-tlsmod6.c: Likewise.
3930
3931 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
3932
3933 [BZ #12486]
3934 * malloc/malloc.c: remove checks for statistics.
3935
3936 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
3937
3938 [BZ #15277]
3939 * inet/inet_net.c (inet_network): Detect additional invalid strings.
3940 * inet/tst-network.c: Add testcase.
3941
3942 2013-10-17 Andreas Schwab <schwab@suse.de>
3943
3944 [BZ #15218]
3945 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
3946 to determine canonical name.
3947
3948 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
3949
3950 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
3951 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
3952 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3953 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3954 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3955 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3956 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
3957 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3958 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
3959 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3960 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
3961 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3962 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3963 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3964 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3965 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3966 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3967 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3968 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3969 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3970 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3971 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3972 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3973 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
3974 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
3975 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3976 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3977 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
3978 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3979 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
3980 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3981 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3982 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3983 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3984 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3985 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3986 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3987 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3988 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3989 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3990 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3991 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3992 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3993 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3994 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3995 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3996 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3997 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3998 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3999 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4000 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4001 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4002 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4003 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4004 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4005 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4006 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4007 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4008
4009 2013-10-17 Joseph Myers <joseph@codesourcery.com>
4010
4011 [BZ #16041]
4012 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4013 make result into a quiet NaN.
4014
4015 2013-10-16 Joseph Myers <joseph@codesourcery.com>
4016
4017 * soft-fp/adddf3.c: Fix horizontal whitespace.
4018 * soft-fp/addsf3.c: Likewise.
4019 * soft-fp/addtf3.c: Likewise.
4020 * soft-fp/divdf3.c: Likewise.
4021 * soft-fp/divsf3.c: Likewise.
4022 * soft-fp/divtf3.c: Likewise.
4023 * soft-fp/double.h: Likewise.
4024 * soft-fp/eqdf2.c: Likewise.
4025 * soft-fp/eqsf2.c: Likewise.
4026 * soft-fp/eqtf2.c: Likewise.
4027 * soft-fp/extenddftf2.c: Likewise.
4028 * soft-fp/extended.h: Likewise.
4029 * soft-fp/extendsfdf2.c: Likewise.
4030 * soft-fp/extendsftf2.c: Likewise.
4031 * soft-fp/extendxftf2.c: Likewise.
4032 * soft-fp/fixdfdi.c: Likewise.
4033 * soft-fp/fixdfsi.c: Likewise.
4034 * soft-fp/fixdfti.c: Likewise.
4035 * soft-fp/fixsfdi.c: Likewise.
4036 * soft-fp/fixsfsi.c: Likewise.
4037 * soft-fp/fixsfti.c: Likewise.
4038 * soft-fp/fixtfdi.c: Likewise.
4039 * soft-fp/fixtfsi.c: Likewise.
4040 * soft-fp/fixtfti.c: Likewise.
4041 * soft-fp/fixunsdfdi.c: Likewise.
4042 * soft-fp/fixunsdfsi.c: Likewise.
4043 * soft-fp/fixunsdfti.c: Likewise.
4044 * soft-fp/fixunssfdi.c: Likewise.
4045 * soft-fp/fixunssfsi.c: Likewise.
4046 * soft-fp/fixunssfti.c: Likewise.
4047 * soft-fp/fixunstfdi.c: Likewise.
4048 * soft-fp/fixunstfsi.c: Likewise.
4049 * soft-fp/fixunstfti.c: Likewise.
4050 * soft-fp/floatdidf.c: Likewise.
4051 * soft-fp/floatdisf.c: Likewise.
4052 * soft-fp/floatditf.c: Likewise.
4053 * soft-fp/floatsidf.c: Likewise.
4054 * soft-fp/floatsisf.c: Likewise.
4055 * soft-fp/floatsitf.c: Likewise.
4056 * soft-fp/floattidf.c: Likewise.
4057 * soft-fp/floattisf.c: Likewise.
4058 * soft-fp/floattitf.c: Likewise.
4059 * soft-fp/floatundidf.c: Likewise.
4060 * soft-fp/floatundisf.c: Likewise.
4061 * soft-fp/floatunditf.c: Likewise.
4062 * soft-fp/floatunsidf.c: Likewise.
4063 * soft-fp/floatunsisf.c: Likewise.
4064 * soft-fp/floatunsitf.c: Likewise.
4065 * soft-fp/floatuntidf.c: Likewise.
4066 * soft-fp/floatuntisf.c: Likewise.
4067 * soft-fp/floatuntitf.c: Likewise.
4068 * soft-fp/fmadf4.c: Likewise.
4069 * soft-fp/fmasf4.c: Likewise.
4070 * soft-fp/fmatf4.c: Likewise.
4071 * soft-fp/gedf2.c: Likewise.
4072 * soft-fp/gesf2.c: Likewise.
4073 * soft-fp/getf2.c: Likewise.
4074 * soft-fp/ledf2.c: Likewise.
4075 * soft-fp/lesf2.c: Likewise.
4076 * soft-fp/letf2.c: Likewise.
4077 * soft-fp/muldf3.c: Likewise.
4078 * soft-fp/mulsf3.c: Likewise.
4079 * soft-fp/multf3.c: Likewise.
4080 * soft-fp/negdf2.c: Likewise.
4081 * soft-fp/negsf2.c: Likewise.
4082 * soft-fp/negtf2.c: Likewise.
4083 * soft-fp/op-1.h: Likewise.
4084 * soft-fp/op-2.h: Likewise.
4085 * soft-fp/op-4.h: Likewise.
4086 * soft-fp/op-8.h: Likewise.
4087 * soft-fp/op-common.h: Likewise.
4088 * soft-fp/quad.h: Likewise.
4089 * soft-fp/single.h: Likewise.
4090 * soft-fp/soft-fp.h: Likewise.
4091 * soft-fp/sqrtdf2.c: Likewise.
4092 * soft-fp/sqrtsf2.c: Likewise.
4093 * soft-fp/sqrttf2.c: Likewise.
4094 * soft-fp/subdf3.c: Likewise.
4095 * soft-fp/subsf3.c: Likewise.
4096 * soft-fp/subtf3.c: Likewise.
4097 * soft-fp/truncdfsf2.c: Likewise.
4098 * soft-fp/trunctfdf2.c: Likewise.
4099 * soft-fp/trunctfsf2.c: Likewise.
4100 * soft-fp/trunctfxf2.c: Likewise.
4101 * soft-fp/unorddf2.c: Likewise.
4102 * soft-fp/unordsf2.c: Likewise.
4103 * soft-fp/unordtf2.c: Likewise.
4104
4105 2013-10-15 Joseph Myers <joseph@codesourcery.com>
4106
4107 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4108 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4109
4110 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
4111
4112 * elf/dl-libc.c: Clear initfini list after freeing.
4113
4114 2013-10-14 Joseph Myers <joseph@codesourcery.com>
4115
4116 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4117 * soft-fp/addsf3.c: Likewise.
4118 * soft-fp/addtf3.c: Likewise.
4119 * soft-fp/divdf3.c: Likewise.
4120 * soft-fp/divsf3.c: Likewise.
4121 * soft-fp/divtf3.c: Likewise.
4122 * soft-fp/double.h: Likewise.
4123 * soft-fp/eqdf2.c: Likewise.
4124 * soft-fp/eqsf2.c: Likewise.
4125 * soft-fp/eqtf2.c: Likewise.
4126 * soft-fp/extenddftf2.c: Likewise.
4127 * soft-fp/extended.h: Likewise.
4128 * soft-fp/extendsfdf2.c: Likewise.
4129 * soft-fp/extendsftf2.c: Likewise.
4130 * soft-fp/extendxftf2.c: Likewise.
4131 * soft-fp/fixdfdi.c: Likewise.
4132 * soft-fp/fixdfsi.c: Likewise.
4133 * soft-fp/fixdfti.c: Likewise.
4134 * soft-fp/fixsfdi.c: Likewise.
4135 * soft-fp/fixsfsi.c: Likewise.
4136 * soft-fp/fixsfti.c: Likewise.
4137 * soft-fp/fixtfdi.c: Likewise.
4138 * soft-fp/fixtfsi.c: Likewise.
4139 * soft-fp/fixtfti.c: Likewise.
4140 * soft-fp/fixunsdfdi.c: Likewise.
4141 * soft-fp/fixunsdfsi.c: Likewise.
4142 * soft-fp/fixunsdfti.c: Likewise.
4143 * soft-fp/fixunssfdi.c: Likewise.
4144 * soft-fp/fixunssfsi.c: Likewise.
4145 * soft-fp/fixunssfti.c: Likewise.
4146 * soft-fp/fixunstfdi.c: Likewise.
4147 * soft-fp/fixunstfsi.c: Likewise.
4148 * soft-fp/fixunstfti.c: Likewise.
4149 * soft-fp/floatdidf.c: Likewise.
4150 * soft-fp/floatdisf.c: Likewise.
4151 * soft-fp/floatditf.c: Likewise.
4152 * soft-fp/floatsidf.c: Likewise.
4153 * soft-fp/floatsisf.c: Likewise.
4154 * soft-fp/floatsitf.c: Likewise.
4155 * soft-fp/floattidf.c: Likewise.
4156 * soft-fp/floattisf.c: Likewise.
4157 * soft-fp/floattitf.c: Likewise.
4158 * soft-fp/floatundidf.c: Likewise.
4159 * soft-fp/floatundisf.c: Likewise.
4160 * soft-fp/floatunsidf.c: Likewise.
4161 * soft-fp/floatunsisf.c: Likewise.
4162 * soft-fp/floatuntidf.c: Likewise.
4163 * soft-fp/floatuntisf.c: Likewise.
4164 * soft-fp/floatuntitf.c: Likewise.
4165 * soft-fp/fmadf4.c: Likewise.
4166 * soft-fp/fmasf4.c: Likewise.
4167 * soft-fp/fmatf4.c: Likewise.
4168 * soft-fp/gedf2.c: Likewise.
4169 * soft-fp/gesf2.c: Likewise.
4170 * soft-fp/getf2.c: Likewise.
4171 * soft-fp/ledf2.c: Likewise.
4172 * soft-fp/lesf2.c: Likewise.
4173 * soft-fp/letf2.c: Likewise.
4174 * soft-fp/muldf3.c: Likewise.
4175 * soft-fp/mulsf3.c: Likewise.
4176 * soft-fp/multf3.c: Likewise.
4177 * soft-fp/negdf2.c: Likewise.
4178 * soft-fp/negsf2.c: Likewise.
4179 * soft-fp/negtf2.c: Likewise.
4180 * soft-fp/op-1.h: Likewise.
4181 * soft-fp/op-2.h: Likewise.
4182 * soft-fp/op-4.h: Likewise.
4183 * soft-fp/op-8.h: Likewise.
4184 * soft-fp/op-common.h: Likewise.
4185 * soft-fp/quad.h: Likewise.
4186 * soft-fp/single.h: Likewise.
4187 * soft-fp/soft-fp.h: Likewise.
4188 * soft-fp/sqrtdf2.c: Likewise.
4189 * soft-fp/sqrtsf2.c: Likewise.
4190 * soft-fp/sqrttf2.c: Likewise.
4191 * soft-fp/subdf3.c: Likewise.
4192 * soft-fp/subsf3.c: Likewise.
4193 * soft-fp/subtf3.c: Likewise.
4194 * soft-fp/truncdfsf2.c: Likewise.
4195 * soft-fp/trunctfdf2.c: Likewise.
4196 * soft-fp/trunctfsf2.c: Likewise.
4197 * soft-fp/trunctfxf2.c: Likewise.
4198 * soft-fp/unorddf2.c: Likewise.
4199 * soft-fp/unordsf2.c: Likewise.
4200 * soft-fp/unordtf2.c: Likewise.
4201
4202 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
4203
4204 [BZ #15672]
4205 * misc/error.c (error_tail): Fix possible buffer overflow.
4206
4207 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
4208
4209 [BZ #13028]
4210 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4211 address.
4212
4213 2013-10-14 P. J. McDermott <pj@pehjota.net>
4214
4215 [BZ #832]
4216 * elf/ldd.bash.in (try_trace): New function. Delete previous code
4217 testing pipefail option.
4218
4219 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4220
4221 * soft-fp/double.h: Indent preprocessor directives inside #if.
4222 * soft-fp/extended.h: Likewise.
4223 * soft-fp/op-2.h: Likewise.
4224 * soft-fp/op-4.h: Likewise.
4225 * soft-fp/op-common.h: Likewise.
4226 * soft-fp/quad.h: Likewise.
4227 * soft-fp/single.h: Likewise.
4228 * soft-fp/soft-fp.h: Likewise.
4229
4230 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
4231
4232 * iconv/iconv_prog.c: Fix typos.
4233 * stdio-common/psiginfo-data.h: Likewise.
4234
4235 2013-10-12 Reuben Thomas <rrt@sc3d.org>
4236
4237 [BZ #15764]
4238 * locale/setlocale.c: Fix typo.
4239
4240 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4241
4242 [BZ #16036]
4243 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4244 signaling NaN arguments.
4245 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4246 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4247
4248 [BZ #14910]
4249 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4250 unordered operands.
4251 * soft-fp/gesf2.c (__gesf2): Likewise.
4252 * soft-fp/getf2.c (__getf2): Likewise.
4253 * soft-fp/ledf2.c (__ledf2): Likewise.
4254 * soft-fp/lesf2.c (__lesf2): Likewise.
4255 * soft-fp/letf2.c (__letf2): Likewise.
4256
4257 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4258 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4259 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4260 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4261 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4262 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4263 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4264 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4265 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4266 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4267 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4268 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4269 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4270 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4271 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4272 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4273 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4274 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4275 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4276 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4277 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4278 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4279 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4280 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4281 * soft-fp/floattidf.c (__floattidf): Likewise.
4282 * soft-fp/floattisf.c (__floattisf): Likewise.
4283 * soft-fp/floattitf.c (__floattitf): Likewise.
4284 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4285 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4286 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4287 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4288 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4289 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4290 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4291 * soft-fp/gesf2.c (__gesf2): Likewise.
4292 * soft-fp/getf2.c (__getf2): Likewise.
4293 * soft-fp/ledf2.c (__ledf2): Likewise.
4294 * soft-fp/lesf2.c (__lesf2): Likewise.
4295 * soft-fp/letf2.c (__letf2): Likewise.
4296
4297 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4298 Undefine and redefine.
4299 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4300 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4301 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4302 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4303 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4304 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4305 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4306 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4307 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4308 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4309 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4310 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4311 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4312 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4313 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4314
4315 [BZ #16032]
4316 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4317 without decrementing exponent if mantissa >= that for the
4318 denominator, not >.
4319 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4320 denominator, not >. Decrement exponent in < case instead of
4321 incrementing in >= case.
4322 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4323 without decrementing exponent if mantissa >= that for the
4324 denominator, not >.
4325
4326 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4327 computing saturated result for unsigned overflow.
4328
4329 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4330 Jeff Law <law@redhat.com>
4331
4332 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4333 (atan2Mp): Add systemtap probe marker.
4334 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4335 (__ieee754_log): Add systemtap probe marker.
4336 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4337 (atanMp): Add systemtap probe marker.
4338 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4339 (tanMp): Add systemtap probe marker.
4340 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4341 (__slowexp): Add systemtap probe marker.
4342 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4343 (__slowpow): Add systemtap probe marker.
4344 * manual/probes.texi: Document probes.
4345
4346 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
4347
4348 [BZ #15362]
4349 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4350 written.
4351 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4352 written.
4353 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4354 written to buffer but not flushed.
4355 * libio/iofwrite_u.c: Likewise.
4356 * libio/iopadn.c: Return bytes returned even if EOF was
4357 encountered.
4358 * libio/iowpadn.c: Likewise.
4359 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4360 if _IO_padn does not write the whole buffer.
4361 [!COMPILE_WPRINTF] (PAD): Likewise.
4362
4363 2013-10-10 David S. Miller <davem@davemloft.net>
4364
4365 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4366 directory block.
4367
4368 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4369
4370 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4371 instead of FSF address.
4372 * soft-fp/fixdfti.c: Likewise.
4373 * soft-fp/fixsfti.c: Likewise.
4374 * soft-fp/fixtfti.c: Likewise.
4375 * soft-fp/fixunsdfti.c: Likewise.
4376 * soft-fp/fixunssfti.c: Likewise.
4377 * soft-fp/fixunstfti.c: Likewise.
4378 * soft-fp/floattidf.c: Likewise.
4379 * soft-fp/floattisf.c: Likewise.
4380 * soft-fp/floattitf.c: Likewise.
4381 * soft-fp/floatuntidf.c: Likewise.
4382 * soft-fp/floatuntisf.c: Likewise.
4383 * soft-fp/floatuntitf.c: Likewise.
4384 * soft-fp/trunctfxf2.c: Likewise.
4385
4386 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4387 * soft-fp/fixdfti.c: Likewise.
4388 * soft-fp/fixsfti.c: Likewise.
4389 * soft-fp/fixtfti.c: Likewise.
4390 * soft-fp/fixunsdfti.c: Likewise.
4391 * soft-fp/fixunssfti.c: Likewise.
4392 * soft-fp/fixunstfti.c: Likewise.
4393 * soft-fp/floattidf.c: Likewise.
4394 * soft-fp/floattisf.c: Likewise.
4395 * soft-fp/floattitf.c: Likewise.
4396 * soft-fp/floatuntidf.c: Likewise.
4397 * soft-fp/floatuntisf.c: Likewise.
4398 * soft-fp/floatuntitf.c: Likewise.
4399 * soft-fp/trunctfxf2.c: Likewise.
4400
4401 2013-10-10 David S. Miller <davem@davemloft.net>
4402
4403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4404
4405 2013-10-10 Joseph Myers <joseph@codsourcery.com>
4406
4407 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4408 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4409 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4410 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4411 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4412 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4413 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4414
4415 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4416 for NaNs before doing comparisons on argument.
4417 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4418 Likewise.
4419
4420 2013-10-10 Will Newton <will.newton@linaro.org>
4421
4422 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4423 passed to _int_memalign does not overflow.
4424
4425 2013-10-10 Torvald Riegel <triegel@redhat.com>
4426
4427 * scripts/bench.pl: Add include-sources directive.
4428 * benchtests/README: Update documentation.
4429
4430 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4431
4432 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4433 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4434 instead of FP_INIT_ROUNDMODE.
4435 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4436 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4437
4438 [BZ #16034]
4439 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4440 copy class of input value.
4441 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4442 not handle exceptions.
4443 * soft-fp/negsf2.c (__negsf2): Likewise.
4444 * soft-fp/negtf2.c (__negtf2): Likewise.
4445 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4446
4447 2013-10-09 Joseph Myers <joseph@codesourcery.com>
4448
4449 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4450 semicolon. From Linux kernel.
4451
4452 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4453
4454 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4455
4456 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4457
4458 [BZ #156]
4459 * manual/socket.texi: Added statement about buffer
4460 for gethostbyname2_r.
4461
4462 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
4463
4464 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4465 Use .p2align directive instead, throughout.
4466 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4467 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4468 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4469 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4470 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4471 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4472 * sysdeps/x86_64/strchr.S: Likewise.
4473 * sysdeps/x86_64/strrchr.S: Likewise.
4474
4475 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4476
4477 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4478
4479 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4480
4481 * sysdeps/generic/math_private.h (__mpsin1): Remove
4482 declaration.
4483 (__mpcos1): Likewise.
4484 (__mpsin): New argument __range_reduce.
4485 (__mpcos): Likewise.
4486 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4487 (slow): Use __mpsin and __mpcos.
4488 (slow1): Likewise.
4489 (slow2): Likewise.
4490 (sloww): Likewise.
4491 (sloww1): Likewise.
4492 (sloww2): Likewise.
4493 (bsloww): Likewise.
4494 (bsloww1): Likewise.
4495 (bsloww2): Likewise.
4496 (cslow2): Likewise.
4497 (csloww): Likewise.
4498 (csloww1): Likewise.
4499 (csloww2): Likewise.
4500 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4501 range_reduce. Merge in __mpsin1.
4502 (__mpcos): Likewise.
4503 (__mpsin1): Remove.
4504 (__mpcos1): Likewise.
4505
4506 2013-10-07 Joseph Myers <joseph@codesourcery.com>
4507
4508 * locale/loadlocale.c (_nl_intern_locale_data): Use
4509 LOCFILE_ALIGNED_P.
4510 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4511 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4512 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4513 obstack data is appropriately aligned.
4514 (obstack_int32_grow_fast): Likewise.
4515 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4516 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4517 (add_locale_uint32_array): Likewise.
4518
4519 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4520
4521 * benchtests/Makefile: Remove ARGLIST and RET variables.
4522 ($(objpfx)bench-%.c): Pass only function name to the script.
4523 * benchtests/README: Update documentation.
4524 * benchtests/acos-inputs: Add new directives.
4525 * benchtests/acosh-inputs: Likewise.
4526 * benchtests/asin-inputs: Likewise.
4527 * benchtests/asinh-inputs: Likewise.
4528 * benchtests/atan-inputs: Likewise.
4529 * benchtests/atanh-inputs: Likewise.
4530 * benchtests/cos-inputs: Likewise.
4531 * benchtests/cosh-inputs: Likewise.
4532 * benchtests/exp-inputs: Likewise.
4533 * benchtests/log-inputs: Likewise.
4534 * benchtests/pow-inputs: Likewise.
4535 * benchtests/rint-inputs: Likewise.
4536 * benchtests/sin-inputs: Likewise.
4537 * benchtests/sinh-inputs: Likewise.
4538 * benchtests/tan-inputs: Likewise.
4539 * benchtests/tanh-inputs: Likewise.
4540 * scripts/bench.pl: Add support for new directives.
4541
4542 2013-10-07 Alan Modra <amodra@gmail.com>
4543
4544 * README: Fix careless merge.
4545
4546 2013-10-05 Alan Modra <amodra@gmail.com>
4547
4548 * NEWS: Mention powerpc64le support and bugs fixed.
4549 * README: Both big-endian and little-endian powerpc64 supported.
4550
4551 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4552
4553 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4554 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4555 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4556 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4557
4558 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4559
4560 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4561 match prototype.
4562
4563 2013-10-04 Joseph Myers <joseph@codesourcery.com>
4564
4565 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4566 Move -mhard-float appending from
4567 ports/sysdeps/powerpc/powerpc32/Makefile.
4568 [$(with-fp) = yes] (ASFLAGS): Likewise.
4569 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4570 * sysdeps/powerpc/nofpu: Move directory from
4571 ports/sysdeps/powerpc/nofpu.
4572 * sysdeps/powerpc/soft-fp: Move directory from
4573 ports/sysdeps/powerpc/soft-fp.
4574 * sysdeps/powerpc/powerpc32/405: Move directory from
4575 ports/sysdeps/powerpc/powerpc32/405.
4576 * sysdeps/powerpc/powerpc32/440: Move directory from
4577 ports/sysdeps/powerpc/powerpc32/440.
4578 * sysdeps/powerpc/powerpc32/464: Move directory from
4579 ports/sysdeps/powerpc/powerpc32/464.
4580 * sysdeps/powerpc/powerpc32/476: Move directory from
4581 ports/sysdeps/powerpc/powerpc32/476.
4582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4583 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4585 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4587 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4589 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4591 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4592 * README: Update for powerpc-*-linux-gnu software floating point
4593 support in libc.
4594
4595 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4596 case to powerpc/powerpc32*.
4597 * sysdeps/unix/sysv/linux/configure: Regenerated.
4598
4599 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4600 (_FPU_MASK_OM): Define as 0x04.
4601 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4602 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4603 0x00c10080.
4604 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4605 0x0000003c.
4606 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4607
4608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4609 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4610 getcontext_e500.
4611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4612 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4613 setcontext_e500.
4614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4615 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4616 and setcontext_e500.
4617
4618 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4619
4620 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4621
4622 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4623
4624 * manual/threads.texi (Default Thread Attributes): Fix typo.
4625
4626 2013-10-04 Will Newton <will.newton@linaro.org>
4627
4628 * malloc/Makefile: Add tst-memalign.
4629 * malloc/tst-memalign.c: New file.
4630
4631 * malloc/tst-posix_memalign.c: Add comments.
4632 (do_test): Add comments and call free on all potentially
4633 allocated pointers. Add space after cast.
4634
4635 * malloc/tst-pvalloc.c: Add comments.
4636 (do_test): Add comments and call free on all potentially
4637 allocated pointers. Remove duplicate check for NULL pointer.
4638 Add space after cast.
4639
4640 * malloc/tst-valloc.c: Add comments.
4641 (do_test): Add comments and call free on all potentially
4642 allocated pointers. Remove duplicate check for NULL pointer.
4643 Add space after cast.
4644
4645 2013-10-04 Alan Modra <amodra@gmail.com>
4646
4647 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4648 Use stdint types in rather than __attribute__((mode())).
4649 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4650
4651 2013-10-04 Alan Modra <amodra@gmail.com>
4652
4653 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4654 Correct handling of unaligned relocs for little-endian.
4655 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4656
4657 2013-10-04 Alan Modra <amodra@gmail.com>
4658
4659 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4660 * configure: Regenerate.
4661 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4662 * shlib-versions: Likewise.
4663
4664 2013-10-04 Alan Modra <amodra@gmail.com>
4665
4666 * string/tester.c (test_memrchr): Increment reported test cycle.
4667
4668 2013-10-04 Alan Modra <amodra@gmail.com>
4669
4670 * string/test-memcpy.c (do_one_test): When reporting errors, print
4671 string address and don't overrun end of string.
4672
4673 2013-10-04 Alan Modra <amodra@gmail.com>
4674
4675 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4676 insrdi. Make better use of reg selection to speed exit slightly.
4677 Schedule entry path a little better. Remove useless "are we done"
4678 checks on entry to main loop. Handle wrapping around zero address.
4679 Correct main loop count. Handle single left-over word from main
4680 loop inline rather than by using loop_small. Remove extra word
4681 case in loop_small caused by wrong loop count. Add little-endian
4682 support.
4683 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4684 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4685 cache hint.
4686 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4687 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4688 support. Avoid rlwimi.
4689 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4690
4691 2013-10-04 Alan Modra <amodra@gmail.com>
4692
4693 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4694 insrdi. Formatting.
4695 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4696 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4697 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4698 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4699 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4700 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4701
4702 2013-10-04 Alan Modra <amodra@gmail.com>
4703
4704 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4705 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4706 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4707 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4708 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4709 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4710 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4711 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4712 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4713 use of regs. Use power7 mtocrf. Tidy function tails.
4714
4715 2013-10-04 Alan Modra <amodra@gmail.com>
4716
4717 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4718 Formatting. Consistently use rXXX register defines or rN defines.
4719 Use early exit labels that avoid restoring unused non-volatile regs.
4720 Make cr field use more consistent with rWORDn compares. Rename
4721 regs used as shift registers for unaligned loop, using rN defines
4722 for short lifetime/multiple use regs.
4723 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4724 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4725 addi 1,1,64 to pop stack frame. Simplify return value code.
4726 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4727
4728 2013-10-04 Alan Modra <amodra@gmail.com>
4729
4730 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4731 support. Correct typos, formatting. Optimize tail. Use insrdi
4732 rather than rlwimi.
4733 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4734 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4735 little-endian support. Correct typos.
4736 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4737 rather than rlwimi.
4738 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4739 in loop and entry code to keep "and." results.
4740 (strchr): Add little-endian support. Comment. Move cntlzd
4741 earlier in tail.
4742 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4743
4744 2013-10-04 Alan Modra <amodra@gmail.com>
4745
4746 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4747 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4748 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4749 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4750
4751 2013-10-04 Alan Modra <amodra@gmail.com>
4752
4753 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4754 (rTMP): Define as r11.
4755 (strcmp): Add little-endian support. Optimise tail.
4756 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4757 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4758 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4759 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4760 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4761 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4762 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4763
4764 2013-10-04 Alan Modra <amodra@gmail.com>
4765
4766 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4767 little-endian support. Remove unnecessary "are we done" tests.
4768 Handle "s" wrapping around zero and extremely large "size".
4769 Correct main loop count. Handle single left-over word from main
4770 loop inline rather than by using small_loop. Correct comments.
4771 Delete "zero" tail, use "end_max" instead.
4772 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4773
4774 2013-10-04 Alan Modra <amodra@gmail.com>
4775
4776 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4777 support. Don't branch over align.
4778 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4779 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4780 support. Rearrange tmp reg use to suit. Comment.
4781 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4782
4783 2013-10-04 Alan Modra <amodra@gmail.com>
4784
4785 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4786
4787 2013-10-04 Alan Modra <amodra@gmail.com>
4788
4789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4790 conditional form of branch and link when obtaining pc.
4791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4792
4793 2013-10-04 Alan Modra <amodra@gmail.com>
4794
4795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4796 HIWORD/LOWORD.
4797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
4798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
4799
4800 2013-10-04 Alan Modra <amodra@gmail.com>
4801
4802 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
4803 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
4804 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4805 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
4806 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4807 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4808 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
4809 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4810 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4811 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
4812
4813 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4814 Alistair Popple <alistair@ozlabs.au.ibm.com>
4815 Alan Modra <amodra@gmail.com>
4816
4817 [BZ #15723]
4818 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
4819 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
4820 _dl_hwcap access for little-endian.
4821 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
4822 destroy vmx regs when saving unaligned.
4823 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
4824 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
4825 destroy vmx regs when saving unaligned.
4826
4827 2013-10-04 Alan Modra <amodra@gmail.com>
4828
4829 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
4830 Don't use a union to pack hi/low value.
4831
4832 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4833
4834 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
4835 for little-endian.
4836 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4837 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
4838 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4839 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4840 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4841
4842 2013-10-04 Alan Modra <amodra@gmail.com>
4843
4844 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
4845 constants to usual value for .cst8 section, and remove redundant
4846 high address load.
4847 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
4848 constant for 0x1p52. Load little-endian words of double from
4849 correct stack offsets.
4850
4851 2013-10-04 Alan Modra <amodra@gmail.com>
4852
4853 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
4854 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
4855 words of double from correct stack offsets.
4856 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4857 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
4858 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4859 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4860 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4861 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4862 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4863 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4864 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4865 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4866 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4867 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4868 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4869 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4870 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4871 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
4872 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4873
4874 2013-10-04 Alan Modra <amodra@gmail.com>
4875
4876 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
4877 64-bit int/double union.
4878 (_FPU_SETCW): Likewise.
4879 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
4880 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
4881
4882 2013-10-04 Alan Modra <amodra@gmail.com>
4883
4884 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
4885 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
4886
4887 2013-10-04 Alan Modra <amodra@gmail.com>
4888
4889 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
4890 use vector int constants.
4891 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
4892
4893 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4894
4895 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
4896 array with long long.
4897 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
4898 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
4899 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
4900 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
4901 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
4902 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
4903 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
4904 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
4905 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
4906 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
4907 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
4908 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
4909 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
4910
4911 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
4912
4913 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
4914 (__signbit): Likewise. Correct for little-endian.
4915 (__signbitl): Call __signbit.
4916 (lrint): Correct for little-endian.
4917 (lrintf): Call lrint.
4918
4919 2013-10-04 Alan Modra <amodra@gmail.com>
4920
4921 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
4922 union 32-bit int array member with 64-bit int array.
4923 (t515, tm256): Double rather than long double.
4924 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
4925
4926 2013-10-04 Alan Modra <amodra@gmail.com>
4927
4928 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
4929 Delete.
4930 (IEEE854_LONG_DOUBLE_BIAS): Delete.
4931 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
4932 version of math_ldbl.h.
4933
4934 2013-10-04 Alan Modra <amodra@gmail.com>
4935
4936 [BZ #15734], [BZ #15735]
4937 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
4938 all uses of ieee875 long double macros and unions. Simplify test
4939 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
4940 ldbl_extract_mantissa value for ix,iy exponents. Properly
4941 normalize after ldbl_extract_mantissa, and don't add hidden bit
4942 already handled. Don't treat low word of ieee854 mantissa like
4943 low word of IBM long double and mask off bit when testing for
4944 zero.
4945 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
4946 all uses of ieee875 long double macros and unions. Simplify tests
4947 for 0.0L and inf. Correct double adjustment of k. Delete dead code
4948 adjusting ha,hb. Simplify code setting kld. Delete two600 and
4949 two1022, instead use their values. Recognise that tests for large
4950 "a" and small "b" are mutually exclusive. Rename vars. Comment.
4951 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
4952 Rewrite all uses of ieee875 long double macros and unions. Simplify
4953 test for 0.0L and nan. Correct negation.
4954 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
4955 ieee875 long double macros and unions. Correct output for large
4956 magnitude x. Correct absolute value calculation.
4957 (__erfcl): Likewise.
4958 * math/libm-test.inc: Add tests for errors discovered in IBM long
4959 double versions of fmodl, remainderl, erfl and erfcl.
4960
4961 2013-10-04 Alan Modra <amodra@gmail.com>
4962
4963 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
4964 all uses of ieee854 long double macros and unions. Simplify tests
4965 for long doubles that are fully specified by the high double.
4966 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
4967 Likewise.
4968 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
4969 Remove dead code too.
4970 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4971 (__ieee754_ynl): Likewise.
4972 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
4973 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
4974 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
4975 Remove dead code too.
4976 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
4977 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
4978 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4979 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
4980 Simplify.
4981 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
4982 Simplify.
4983 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
4984 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
4985 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
4986 Comment on variable precision.
4987 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
4988 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4989 Likewise.
4990 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4991 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4992 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4993 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
4994 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
4995
4996 2013-10-04 Alan Modra <amodra@gmail.com>
4997
4998 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
4999 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5000 all uses of ieee854 long double macros and unions.
5001 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5002 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5003 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5004 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5005 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5006 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5007 Likewise.
5008 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5009 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5010 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5011 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5012 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5013 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5014 Simplify sign and nan test too.
5015 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5016 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5017 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5018 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5019 Likewise.
5020 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5021 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5022 Likewise.
5023 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5024 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5025 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5026 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5027 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5028 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5029
5030 2013-10-04 Alan Modra <amodra@gmail.com>
5031
5032 * stdio-common/printf_size.c (__printf_size): Don't use
5033 union ieee854_long_double in fpnum union.
5034 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
5035 signbit macro to retrieve sign from long double.
5036 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5037 retrieve sign from long double.
5038 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5039 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5040 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5041 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5042 * math/test-misc.c (main): Don't use union ieee854_long_double.
5043
5044 2013-10-04 Alan Modra <amodra@gmail.com>
5045
5046 [BZ #15680]
5047 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5048 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5049 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5050 calculation. Remove unnecessary test for denormal exponent.
5051 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5052 Correct handling of denormals. Avoid undefined shift behaviour.
5053 Correct normalisation of low mantissa when low double is denormal.
5054 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5055 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
5056 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5057 Correct normalisation of low mantissa. Test for overflow of high
5058 mantissa and normalise.
5059 (ldbl_nearbyint): Use more readable constant for two52.
5060 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5061 (__mpn_construct_long_double): Fix test for overflow of high
5062 mantissa and correct normalisation. Avoid undefined shift.
5063
5064 2013-10-04 Alan Modra <amodra@gmail.com>
5065
5066 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5067 (union ibm_extended_long_double): Define as an array of ieee754_double.
5068 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5069 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5070 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5071 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5072 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5073 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5074 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5075 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5076 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5077 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5078 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5079
5080 2013-10-03 Joseph Myers <joseph@codesourcery.com>
5081
5082 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5083 page size instead of calling getpagesize.
5084
5085 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5086 (LOCFILE_ALIGN_MASK): Likewise.
5087 (LOCFILE_ALIGN_UP): Likewise.
5088 (LOCFILE_ALIGNED_P): Likewise.
5089 * locale/programs/ld-collate.c (collate_output): Use the new
5090 macros instead of __alignof__ (int32_t).
5091 * locale/weight.h (findidx): Likewise.
5092
5093 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
5094
5095 [BZ #431]
5096 * manual/string.texi: Fix strncat and wcsncat.
5097
5098 2013-10-03 Brooks Moses <bmoses@google.com>
5099
5100 [BZ #15915]
5101 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5102 * Makerules: ...here, and adjust associated comments.
5103
5104 2013-10-02 Will Newton <will.newton@linaro.org>
5105
5106 * malloc/Makefile: Add tst-pvalloc.
5107 * malloc/tst-pvalloc.c: New file.
5108
5109 2013-10-02 Will Newton <will.newton@linaro.org>
5110
5111 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5112 improve test coverage.
5113
5114 2013-10-02 Will Newton <will.newton@linaro.org>
5115
5116 * malloc/Makefile: Add tst-posix_memalign.
5117 * malloc/tst-posix_memalign.c: New file.
5118
5119 2013-10-01 Eric Blake <eblake@redhat.com>
5120
5121 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5122 Use __THROWNL rather than __THROW on static functions.
5123
5124 2013-09-30 Petr Machata <pmachata@redhat.com>
5125
5126 * elf/elf.h (R_AARCH64_ABS16): New macro.
5127 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5128 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5129 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5130 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5131 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5132 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5133 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5134 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5135 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5136 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5137 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5138 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5139 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5140 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5141 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5142 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5143 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5144 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5145 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5146 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5147 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5148 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5149 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5150 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5151 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5152 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5153 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5154 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5155 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5156 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5157 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5158 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5159 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5160 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5161 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5162 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5163 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5164 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5165 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5166 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5167 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5168 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5169 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5170 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5171 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5172 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5173 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5174 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5175 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5176 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5177 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5178 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5179 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5180 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5181 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5182 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5183 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5184 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5185 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5186 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5187 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5188 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5189 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5190 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5191 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5192 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5193 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5194 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5195 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5196 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5197 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5198 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5199 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5200 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5201 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5202 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5203 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5204 (R_AARCH64_TLSDESC_LDR): Likewise.
5205 (R_AARCH64_TLSDESC_ADD): Likewise.
5206 (R_AARCH64_TLSDESC_CALL): Likewise.
5207
5208 2013-09-30 Andreas Schwab <schwab@suse.de>
5209
5210 [BZ #15048]
5211 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5212 the nss database lookup.
5213 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5214 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5215
5216 2013-09-28 Mike Frysinger <vapier@gentoo.org>
5217
5218 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5219
5220 2013-09-28 P. J. McDermott <pj@pehjota.net>
5221
5222 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5223 ${Bash-specific parameter/pattern/string} parameter expansion.
5224 * sysdeps/unix/make-syscalls.sh: Likewise.
5225
5226 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5227
5228 * sysdeps/sh/stackguard-macros.h: New file.
5229
5230 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
5231
5232 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5233 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5234 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5235 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5236 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5237 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5238
5239 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5240
5241 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5242 Fix thread ID register.
5243
5244 2013-09-25 Joseph Myers <joseph@codesourcery.com>
5245
5246 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5247 [POSIX || UNIX98]: Require rather than permitting all symbols from
5248 <time.h>.
5249 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5250 element of struct sched_param.
5251 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5252 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5253 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5254 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5255 constant.
5256
5257 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5258
5259 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5260 argument calculation.
5261
5262 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5263
5264 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5265 Expect macro.
5266 [POSIX] (pthread_attr_t): Do not require type.
5267 [POSIX] (pthread_cond_t): Likewise.
5268 [POSIX] (pthread_condattr_t): Likewise.
5269 [POSIX] (pthread_key_t): Likewise.
5270 [POSIX] (pthread_mutex_t): Likewise.
5271 [POSIX] (pthread_mutexattr_t): Likewise.
5272 [POSIX] (pthread_once_t): Likewise.
5273 [POSIX] (pthread_t): Likewise.
5274 [POSIX-based standards] (pthread_atfork): Expect function.
5275
5276 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5277 Richard Sandiford <richard@codesourcery.com>
5278
5279 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5280 (swap_endianness_p): New extern variable.
5281 (set_big_endian): New inline function.
5282 (maybe_swap_uint32): Likewise.
5283 (maybe_swap_uint32_array): Likewise.
5284 (maybe_swap_uint32_obstack): Likewise.
5285 * locale/programs/locfile.c: Include <stdbool.h>.
5286 (swap_endianness_p): New variable.
5287 (add_locale_uint32): Call maybe_swap_uint32.
5288 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5289 (write_locale_data): Call maybe_swap_uint32_array.
5290 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5291 maybe_swap_uint32.
5292 (obstack_int32_grow_fast): Likewise.
5293 (output_weightwc): Call maybe_swap_uint32_obstack.
5294 (collate_output): Likewise.
5295 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5296 (OPT_LITTLE_ENDIAN): Likewise.
5297 (options): Add --little-endian and --big-endian options.
5298 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5299 * locale/programs/locarchive.c: Include "locfile.h".
5300 (GET): New macro.
5301 (SET): Likewise.
5302 (INC): Likewise.
5303 (create_archive): Use the new macros to access fields of
5304 structures directly mapped from or written to locale archives.
5305 (oldlocrecentcmp): Likewise.
5306 (enlarge_archive): Likewise.
5307 (insert_name): Likewise.
5308 (add_alias): Likewise.
5309 (add_locale): Likewise.
5310 (delete_locales_from_archive): Likewise.
5311 (show_archive_content): Likewise.
5312 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5313 locale data.
5314
5315 2013-09-24 Roland McGrath <roland@hack.frob.com>
5316
5317 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5318 http://www.gnu.org/doc/freemanuals.texi.
5319 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5320
5321 2013-09-24 Will Newton <will.newton@linaro.org>
5322
5323 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5324 macro.
5325
5326 2013-09-23 Joseph Myers <joseph@codesourcery.com>
5327
5328 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5329 unsigned char.
5330
5331 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5332
5333 * manual/threads.texi (POSIX Threads): Fix a typo.
5334
5335 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5336
5337 [BZ #14547]
5338 * string/tst-strcoll-overflow.c: New test case.
5339 * string/Makefile (xtests): Add tst-strcoll-overflow.
5340 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5341 cache if string sizes may cause integer overflow.
5342
5343 [BZ #14547]
5344 * string/strcoll_l.c (coll_seq): New members rule, idx,
5345 save_idx and back_us.
5346 (get_next_seq_nocache): New function.
5347 (do_compare_nocache): New function.
5348 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5349 when malloc fails.
5350
5351 2013-09-23 Carlos O'Donell <carlos@redhat.com>
5352
5353 [BZ #15754]
5354 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5355 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5356 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5357
5358 [BZ #15754]
5359 * elf/Makefile (tests): Add tst-ptrguard1.
5360 (tests-static): Add tst-ptrguard1-static.
5361 (tst-ptrguard1-ARGS): Define.
5362 (tst-ptrguard1-static-ARGS): Define.
5363 * elf/tst-ptrguard1.c: New file.
5364 * elf/tst-ptrguard1-static.c: New file.
5365 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5366 * sysdeps/i386/stackguard-macros.h: Likewise.
5367 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5368 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5369 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5370 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5371 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5372 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5373
5374 2013-09-23 Hector Marco <hecmargi@upv.es>
5375 Ismael Ripoll <iripoll@disca.upv.es>
5376 Carlos O'Donell <carlos@redhat.com>
5377
5378 [BZ #15754]
5379 * sysdeps/generic/stackguard-macros.h: Define
5380 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5381 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5382 Define __pointer_chk_guard_local.
5383 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5384 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5385
5386 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5387
5388 [BZ #15859]
5389 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5390
5391 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5392
5393 * include/string.h (__ffs): Declare as hidden.
5394 * string/ffs.c (__ffs): Define as hidden.
5395 * sysdeps/i386/ffs.c (__ffs): Likewise.
5396 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5397 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5398 * sysdeps/s390/ffs.c (__ffs): Likewise.
5399 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5400
5401 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
5402
5403 * NEWS: Mention malloc probes.
5404
5405 * malloc/arena.c (new_heap): New memory_heap_new probe.
5406 (grow_heap): New memory_heap_more probe.
5407 (shrink_heap): New memory_heap_less probe.
5408 (heap_trim): New memory_heap_free probe.
5409 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5410 (systrim): New memory_sbrk_less probe.
5411 * manual/probes.texi: Document them.
5412
5413 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5414 * manual/probes.texi: Document it.
5415
5416 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5417 (__libc_realloc): Add memory_realloc_retry probe.
5418 (__libc_memalign): Add memory_memalign_retry probe.
5419 (__libc_valloc): Add memory_valloc_retry probe.
5420 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5421 (__libc_calloc): Add memory_calloc_retry probe.
5422 * manual/probes.texi: Document them.
5423
5424 * malloc/arena.c (get_free_list): Add probe
5425 memory_arena_reuse_free_list.
5426 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5427 and memory_arena_reuse.
5428 (arena_get2) [!PER_THREAD]: Likewise.
5429 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5430 memory_arena_reuse_realloc.
5431 * manual/probes.texi: Document them.
5432
5433 * malloc/malloc.c (__libc_free): Add
5434 memory_mallopt_free_dyn_thresholds probe.
5435 (__libc_mallopt): Add multiple memory_mallopt probes.
5436 * manual/probes.texi: Document them.
5437
5438 * malloc/malloc.c: Include stap-probe.h.
5439 (__libc_mallopt): Add memory_mallopt probe.
5440 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5441 * manual/probes.texi: New.
5442 * manual/Makefile (chapters): Add probes.
5443 * manual/threads.texi: Set next node.
5444
5445 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
5446
5447 [BZ #15963, #13985]
5448 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5449 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5450 Add `Chinese' to `nan' entry name.
5451
5452 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5453
5454 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5455 (POLYNOMIAL): Likewise.
5456 (TAYLOR_SINCOS): Likewise.
5457 (TAYLOR_SLOW): Likewise.
5458 (__sin): Use TAYLOR_SINCOS.
5459 (__cos): Likewise.
5460 (slow): Use TAYLOR_SLOW.
5461 (sloww): Likewise.
5462 (bsloww): Likewise.
5463 (csloww): Likewise.
5464
5465 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5466
5467 * stdlib/strtod_l.c: Fix buffer overrun.
5468
5469 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5470
5471 * benchtests/Makefile (bench): Add sincos.
5472 * benchtests/bench-sincos.c: New file.
5473
5474 * math/libm-test.inc (cos_test_data): New test inputs.
5475 (sin_test_data): Likewise.
5476
5477 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5478 macro.
5479 (__sin): Use it.
5480 (__cos): Likewise.
5481 (slow1): Likewise.
5482 (slow2): Likewise.
5483 (sloww1): Likewise.
5484 (sloww2): Likewise.
5485 (bsloww1): Likewise.
5486 (bsloww2): Likewise.
5487 (cslow2): Likewise.
5488 (csloww1): Likewise.
5489 (csloww2): Likewise.
5490
5491 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5492 function.
5493 (__sin): Use it.
5494 (__cos): Likewise.
5495
5496 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5497 gotos.
5498 (__cos): Likewise.
5499
5500 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5501
5502 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5503 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5504 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5505 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5506 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5507 * elf/cache.c (print_entry): Handle the new cache flags.
5508
5509 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5510 Aldy Hernandez <aldyh@redhat.com>
5511
5512 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5513 Change condition to [_SOFT_FLOAT].
5514 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5515 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5516 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5517 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5518 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5519 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5520 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5521 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5522 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5523 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5524 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5525 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5526 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5527 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5528 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5529 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5530 declaration.
5531
5532 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5533
5534 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5535 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5536 (__longjmp): Use LOAD_GP to load saved GPRs.
5537 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5538 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5539 (__sigsetjmp): Use SAVE_GP to save GPRs.
5540
5541 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5542 Do not append -msoft-float.
5543 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5544
5545 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5546
5547 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5548
5549 2013-09-17 Joseph Myers <joseph@codesourcery.com>
5550
5551 [BZ #15966]
5552 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5553 (_FPU_GETCW): Use initial "__" on variable and field names but not
5554 on macro parameter name.
5555 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5556 parentheses around reference to macro parameter.
5557
5558 2013-09-13 Richard Sandiford <richard@codesourcery.com>
5559
5560 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5561 prototype.
5562 (ctype_startup): Use uint32_t in cast and sizeof for
5563 ctype->charnames.
5564
5565 2013-09-11 Jia Liu <proljc@gmail.com>
5566
5567 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5568 __daddr_t_defined.
5569 [__FreeBSD__]: Likewise.
5570
5571 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
5572
5573 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5574 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5575 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5576 (strchr): Remove __strchr_sse42 ifunc selection.
5577 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5578 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5579
5580 2013-09-11 Will Newton <will.newton@linaro.org>
5581
5582 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5583 parameter to RES. Remove hardcoded 1000 value.
5584 * benchtests/bench-skeleton.c (main): Pass RES parameter
5585 to TIMING_INIT and multiply result by 1000.
5586
5587 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5588
5589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5590
5591 2013-09-11 Andreas Schwab <schwab@suse.de>
5592
5593 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5594 if not defined.
5595 (O_TMPFILE) [__USE_GNU]: Define.
5596 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5597 Define.
5598
5599 2013-09-11 Will Newton <will.newton@linaro.org>
5600
5601 [BZ #15857]
5602 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5603 does not overflow.
5604
5605 2013-09-11 Will Newton <will.newton@linaro.org>
5606
5607 [BZ #15856]
5608 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5609 does not overflow.
5610
5611 2013-09-11 Will Newton <will.newton@linaro.org>
5612
5613 [BZ #15855]
5614 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5615 does not overflow.
5616
5617 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
5618
5619 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5620 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5621 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5622 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5623 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5624
5625 2013-09-10 Allan McRae <allan@archlinux.org>
5626
5627 [BZ #15748]
5628 * manual/arith.texi (Parsing of Floats): Clarify
5629 cross-reference.
5630
5631 [BZ #15849]
5632 * manual/install.texi (Running make install): Mention
5633 --enable-pt-chown.
5634 * INSTALL: Regenerated.
5635
5636 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5637
5638 * csu/init-first.c (_init): Remove the !SHARED condition around
5639 FPU control word initialization.
5640 * elf/dl-support.c (_dl_fpu_control): New variable.
5641 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5642 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5643 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5644 * math/test-fpucw-static.c: New file.
5645 * math/test-fpucw-ieee.c: New file.
5646 * math/test-fpucw-ieee-static.c: New file.
5647 * math/Makefile (tests): Add `test-fpucw-ieee' and
5648 `$(tests-static)'.
5649 (tests-static): New variable.
5650 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5651 dependency to...
5652 [($(build-shared),yes)]
5653 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5654 ... this.
5655 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5656 New dependency.
5657
5658 2013-09-09 Allan McRae <allan@archlinux.org>
5659
5660 [BZ #15939]
5661 * manual/string.texi (Collation Functions): Fix typo in
5662 strcoll example.
5663 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5664
5665 [BZ #15893]
5666 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5667
5668 [BZ #15892]
5669 * libio/memstream.c (open_memstream): Fix memory leak.
5670 * libio/wmemstream.c (open_wmemstream): Likewise.
5671
5672 [BZ #15895]
5673 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5674
5675 2013-09-09 Will Newton <will.newton@linaro.org>
5676
5677 * malloc/Makefile: Add tst-realloc to tests.
5678 * malloc/tst-realloc.c: New file.
5679
5680 2013-09-09 Allan McRae <allan@archlinux.org>
5681
5682 [BZ #15844]
5683 * COPYING: Update from GNU website to fix FSF address.
5684 * COPYING.LIB: Likewise.
5685
5686 2013-09-06 David S. Miller <davem@davemloft.net>
5687
5688 * po/zh_TW.po: Update Chinese (traditional) translation from
5689 translation project.
5690
5691 2013-09-06 Richard Sandiford <richard@codesourcery.com>
5692 Joseph Myers <joseph@codesourcery.com>
5693
5694 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5695 "localeinfo.h".
5696 (obstack_chunk_alloc): New macro.
5697 (obstack_chunk_free): Likewise.
5698 (record_offset): New function.
5699 (init_locale_data): Likewise.
5700 (align_locale_data): Likewise.
5701 (add_locale_empty): Likewise.
5702 (add_locale_raw_data): Likewise.
5703 (add_locale_raw_obstack): Likewise.
5704 (add_locale_string): Likewise.
5705 (add_locale_wstring): Likewise.
5706 (add_locale_uint32): Likewise.
5707 (add_locale_uint32_array): Likewise.
5708 (add_locale_char): Likewise.
5709 (start_locale_structure): Likewise.
5710 (end_locale_structure): Likewise.
5711 (start_locale_prelude): Likewise.
5712 (end_locale_prelude): Likewise.
5713 (write_locale_data): Take locale_file structure rather than an
5714 iovec.
5715 * locale/programs/locfile.h: Include "obstack.h".
5716 (struct locale_file): Change to store locale file contents instead
5717 of header.
5718 (init_locale_data): New prototype.
5719 (align_locale_data): Likewise.
5720 (add_locale_empty): Likewise.
5721 (add_locale_raw_data): Likewise.
5722 (add_locale_raw_obstack): Likewise.
5723 (add_locale_string): Likewise.
5724 (add_locale_wstring): Likewise.
5725 (add_locale_uint32): Likewise.
5726 (add_locale_uint32_array): Likewise.
5727 (add_locale_char): Likewise.
5728 (start_locale_structure): Likewise.
5729 (end_locale_structure): Likewise.
5730 (start_locale_prelude): Likewise.
5731 (end_locale_prelude): Likewise.
5732 (write_locale_data): Update prototype.
5733 * locale/programs/3level.h (struct TABLE): Remove result field.
5734 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5735 Use new locale_file interface.
5736 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5737 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5738 * locale/programs/ld-address.c (address_output): Use new
5739 locale_file interface.
5740 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5741 NO_ADD_LOCALE.
5742 (collate_finish): Don't call collseq_table_finalize.
5743 (collate_output): Use new locale_file interface.
5744 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5745 in file.
5746 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5747 (TABLE): Move defines earlier in file.
5748 (ELEMENT): Likewise.
5749 (DEFAULT): Likewise.
5750 (wctrans_table_add): Move macro and inline function earlier in
5751 file.
5752 (struct wctype_table): Move type earlier in file.
5753 (add_locale_wctype_table): New static prototype.
5754 (struct locale_ctype_t): Use logical types instead of struct iovec
5755 pointers for members.
5756 (ctype_output): Use new locale_file interface.
5757 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5758 new locale_file interface.
5759 (allocate_arrays): Update for use of new locale_file interface.
5760 * locale/programs/ld-identification.c (identification_output): Use
5761 new locale_file interface.
5762 * locale/programs/ld-measurement.c (measurement_output): Likewise.
5763 * locale/programs/ld-messages.c (messages_output): Likewise.
5764 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5765 * locale/programs/ld-name.c (name_output): Likewise.
5766 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5767 * locale/programs/ld-paper.c (paper_output): Likewise.
5768 * locale/programs/ld-telephone.c (telephone_output): Likewise.
5769 * locale/programs/ld-time.c (time_output): Likewise.
5770
5771 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5772
5773 * benchtests/Makefile: Add memrchr benchmark.
5774 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5775 benchmark as memrchr.
5776 * benchtests/bench-memrchr-ifunc.c: New file.
5777 * benchtests/bench-memrchr.c: New file.
5778
5779 2013-09-06 Will Newton <will.newton@linaro.org>
5780
5781 * benchtests/Makefile (string-bench): Add memcpy.
5782
5783 2013-09-05 Carlos O'Donell <carlos@redhat.com>
5784 Cong Wang <amwang@redhat.com>
5785
5786 * sysdeps/unix/sysv/linux/bits/in.h
5787 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5788 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5789 before __USE_KERNEL_IPV6_DEFS uses.
5790 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5791 IPPROTO_BEETPH.
5792 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5793 sockaddr_in6, or ipv6_mreq.
5794
5795 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5796
5797 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
5798 memory access for final bytes in some large inputs.
5799 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
5800
5801 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5802
5803 * string/test-memrchr.c: New file.
5804 * string/test-memrchr-ifunc.c: New file.
5805 * string/Makefile: Add new memrchr testcase.
5806
5807 2013-09-05 Mike Frysinger <vapier@gentoo.org>
5808
5809 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
5810 fanotify_init returns EPERM.
5811
5812 2013-09-04 Joseph Myers <joseph@codesourcery.com>
5813
5814 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
5815 errors.
5816 (top level): Treat second token from macro or constant entries for
5817 allowed headers as allowed.
5818 * include/complex.h: Condition internal declarations on
5819 [!_ISOMAC].
5820 * include/fenv.h: Condition include of <stdbool.h> and internal
5821 declarations on [!_ISOMAC].
5822
5823 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
5824
5825 [BZ #15923]
5826 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
5827
5828 2013-09-04 Joseph Myers <joseph@codesourcery.com>
5829
5830 * configure.in (--enable-versioning): Remove configure option.
5831 (libc_cv_asm_symver_directive): Remove configure test.
5832 (libc_cv_ld_version_script_option): Likewise.
5833 (VERSIONING): Remove variable and AC_SUBST.
5834 (DO_VERSIONING): Remove AC_DEFINE.
5835 * configure: Regenerated.
5836 * config.h.in (DO_VERSIONING): Remove macro.
5837 * Makerules [$(versioning) = yes]: Change conditionals to
5838 [$(build-shared) = yes].
5839 * config.make.in (versioning): Remove variable.
5840 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
5841 [$(build-shared) = yes].
5842 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
5843 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
5844 * elf/Makefile [$(versioning) = yes]: Change conditionals to
5845 [$(build-shared) = yes].
5846 * extra-lib.mk [$(versioning) = yes]: Likewise.
5847 * hurd/Makefile [$(versioning) = yes]: Likewise.
5848 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
5849 [SHARED].
5850 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
5851 [SHARED].
5852 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5853 [SHARED && !NO_HIDDEN].
5854 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
5855 [SHARED].
5856 [SHARED && DO_VERSIONING]: Likewise..
5857 * libio/Makefile [$(versioning) = yes]: Change conditionals to
5858 [$(build-shared) = yes].
5859 * manual/install.texi (--disable-versioning): Remove
5860 documentation.
5861 * INSTALL: Regenerated.
5862 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
5863 to [SHARED].
5864 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
5865 [$(build-shared) = yes].
5866 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
5867 * sysdeps/i386/i686/multiarch/strstr-c.c
5868 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
5869 [SHARED && !NO_HIDDEN].
5870 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
5871 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
5872 * sysdeps/powerpc/powerpc32/dl-machine.c
5873 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
5874 * sysdeps/powerpc/powerpc32/sysdep.h
5875 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
5876 to [SHARED && PIC && !NO_HIDDEN].
5877 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
5878 conditional to [SHARED].
5879
5880 2013-09-04 Will Newton <will.newton@linaro.org>
5881
5882 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
5883 * benchtests/bench-string.h: Include bench-timing.h instead
5884 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
5885 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
5886 call to HP_TIMING_DIFF_INIT.
5887 * benchtests/bench-memccpy.c: Use bench-timing.h macros
5888 instead of hp-timing.h macros.
5889 * benchtests/bench-memchr.c: Likewise.
5890 * benchtests/bench-memcmp.c: Likewise.
5891 * benchtests/bench-memcpy.c: Likewise.
5892 * benchtests/bench-memmem.c: Likewise.
5893 * benchtests/bench-memmove.c: Likewise.
5894 * benchtests/bench-memset.c: Likewise.
5895 * benchtests/bench-rawmemchr.c: Likewise.
5896 * benchtests/bench-strcasecmp.c: Likewise.
5897 * benchtests/bench-strcasestr.c: Likewise.
5898 * benchtests/bench-strcat.c: Likewise.
5899 * benchtests/bench-strchr.c: Likewise.
5900 * benchtests/bench-strcmp.c: Likewise.
5901 * benchtests/bench-strcpy.c: Likewise.
5902 * benchtests/bench-strcpy_chk.c: Likewise.
5903 * benchtests/bench-strlen.c: Likewise.
5904 * benchtests/bench-strncasecmp.c: Likewise.
5905 * benchtests/bench-strncat.c: Likewise.
5906 * benchtests/bench-strncmp.c: Likewise.
5907 * benchtests/bench-strncpy.c: Likewise.
5908 * benchtests/bench-strnlen.c: Likewise.
5909 * benchtests/bench-strpbrk.c: Likewise.
5910 * benchtests/bench-strrchr.c: Likewise.
5911 * benchtests/bench-strspn.c: Likewise.
5912 * benchtests/bench-strstr.c: Likewise.
5913
5914 2013-09-04 Will Newton <will.newton@linaro.org>
5915
5916 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
5917
5918 2013-09-03 Joseph Myers <joseph@codesourcery.com>
5919
5920 [BZ #15427]
5921 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
5922 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
5923 * math/libm-test.inc (lgamma_test_data): Add more tests.
5924 * sysdeps/i386/fpu/libm-test-ulps: Update.
5925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5926
5927 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
5928
5929 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
5930 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5931 Add ifunc.
5932 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5933 Add strcmp-sse2-unaligned
5934 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
5935
5936 2013-09-02 Mike Frysinger <vapier@gentoo.org>
5937
5938 * Versions.def (libc): Add GLIBC_2.19.
5939
5940 2013-09-02 Mike Frysinger <vapier@gentoo.org>
5941
5942 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
5943 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
5944
5945 2013-09-02 Joseph Myers <joseph@codesourcery.com>
5946
5947 [BZ #14155]
5948 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
5949 intermediate calculations in recurrence.
5950 (__ieee754_ynf): Likewise.
5951 * math/libm-test.inc (jn_test_data): Do not allow spurious
5952 underflow exception. Add more tests.
5953 (yn_test_data): Add more tests.
5954 * sysdeps/i386/fpu/libm-test-ulps: Update.
5955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5956
5957 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
5958
5959 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
5960
5961 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5962
5963 * csu/init-first.c: Fix then/than typos.
5964 * locale/programs/ld-collate.c: Likewise.
5965 * locale/programs/linereader.h: Likewise.
5966 * manual/charset.texi: Likewise.
5967 * manual/filesys.texi: Likewise.
5968 * manual/stdio.texi: Likewise.
5969 * manual/string.texi: Likewise.
5970 * stdlib/fmtmsg.c: Likewise.
5971 * sysdeps/i386/stpncpy.S: Likewise.
5972 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5973 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5974 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5975 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5976
5977 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
5978
5979 * elf/dl-open.c: Fix typos.
5980 * iconvdata/gbbig5.c: Likewise.
5981 * iconvdata/iso-2022-jp.c: Likewise.
5982 * iconv/gconv_int.h: Likewise.
5983 * iconv/loop.c: Likewise.
5984 * nis/rpcsvc/nis.h: Likewise.
5985 * resolv/ns_name.c: Likewise.
5986 * stdio-common/vfscanf.c: Likewise.
5987 * streams/stropts.h: Likewise.
5988 * sunrpc/rpc_thread.c: Likewise.
5989 * sysdeps/i386/strpbrk.S: Likewise.
5990 * sysdeps/ieee754/k_standard.c: Likewise.
5991 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5992 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5993 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
5994 * sysdeps/mach/hurd/profil.c: Likewise.
5995 * sysdeps/s390/dl-procinfo.h: Likewise.
5996 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
5997 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5998 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
5999 * sysdeps/x86_64/dl-trampoline.S: Likewise.
6000 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6001
6002 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6003
6004 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6005 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6006
6007 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
6008
6009 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6010 aix specific files.
6011 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6012 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6013 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6014 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6015 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6016 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6017 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6018 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6019
6020 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6021 Roland McGrath <roland@hack.frob.com>
6022
6023 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6024 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6025
6026 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
6027
6028 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6029 __executable_start symbol instead of _start.
6030
6031 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6032
6033 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6034 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6035 Move macros to...
6036 * sysdeps/gnu/ldsodefs.h: ... this new file.
6037
6038 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6039 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6040 instead of ELFOSABI_LINUX.
6041
6042 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
6043 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6044 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6045 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6046 Likewise.
6047 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6048 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6049 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6050 Likewise.
6051 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6052 (ibm_extended_long_double): Add ieee_nan member.
6053 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6054 (do_test): New function.
6055
6056 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6057 TEST_TRUNC.
6058 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6059 functions, renamed from truncdfsf_test, trunctfsf_test,
6060 trunctfdf_test.
6061 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6062 functions.
6063 (do_test): Run all these.
6064
6065 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
6066
6067 * argp/argp-help.c: Fix typos.
6068 * argp/argp-parse.c: Likewise.
6069 * debug/backtracesyms.c: Likewise.
6070 * elf/elf.h: Likewise.
6071 * malloc/malloc.c: Likewise.
6072 * nis/nis_print.c: Likewise.
6073 * resolv/res_comp.c: Likewise.
6074 * stdlib/stdlib.h: Likewise.
6075 * sunrpc/clnt_tcp.c: Likewise.
6076 * sunrpc/clnt_udp.c: Likewise.
6077 * sunrpc/clnt_unix.c: Likewise.
6078 * sysdeps/unix/bsd/ptsname.c: Likewise.
6079 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6080 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
6081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6082 Likewise.
6083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6084 Likewise.
6085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6086 Likewise.
6087 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6088
6089 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6090
6091 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6092 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6093
6094 2013-08-27 Mike Frysinger <vapier@gentoo.org>
6095
6096 [BZ #15897]
6097 * dlfcn/Makefile (tests): Add bug-dl-leaf.
6098 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6099 ($(objpfx)bug-dl-leaf): New rule.
6100 ($(objpfx)bug-dl-leaf.so): Likewise.
6101 ($(objpfx)bug-dl-leaf.out): Likewise.
6102 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6103 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6104 * dlfcn/bug-dl-leaf.c: New test.
6105 * dlfcn/bug-dl-leaf-lib.c: Likewise.
6106 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6107 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6108 (dlclose): Likewise.
6109 (dlmopen): Likewise.
6110
6111 2013-08-27 Roland McGrath <roland@hack.frob.com>
6112
6113 * include/netdb.h [!_ISOMAC]:
6114 Don't include <tls.h>.
6115 (h_errno, __libc_h_errno): Move declaration and macros out of
6116 [_LIBC_REENTRANT].
6117
6118 * include/resolv.h [_RESOLV_H_]:
6119 Don't include <tls.h>.
6120 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6121 * resolv/res_libc.c: Don't include <tls.h>.
6122 (_res): Use __attribute__ ((nocommon)) in place of
6123 __attribute__ ((section (".bss"))).
6124
6125 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6126 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6127
6128 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6129
6130 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6131 only under [SIOCGIFCONF && SIOCGIFNETMASK].
6132
6133 * resolv/res_mkquery.c: Include <sys/time.h>.
6134
6135 * inet/ifreq.c: Moved to ...
6136 * sysdeps/unix/ifreq.c: ... here.
6137 * inet/ifreq.c: New file, true stub version.
6138
6139 * socket/sa_len.c: New file.
6140 * socket/Makefile (aux): Add it.
6141 * sysdeps/unix/sysv/linux/Makefile
6142 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6143 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6144 and #include <socket/sa_len.c>.
6145 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6146 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6147
6148 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6149 * bits/socket.h: ... here.
6150
6151 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6152 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6153 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6154
6155 2013-08-27 Andreas Schwab <schwab@suse.de>
6156
6157 [BZ #15736]
6158 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6159 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6160 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6161 * string/test-strcasecmp.c (test_main): Run tests in several
6162 locales.
6163 * string/test-strncasecmp.c (test_main): Likewise.
6164
6165 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6166 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6167 to __strcasecmp_nonascii and __strncasecmp_nonascii.
6168 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6169 (__strncasecmp_ssse3) [PIC]: Likewise.
6170
6171 2013-08-26 Roland McGrath <roland@hack.frob.com>
6172
6173 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6174
6175 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6176 instead of explicitly declaring xdecrypt.
6177 * nis/nss_nis/nis-publickey.c: Likewise.
6178
6179 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6180
6181 [BZ #15890]
6182 * nscd/aicache.c: Include res_hconf.h.
6183 (addhstaiX): Initialize res_hconf.
6184
6185 2013-08-26 Andreas Schwab <schwab@suse.de>
6186
6187 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6188 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6189
6190 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6191
6192 * nscd/aicache.c (addhstaiX): Fix indentation.
6193
6194 2013-08-25 Mike Frysinger <vapier@gentoo.org>
6195
6196 * configure.ac: Quote $build_pt_chown test.
6197 * configure: Regenerated.
6198
6199 2013-08-23 Joseph Myers <joseph@codesourcery.com>
6200
6201 [BZ #15532]
6202 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6203 * math/s_cexpf.c (__cexpf): Likewise.
6204 * math/s_cexpl.c (__cexpl): Likewise.
6205 * math/libm-test.inc (cexp_test_data): Correct expected return
6206 value for NaN + i0. Add another test.
6207
6208 2013-08-22 David S. Miller <davem@davemloft.net>
6209
6210 * po/ca.po: Update Catalan translation from translation project.
6211 * po/uk.po: Add Ukrainian translations from translation project.
6212
6213 2013-08-21 Joseph Myers <joseph@codesourcery.com>
6214
6215 [BZ #15797]
6216 * math/s_fdim.c (__fdim): Check for infinite arguments if result
6217 is infinite, not alongside NaN test.
6218 * math/s_fdimf.c (__fdimf): Likewise.
6219 * math/s_fdiml.c (__fdiml): Likewise.
6220 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
6221 errno is unchanged.
6222
6223 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
6224
6225 * argp/argp-help.c: Fix typos.
6226 * crypt/speeds.c: Likewise.
6227 * csu/check_fds.c: Likewise.
6228 * elf/dl-load.c: Likewise.
6229 * elf/dl-open.c: Likewise.
6230 * elf/reldep3.c: Likewise.
6231 * elf/reldep.c: Likewise.
6232 * elf/sprof.c: Likewise.
6233 * iconv/iconv_charmap.c: Likewise.
6234 * iconv/skeleton.c: Likewise.
6235 * iconv/strtab.c: Likewise.
6236 * io/lockf64.c: Likewise.
6237 * libio/libioP.h: Likewise.
6238 * resolv/gai_notify.c: Likewise.
6239 * resolv/ns_name.c: Likewise.
6240 * resolv/ns_samedomain.c: Likewise.
6241 * resolv/res_send.c: Likewise.
6242 * stdlib/random.c: Likewise.
6243 * sunrpc/rpc/xdr.h: Likewise.
6244 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6245 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6246 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6247 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6248 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6249 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6250 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6251 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6252 * sysdeps/mach/hurd/check_fds.c: Likewise.
6253 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6254 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6255 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6256 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6257 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6258 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6259 * sysdeps/pthread/aio_notify.c: Likewise.
6260 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6261 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6262 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6263 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6264 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6265
6266 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6267
6268 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6269 version if bit_Slow_SSE4_2 is set.
6270 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6271 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6272
6273 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6274
6275 [BZ #15867]
6276 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6277 trampoline stack frame information.
6278 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6279 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6280 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6281 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6282 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6283 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6284 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6285 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6286 sa_flags value.
6287 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6288 interrupting a syscall and set with option SA_SIGINFO.
6289
6290 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6291
6292 [BZ #15531]
6293 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6294 argument is infinite.
6295 * math/s_cprojf.c (__cprojf): Likewise.
6296 * math/s_cprojl.c (__cprojl): Likewise.
6297 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6298 * math/libm-test.inc (cproj_test_data): Add more tests.
6299
6300 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6301
6302 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6303 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6304 size. Use __ffs to determine corresponding shift.
6305
6306 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6307 Roland McGrath <roland@hack.frob.com>
6308
6309 * Makefile (INSTALL): Remove trailing blank lines from output of
6310 makeinfo.
6311
6312 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6313
6314 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6315 Align 32 bit compat elf_greg to 8 bytes.
6316
6317 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6318
6319 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6320
6321 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6322
6323 * string/strcoll_l.c (coll_seq): New structure.
6324 (get_next_seq_cached): New function.
6325 (get_next_seq): New function.
6326 (do_compare): New function.
6327 (STRCOLL): Use GNU style definition. Simplify implementation
6328 by using get_next_seq, get_next_seq_cached and do_compare.
6329
6330 2013-08-16 Florian Weimer <fweimer@redhat.com>
6331
6332 [BZ #14699]
6333 CVE-2013-4237
6334 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6335 member.
6336 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6337 member.
6338 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6339 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6340 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6341 conditional.
6342 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6343 GETDENTS_64BIT_ALIGNED.
6344 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6345 * manual/filesys.texi (Reading/Closing Directory): Document
6346 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6347 strongly.
6348 * manual/conf.texi (Limits for Files): Add portability note to
6349 NAME_MAX, PATH_MAX.
6350 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6351
6352 2013-08-13 Andreas Schwab <schwab@suse.de>
6353
6354 [BZ #15749]
6355 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6356 of fabs.
6357 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6358 LDBL_MAX_EXP >= 16384]: Add tests for it.
6359
6360 2013-08-12 David S. Miller <davem@davemloft.net>
6361
6362 * version.h (RELEASE): Set to "development".
6363 (VERSION): Set to "2.18.90".
6364 * NEWS: Add 2.19 section.
6365
6366 2013-08-03 David S. Miller <davem@davemloft.net>
6367
6368 * po/ko.po: Update Korean translation from translation project.
6369
6370 2013-08-01 David S. Miller <davem@davemloft.net>
6371
6372 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6373 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6374 Bilka.
6375
6376 2013-07-30 David S. Miller <davem@davemloft.net>
6377
6378 * po/fr.po: Update French translation from translation project.
6379
6380 2013-07-28 David S. Miller <davem@davemloft.net>
6381
6382 * po/cs.po: Update Czech translation from translation project.
6383
6384 * po/sv.po: Update Swedish translation from translation project.
6385
6386 2013-07-27 David S. Miller <davem@davemloft.net>
6387
6388 * po/eo.po: Update Esperanto translation from translation project.
6389
6390 * po/vi.po: Update Vietnamese translation from translation project.
6391
6392 * po/de.po: Update German translation from translation project.
6393
6394 2013-07-26 David S. Miller <davem@davemloft.net>
6395
6396 * po/bg.po: Update Bulgarian translation from translation project.
6397
6398 * po/nl.po: Update Dutch translation from translation project.
6399 * po/pl.po: Update Polish translation from translation project.
6400 * po/ru.po: Update Russian translation from translation project.
6401
6402 2013-07-24 David S. Miller <davem@davemloft.net>
6403
6404 * po/libc.pot: Update.
6405
6406 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6407
6408 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6409 variable page size.
6410 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6411 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6412 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6413
6414 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6415
6416 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6417
6418 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6419 Andreas Schwab <schwab@suse.de>
6420 Roland McGrath <roland@hack.frob.com>
6421 Joseph Myers <joseph@codesourcery.com>
6422 Carlos O'Donell <carlos@redhat.com>
6423
6424 [BZ #15755]
6425 * config.h.in: Define HAVE_PT_CHOWN.
6426 * config.make.in (build-pt-chown): New variable.
6427 * configure.in (--enable-pt_chown): New configure option.
6428 * configure: Regenerate.
6429 * login/Makefile: Include Makeconfig. Build pt_chown only if
6430 build-pt-chown is enabled.
6431 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6432 pt_chown to fix pty ownership.
6433 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6434 CLOSE_ALL_FDS.
6435 * manual/install.texi (Configuring and compiling): Mention
6436 --enable-pt_chown. Add @findex for grantpt.
6437 * INSTALL: Regenerate.
6438
6439 2013-07-20 David S. Miller <davem@davemloft.net>
6440
6441 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6442 difference between 32-bit and 64-bit.
6443
6444 2013-07-15 Carlos O'Donell <carlos@redhat.com>
6445
6446 [BZ #15711]
6447 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6448 Avoid system header dependency with -ffreestanding.
6449 ($(objpfx)bits/syscall%d): Likewise.
6450
6451 2013-07-13 David S. Miller <davem@davemloft.net>
6452
6453 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6454 underflows from atanl/atan2l due to bug 15319.
6455 (casinh_test_data): Likewise.
6456
6457 2013-07-07 David S. Miller <davem@davemloft.net>
6458
6459 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6460
6461 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6462
6463 * sysdeps/i386/fpu/libm-test-ulps: Update.
6464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6465
6466 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6467
6468 * configure.in (--enable-lock-elision): Fix message text.
6469 * INSTALL: Regenerate.
6470 * configure: Regenerate.
6471
6472 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6473
6474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6475
6476 2013-07-03 Andreas Jaeger <aj@suse.de>
6477
6478 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6479 define.
6480 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6481 (ptrace_peeksiginfo_args): Add.
6482 (__ptrace_peeksiginfo_flags): Add.
6483 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6484 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6485 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6486
6487 2013-07-03 Allan McRae <allan@archlinux.org>
6488
6489 * sysdeps/i386/fpu/libm-test-ulps: Update.
6490
6491 2013-07-02 David S. Miller <davem@davemloft.net>
6492
6493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6494
6495 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6496
6497 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6498
6499 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6500
6501 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6503
6504 2013-07-02 Andi Kleen <ak@linux.intel.com>
6505
6506 * config.h.in (ENABLE_LOCK_ELISION): Add.
6507 * configure.in (--enable-lock-elision): Add option.
6508 * manual/install.texi: Document --enable lock elision.
6509 * configure: Regenerate
6510 * INSTALL: Regenerate.
6511
6512 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6513
6514 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6515 SSE4.2 strcasecmp for libc.a.
6516 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6517
6518 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6519
6520 [BZ #13304]
6521 * soft-fp/op-common.h (_FP_FMA): New macro.
6522 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6523 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6524 (_FP_MUL_MEAT_1_imm): ... here.
6525 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6526 (_FP_MUL_MEAT_1_wide): ... here.
6527 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6528 (_FP_MUL_MEAT_1_hard): ... here.
6529 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6530 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6531 (_FP_MUL_MEAT_2_wide): ... here.
6532 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6533 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6534 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6535 (_FP_MUL_MEAT_2_gmp): ... here.
6536 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6537 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6538 (_FP_MUL_MEAT_4_wide): ... here.
6539 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6540 (_FP_MUL_MEAT_4_gmp): ... here.
6541 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6542 (_FP_WFRACBITS_DW_S): Likewise.
6543 (_FP_WFRACXBITS_DW_S): Likewise.
6544 (_FP_HIGHBIT_DW_S): Likewise.
6545 (FP_FMA_S): Likewise.
6546 (_FP_FRAC_HIGH_DW_S): Likewise.
6547 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6548 (_FP_WFRACBITS_DW_D): Likewise.
6549 (_FP_WFRACXBITS_DW_D): Likewise.
6550 (_FP_HIGHBIT_DW_D): Likewise.
6551 (FP_FMA_D): Likewise.
6552 (_FP_FRAC_HIGH_DW_D): Likewise.
6553 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6554 (_FP_WFRACBITS_DW_E): Likewise.
6555 (_FP_WFRACXBITS_DW_E): Likewise.
6556 (_FP_HIGHBIT_DW_E): Likewise.
6557 (FP_FMA_E): Likewise.
6558 (_FP_FRAC_HIGH_DW_E): Likewise.
6559 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6560 (_FP_WFRACBITS_DW_Q): Likewise.
6561 (_FP_WFRACXBITS_DW_Q): Likewise.
6562 (_FP_HIGHBIT_DW_Q): Likewise.
6563 (FP_FMA_Q): Likewise.
6564 (_FP_FRAC_HIGH_DW_Q): Likewise.
6565 * soft-fp/fmasf4.c: New file.
6566 * soft-fp/fmadf4.c: Likewise.
6567 * soft-fp/fmatf4.c: Likewise.
6568
6569 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6570
6571 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6572 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6573 Silvermont.
6574 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6575 macro.
6576 (index_Slow_SSE4_2): Likewise.
6577 (index_Prefer_PMINUB_for_stringop): Likewise.
6578 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6579 bit_Slow_SSE4_2 is set.
6580 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6581 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6582
6583 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6584
6585 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6586 rtld_global._dl_hwcap2.
6587 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6588 POWER8.
6589 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6590 POWER8 feature descriptions defined in _dl_hwcap2.
6591 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6592 string handling for POWER8 feature bits.
6593 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6594 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6595 _dl_powerpc_cap_flags.
6596 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6597 * sysdeps/powerpc/rtld-global-offsets.sym
6598 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6599 _dl_hwcap2 in the rtld_global_ro structure.
6600
6601 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6602
6603 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6604 hardware capabilities in support of AT_HWCAP2.
6605 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6606 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6607 GLRO(dl_hwcap2).
6608 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6609 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6610 explicitly the unknown a_type display mechanism is used.
6611 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6612 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6613 struct member.
6614 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6615 to macro prototype for AT_HWCAP2 support.
6616 * sysdeps/i386/dl-procinfo.h: Likewise.
6617 * sysdeps/s390/dl-procinfo.h: Likewise.
6618 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6619 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6620 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6621 return -1 for unknown a_type display fallback.
6622 * sysdeps/sparc/dl-procinfo.h: Likewise.
6623 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6624 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6625
6626 2013-06-28 Joseph Myers <joseph@codesourcery.com>
6627
6628 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6629 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6630
6631 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6632
6633 [BZ #12492]
6634 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6635 mprotect making __stack_prot writable.
6636
6637 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6638 Joseph Myers <joseph@codesourcery.com>
6639
6640 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6641 as being properly aligned.
6642
6643 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6644
6645 * dlfcn/modstatic5.c: New file.
6646 * dlfcn/tststatic5.c: New file.
6647 * dlfcn/Makefile (tests): Add tststatic5.
6648 (tests-static): Likewise.
6649 (modules-names): Add modstatic5.
6650 (tststatic5-ENV): New variable.
6651 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6652
6653 [BZ #15022]
6654 * elf/dl-support.c (_dl_main_map): New variable.
6655 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6656 (_dl_nns, _dl_load_adds): Set to 1.
6657 (_dl_initial_searchlist): Refer to _dl_main_map.
6658 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6659 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6660 call to _dl_get_origin.
6661 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6662 around call_map.
6663 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6664 * dlfcn/modstatic3.c: New file.
6665 * dlfcn/tststatic3.c: New file.
6666 * dlfcn/tststatic4.c: New file.
6667 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6668 (tests-static): Likewise.
6669 (modules-names): Add modstatic3.
6670 (tststatic3-ENV, tststatic4-ENV): New variables.
6671 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6672 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6673
6674 2013-06-26 Joseph Myers <joseph@codesourcery.com>
6675
6676 * configure.in (CC): Require GCC version 4.4 or later.
6677 * configure: Regenerated.
6678 * manual/install.texi (Tools for Compilation): Update GCC version
6679 requirement.
6680 * INSTALL: Regenerated.
6681
6682 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6683
6684 [BZ #15674]
6685 * string/test-memcmp.c (check2): New.
6686 (main): Call check2.
6687
6688 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6689
6690 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6691
6692 [BZ #15022]
6693 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6694 over to...
6695 (dl_open_worker) [!SHARED]: ... here.
6696
6697 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6698
6699 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6700
6701 2013-06-25 Richard Henderson <rth@redhat.com>
6702
6703 * locale/programs/locarchive.c: Include <libc-internal.h>
6704
6705 2013-06-25 Joseph Myers <joseph@codesourcery.com>
6706
6707 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6708 trailing whitespace removed.
6709
6710 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6711
6712 [BZ #10283]
6713 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6714 * locale/programs/locarchive.c: Include libc-mmap.h.
6715 (prepare_address_space): Take two new outputs (the mmap base and len).
6716 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6717 values.
6718 (create_archive): Declare new mmap base and len values for
6719 prepare_address_space, and store the result in ah.
6720 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6721 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6722 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6723 Declare new mmap base and len values for
6724 prepare_address_space, and store the result in new_ah.
6725 (open_archive): Declare new mmap base and len values for
6726 prepare_address_space, and store the result in ah.
6727 (close_archive): If ah->mmap_base is not NULL, use that and
6728 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6729 * sysdeps/generic/libc-mmap.h: New file.
6730
6731 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6732
6733 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6734 (ALIGN_UP): Likewise.
6735 (PTR_ALIGN_DOWN): Likewise.
6736 (PTR_ALIGN_UP): Likewise.
6737
6738 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6739
6740 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6741 entry mapped to PPC_PLATFORM_POWER8.
6742 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6743 POWER8.
6744 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6745 (_dl_string_platform): Add case for exporting platform position for
6746 POWER8.
6747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6748 search path to sysdeps/powerpc/powerpc32/power8 directory.
6749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6750 search path to sysdeps/powerpc/powerpc64/power8 directory.
6751 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6752 power7 directories.
6753 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6754 power7 directories.
6755
6756 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6757
6758 * INSTALL: Regenerate.
6759
6760 * nscd/connections.c (nscd_init): Fix comment.
6761
6762 2013-06-22 Joseph Myers <joseph@codesourcery.com>
6763
6764 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6765
6766 [BZ #15667]
6767 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6768 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6769
6770 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6771
6772 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6773 DL_DST_REQ_STATIC.
6774 (DL_DST_REQ_STATIC): Remove macro.
6775
6776 2013-06-21 Joseph Myers <joseph@codesourcery.com>
6777
6778 [BZ #7006]
6779 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6780 with a shift of 0 bits.
6781
6782 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6783
6784 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6785 $(tststatic-ENV).
6786
6787 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6788
6789 [BZ #15655]
6790 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6791
6792 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6793
6794 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6795 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
6796 accepts -fno-tree-loop-distribute-patterns.
6797 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
6798 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
6799 recursive call.
6800 * string/memset.c (memset): Likewise.
6801 * string/test-memmove.c (simple_memmove): Disable loop transformation
6802 to library calls.
6803 * string/test-memset.c (simple_memset): Likewise.
6804 * benchtests/bench-memmove.c (simple_memmove): Likewise.
6805 * benchtests/bench-memset.c (simple_memset): Likewise.
6806 * configure: Regenerated.
6807
6808 2013-06-20 Joseph Myers <joseph@codesourcery.com>
6809
6810 * math/test-misc.c (main): Ignore fesetround failure when failures
6811 of subsequent rounding tests would be ignored.
6812
6813 [BZ #15654]
6814 * math/fedisblxcpt.c (fedisableexcept): Return 0.
6815 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6816 * math/fegetenv.c (__fegetenv): Return 0.
6817 * math/fegetexcept.c (fegetexcept): Return 0.
6818 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
6819 FE_TONEAREST.
6820 * math/feholdexcpt.c (feholdexcept): Return 0.
6821 * math/fesetenv.c (__fesetenv): Return 0.
6822 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
6823 argument FE_TONEAREST.
6824 * math/feupdateenv.c (__feupdateenv): Return 0.
6825 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
6826
6827 2013-06-18 Roland McGrath <roland@hack.frob.com>
6828
6829 * elf/rtld-Rules (rtld-compile-command.S): New variable.
6830 (rtld-compile-command.s, rtld-compile-command.c): New variables.
6831 ($(objpfx)rtld-%.os rules): Use them.
6832
6833 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6834
6835 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
6836 fields.
6837
6838 2013-06-17 Roland McGrath <roland@hack.frob.com>
6839
6840 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
6841 length of target pattern, then descending length of dependency pattern.
6842 * configure.in (AWK): Require gawk 3.1.2 or newer.
6843 * manual/install.texi (Tools for Compilation): Say that we do.
6844 * configure: Regenerated.
6845
6846 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
6847 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
6848 * scripts/sysd-rules.awk: ... this new script.
6849 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
6850 than a glob-style pattern.
6851
6852 2013-06-17 Joseph Myers <joseph@codesourcery.com>
6853
6854 * math/test-misc.c (main): Do not treat incorrectly rounded
6855 conversions as failure unless ROUNDING_TESTS passes.
6856
6857 2013-06-15 Joseph Myers <joseph@codesourcery.com>
6858
6859 [BZ #15631]
6860 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
6861 restore exception state around main square root computation, then
6862 check for inexactness explicitly.
6863
6864 * math/libm-test.inc (fma_test_data): Add another test.
6865
6866 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6867
6868 * manual/threads.texi (Non-POSIX Extensions): New document
6869 node. Document pthread_getattr_default_np and
6870 pthread_setattr_default_np.
6871
6872 * Versions.def (libpthread): Add GLIBC_2.18.
6873 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
6874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6875 Likewise.
6876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6877 Likewise.
6878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6879 Likewise.
6880 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6881 Likewise.
6882 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
6883 Likewise.
6884 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6885 Likewise.
6886 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6887 Likewise.
6888 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
6889 Likewise.
6890 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
6891 Likewise.
6892
6893 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6894
6895 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6896 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
6897
6898 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6899 H.J. Lu <hjl.tools@gmail.com>
6900
6901 [BZ #15627]
6902 * sysdeps/x86_64/rtld-memset.c: Remove file.
6903 * sysdeps/x86_64/rtld-memset.S: New file.
6904
6905 2013-06-14 Joseph Myers <joseph@codesourcery.com>
6906
6907 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
6908 (test_in_one_mode): Take arguments for whether the rounding mode
6909 is supported for each floating-point type.
6910 (do_test): Pass new arguments to test_in_one_mode using
6911 ROUNDING_TESTS.
6912
6913 2013-06-13 Roland McGrath <roland@hack.frob.com>
6914
6915 * posix/tst-waitid.c (do_test): Distinguish different instances of
6916 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
6917 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
6918 before entering the kernel for waitpid.
6919
6920 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6921
6922 * NEWS: Fix note on clock function precision. Text by Roland
6923 McGrath.
6924
6925 2013-06-13 Roland McGrath <roland@hack.frob.com>
6926
6927 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
6928 it into place only when and if the sanity check passes.
6929
6930 2013-06-13 Joseph Myers <joseph@codesourcery.com>
6931
6932 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
6933 output for whether conversion result is exact. Take argument
6934 indicating whether type is IBM long double.
6935 (round_for_all): Change need_exact field to ibm_ld.
6936 * stdlib/tst-strtod-round.c (struct exactness): New type.
6937 (struct test): Change bool ld_ok field to struct exactness exact.
6938 (TEST): Update all definitions for change to field.
6939 (tests): Regenerate array contents.
6940 (test_in_one_mode): Take pointer to new field instead of old ld_ok
6941 field value. Check for IBM long double here.
6942 (do_test): Update calls to test_in_one_mode.
6943
6944 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6945
6946 [BZ #12515]
6947 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
6948 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
6949
6950 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6951
6952 [BZ #15605]
6953 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
6954 generated by the compiler on loop optimizations.
6955 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
6956 general definitions.
6957
6958 2013-06-12 Joseph Myers <joseph@codesourcery.com>
6959
6960 * math/bug-nextafter.c: Include <math-tests.h>.
6961 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6962 the relevant type.
6963 * math/bug-nexttoward.c: Include <math-tests.h>.
6964 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6965 the relevant type.
6966 * math/test-misc.c: Include <math-tests.h>.
6967 (main): Only test for exceptions if EXCEPTION_TESTS is true for
6968 the relevant type.
6969
6970 2013-06-12 Andreas Jaeger <aj@suse.de>
6971
6972 * po/ia.po: Update Interlingua translation from translation
6973 project.
6974
6975 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6976
6977 * include/fenv.h: Include stdbool.h.
6978 (struct rm_ctx): New structure.
6979 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
6980 Define macro.
6981 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
6982 (SET_RESTORE_ROUNDF): Likewise.
6983 (SET_RESTORE_ROUNDL): Likewise.
6984 (SET_RESTORE_ROUND_NOEX): Likewise.
6985 (SET_RESTORE_ROUND_NOEXF): Likewise.
6986 (SET_RESTORE_ROUND_NOEXL): Likewise.
6987 (SET_RESTORE_ROUND_53BIT): Likewise.
6988 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
6989 (libc_feresetround_noexf_ctx): Likewise.
6990 (libc_feresetround_noexl_ctx): Likewise.
6991 (libc_feholdsetround_53bit_ctx): Likewise.
6992 (libc_feresetround_53bit_ctx): Likewise.
6993 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
6994 (libc_feholdexcept_setround_sse_ctx): New function.
6995 (libc_fesetenv_sse_ctx): Likewise.
6996 (libc_feupdateenv_sse_ctx): Likewise.
6997 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
6998 (libc_feholdexcept_setround_387_ctx): Likewise.
6999 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7000 (libc_feholdsetround_387_prec_ctx): Likewise.
7001 (libc_feholdsetround_387_ctx): Likewise.
7002 (libc_feholdsetround_387_53bit_ctx): Likewise.
7003 (libc_feholdsetround_sse_ctx): Likewise.
7004 (libc_feresetround_sse_ctx): Likewise.
7005 (libc_feresetround_387_ctx): Likewise.
7006 (libc_feupdateenv_387_ctx): Likewise.
7007 (libc_feholdexcept_setroundf_ctx): Define macro.
7008 (libc_fesetenvf_ctx): Likewise.
7009 (libc_feupdateenvf_ctx): Likewise.
7010 (libc_feholdsetroundf_ctx): Likewise.
7011 (libc_feresetroundf_ctx): Likewise.
7012 (libc_feholdexcept_setround_ctx): Likewise.
7013 (libc_fesetenv_ctx): Likewise.
7014 (libc_feupdateenv_ctx): Likewise.
7015 (libc_feholdsetround_ctx): Likewise.
7016 (libc_feresetround_ctx): Likewise.
7017 (libc_feholdexcept_setroundl_ctx): Likewise.
7018 (libc_feupdateenvl_ctx): Likewise.
7019 (libc_feholdsetroundl_ctx): Likewise.
7020 (libc_feresetroundl_ctx): Likewise.
7021 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7022 (libc_feresetround_53bit_ctx): Likewise.
7023
7024 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7025
7026 * locale/iso-639.def: Convert to UTF-8.
7027
7028 2013-06-11 Joseph Myers <joseph@codesourcery.com>
7029
7030 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7031 (EXCEPTION_TESTS_double): Likewise.
7032 (EXCEPTION_TESTS_long_double): Likewise.
7033 (EXCEPTION_TESTS): Likewise.
7034 * math/libm-test.inc (test_exceptions): Only test exceptions if
7035 EXCEPTION_TESTS (FLOAT).
7036
7037 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7038
7039 * benchtests/Makefile (string-bench): Add strcpy_chk and
7040 stpcpy_chk.
7041 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7042 * benchtests/bench-stpcpy_chk.c: New file.
7043 * benchtests/bench-strcpy_chk-ifunc.c: New file.
7044 * benchtests/bench-strcpy_chk.c: New file.
7045 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7046 code.
7047 (do_test): Likewise.
7048
7049 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7050
7051 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7052 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7053 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7054 with tabs where appropriate.
7055 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7056 dl-procinfo.h.
7057 [PPC_PLATFORM_PPC440]: Likewise.
7058 [PPC_PLATFORM_PPC464]: Likewise.
7059 [PPC_PLATFORM_PPC476]: Likewise.
7060 (_dl_string_platform): Add support for detecting ppc405, ppc440,
7061 ppc464, and ppc476 platform strings merging from ports/
7062 dl-procinfo.h.
7063
7064 2013-06-11 Andreas Schwab <schwab@suse.de>
7065
7066 [BZ #14991]
7067 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7068 (from_ucs4_idx): Regenerate.
7069 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7070 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7071 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7072 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7073 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7074 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7075 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7076 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7077 from FROM_LOOP and TO_LOOP specific macros.
7078 (BODY): Handle combining characters.
7079 * iconvdata/BIG5HKSCS.irreversible: Update.
7080 * iconvdata/BIG5HKSCS.precomposed: New file.
7081 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7082 characters.
7083 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7084
7085 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7086
7087 * include/sys/time.h: Fix indentation and add copyright header.
7088
7089 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7090 (do_test): Likewise.
7091 * string/test-memchr.c (do_one_test): Likewise.
7092 (do_test): Likewise.
7093 * string/test-memcmp.c (do_one_test): Likewise.
7094 (do_test): Likewise.
7095 * string/test-memcpy.c (do_one_test): Likewise.
7096 (do_test): Likewise.
7097 * string/test-memmem.c (do_one_test): Likewise.
7098 (do_test): Likewise.
7099 (do_random_tests): Likewise.
7100 * string/test-memmove.c (do_one_test): Likewise.
7101 (do_test): Likewise.
7102 * string/test-memset.c (do_one_test): Likewise.
7103 (do_test): Likewise.
7104 * string/test-rawmemchr.c (do_one_test): Likewise.
7105 (do_test): Likewise.
7106 * string/test-strcasecmp.c (do_one_test): Likewise.
7107 (do_test): Likewise.
7108 * string/test-strcasestr.c (do_one_test): Likewise.
7109 (do_test): Likewise.
7110 * string/test-strcat.c (do_one_test): Likewise.
7111 (do_test): Likewise.
7112 * string/test-strchr.c (do_one_test): Likewise.
7113 (do_test): Likewise.
7114 * string/test-strcmp.c (do_one_test): Likewise.
7115 (do_test): Likewise.
7116 * string/test-strcpy.c (do_one_test): Likewise.
7117 (do_test): Likewise.
7118 * string/test-string.h: Likewise.
7119 (test_init): Likewise.
7120 * string/test-strlen.c (do_one_test): Likewise.
7121 (do_test): Likewise.
7122 * string/test-strncasecmp.c (do_one_test): Likewise.
7123 (do_test): Likewise.
7124 * string/test-strncat.c (do_one_test): Likewise.
7125 (do_test): Likewise.
7126 * string/test-strncmp.c (do_one_test): Likewise.
7127 (do_test_limit): Likewise.
7128 (do_test): Likewise.
7129 * string/test-strncpy.c (do_one_test): Likewise.
7130 (do_test): Likewise.
7131 * string/test-strnlen.c (do_one_test): Likewise.
7132 (do_test): Likewise.
7133 * string/test-strpbrk.c (do_one_test): Likewise.
7134 (do_test): Likewise.
7135 * string/test-strrchr.c (do_one_test): Likewise.
7136 (do_test): Likewise.
7137 * string/test-strspn.c (do_one_test): Likewise.
7138 (do_test): Likewise.
7139 * string/test-strstr.c (do_one_test): Likewise.
7140 (do_test): Likewise.
7141
7142 * benchtests/Makefile (string-bench): Add string benchmarks.
7143 * benchtests/bench-bcopy-ifunc.c: New file.
7144 * benchtests/bench-bcopy.c: New file.
7145 * benchtests/bench-bzero-ifunc.c: New file.
7146 * benchtests/bench-bzero.c: New file.
7147 * benchtests/bench-memccpy-ifunc.c: New file.
7148 * benchtests/bench-memccpy.c: New file.
7149 * benchtests/bench-memchr-ifunc.c: New file.
7150 * benchtests/bench-memchr.c: New file.
7151 * benchtests/bench-memcmp-ifunc.c: New file.
7152 * benchtests/bench-memcmp.c: New file.
7153 * benchtests/bench-memmem-ifunc.c: New file.
7154 * benchtests/bench-memmem.c: New file.
7155 * benchtests/bench-memmove-ifunc.c: New file.
7156 * benchtests/bench-memmove.c: New file.
7157 * benchtests/bench-mempcpy-ifunc.c: New file.
7158 * benchtests/bench-mempcpy.c: New file.
7159 * benchtests/bench-memset-ifunc.c: New file.
7160 * benchtests/bench-memset.c: New file.
7161 * benchtests/bench-rawmemchr-ifunc.c: New file.
7162 * benchtests/bench-rawmemchr.c: New file.
7163 * benchtests/bench-stpcpy-ifunc.c: New file.
7164 * benchtests/bench-stpcpy.c: New file.
7165 * benchtests/bench-stpncpy-ifunc.c: New file.
7166 * benchtests/bench-stpncpy.c: New file.
7167 * benchtests/bench-strcasecmp-ifunc.c: New file.
7168 * benchtests/bench-strcasecmp.c: New file.
7169 * benchtests/bench-strcasestr-ifunc.c: New file.
7170 * benchtests/bench-strcasestr.c: New file.
7171 * benchtests/bench-strcat-ifunc.c: New file.
7172 * benchtests/bench-strcat.c: New file.
7173 * benchtests/bench-strchr-ifunc.c: New file.
7174 * benchtests/bench-strchr.c: New file.
7175 * benchtests/bench-strchrnul-ifunc.c: New file.
7176 * benchtests/bench-strchrnul.c: New file.
7177 * benchtests/bench-strcmp-ifunc.c: New file.
7178 * benchtests/bench-strcmp.c: New file.
7179 * benchtests/bench-strcpy-ifunc.c: New file.
7180 * benchtests/bench-strcpy.c: New file.
7181 * benchtests/bench-strcspn-ifunc.c: New file.
7182 * benchtests/bench-strcspn.c: New file.
7183 * benchtests/bench-strlen-ifunc.c: New file.
7184 * benchtests/bench-strlen.c: New file.
7185 * benchtests/bench-strncasecmp-ifunc.c: New file.
7186 * benchtests/bench-strncasecmp.c: New file.
7187 * benchtests/bench-strncat-ifunc.c: New file.
7188 * benchtests/bench-strncat.c: New file.
7189 * benchtests/bench-strncmp-ifunc.c: New file.
7190 * benchtests/bench-strncmp.c: New file.
7191 * benchtests/bench-strncpy-ifunc.c: New file.
7192 * benchtests/bench-strncpy.c: New file.
7193 * benchtests/bench-strnlen-ifunc.c: New file.
7194 * benchtests/bench-strnlen.c: New file.
7195 * benchtests/bench-strpbrk-ifunc.c: New file.
7196 * benchtests/bench-strpbrk.c: New file.
7197 * benchtests/bench-strrchr-ifunc.c: New file.
7198 * benchtests/bench-strrchr.c: New file.
7199 * benchtests/bench-strspn-ifunc.c: New file.
7200 * benchtests/bench-strspn.c: New file.
7201 * benchtests/bench-strstr-ifunc.c: New file.
7202 * benchtests/bench-strstr.c: New file.
7203
7204 * benchtests/Makefile: Disable parallel execution of targets.
7205 (string-bench): Add memcpy.
7206 (benchset): New variable to store a list of benchmark sets.
7207 (bench-func): Renamed from bench.
7208 (bench-set): New target.
7209 (bench): Depend on bench-func and bench-set.
7210 * benchtests/README: Add section on benchmark sets.
7211 * benchtests/bench-memcpy-ifunc.c: New file.
7212 * benchtests/bench-memcpy.c: New file.
7213 * benchtests/bench-string.h: New file.
7214
7215 2013-06-11 Andreas Schwab <schwab@suse.de>
7216
7217 [BZ #15577]
7218 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7219 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7220 values in the triple.
7221 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7222 terminator in the group key.
7223
7224 2013-06-11 Andreas Jaeger <aj@suse.de>
7225
7226 * po/zh_TW.po: Update Chinese (traditional) translation from
7227 translation project.
7228
7229 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7230
7231 * include/time.h (__clock_gettime): Add libc_hidden_proto.
7232 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7233 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7234 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7235 (clock_getcpuclockid): Likewise.
7236 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7237 Add weak_alias and libc_hidden_def.
7238 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7239 * rt/clock_gettime.c (clock_gettime): Rename to
7240 __clock_gettime. Add weak_alias and libc_hidden_def.
7241 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7242 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7243 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7244 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7245 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7246 Likewise.
7247 * rt/clock_settime.c (clock_settime): Rename to
7248 __clock_settime. Add weak_alias and libc_hidden_def.
7249 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7250
7251 2013-06-10 Joseph Myers <joseph@codesourcery.com>
7252
7253 * mach/err_boot.sub: Remove trailing whitespace.
7254 * mach/err_ipc.sub: Likewise.
7255 * mach/err_mach.sub: Likewise.
7256
7257 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7258 (ROUNDING_TESTS_double): Likewise.
7259 (ROUNDING_TESTS_long_double): Likewise.
7260 (ROUNDING_TESTS): Likewise.
7261 * math/libm-test.inc: Include <math-tests.h>.
7262 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7263 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7264 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7265 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7266
7267 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7268
7269 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7270 of assigning.
7271
7272 2013-06-08 Joseph Myers <joseph@codesourcery.com>
7273
7274 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7275 otherwise empty TRANS lines.
7276 * sysdeps/gnu/errlist.c: Regenerated.
7277
7278 * catgets/gencat.c (error_print): Use (void) in function
7279 definition.
7280 * crypt/crypt_util.c (__init_des): Likewise.
7281 * crypt/speeds.c (Stop): Likewise.
7282 (main): Likewise.
7283 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7284 * inet/ruserpass.c (token): Likewise.
7285 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7286 * intl/localealias.c (extend_alias_table): Likewise.
7287 * intl/plural-exp.c (init_germanic_plural): Likewise.
7288 * libio/fcloseall.c (__fcloseall): Likewise.
7289 * libio/genops.c (_IO_flush_all): Likewise.
7290 (_IO_flush_all_linebuffered): Likewise.
7291 (_IO_cleanup): Likewise.
7292 (_IO_iter_begin): Likewise.
7293 (_IO_iter_end): Likewise.
7294 (_IO_list_lock): Likewise.
7295 (_IO_list_unlock): Likewise.
7296 (_IO_list_resetlock): Likewise.
7297 * libio/getchar.c (getchar): Likewise.
7298 * libio/getchar_u.c (getchar_unlocked): Likewise.
7299 * libio/getwchar.c (getwchar): Likewise.
7300 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7301 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7302 * login/getpt.c (__getpt): Likewise.
7303 * login/tst-utmp.c (main): Likewise.
7304 * malloc/hooks.c (__malloc_check_init): Likewise.
7305 * malloc/malloc.c (__malloc_stats): Likewise.
7306 * malloc/mtrace.c (tr_break): Likewise.
7307 (mtrace): Likewise.
7308 (muntrace): Likewise.
7309 * misc/fstab.c (endfsent): Likewise.
7310 * misc/getclktck.c (__getclktck): Likewise.
7311 * misc/getdtsz.c (__getdtablesize): Likewise.
7312 * misc/gethostid.c (gethostid): Likewise.
7313 * misc/getpagesize.c (__getpagesize): Likewise.
7314 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7315 (__get_nprocs): Likewise.
7316 (__get_phys_pages): Likewise.
7317 (__get_avphys_pages): Likewise.
7318 * misc/getttyent.c (getttyent): Likewise.
7319 (setttyent): Likewise.
7320 (endttyent): Likewise.
7321 * misc/getusershell.c (getusershell): Likewise.
7322 (endusershell): Likewise.
7323 (setusershell): Likewise.
7324 (initshells): Likewise.
7325 * misc/hsearch.c (__hdestroy): Likewise.
7326 * misc/sync.c (sync): Likewise.
7327 * misc/syslog.c (closelog_internal): Likewise.
7328 (closelog): Likewise.
7329 * misc/ttyslot.c (ttyslot): Likewise.
7330 * misc/vhangup.c (vhangup): Likewise.
7331 * posix/fork.c (__fork): Likewise.
7332 * posix/getegid.c (__getegid): Likewise.
7333 * posix/geteuid.c (__geteuid): Likewise.
7334 * posix/getgid.c (__getgid): Likewise.
7335 * posix/getpid.c (__getpid): Likewise.
7336 * posix/getppid.c (__getppid): Likewise.
7337 * posix/getuid.c (__getuid): Likewise.
7338 * posix/pause.c (pause): Likewise.
7339 * posix/setpgrp.c (setpgrp): Likewise.
7340 * posix/setsid.c (__setsid): Likewise.
7341 * posix/test-vfork.c (noop): Likewise.
7342 * resolv/gethnamaddr.c (_endhtent): Likewise.
7343 (_gethtent): Likewise.
7344 (ht_endhostent): Likewise.
7345 (gethostent): Likewise.
7346 (dns_service): Likewise.
7347 * stdlib/drand48.c (drand48): Likewise.
7348 * stdlib/lrand48.c (lrand48): Likewise.
7349 * stdlib/mrand48.c (mrand48): Likewise.
7350 * stdlib/rand.c (rand): Likewise.
7351 * stdlib/random.c (__random): Likewise.
7352 * stdlib/setenv.c (clearenv): Likewise.
7353 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7354 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7355 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7356 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7357 (__get_nprocs): Likewise.
7358 (__get_phys_pages): Likewise.
7359 (__get_avphys_pages): Likewise.
7360 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7361 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7362 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7363 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7364 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7365 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7366 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7367 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7368 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7369 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7370 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7371 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7372 * sysdeps/posix/clock.c (clock): Likewise.
7373 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7374 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7375 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7376 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7377 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7378 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7379 (__get_nprocs_conf): Likewise.
7380 (__get_phys_pages): Likewise.
7381 (__get_avphys_pages): Likewise.
7382 * time/clock.c (clock): Likewise.
7383 * time/tzset.c (__tzname_max): Likewise.
7384
7385 2013-06-07 Joseph Myers <joseph@codesourcery.com>
7386
7387 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7388 (__bswap_32): Do not use "register".
7389 * crypt/crypt.c (_ufc_doit_r): Likewise.
7390 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7391 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7392 * gmon/gmon.c (__monstartup): Likewise.
7393 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7394 * hurd/hurdmalloc.c (more_memory): Likewise.
7395 (malloc): Likewise.
7396 (free): Likewise.
7397 (realloc): Likewise.
7398 (malloc_fork_prepare): Likewise.
7399 (malloc_fork_parent): Likewise.
7400 (malloc_fork_child): Likewise.
7401 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7402 (_svcauth_des): Likewise.
7403 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7404 * inet/inet_net.c (inet_network): Likewise.
7405 * inet/inet_netof.c (inet_netof): Likewise.
7406 * inet/rcmd.c (__validuser2_sa): Likewise.
7407 * io/fts.c (fts_open): Likewise.
7408 (fts_load): Likewise.
7409 (fts_close): Likewise.
7410 (fts_read): Likewise.
7411 (fts_children): Likewise.
7412 (fts_build): Likewise.
7413 (fts_stat): Likewise.
7414 (fts_sort): Likewise.
7415 (fts_alloc): Likewise.
7416 (fts_lfree): Likewise.
7417 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7418 (_IO_file_xsgetn): Likewise.
7419 (_IO_file_xsgetn_mmap): Likewise.
7420 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7421 (_IO_cookie_write): Likewise.
7422 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7423 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7424 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7425 * malloc/obstack.c (_obstack_begin): Likewise.
7426 (_obstack_begin_1): Likewise.
7427 (_obstack_newchunk): Likewise.
7428 (_obstack_allocated_p): Likewise.
7429 (obstack_free): Likewise.
7430 (_obstack_memory_used): Likewise.
7431 * misc/getttyent.c (getttynam): Likewise.
7432 (getttyent): Likewise.
7433 (skip): Likewise.
7434 (value): Likewise.
7435 * misc/getusershell.c (initshells): Likewise.
7436 * misc/syslog.c (__vsyslog_chk): Likewise.
7437 * misc/ttyslot.c (ttyslot): Likewise.
7438 * nis/nis_hash.c (__nis_hash): Likewise.
7439 * posix/fnmatch_loop.c (FCT): Likewise.
7440 * posix/getconf.c (print_all): Likewise.
7441 (main): Likewise.
7442 * posix/getopt.c (exchange): Likewise.
7443 * posix/glob.c (globfree): Likewise.
7444 (prefix_array): Likewise.
7445 (__glob_pattern_type): Likewise.
7446 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7447 (NS_GET32): Likewise.
7448 (NS_PUT16): Likewise.
7449 (NS_PUT32): Likewise.
7450 * resolv/gethnamaddr.c (getanswer): Likewise.
7451 (gethostbyname2): Likewise.
7452 (gethostbyaddr): Likewise.
7453 (_gethtent): Likewise.
7454 (_gethtbyname2): Likewise.
7455 (_gethtbyaddr): Likewise.
7456 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7457 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7458 * resolv/res_init.c (__res_vinit): Likewise.
7459 (net_mask): Likewise.
7460 * resolv/res_mkquery.c (outchar): Likewise.
7461 (PRINT): Likewise.
7462 * stdio-common/printf_fp.c (outchar): Likewise.
7463 (PRINT): Likewise.
7464 * stdio-common/printf_fphex.c (outchar): Likewise.
7465 (PRINT): Likewise.
7466 * stdio-common/printf_size.c (outchar): Likewise.
7467 (PRINT): Likewise.
7468 * stdio-common/test_rdwr.c (main): Likewise.
7469 * stdio-common/tfformat.c (matches): Likewise.
7470 * stdio-common/vfprintf.c (outchar): Likewise.
7471 (printf_unknown): Likewise.
7472 (buffered_vfprintf): Likewise.
7473 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7474 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7475 (ReadFile): Likewise.
7476 * stdlib/qsort.c (SWAP): Likewise.
7477 (_quicksort): Likewise.
7478 * stdlib/setenv.c (__add_to_environ): Likewise.
7479 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7480 * stdlib/strtol_l.c (__strtol_l): Likewise.
7481 * stdlib/tst-strtod.c (main): Likewise.
7482 * stdlib/tst-strtol.c (main): Likewise.
7483 * stdlib/tst-strtoll.c (main): Likewise.
7484 * string/bits/string2.h (__strcmp_cc): Likewise.
7485 (__strcmp_cg): Likewise.
7486 (__strcspn_c1): Likewise.
7487 (__strcspn_c2): Likewise.
7488 (__strcspn_c3): Likewise.
7489 (__strspn_c1): Likewise.
7490 (__strspn_c2): Likewise.
7491 (__strspn_c3): Likewise.
7492 (__strsep_1c): Likewise.
7493 (__strsep_2c): Likewise.
7494 (__strsep_3c): Likewise.
7495 * string/memccpy.c (__memccpy): Likewise.
7496 * string/stpcpy.c (__stpcpy): Likewise.
7497 * string/strcmp.c (strcmp): Likewise.
7498 * string/strrchr.c (strrchr): Likewise.
7499 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7500 Likewise.
7501 * sysdeps/mach/hurd/getcwd.c
7502 (_hurd_canonicalize_directory_name_internal): Likewise.
7503 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7504 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7505 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7506 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7507 Likewise, in both definitions.
7508 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7509 definitions.
7510 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7511 64] (__bswap_64): Likewise.
7512 * time/test_time.c (main): Likewise.
7513 * time/tzfile.c (__tzfile_read): Likewise.
7514 (__tzfile_compute): Likewise.
7515 * time/tzset.c (__tzset_parse_tz): Likewise.
7516 (tzset_internal): Likewise.
7517 (compute_change): Likewise.
7518 * wcsmbs/wcscat.c (__wcscat): Likewise.
7519 * wcsmbs/wcschr.c (wcschr): Likewise.
7520 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7521 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7522 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7523 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7524 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7525 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7526 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7527 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7528 * wcsmbs/wmemset.c (wmemset): Likewise.
7529
7530 2013-06-06 Joseph Myers <joseph@codesourcery.com>
7531
7532 * scripts/config.guess: Update to version 2013-05-16.
7533 * scripts/config.sub: Update to version 2013-04-24.
7534 * scripts/install-sh: Update to version 2011-11-20.07.
7535 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7536 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7537
7538 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
7539
7540 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7541 * elf/sln.c: Likewise.
7542 * hurd/hurd/ioctl.h: Likewise.
7543 * hurd/hurdmalloc.c: Likewise.
7544 * hurd/xattr.c: Likewise.
7545 * include/shlib-compat.h: Likewise.
7546 * inet/ruserpass.c: Likewise.
7547 * libio/iofgets_u.c: Likewise.
7548 * libio/iofgetws_u.c: Likewise.
7549 * locale/programs/ld-identification.c: Likewise.
7550 * locale/programs/ld-time.c: Likewise.
7551 * mach/msg-destroy.c: Likewise.
7552 * nss/nss_files/files-netgrp.c: Likewise.
7553 * resolv/res_data.c: Likewise.
7554 * soft-fp/op-1.h: Likewise.
7555 * soft-fp/op-2.h: Likewise.
7556 * soft-fp/op-4.h: Likewise.
7557 * soft-fp/op-common.h: Likewise.
7558 * stdio-common/printf_fphex.c: Likewise.
7559 * stdlib/strtod_l.c: Likewise.
7560 * sunrpc/rpc/clnt.h: Likewise.
7561 * sysdeps/generic/framestate.c: Likewise.
7562 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7563 * sysdeps/i386/bsd-setjmp.S: Likewise.
7564 * sysdeps/i386/__longjmp.S: Likewise.
7565 * sysdeps/i386/setjmp.S: Likewise.
7566 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7567 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7568 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7569 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7570 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7571 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7572 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7573 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7574 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7575 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7576 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7577 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7578 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7579 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7580 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7581 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7582 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7583 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7584 * sysdeps/ieee754/support.c: Likewise.
7585 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7586 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7587 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7588 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7589 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7590 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7591 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7592 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7593 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7594 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7595 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7596 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7597 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7598 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7599 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7600 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7601 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7603
7604 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
7605
7606 * posix/transbug.c: Remove executable mode.
7607
7608 2013-06-05 Joseph Myers <joseph@codesourcery.com>
7609
7610 * crypt/speeds.c: Remove trailing whitespace.
7611 * dlfcn/default.c: Likewise.
7612 * elf/ifuncdep2.c: Likewise.
7613 * elf/ifuncmain1.c: Likewise.
7614 * elf/ifuncmain1vis.c: Likewise.
7615 * elf/testobj.h: Likewise.
7616 * elf/tst-stackguard1.c: Likewise.
7617 * gmon/sys/gmon.h: Likewise.
7618 * hurd/hurdmsg.c: Likewise.
7619 * hurd/new-fd.c: Likewise.
7620 * hurd/ports-get.c: Likewise.
7621 * iconvdata/ibm1008_420.c: Likewise.
7622 * inet/tst-getni1.c: Likewise.
7623 * inet/tst-getni2.c: Likewise.
7624 * libio/ioungetc.c: Likewise.
7625 * libio/wfiledoalloc.c: Likewise.
7626 * manual/libm-err-tab.pl: Likewise.
7627 * math/w_dremf.c: Likewise.
7628 * misc/ftruncate.c: Likewise.
7629 * posix/bug-glob2.c: Likewise.
7630 * posix/tst-pcre.c: Likewise.
7631 * posix/wait4.c: Likewise.
7632 * resolv/README: Likewise.
7633 * resolv/res_debug.h: Likewise.
7634 * resolv/tst-inet_ntop.c: Likewise.
7635 * setjmp/bug269-setjmp.c: Likewise.
7636 * soft-fp/extended.h: Likewise.
7637 * soft-fp/op-1.h: Likewise.
7638 * soft-fp/op-2.h: Likewise.
7639 * soft-fp/op-4.h: Likewise.
7640 * soft-fp/op-8.h: Likewise.
7641 * soft-fp/testit.c: Likewise.
7642 * stdio-common/bug16.c: Likewise.
7643 * stdlib/random.c: Likewise.
7644 * sunrpc/rpcsvc/rquota.x: Likewise.
7645 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7646 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7647 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7648 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7649 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7650 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7651 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7652 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7653 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7654 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7655 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7656 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7657 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7658 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7659 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7660 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7661 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7662 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7663 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7664 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7665 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7666 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7667 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7668 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7669 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7670 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7671 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7672 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7673 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7674 * sysdeps/ieee754/s_lib_version.c: Likewise.
7675 * sysdeps/mach/hurd/check_fds.c: Likewise.
7676 * sysdeps/mach/hurd/getsockname.c: Likewise.
7677 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7678 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7679 * sysdeps/powerpc/bits/link.h: Likewise.
7680 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7681 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7682 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7683 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7684 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7685 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7686 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7687 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7688 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7689 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7690 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7691 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7692 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7693 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7694 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7695 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7696 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7697 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7698 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7699 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7700 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7701 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7702 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7703 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7704 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7705 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7706 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7707 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7708 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7709 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7710 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7711 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7712 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7713 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7714 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7715 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7716 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7717 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7718 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7719 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7720 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7721 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7722 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7723 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7724 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7725 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7726 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7727 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7728 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7729 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7730 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7731 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7732 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7733 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7734 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7735 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7736 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7737 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7738 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7739 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7740 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7741 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7742 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7743 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7744 * sysdeps/powerpc/sysdep.h: Likewise.
7745 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7746 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7747 * sysdeps/sh/dl-trampoline.S: Likewise.
7748 * sysdeps/sh/memset.S: Likewise.
7749 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7750 * sysdeps/sh/strlen.S: Likewise.
7751 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7752 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7753 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7754 * sysdeps/sparc/sparc32/rem.S: Likewise.
7755 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7756 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7757 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7758 * sysdeps/sparc/sparc32/udiv.S: Likewise.
7759 * sysdeps/sparc/sparc32/urem.S: Likewise.
7760 * sysdeps/sparc/sparc64/add_n.S: Likewise.
7761 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7762 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7763 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7764 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7765 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7766 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7767 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7768 * sysdeps/unix/bsd/times.c: Likewise.
7769 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7770 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7774 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7775 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7776 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7777 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7778 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7779 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7780 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7781 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7782 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7783 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7784 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7785 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7786 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7787 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7788 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7789 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7790 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7791 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7792 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7793 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7794 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7795 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
7796 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7797 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
7798 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
7799 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
7800 * sysdeps/x86_64/strcspn.S: Likewise.
7801
7802 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7803
7804 * locale/C-translit.h: Revert #include <stdint.h> because this is a
7805 generated file. Regenerate properly from gen-translit.pl.
7806 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
7807 locale/C-translit.h.
7808
7809 2013-06-05 Andreas Schwab <schwab@suse.de>
7810
7811 [BZ #15100]
7812 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
7813 week as 6 instead of -1.
7814 * time/tst-strptime.c (day_tests): Add test case.
7815
7816 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7817
7818 * sysdeps/generic/math_private.h
7819 (libc_feholdexcept_setround_53bit): Replace with
7820 libc_feholdsetround_53bit.
7821 (libc_feupdateenv_53bit): Replace with
7822 libc_feresetround_53bit.
7823 (SET_RESTORE_ROUND_53BIT): Adjust.
7824
7825 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7826
7827 * string/test-strchrnul.c: Add copyright header.
7828
7829 * posix/tst-getaddrinfo4.c: Increase test timeout.
7830
7831 2013-06-03 Carlos O'Donell <carlos@redhat.com>
7832
7833 [BZ #15536]
7834 * math/libm-test.inc (MAX_EXP): Remove
7835 (MIN_EXP): Define.
7836 (ulp): Use MIN_EXP - MANT_DIG.
7837 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
7838
7839 2013-05-31 Carlos O'Donell <carlos@redhat.com>
7840
7841 * po/be.po: Revert last change.
7842 * po/zh_CN.po: Likewise.
7843 * po/header.pot: Likewise.
7844
7845 2013-05-31 Joseph Myers <joseph@codesourcery.com>
7846
7847 * Makefile ($(common-objpfx)linkobj/libc.so): Define
7848 link-libc-deps to empty as target-specific variable.
7849 * Makerules (link-libc-args): New variable.
7850 (libc-for-link): Likewise.
7851 (link-libc-deps): Likewise.
7852 (lib%.so): Depend on $(link-libc-deps). Link with
7853 $(link-libc-args).
7854 (build-module): Link with $(link-libc-args).
7855 (build-module-asneeded): Likewise.
7856 (build-module-helper-objlist): Filter out $(link-libc-deps) from
7857 list of objects.
7858 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
7859 target-specific variable.
7860 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
7861 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
7862 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
7863 libc.
7864 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
7865 libc and ld.so.
7866 ($(objpfx)libpcprofile.so): Likewise.
7867 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
7868 libc_nonshared.a.
7869 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
7870 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
7871 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
7872 $(link-libc-deps).
7873 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
7874 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
7875 * login/Makefile ($(objpfx)libutil.so): Likewise.
7876 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
7877 * math/Makefile ($(objpfx)libm.so): Likewise.
7878 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
7879 $(objpfx)libnsl.so): Define libc-for-link as target-specific
7880 variable instead of depending directly on libc.
7881 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
7882 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
7883 $(link-libc-deps).
7884 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
7885 libc.
7886 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
7887 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
7888 ($(objpfx)libanl.so): Likewise.
7889 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
7890 ld.so.
7891 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
7892 $(link-libc-deps).
7893 * sysdeps/i386/fpu/Makefile: Remove file.
7894 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
7895 ($(objpfx)libm.so): Remove dependency on ld.so.
7896
7897 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
7898
7899 [BZ # 15553]
7900 * nis/yp_xdr.c (XDRMAXNAME): Define.
7901 (XDRMAXRECORD): Define.
7902 (xdr_domainname): Use XDRMAXNAME.
7903 (xdr_mapname): Likewise.
7904 (xdr_peername): Likewise.
7905 (xdr_keydat): Use XDRMAXRECORD.
7906 (xdr_valdat): Likewise.
7907
7908 2013-05-30 Jeff Law <law@redhat.com>
7909
7910 [BZ #14256]
7911 * manual/errno.texi (ESTALE): Update to account for more than
7912 just NFS file systems.
7913 * sysdeps/gnu/errlist.c: Regenerated.
7914
7915 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7916
7917 [BZ #15465]
7918 * elf/Makefile (tests): Add tst-null-argv.
7919 (modules-names): Add tst-null-argv-lib.
7920 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
7921 (tst-null-argv-ENV): Set environment for tst-null-argv.
7922 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
7923 (RTLD_PROGNAME): New macro.
7924 * elf/tst-null-argv.c: New test case.
7925 * elf/tst-null-argv-lib.c: Library for test case.
7926 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
7927 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
7928 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
7929 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
7930 * elf/dl-init.c (call_init): Likewise.
7931 (_dl_init): Likewise.
7932 * elf/dl-load.c (print_search_path): Likewise.
7933 (_dl_map_object): Likewise.
7934 * elf/dl-lookup.c (do_lookup_x): Likewise.
7935 (add_dependency): Likewise.
7936 (_dl_lookup_symbol_x): Likewise.
7937 (_dl_debug_bindings): Likewise.
7938 * elf/dl-open.c (_dl_show_scope): Likewise.
7939 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7940 * elf/dl-version.c (match_symbol): Likewise.
7941 (_dl_check_map_versions): Likewise.
7942 * elf/rtld.c (dl_main): Likewise.
7943 (print_unresolved): Use RTLD_PROGNAME.
7944 (print_missing_version): Likewise.
7945 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
7946 (elf_machine_rela): Likewise.
7947 * sysdeps/powerpc/powerpc32/dl-machine.c
7948 (__process_machine_rela): Likewise.
7949 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7950 Likewise.
7951 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
7952 Likewise.
7953 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7954 Likewise.
7955 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7956 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
7957 Likewise.
7958 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
7959 Likewise.
7960 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7961
7962 2013-05-28 Carlos O'Donell <carlos@redhat.com>
7963
7964 * po/be.po: Add descriptive title.
7965 * po/zh_CN.po: Likewise.
7966 * po/header.pot: Likewise.
7967
7968 2013-05-28 Mike Frysinger <vapier@gentoo.org>
7969
7970 * locale/programs/locarchive.c (create_archive): Inlucde fname in
7971 error message.
7972 (enlarge_archive): Likewise.
7973
7974 2013-05-28 Ben North <ben@redfrontdoor.org>
7975
7976 * manual/arith.texi (frexp): It is the magnitude of the return
7977 value which lies in [0.5, 1), not the return value itself.
7978
7979 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7980
7981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7982
7983 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
7984
7985 * stdio-common/bug26.c (main): Correct fscanf template.
7986
7987 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
7988 declare _dl_skip_args.
7989
7990 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
7991 Don't declare.
7992
7993 * manual/platform.texi: Add missing @end deftypefun.
7994
7995 2013-05-24 Joseph Myers <joseph@codesourcery.com>
7996
7997 [BZ #15529]
7998 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
7999 bit of mantissa of 2^16382.
8000 * math/libm-test.inc (hypot_test_data): Add more tests.
8001
8002 * math/libm-test.inc: Add drem and pow10 to list of tested
8003 functions.
8004 (pow10_test): New function.
8005 (drem_test): Likewise.
8006 (drem_test_tonearest): Likewise.
8007 (drem_test_towardzero): Likewise.
8008 (drem_test_downward): Likewise.
8009 (drem_test_upward): Likewise.
8010 (main): Call the new functions.
8011
8012 * math/libm-test.inc (finite_test_data): Remove.
8013 (finite_test): Run tests from isfinite_test_data.
8014 (gamma_test_data): Remove.
8015 (gamma_test): Run tests from lgamma_test_data.
8016 * sysdeps/i386/fpu/libm-test-ulps: Update.
8017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8018
8019 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8020
8021 * manual/platform.texi: Add PowerPC PPR function set documentation.
8022 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8023 implementation.
8024
8025 2013-05-24 Carlos O'Donell <carlos@redhat.com>
8026
8027 * math/libm-test.inc (MAX_EXP): Define.
8028 (ULPDIFF): Define.
8029 (ulp): New function.
8030 (check_float_internal): Use ULPDIFF.
8031 (cpow_test): Disable failing test.
8032 (check_ulp): Test ulp() implemetnation.
8033 (main): Call check_ulp before starting tests.
8034
8035 2013-05-24 Joseph Myers <joseph@codesourcery.com>
8036
8037 * math/gen-libm-test.pl (generate_testfile): Do not handle
8038 START_DATA and END_DATA.
8039 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8040 END_DATA.
8041 (acos_tonearest_test_data): Likewise.
8042 (acos_towardzero_test_data): Likewise.
8043 (acos_downward_test_data): Likewise.
8044 (acos_upward_test_data): Likewise.
8045 (acosh_test_data): Likewise.
8046 (asin_test_data): Likewise.
8047 (asin_tonearest_test_data): Likewise.
8048 (asin_towardzero_test_data): Likewise.
8049 (asin_downward_test_data): Likewise.
8050 (asin_upward_test_data): Likewise.
8051 (asinh_test_data): Likewise.
8052 (atan_test_data): Likewise.
8053 (atanh_test_data): Likewise.
8054 (atan2_test_data): Likewise.
8055 (cabs_test_data): Likewise.
8056 (cacos_test_data): Likewise.
8057 (cacosh_test_data): Likewise.
8058 (carg_test_data): Likewise.
8059 (casin_test_data): Likewise.
8060 (casinh_test_data): Likewise.
8061 (catan_test_data): Likewise.
8062 (catanh_test_data): Likewise.
8063 (cbrt_test_data): Likewise.
8064 (ccos_test_data): Likewise.
8065 (ccosh_test_data): Likewise.
8066 (ceil_test_data): Likewise.
8067 (cexp_test_data): Likewise.
8068 (cimag_test_data): Likewise.
8069 (clog_test_data): Likewise.
8070 (clog10_test_data): Likewise.
8071 (conj_test_data): Likewise.
8072 (copysign_test_data): Likewise.
8073 (cos_test_data): Likewise.
8074 (cos_tonearest_test_data): Likewise.
8075 (cos_towardzero_test_data): Likewise.
8076 (cos_downward_test_data): Likewise.
8077 (cos_upward_test_data): Likewise.
8078 (cosh_test_data): Likewise.
8079 (cosh_tonearest_test_data): Likewise.
8080 (cosh_towardzero_test_data): Likewise.
8081 (cosh_downward_test_data): Likewise.
8082 (cosh_upward_test_data): Likewise.
8083 (cpow_test_data): Likewise.
8084 (cproj_test_data): Likewise.
8085 (creal_test_data): Likewise.
8086 (csin_test_data): Likewise.
8087 (csinh_test_data): Likewise.
8088 (csqrt_test_data): Likewise.
8089 (ctan_test_data): Likewise.
8090 (ctan_tonearest_test_data): Likewise.
8091 (ctan_towardzero_test_data): Likewise.
8092 (ctan_downward_test_data): Likewise.
8093 (ctan_upward_test_data): Likewise.
8094 (ctanh_test_data): Likewise.
8095 (ctanh_tonearest_test_data): Likewise.
8096 (ctanh_towardzero_test_data): Likewise.
8097 (ctanh_downward_test_data): Likewise.
8098 (ctanh_upward_test_data): Likewise.
8099 (erf_test_data): Likewise.
8100 (erfc_test_data): Likewise.
8101 (exp_test_data): Likewise.
8102 (exp_tonearest_test_data): Likewise.
8103 (exp_towardzero_test_data): Likewise.
8104 (exp_downward_test_data): Likewise.
8105 (exp_upward_test_data): Likewise.
8106 (exp10_test_data): Likewise.
8107 (exp2_test_data): Likewise.
8108 (expm1_test_data): Likewise.
8109 (fabs_test_data): Likewise.
8110 (fdim_test_data): Likewise.
8111 (finite_test_data): Likewise.
8112 (floor_test_data): Likewise.
8113 (fma_test_data): Likewise.
8114 (fma_towardzero_test_data): Likewise.
8115 (fma_downward_test_data): Likewise.
8116 (fma_upward_test_data): Likewise.
8117 (fmax_test_data): Likewise.
8118 (fmin_test_data): Likewise.
8119 (fmod_test_data): Likewise.
8120 (fpclassify_test_data): Likewise.
8121 (frexp_test_data): Likewise.
8122 (gamma_test_data): Likewise.
8123 (hypot_test_data): Likewise.
8124 (ilogb_test_data): Likewise.
8125 (isfinite_test_data): Likewise.
8126 (isgreater_test_data): Likewise.
8127 (isgreaterequal_test_data): Likewise.
8128 (isinf_test_data): Likewise.
8129 (isless_test_data): Likewise.
8130 (islessequal_test_data): Likewise.
8131 (islessgreater_test_data): Likewise.
8132 (isnan_test_data): Likewise.
8133 (isnormal_test_data): Likewise.
8134 (issignaling_test_data): Likewise.
8135 (isunordered_test_data): Likewise.
8136 (j0_test_data): Likewise.
8137 (j1_test_data): Likewise.
8138 (jn_test_data): Likewise.
8139 (ldexp_test_data): Likewise.
8140 (lgamma_test_data): Likewise.
8141 (lrint_test_data): Likewise.
8142 (lrint_tonearest_test_data): Likewise.
8143 (lrint_towardzero_test_data): Likewise.
8144 (lrint_downward_test_data): Likewise.
8145 (lrint_upward_test_data): Likewise.
8146 (llrint_test_data): Likewise.
8147 (llrint_tonearest_test_data): Likewise.
8148 (llrint_towardzero_test_data): Likewise.
8149 (llrint_downward_test_data): Likewise.
8150 (llrint_upward_test_data): Likewise.
8151 (log_test_data): Likewise.
8152 (log10_test_data): Likewise.
8153 (log1p_test_data): Likewise.
8154 (log2_test_data): Likewise.
8155 (logb_test_data): Likewise.
8156 (logb_downward_test_data): Likewise.
8157 (lround_test_data): Likewise.
8158 (llround_test_data): Likewise.
8159 (modf_test_data): Likewise.
8160 (nearbyint_test_data): Likewise.
8161 (nextafter_test_data): Likewise.
8162 (nexttoward_test_data): Likewise.
8163 (pow_test_data): Likewise.
8164 (pow_tonearest_test_data): Likewise.
8165 (pow_towardzero_test_data): Likewise.
8166 (pow_downward_test_data): Likewise.
8167 (pow_upward_test_data): Likewise.
8168 (remainder_test_data): Likewise.
8169 (remainder_tonearest_test_data): Likewise.
8170 (remainder_towardzero_test_data): Likewise.
8171 (remainder_downward_test_data): Likewise.
8172 (remainder_upward_test_data): Likewise.
8173 (remquo_test_data): Likewise.
8174 (rint_test_data): Likewise.
8175 (rint_tonearest_test_data): Likewise.
8176 (rint_towardzero_test_data): Likewise.
8177 (rint_downward_test_data): Likewise.
8178 (rint_upward_test_data): Likewise.
8179 (round_test_data): Likewise.
8180 (scalb_test_data): Likewise.
8181 (scalbn_test_data): Likewise.
8182 (scalbln_test_data): Likewise.
8183 (signbit_test_data): Likewise.
8184 (sin_test_data): Likewise.
8185 (sin_tonearest_test_data): Likewise.
8186 (sin_towardzero_test_data): Likewise.
8187 (sin_downward_test_data): Likewise.
8188 (sin_upward_test_data): Likewise.
8189 (sincos_test_data): Likewise.
8190 (sinh_test_data): Likewise.
8191 (sinh_tonearest_test_data): Likewise.
8192 (sinh_towardzero_test_data): Likewise.
8193 (sinh_downward_test_data): Likewise.
8194 (sinh_upward_test_data): Likewise.
8195 (sqrt_test_data): Likewise.
8196 (tan_test_data): Likewise.
8197 (tan_tonearest_test_data): Likewise.
8198 (tan_towardzero_test_data): Likewise.
8199 (tan_downward_test_data): Likewise.
8200 (tan_upward_test_data): Likewise.
8201 (tanh_test_data): Likewise.
8202 (tgamma_test_data): Likewise.
8203 (trunc_test_data): Likewise.
8204 (y0_test_data): Likewise.
8205 (y1_test_data): Likewise.
8206 (yn_test_data): Likewise.
8207 (significand_test_data): Likewise.
8208
8209 * math/gen-libm-test.pl (@functions): Remove variable.
8210 (generate_testfile): Don't handle START and END lines.
8211 * math/libm-test.inc (START): New macro.
8212 (END): Likewise.
8213 (END_COMPLEX): Likewise.
8214 (acos_test): Use END macro without arguments.
8215 (acos_test_tonearest): Likewise.
8216 (acos_test_towardzero): Likewise.
8217 (acos_test_downward): Likewise.
8218 (acos_test_upward): Likewise.
8219 (acosh_test): Likewise.
8220 (asin_test): Likewise.
8221 (asin_test_tonearest): Likewise.
8222 (asin_test_towardzero): Likewise.
8223 (asin_test_downward): Likewise.
8224 (asin_test_upward): Likewise.
8225 (asinh_test): Likewise.
8226 (atan_test): Likewise.
8227 (atanh_test): Likewise.
8228 (atan2_test): Likewise.
8229 (cabs_test): Likewise.
8230 (cacos_test): Use END_COMPLEX macro without arguments.
8231 (cacosh_test): Likewise.
8232 (carg_test): Use END macro without arguments.
8233 (casin_test): Use END_COMPLEX macro without arguments.
8234 (casinh_test): Likewise.
8235 (catan_test): Likewise.
8236 (catanh_test): Likewise.
8237 (cbrt_test): Use END macro without arguments.
8238 (ccos_test): Use END_COMPLEX macro without arguments.
8239 (ccosh_test): Likewise.
8240 (ceil_test): Use END macro without arguments.
8241 (cexp_test): Use END_COMPLEX macro without arguments.
8242 (cimag_test): Use END macro without arguments.
8243 (clog_test): Use END_COMPLEX macro without arguments.
8244 (clog10_test): Likewise.
8245 (conj_test): Likewise.
8246 (copysign_test): Use END macro without arguments.
8247 (cos_test): Likewise.
8248 (cos_test_tonearest): Likewise.
8249 (cos_test_towardzero): Likewise.
8250 (cos_test_downward): Likewise.
8251 (cos_test_upward): Likewise.
8252 (cosh_test): Likewise.
8253 (cosh_test_tonearest): Likewise.
8254 (cosh_test_towardzero): Likewise.
8255 (cosh_test_downward): Likewise.
8256 (cosh_test_upward): Likewise.
8257 (cpow_test): Use END_COMPLEX macro without arguments.
8258 (cproj_test): Likewise.
8259 (creal_test): Use END macro without arguments.
8260 (csin_test): Use END_COMPLEX macro without arguments.
8261 (csinh_test): Likewise.
8262 (csqrt_test): Likewise.
8263 (ctan_test): Likewise.
8264 (ctan_test_tonearest): Likewise.
8265 (ctan_test_towardzero): Likewise.
8266 (ctan_test_downward): Likewise.
8267 (ctan_test_upward): Likewise.
8268 (ctanh_test): Likewise.
8269 (ctanh_test_tonearest): Likewise.
8270 (ctanh_test_towardzero): Likewise.
8271 (ctanh_test_downward): Likewise.
8272 (ctanh_test_upward): Likewise.
8273 (erf_test): Use END macro without arguments.
8274 (erfc_test): Likewise.
8275 (exp_test): Likewise.
8276 (exp_test_tonearest): Likewise.
8277 (exp_test_towardzero): Likewise.
8278 (exp_test_downward): Likewise.
8279 (exp_test_upward): Likewise.
8280 (exp10_test): Likewise.
8281 (exp2_test): Likewise.
8282 (expm1_test): Likewise.
8283 (fabs_test): Likewise.
8284 (fdim_test): Likewise.
8285 (finite_test): Likewise.
8286 (floor_test): Likewise.
8287 (fma_test): Likewise.
8288 (fma_test_towardzero): Likewise.
8289 (fma_test_downward): Likewise.
8290 (fma_test_upward): Likewise.
8291 (fmax_test): Likewise.
8292 (fmin_test): Likewise.
8293 (fmod_test): Likewise.
8294 (fpclassify_test): Likewise.
8295 (frexp_test): Likewise.
8296 (gamma_test): Likewise.
8297 (hypot_test): Likewise.
8298 (ilogb_test): Likewise.
8299 (isfinite_test): Likewise.
8300 (isgreater_test): Likewise.
8301 (isgreaterequal_test): Likewise.
8302 (isinf_test): Likewise.
8303 (isless_test): Likewise.
8304 (islessequal_test): Likewise.
8305 (islessgreater_test): Likewise.
8306 (isnan_test): Likewise.
8307 (isnormal_test): Likewise.
8308 (issignaling_test): Likewise.
8309 (isunordered_test): Likewise.
8310 (j0_test): Likewise.
8311 (j1_test): Likewise.
8312 (jn_test): Likewise.
8313 (ldexp_test): Likewise.
8314 (lgamma_test): Likewise.
8315 (lrint_test): Likewise.
8316 (lrint_test_tonearest): Likewise.
8317 (lrint_test_towardzero): Likewise.
8318 (lrint_test_downward): Likewise.
8319 (lrint_test_upward): Likewise.
8320 (llrint_test): Likewise.
8321 (llrint_test_tonearest): Likewise.
8322 (llrint_test_towardzero): Likewise.
8323 (llrint_test_downward): Likewise.
8324 (llrint_test_upward): Likewise.
8325 (log_test): Likewise.
8326 (log10_test): Likewise.
8327 (log1p_test): Likewise.
8328 (log2_test): Likewise.
8329 (logb_test): Likewise.
8330 (logb_test_downward): Likewise.
8331 (lround_test): Likewise.
8332 (llround_test): Likewise.
8333 (modf_test): Likewise.
8334 (nearbyint_test): Likewise.
8335 (nextafter_test): Likewise.
8336 (nexttoward_test): Likewise.
8337 (pow_test): Likewise.
8338 (pow_test_tonearest): Likewise.
8339 (pow_test_towardzero): Likewise.
8340 (pow_test_downward): Likewise.
8341 (pow_test_upward): Likewise.
8342 (remainder_test): Likewise.
8343 (remainder_test_tonearest): Likewise.
8344 (remainder_test_towardzero): Likewise.
8345 (remainder_test_downward): Likewise.
8346 (remainder_test_upward): Likewise.
8347 (remquo_test): Likewise.
8348 (rint_test): Likewise.
8349 (rint_test_tonearest): Likewise.
8350 (rint_test_towardzero): Likewise.
8351 (rint_test_downward): Likewise.
8352 (rint_test_upward): Likewise.
8353 (round_test): Likewise.
8354 (scalb_test): Likewise.
8355 (scalbn_test): Likewise.
8356 (scalbln_test): Likewise.
8357 (signbit_test): Likewise.
8358 (sin_test): Likewise.
8359 (sin_test_tonearest): Likewise.
8360 (sin_test_towardzero): Likewise.
8361 (sin_test_downward): Likewise.
8362 (sin_test_upward): Likewise.
8363 (sincos_test): Likewise.
8364 (sinh_test): Likewise.
8365 (sinh_test_tonearest): Likewise.
8366 (sinh_test_towardzero): Likewise.
8367 (sinh_test_downward): Likewise.
8368 (sinh_test_upward): Likewise.
8369 (sqrt_test): Likewise.
8370 (tan_test): Likewise.
8371 (tan_test_tonearest): Likewise.
8372 (tan_test_towardzero): Likewise.
8373 (tan_test_downward): Likewise.
8374 (tan_test_upward): Likewise.
8375 (tanh_test): Likewise.
8376 (tgamma_test): Likewise.
8377 (trunc_test): Likewise.
8378 (y0_test): Likewise.
8379 (y1_test): Likewise.
8380 (yn_test): Likewise.
8381 (significand_test): Likewise.
8382
8383 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
8384
8385 [BZ #15381]
8386 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8387
8388 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8389
8390 [BZ #14894]
8391 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8392 __ppc_mdoio and __ppc_mdoom.
8393 * manual/platform.texi: Document new functions __ppc_yield,
8394 __ppc_mdoio and __ppc_mdoom.
8395
8396 2013-05-22 Carlos O'Donell <carlos@redhat.com>
8397
8398 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8399 (main): Mention "tls" pseudo-hwcap is legacy.
8400 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8401
8402 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8403
8404 * math/gen-libm-test.pl (parse_args): Output only string of
8405 arguments as text for test name, not full call or descriptions of
8406 tests for extra outputs.
8407 (generate_testfile): Do not pass function name to parse_args.
8408 Generate this_func variable from START.
8409 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8410 field to arg_str.
8411 (struct test_ff_f_data): Likewise.
8412 (test_ff_f_data_nexttoward): Likewise.
8413 (struct test_fi_f_data): Likewise.
8414 (struct test_fl_f_data): Likewise.
8415 (struct test_if_f_data): Likewise.
8416 (struct test_fff_f_data): Likewise.
8417 (struct test_c_f_data): Likewise.
8418 (struct test_f_f1_data): Likewise. Remove field extra_name.
8419 (struct test_fF_f1_data): Likewise.
8420 (struct test_ffI_f1_data): Likewise.
8421 (struct test_c_c_data): Rename test_name field to arg_str.
8422 (struct test_cc_c_data): Likewise.
8423 (struct test_f_i_data): Likewise.
8424 (struct test_ff_i_data): Likewise.
8425 (struct test_f_l_data): Likewise.
8426 (struct test_f_L_data): Likewise.
8427 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8428 and extra2_name.
8429 (COMMON_TEST_SETUP): New macro.
8430 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8431 (COMMON_TEST_CLEANUP): Likewise.
8432 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8433 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8434 macros.
8435 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8436 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8437 macros.
8438 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8439 (RUN_TEST_fff_f): Take argument string. Call new setup and
8440 cleanup macros.
8441 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8442 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8443 macros.
8444 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8445 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8446 macros.
8447 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8448 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8449 cleanup macros.
8450 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8451 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8452 cleanup macros.
8453 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8454 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8455 cleanup macros.
8456 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8457 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8458 macros.
8459 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8460 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8461 macros.
8462 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8463 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8464 macros.
8465 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8466 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8467 cleanup macros.
8468 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8469 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8470 cleanup macros.
8471 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8472 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8473 macros.
8474 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8475 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8476 cleanup macros.
8477 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8478 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8479 macros.
8480 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8481 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8482 macros.
8483 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8484 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8485 cleanup macros.
8486 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8487
8488 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8489
8490 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8491 to _sifields.sigfault.
8492 (si_addr_lsb): Define new macro.
8493 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8494 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8495 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8496
8497 2013-05-03 Carlos O'Donell <carlos at redhat.com>
8498
8499 [BZ #15441]
8500 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8501 returns -1.
8502 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8503 null return -1.
8504 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8505 loading the domain.
8506
8507 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8508
8509 * math/gen-libm-test.pl (parse_args): Do not include expected
8510 result in test name.
8511 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8512 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8513 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8514 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8515 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8517
8518 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8519
8520 * benchtests/Makefile: Sort function entries.
8521
8522 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8523 tanh, asinh, acosh, atanh.
8524 * benchtests/acos-inputs: New file.
8525 * benchtests/acosh-inputs: New file.
8526 * benchtests/asin-inputs: New file.
8527 * benchtests/asinh-inputs: New file.
8528 * benchtests/atanh-inputs: New file.
8529 * benchtests/cosh-inputs: New file.
8530 * benchtests/log-inputs: New file.
8531 * benchtests/sinh-inputs: New file.
8532 * benchtests/tanh-inputs: New file.
8533
8534 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8535
8536 [BZ #15339]
8537 * posix/tst-getaddrinfo4.c: New test.
8538 * posix/Makefile (tests): Add it.
8539
8540 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8541
8542 [BZ #15339]
8543 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8544 when no services were used.
8545 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8546 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8547
8548 2013-05-21 Andreas Schwab <schwab@suse.de>
8549
8550 [BZ #15014]
8551 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8552 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8553 successful.
8554 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8555 redundant variable declarations and reallocation of buffer when
8556 parsing as IPv6 address. Always set NSS status when called from
8557 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8558 buffer too small. Correct computation of needed size.
8559 * nss/Makefile (tests): Add test-digits-dots.
8560 * nss/test-digits-dots.c: New test.
8561
8562 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8563
8564 * benchtests/Makefile: Remove instructions for adding
8565 benchmark tests.
8566 * benchtests/README: New file to explain how to execute and
8567 enhance the benchmark tests.
8568
8569 2013-05-21 Andreas Schwab <schwab@suse.de>
8570
8571 [BZ #15493]
8572 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8573 * setjmp/tst-sigsetjmp.c: New test.
8574
8575 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8576
8577 * sysdeps/x86_64/memset.S (memset): New implementation.
8578 (__bzero): Likewise.
8579 (__memset_tail): New function.
8580
8581 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8582
8583 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8584 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8585 __memcpy_sse2_unaligned ifunc selection.
8586 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8587 Add memcpy-sse2-unaligned.S.
8588 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8589 Add: __memcpy_sse2_unaligned.
8590
8591 2013-05-19 Joseph Myers <joseph@codesourcery.com>
8592
8593 [BZ #15490]
8594 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8595 math_force_eval before restoring floating-point envrionment.
8596 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8597 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8598 Likewise.
8599 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8600 <math_private.h>.
8601 (__nearbyintl): Use math_force_eval before restoring
8602 floating-point environment.
8603 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8604
8605 * math/gen-libm-test.pl (special_functions): Remove.
8606 (parse_args): Don't handle TEST_extra. Handle functions with no
8607 return value.
8608 * math/libm-test.inc (struct test_sincos_data): Replace with
8609 struct test_fFF_11_data.
8610 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8611 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8612 (sincos_test_data): Change element type to struct
8613 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8614 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8615 RUN_TEST_LOOP_sincos.
8616 * math/README.libm-test: Don't mention special handling of
8617 individual functions.
8618 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8619 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8620 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8621 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8622 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8624
8625 * math/gen-libm-test.pl (get_variable): Remove function.
8626 (parse_args): Don't show pointer parameters to call in test
8627 names. Use "extra output N" in test names for extra outputs
8628 rather than naming variables.
8629
8630 2013-05-18 Joseph Myers <joseph@codesourcery.com>
8631
8632 [BZ #15488]
8633 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8634 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8635 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8636 double tests.
8637 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8638 disable.
8639 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8640 check_long_double.
8641
8642 * math/gen-libm-test.pl (@tests): Remove variable.
8643 ($count): Likewise.
8644 (new_test): Remove function.
8645 (show_exceptions): New function.
8646 (special_functions): Use show_exceptions instead of new_test.
8647 (parse_args): Likewise.
8648 (generate_testfile): Pass only function name in generated call to
8649 print_max_error or print_complex_max_error.
8650 (get_ulps): Do not handle complex tests specially.
8651 (output_test): Rename to ...
8652 (get_all_ulps_for_test): ... this. Return a string rather than
8653 printing to a file. Require ulps to be present.
8654 (output_ulps): Generate arrays rather than #defines.
8655 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8656 (struct ulp_data): New type.
8657 (BUILD_COMPLEX_ULP): Remove macro.
8658 (compare_ulp_data): New function.
8659 (find_ulps): Likewise.
8660 (find_test_ulps): Likewise.
8661 (find_function_ulps): Likewise.
8662 (find_complex_function_ulps): Likewise.
8663 (print_max_error): Determine allowed ulps using
8664 find_function_ulps.
8665 (print_complex_max_error): Determine allowed ulps using
8666 find_complex_function_ulps.
8667 (check_float_internal): Determine max ulps using find_test_ulps.
8668 (check_float): Do not take max_ulp parameter. Update call to
8669 check_float_internal.
8670 (check_complex): Likewise.
8671 (check_int): Do not take max_ulp parameter.
8672 (check_long): Likewise.
8673 (check_bool): Likewise.
8674 (check_longlong): Likewise.
8675 (struct test_f_f_data): Remove max_ulp field.
8676 (struct test_ff_f_data): Likewise.
8677 (struct test_ff_f_data_nexttoward): Likewise.
8678 (struct test_fi_f_data): Likewise.
8679 (struct test_fl_f_data): Likewise.
8680 (struct test_if_f_data): Likewise.
8681 (struct test_fff_f_data): Likewise.
8682 (struct test_c_f_data): Likewise.
8683 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8684 (struct test_fF_f1_data): Likewise.
8685 (struct test_ffI_f1_data): Likewise.
8686 (struct test_c_c_data): Remove max_ulp field.
8687 (struct test_cc_c_data): Likewise.
8688 (struct test_f_i_data): Likewise.
8689 (struct test_ff_i_data): Likewise.
8690 (struct test_f_l_data): Likewise.
8691 (struct test_f_L_data): Likewise.
8692 (struct test_sincos_data): Likewise.
8693 (RUN_TEST_f_f): Do not handle ulps.
8694 (RUN_TEST_LOOP_f_f): Likewise.
8695 (RUN_TEST_2_f): Likewise.
8696 (RUN_TEST_LOOP_2_f): Likewise.
8697 (RUN_TEST_fff_f): Likewise.
8698 (RUN_TEST_LOOP_fff_f): Likewise.
8699 (RUN_TEST_c_f): Likewise.
8700 (RUN_TEST_LOOP_c_f): Likewise.
8701 (RUN_TEST_f_f1): Likewise.
8702 (RUN_TEST_LOOP_f_f1): Likewise.
8703 (RUN_TEST_fF_f1): Likewise.
8704 (RUN_TEST_LOOP_fF_f1): Likewise.
8705 (RUN_TEST_fI_f1): Likewise.
8706 (RUN_TEST_LOOP_fI_f1): Likewise.
8707 (RUN_TEST_ffI_f1): Likewise.
8708 (RUN_TEST_LOOP_ffI_f1): Likewise.
8709 (RUN_TEST_c_c): Likewise.
8710 (RUN_TEST_LOOP_c_c): Likewise.
8711 (RUN_TEST_cc_c): Likewise.
8712 (RUN_TEST_LOOP_cc_c): Likewise.
8713 (RUN_TEST_f_i): Likewise.
8714 (RUN_TEST_LOOP_f_i): Likewise.
8715 (RUN_TEST_f_i_tg): Likewise.
8716 (RUN_TEST_LOOP_f_i_tg): Likewise.
8717 (RUN_TEST_ff_i_tg): Likewise.
8718 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8719 (RUN_TEST_f_b): Likewise.
8720 (RUN_TEST_LOOP_f_b): Likewise.
8721 (RUN_TEST_f_b_tg): Likewise.
8722 (RUN_TEST_LOOP_f_b_tg): Likewise.
8723 (RUN_TEST_f_l): Likewise.
8724 (RUN_TEST_LOOP_f_l): Likewise.
8725 (RUN_TEST_f_L): Likewise.
8726 (RUN_TEST_LOOP_f_L): Likewise.
8727 (RUN_TEST_sincos): Likewise.
8728 (RUN_TEST_LOOP_sincos): Likewise.
8729
8730 2013-05-17 Joseph Myers <joseph@codesourcery.com>
8731
8732 [BZ #15480]
8733 [BZ #15485]
8734 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8735 main case of finite arguments, set rounding mode to FE_TONEAREST
8736 and discard exceptions.
8737 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8738 exceptions.
8739 (remainder_tonearest_test_data): New variable.
8740 (remainder_test_tonearest): New function.
8741 (remainder_towardzero_test_data): New variable.
8742 (remainder_test_towardzero): New function.
8743 (remainder_downward_test_data): New variable.
8744 (remainder_test_downward): New function.
8745 (remainder_upward_test_data): New variable.
8746 (remainder_test_upward): New function.
8747 (main): Call the new test functions.
8748
8749 * math/libm-test.inc (struct test_f_f1_data): Remove field
8750 extra_init.
8751 (struct test_fF_f1_data): Likewise.
8752 (struct test_ffI_f1_data): Likewise.
8753 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8754 based on value of EXTRA_EXPECTED.
8755 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8756 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8757 EXTRA_VAR based on value of EXTRA_EXPECTED.
8758 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8759 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
8760 EXTRA_VAR based on value of EXTRA_EXPECTED.
8761 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8762 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
8763 EXTRA_VAR based on value of EXTRA_EXPECTED.
8764 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8765 * math/gen-libm-test.pl (parse_args): Don't output initializers
8766 for extra output values.
8767
8768 * math/libm-test.inc (check_int): Expect result to be exactly
8769 equal to expected value and do not handle ulps.
8770 (check_long): Likewise.
8771 (check_longlong): Likewise.
8772
8773 * math/libm-test.inc (ceil_test_data): Test for "inexact"
8774 exceptions.
8775 (cimag_test_data): Likewise.
8776 (conj_test_data): Likewise.
8777 (copysign_test_data): Likewise.
8778 (cproj_test_data): Likewise.
8779 (creal_test_data): Likewise.
8780 (fabs_test_data): Likewise.
8781 (fdim_test_data): Likewise.
8782 (finite_test_data): Likewise.
8783 (floor_test_data): Likewise.
8784 (fmax_test_data): Likewise.
8785 (fmin_test_data): Likewise.
8786 (fmod_test_data): Likewise.
8787 (fpclassify_test_data): Likewise.
8788 (frexp_test_data): Likewise.
8789 (ilogb_test_data): Likewise.
8790 (isfinite_test_data): Likewise.
8791 (isgreater_test_data): Likewise.
8792 (isgreaterequal_test_data): Likewise.
8793 (isinf_test_data): Likewise.
8794 (isless_test_data): Likewise.
8795 (islessequal_test_data): Likewise.
8796 (islessgreater_test_data): Likewise.
8797 (isnan_test_data): Likewise.
8798 (isnormal_test_data): Likewise.
8799 (issignaling_test_data): Likewise.
8800 (isunordered_test_data): Likewise.
8801 (ldexp_test_data): Likewise.
8802 (lrint_test_data): Likewise.
8803 (lrint_test_data) [TEST_FLOAT]: Disable one test.
8804 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
8805 (lrint_tonearest_test_data): Test for "inexact" exceptions.
8806 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8807 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
8808 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8809 test input.
8810 (lrint_towardzero_test_data): Test for "inexact" exceptions.
8811 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8812 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
8813 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
8814 that test input.
8815 (lrint_downward_test_data): Test for "inexact" exceptions.
8816 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8817 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
8818 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
8819 test input.
8820 (lrint_upward_test_data): Test for "inexact" exceptions.
8821 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
8822 test input.
8823 (llrint_test_data): Test for "inexact" exceptions.
8824 (llrint_test_data) [TEST_FLOAT]: Disable one test.
8825 (llrint_tonearest_test_data): Test for "inexact" exceptions.
8826 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
8827 (llrint_towardzero_test_data): Test for "inexact" exceptions.
8828 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
8829 (llrint_downward_test_data): Test for "inexact" exceptions.
8830 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
8831 (llrint_upward_test_data): Test for "inexact" exceptions.
8832 (logb_test_data): Likewise.
8833 (logb_downward_test_data): Likewise.
8834 (nextafter_test_data): Likewise.
8835 (nexttoward_test_data): Likewise.
8836 (remainder_test_data): Likewise.
8837 (remquo_test_data): Likewise.
8838 (scalbn_test_data): Likewise.
8839 (scalbln_test_data): Likewise.
8840 (signbit_test_data): Likewise.
8841 (sqrt_test_data): Likewise.
8842 (significand_test_data): Likewise.
8843
8844 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8845
8846 [BZ #15424]
8847 * benchtests/bench-modf.c (struct args): Mark arg0 as
8848 volatile.
8849 * scripts/bench.pl: Mark members of struct args as volatile.
8850
8851 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8852
8853 [BZ # 15497]
8854 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
8855 negative infinity on POWER6 or lower.
8856 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
8857
8858 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8859
8860 [BZ #15442]
8861 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
8862 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
8863 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
8864 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
8865 (_FP_SETQNAN): New macro.
8866 (_FP_SETQNAN_SEMIRAW): Likewise.
8867 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
8868 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
8869 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
8870 (FP_EXTEND): Use _FP_FRAC_SNANP.
8871 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
8872 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
8873 into account.
8874 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8875 New macro.
8876 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
8877 Likewise.
8878
8879 2013-05-16 Joseph Myers <joseph@codesourcery.com>
8880
8881 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
8882 with DIVIDE_BY_ZERO_EXCEPTION.
8883 (gamma_test_data): Likewise.
8884 (lgamma_test_data): Likewise.
8885 (log_test_data): Likewise.
8886 (log10_test_data): Likewise.
8887 (log2_test_data): Likewise.
8888 (tgamma_test_data): Likewise.
8889
8890 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
8891 (acos_test_tonearest): Likewise.
8892 (acos_test_towardzero): Likewise.
8893 (acos_test_downward): Likewise.
8894 (acos_test_upward): Likewise.
8895 (acosh_test): Likewise.
8896 (asin_test): Likewise.
8897 (asin_test_tonearest): Likewise.
8898 (asin_test_towardzero): Likewise.
8899 (asin_test_downward): Likewise.
8900 (asin_test_upward): Likewise.
8901 (asinh_test): Likewise.
8902 (atan_test): Likewise.
8903 (atanh_test): Likewise.
8904 (atan2_test): Likewise.
8905 (cabs_test): Likewise.
8906 (cacos_test): Likewise.
8907 (cacosh_test): Likewise.
8908 (casin_test): Likewise.
8909 (casinh_test): Likewise.
8910 (catan_test): Likewise.
8911 (catanh_test): Likewise.
8912 (cbrt_test): Likewise.
8913 (ccos_test): Likewise.
8914 (ccosh_test): Likewise.
8915 (cexp_test): Likewise.
8916 (clog_test): Likewise.
8917 (clog10_test): Likewise.
8918 (cos_test): Likewise.
8919 (cos_test_tonearest): Likewise.
8920 (cos_test_towardzero): Likewise.
8921 (cos_test_downward): Likewise.
8922 (cos_test_upward): Likewise.
8923 (cosh_test): Likewise.
8924 (cosh_test_tonearest): Likewise.
8925 (cosh_test_towardzero): Likewise.
8926 (cosh_test_downward): Likewise.
8927 (cosh_test_upward): Likewise.
8928 (cpow_test): Likewise.
8929 (csin_test): Likewise.
8930 (csinh_test): Likewise.
8931 (csqrt_test): Likewise.
8932 (ctan_test): Likewise.
8933 (ctan_test_tonearest): Likewise.
8934 (ctan_test_towardzero): Likewise.
8935 (ctan_test_downward): Likewise.
8936 (ctan_test_upward): Likewise.
8937 (ctanh_test): Likewise.
8938 (ctanh_test_tonearest): Likewise.
8939 (ctanh_test_towardzero): Likewise.
8940 (ctanh_test_downward): Likewise.
8941 (ctanh_test_upward): Likewise.
8942 (erf_test): Likewise.
8943 (erfc_test): Likewise.
8944 (exp_test): Likewise.
8945 (exp_test_tonearest): Likewise.
8946 (exp_test_towardzero): Likewise.
8947 (exp_test_downward): Likewise.
8948 (exp_test_upward): Likewise.
8949 (exp10_test): Likewise.
8950 (exp2_test): Likewise.
8951 (expm1_test): Likewise.
8952 (fmod_test): Likewise.
8953 (gamma_test): Likewise.
8954 (hypot_test): Likewise.
8955 (j0_test): Likewise.
8956 (j1_test): Likewise.
8957 (jn_test): Likewise.
8958 (lgamma_test): Likewise.
8959 (log_test): Likewise.
8960 (log10_test): Likewise.
8961 (log1p_test): Likewise.
8962 (log2_test): Likewise.
8963 (logb_test_downward): Likewise.
8964 (pow_test): Likewise.
8965 (pow_test_tonearest): Likewise.
8966 (pow_test_towardzero): Likewise.
8967 (pow_test_downward): Likewise.
8968 (pow_test_upward): Likewise.
8969 (remainder_test): Likewise.
8970 (remquo_test): Likewise.
8971 (sin_test): Likewise.
8972 (sin_test_tonearest): Likewise.
8973 (sin_test_towardzero): Likewise.
8974 (sin_test_downward): Likewise.
8975 (sin_test_upward): Likewise.
8976 (sincos_test): Likewise.
8977 (sinh_test): Likewise.
8978 (sinh_test_tonearest): Likewise.
8979 (sinh_test_towardzero): Likewise.
8980 (sinh_test_downward): Likewise.
8981 (sinh_test_upward): Likewise.
8982 (sqrt_test): Likewise.
8983 (tan_test): Likewise.
8984 (tan_test_tonearest): Likewise.
8985 (tan_test_towardzero): Likewise.
8986 (tan_test_downward): Likewise.
8987 (tan_test_upward): Likewise.
8988 (tanh_test): Likewise.
8989 (tgamma_test): Likewise.
8990 (y0_test): Likewise.
8991 (y1_test): Likewise.
8992 (yn_test): Likewise.
8993
8994 * math/gen-libm-test.pl (adjust_arg): Remove function.
8995 (special_function): Remove argument $in_func. Only handle
8996 generating output for tables of tests, not inside functions.
8997 (parse_args): Likewise.
8998 (generate_testfile): Remove variable $in_func. Update call to
8999 parse_args.
9000 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9001 (MINUS_ZERO_INIT): Rename macro to minus_zero.
9002 (PLUS_INFTY_INIT): Rename macro to plus_infty.
9003 (MINUS_INFTY_INIT): Rename macro to minus_infty.
9004 (QNAN_VALUE_INIT): Rename macro to qnan_value.
9005 (MAX_VALUE_INIT): Rename macro to max_value.
9006 (MIN_VALUE_INIT): Rename macro to min_value.
9007 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9008 (plus_zero): Remove variable.
9009 (minus_zero): Likewise.
9010 (plus_infty): Likewise.
9011 (minus_infty): Likewise.
9012 (qnan_value): Likewise.
9013 (max_value): Likewise.
9014 (min_value): Likewise.
9015 (min_subnorm_value): Likewise.
9016
9017 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9018
9019 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9020 uint64_t or uint32_t usage.
9021 * crypt/sha256-block.c: Likewise.
9022 * crypt/sha256-crypt.c: Likewise.
9023 * crypt/sha256.c: Likewise.
9024 * crypt/sha512-block.c: Likewise.
9025 * crypt/sha512-crypt.c: Likewise.
9026 * crypt/sha512.c: Likewise.
9027 * debug/backtrace-tst.c: Likewise.
9028 * debug/pcprofiledump.c: Likewise.
9029 * elf/cache.c: Likewise.
9030 * elf/dl-cache.c: Likewise.
9031 * elf/dl-misc.c: Likewise.
9032 * elf/dl-profile.c: Likewise.
9033 * elf/dl-support.c: Likewise.
9034 * elf/ldconfig.c: Likewise.
9035 * elf/sprof.c: Likewise.
9036 * iconv/dummy-repertoire.c: Likewise.
9037 * iconv/iconv_charmap.c: Likewise.
9038 * iconv/skeleton.c: Likewise.
9039 * iconvdata/8bit-generic.c: Likewise.
9040 * iconvdata/cp737.h: Likewise.
9041 * iconvdata/cp775.h: Likewise.
9042 * iconvdata/ibm1008.h: Likewise.
9043 * iconvdata/ibm1025.h: Likewise.
9044 * iconvdata/ibm1046.h: Likewise.
9045 * iconvdata/ibm1097.h: Likewise.
9046 * iconvdata/ibm1112.h: Likewise.
9047 * iconvdata/ibm1122.h: Likewise.
9048 * iconvdata/ibm1123.h: Likewise.
9049 * iconvdata/ibm1124.h: Likewise.
9050 * iconvdata/ibm1129.h: Likewise.
9051 * iconvdata/ibm1130.h: Likewise.
9052 * iconvdata/ibm1132.h: Likewise.
9053 * iconvdata/ibm1133.h: Likewise.
9054 * iconvdata/ibm1137.h: Likewise.
9055 * iconvdata/ibm1140.h: Likewise.
9056 * iconvdata/ibm1141.h: Likewise.
9057 * iconvdata/ibm1142.h: Likewise.
9058 * iconvdata/ibm1143.h: Likewise.
9059 * iconvdata/ibm1144.h: Likewise.
9060 * iconvdata/ibm1145.h: Likewise.
9061 * iconvdata/ibm1146.h: Likewise.
9062 * iconvdata/ibm1147.h: Likewise.
9063 * iconvdata/ibm1148.h: Likewise.
9064 * iconvdata/ibm1149.h: Likewise.
9065 * iconvdata/ibm1153.h: Likewise.
9066 * iconvdata/ibm1154.h: Likewise.
9067 * iconvdata/ibm1155.h: Likewise.
9068 * iconvdata/ibm1156.h: Likewise.
9069 * iconvdata/ibm1157.h: Likewise.
9070 * iconvdata/ibm1158.h: Likewise.
9071 * iconvdata/ibm1160.h: Likewise.
9072 * iconvdata/ibm1161.h: Likewise.
9073 * iconvdata/ibm1162.h: Likewise.
9074 * iconvdata/ibm1163.h: Likewise.
9075 * iconvdata/ibm1164.h: Likewise.
9076 * iconvdata/ibm1166.h: Likewise.
9077 * iconvdata/ibm1167.h: Likewise.
9078 * iconvdata/ibm12712.h: Likewise.
9079 * iconvdata/ibm1390.h: Likewise.
9080 * iconvdata/ibm1399.h: Likewise.
9081 * iconvdata/ibm16804.h: Likewise.
9082 * iconvdata/ibm4517.h: Likewise.
9083 * iconvdata/ibm4899.h: Likewise.
9084 * iconvdata/ibm4909.h: Likewise.
9085 * iconvdata/ibm4971.h: Likewise.
9086 * iconvdata/ibm5347.h: Likewise.
9087 * iconvdata/ibm803.h: Likewise.
9088 * iconvdata/ibm856.h: Likewise.
9089 * iconvdata/ibm901.h: Likewise.
9090 * iconvdata/ibm902.h: Likewise.
9091 * iconvdata/ibm9030.h: Likewise.
9092 * iconvdata/ibm9066.h: Likewise.
9093 * iconvdata/ibm921.h: Likewise.
9094 * iconvdata/ibm922.h: Likewise.
9095 * iconvdata/ibm9448.h: Likewise.
9096 * iconvdata/isiri-3342.h: Likewise.
9097 * iconvdata/jis0201.h: Likewise.
9098 * include/link.h: Likewise.
9099 * include/netdb.h: Likewise.
9100 * inet/check_native.c: Likewise.
9101 * inet/check_pf.c: Likewise.
9102 * inet/getipv4sourcefilter.c: Likewise.
9103 * inet/getnameinfo.c: Likewise.
9104 * inet/getsourcefilter.c: Likewise.
9105 * inet/htonl.c: Likewise.
9106 * inet/setipv4sourcefilter.c: Likewise.
9107 * inet/setsourcefilter.c: Likewise.
9108 * inet/test-inet6_opt.c: Likewise.
9109 * inet/tst-network.c: Likewise.
9110 * locale/C-collate.c: Likewise.
9111 * locale/C-ctype.c: Likewise.
9112 * locale/C-time.c: Likewise.
9113 * locale/C-translit.h: Likewise.
9114 * locale/loadarchive.c: Likewise.
9115 * locale/programs/3level.h: Likewise.
9116 * locale/programs/charmap.c: Likewise.
9117 * locale/programs/charmap.h: Likewise.
9118 * locale/programs/ld-address.c: Likewise.
9119 * locale/programs/ld-collate.c: Likewise.
9120 * locale/programs/ld-ctype.c: Likewise.
9121 * locale/programs/ld-identification.c: Likewise.
9122 * locale/programs/ld-measurement.c: Likewise.
9123 * locale/programs/ld-messages.c: Likewise.
9124 * locale/programs/ld-monetary.c: Likewise.
9125 * locale/programs/ld-name.c: Likewise.
9126 * locale/programs/ld-numeric.c: Likewise.
9127 * locale/programs/ld-paper.c: Likewise.
9128 * locale/programs/ld-telephone.c: Likewise.
9129 * locale/programs/ld-time.c: Likewise.
9130 * locale/programs/linereader.c: Likewise.
9131 * locale/programs/locale.c: Likewise.
9132 * locale/programs/locarchive.c: Likewise.
9133 * locale/programs/locfile.h: Likewise.
9134 * locale/programs/repertoire.c: Likewise.
9135 * locale/programs/simple-hash.c: Likewise.
9136 * locale/programs/simple-hash.h: Likewise.
9137 * malloc/memusage.c: Likewise.
9138 * malloc/memusagestat.c: Likewise.
9139 * nis/nis_defaults.c: Likewise.
9140 * nis/nis_hash.c: Likewise.
9141 * nis/nis_print.c: Likewise.
9142 * nis/nis_xdr.c: Likewise.
9143 * nscd/connections.c: Likewise.
9144 * nscd/hstcache.c: Likewise.
9145 * nscd/nscd_gethst_r.c: Likewise.
9146 * nscd/nscd_getserv_r.c: Likewise.
9147 * nscd/nscd_helper.c: Likewise.
9148 * nscd/servicescache.c: Likewise.
9149 * nss/makedb.c: Likewise.
9150 * nss/nss_db/db-XXX.c: Likewise.
9151 * nss/nss_db/db-initgroups.c: Likewise.
9152 * nss/nss_db/db-netgrp.c: Likewise.
9153 * nss/nss_files/files-network.c: Likewise.
9154 * nss/nss_files/files-parse.c: Likewise.
9155 * posix/bug-regex5.c: Likewise.
9156 * posix/fnmatch_loop.c: Likewise.
9157 * posix/regcomp.c: Likewise.
9158 * posix/regexec.c: Likewise.
9159 * posix/tst-rfc3484-2.c: Likewise.
9160 * posix/tst-rfc3484-3.c: Likewise.
9161 * posix/tst-rfc3484.c: Likewise.
9162 * resolv/nss_dns/dns-canon.c: Likewise.
9163 * resolv/nss_dns/dns-network.c: Likewise.
9164 * resolv/res_init.c: Likewise.
9165 * resolv/res_mkquery.c: Likewise.
9166 * resolv/tst-aton.c: Likewise.
9167 * stdlib/cxa_atexit.c: Likewise.
9168 * stdlib/cxa_finalize.c: Likewise.
9169 * stdlib/gen-fpioconst.c: Likewise.
9170 * stdlib/strtol_l.c: Likewise.
9171 * string/tst-endian.c: Likewise.
9172 * sunrpc/auth_des.c: Likewise.
9173 * sunrpc/clnt_udp.c: Likewise.
9174 * sunrpc/rtime.c: Likewise.
9175 * sunrpc/svcauth_des.c: Likewise.
9176 * sunrpc/xdr.c: Likewise.
9177 * sunrpc/xdr_intXX_t.c: Likewise.
9178 * sunrpc/xdr_rec.c: Likewise.
9179 * sysdeps/generic/ldconfig.h: Likewise.
9180 * sysdeps/generic/ldsodefs.h: Likewise.
9181 * sysdeps/generic/memusage.h: Likewise.
9182 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9183 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9184 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9185 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9186 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9187 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9188 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9189 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9190 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9191 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9192 * sysdeps/posix/getaddrinfo.c: Likewise.
9193 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9194 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9195 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9196 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9197 * sysdeps/powerpc/test-gettimebase.c: Likewise.
9198 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9199 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9200 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9201 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9202 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9203 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9204 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9205 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9206 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9207 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9208 * sysdeps/x86_64/dl-tls.h: Likewise.
9209 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9210 * time/alt_digit.c: Likewise.
9211 * time/era.c: Likewise.
9212 * wcsmbs/tst-c16c32-1.c: Likewise.
9213
9214 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9215
9216 * math/libm-test.inc (struct test_sincos_data): New type.
9217 (RUN_TEST_LOOP_sincos): New macro.
9218 (sincos_test_data): New variable.
9219 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9220
9221 2013-05-16 Richard Henderson <rth@redhat.com>
9222
9223 * math/atest-exp2.c (LIMB64): New macro.
9224 (CONSTSZ): New macro.
9225 (mp_exp1, mp_exp_m1, mp_log2): New variables.
9226 (hexdig): Move ...
9227 (print_mpn_fp): ... to function scope.
9228 (read_mpn_hex): Remove.
9229 (get_log2): Remove.
9230 (exp2_mpn): Use mp_log2.
9231 (main): Use mp_exp1.
9232
9233 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9234
9235 * math/libm-test.inc: Remove comment about not testing "inexact"
9236 exceptions.
9237 (INEXACT_EXCEPTION): New macro.
9238 (NO_INEXACT_EXCEPTION): Likewise.
9239 (INVALID_EXCEPTION_OK): Update value.
9240 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9241 (OVERFLOW_EXCEPTION_OK): Likewise.
9242 (UNDERFLOW_EXCEPTION_OK): Likewise.
9243 (IGNORE_ZERO_INF_SIGN): Likewise.
9244 (ERRNO_UNCHANGED): Likewise.
9245 (ERRNO_EDOM): Likewise.
9246 (ERRNO_ERANGE): Likewise.
9247 (test_exceptions): Handle testing "inexact" exceptions.
9248 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9249 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9250 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9251 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9252 INEXACT_EXCEPTION.
9253 (rint_towardzero_test_data): Likewise.
9254 (rint_downward_test_data): Likewise.
9255 (rint_upward_test_data): Likewise.
9256
9257 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9258 with OVERFLOW_EXCEPTION.
9259 (exp10_test_data): Likewise.
9260 (exp2_test_data): Likewise.
9261 (expm1_test_data): Likewise.
9262 (lgamma_test_data): Likewise.
9263 (pow_test_data): Likewise.
9264 (tgamma_test_data): Likewise.
9265 (yn_test_data): Remove duplicate test of overflow.
9266
9267 * math/libm-test.inc (struct test_cc_c_data): New type.
9268 (RUN_TEST_LOOP_cc_c): New macro.
9269 (cpow_test_data): New variable.
9270 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9271
9272 * math/libm-test.inc (struct test_f_L_data): New type.
9273 (RUN_TEST_LOOP_f_L): New macro.
9274 (llrint_test_data): New variable.
9275 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9276 (llrint_tonearest_test_data): New variable.
9277 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9278 (llrint_towardzero_test_data): New variable.
9279 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9280 (llrint_downward_test_data): New variable.
9281 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9282 (llrint_upward_test_data): New variable.
9283 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9284 (llround_test_data): New variable.
9285 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9286
9287 2013-05-13 Peter Collingbourne <pcc@google.com>
9288
9289 * math/atest-exp2.c (get_log2): Remove const attribute.
9290
9291 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9292
9293 * math/libm-test.inc (struct test_f_l_data): New type.
9294 (RUN_TEST_LOOP_f_l): New macro.
9295 (lrint_test_data): New variable.
9296 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9297 (lrint_tonearest_test_data): New variable.
9298 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9299 (lrint_towardzero_test_data): New variable.
9300 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9301 (lrint_downward_test_data): New variable.
9302 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9303 (lrint_upward_test_data): New variable.
9304 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9305 (lround_test_data): New variable.
9306 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9307
9308 2013-05-15 Peter Collingbourne <pcc@google.com>
9309
9310 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9311 (EXTRACT_WORDS64) Use where appropriate.
9312 (INSERT_WORDS64) Likewise.
9313
9314 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9315 constraints with x constraints.
9316 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9317
9318 * malloc/obstack.c (_obstack_compat): Add initializer.
9319
9320 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9321
9322 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9323 si_trapno and add si_addr_lsb to _sifields.sigfault.
9324 (si_trapno): Remove macro.
9325 (si_addr_lsb): Define new macro.
9326 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9327
9328 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9329
9330 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9331 instead of TEST_f_l.
9332 (llrint_test_tonearest): Likewise.
9333 (llrint_test_towardzero): Likewise.
9334 (llrint_test_downward): Likewise.
9335 (llrint_test_upward): Likewise.
9336 (llround_test): Likewise.
9337
9338 * math/libm-test.inc (struct test_f_i_data): Add comment.
9339 (RUN_TEST_LOOP_f_b): New macro.
9340 (RUN_TEST_LOOP_f_b_tg): Likewise.
9341 (finite_test_data): New variable.
9342 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9343 (isfinite_test_data): New variable.
9344 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9345 (isinf_test_data): New variable.
9346 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9347 (isnan_test_data): New variable.
9348 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9349 (isnormal_test_data): New variable.
9350 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9351 (issignaling_test_data): New variable.
9352 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9353 (signbit_test_data): New variable.
9354 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9355
9356 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9357 with INVALID_EXCEPTION.
9358 (acosh_test_data): Likewise.
9359 (asin_test_data): Likewise.
9360 (atanh_test_data): Likewise.
9361 (fmod_test_data): Likewise.
9362 (log_test_data): Likewise.
9363 (log10_test_data): Likewise.
9364 (log2_test_data): Likewise.
9365 (pow_test_data): Likewise.
9366 (sqrt_test_data): Likewise.
9367 (y0_test_data): Likewise.
9368 (y1_test_data): Likewise.
9369 (yn_test_data): Likewise.
9370
9371 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9372 function contents.
9373
9374 * math/libm-test.inc (struct test_ff_i_data): New type.
9375 (RUN_TEST_LOOP_ff_i_tg): New macro.
9376 (isgreater_test_data): New variable.
9377 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9378 (isgreaterequal_test_data): New variable.
9379 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9380 (isless_test_data): New variable.
9381 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9382 (islessequal_test_data): New variable.
9383 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9384 (islessgreater_test_data): New variable.
9385 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9386 (isunordered_test_data): New variable.
9387 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9388
9389 2013-05-14 David S. Miller <davem@davemloft.net>
9390
9391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9392
9393 2013-05-14 Joseph Myers <joseph@codesourcery.com>
9394
9395 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9396
9397 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9398 extra_test to int.
9399 (struct test_f_i_data): Change type of max_ulp to int.
9400
9401 * math/libm-test.inc (test_ffI_f1_data): New type.
9402 (RUN_TEST_LOOP_ffI_f1): New macro.
9403 (remquo_test_data): New variable.
9404 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9405
9406 * setjmp/tst-setjmp-fp.c: New file.
9407 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9408 (link-libm): New variable.
9409 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9410
9411 * math/libm-test.inc (struct test_f_i_data): New type.
9412 (RUN_TEST_LOOP_f_i): New macro.
9413 (RUN_TEST_LOOP_f_i_tg): Likewise.
9414 (fpclassify_test_data): New variable.
9415 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9416 (ilogb_test_data): New variable.
9417 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9418
9419 * math/libm-test.inc (scalbln_test): Correct function name in END
9420 call.
9421
9422 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9423 (RUN_TEST_LOOP_fI_f1): New macro.
9424 (frexp_test_data): New variable.
9425 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9426
9427 * math/libm-test.inc (struct test_fF_f1_data): New type.
9428 (RUN_TEST_LOOP_fF_f1): New macro.
9429 (modf_test_data): New variable.
9430 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9431
9432 * math/libm-test.inc (struct test_f_f1_data): New type.
9433 (RUN_TEST_LOOP_f_f1): New macro.
9434 (gamma_test_data): New variable.
9435 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9436 (lgamma_test_data): New variable.
9437 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9438
9439 2013-05-13 Carlos O'Donell <carlos@redhat.com>
9440
9441 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9442 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9443 (main): Comment "tls" pseudo-hwcap.
9444
9445 2013-05-13 Joseph Myers <joseph@codesourcery.com>
9446
9447 * math/libm-test.inc (struct test_fl_f_data): New type.
9448 (RUN_TEST_LOOP_fl_f): New variable.
9449 (scalbln_test_data): New variable.
9450 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9451
9452 * math/libm-test.inc (struct test_fi_f_data): New type.
9453 (RUN_TEST_LOOP_fi_f): New macro.
9454 (ldexp_test_data): New variable.
9455 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9456 (scalbn_test_data): New variable.
9457 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9458
9459 * math/libm-test.inc (struct test_c_f_data): New type.
9460 (RUN_TEST_LOOP_c_f): New macro.
9461 (cabs_test_data): New variable.
9462 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9463 (carg_test_data): New variable.
9464 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9465 (cimag_test_data): New variable.
9466 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9467 (creal_test_data): New variable.
9468 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9469
9470 * math/libm-test.inc (struct test_if_f_data): New type.
9471 (RUN_TEST_LOOP_if_f): New macro.
9472 (jn_test_data): New variable.
9473 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9474 (yn_test_data): New variable.
9475 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9476
9477 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9478
9479 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9480
9481 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9482 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9483
9484 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9485
9486 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9487 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9488 (bench-deps): Add bench-timing.h.
9489 * benchtests-bench-skeleton.c: Include bench-timing.h.
9490 (main): Use TIMING_* macros instead of clock_gettime.
9491 * benchtests/bench-timing.h: New file.
9492
9493 [BZ #14582]
9494 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9495 Renamed from _LIB_VERSION.
9496 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9497
9498 2013-05-12 Joseph Myers <joseph@codesourcery.com>
9499
9500 * math/libm-test.inc (struct test_fff_f_data): New type.
9501 (RUN_TEST_LOOP_fff_f): New macro.
9502 (fma_test_data): New variable.
9503 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9504 (fma_towardzero_test_data): New variable.
9505 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9506 (fma_downward_test_data): New variable.
9507 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9508 (fma_upward_test_data): New variable.
9509 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9510
9511 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9512 (struct test_c_c_data): New type.
9513 (RUN_TEST_LOOP_c_c): New macro.
9514 (cacos_test_data): New variable.
9515 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9516 (cacosh_test_data): New variable.
9517 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9518 (casin_test_data): New variable.
9519 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9520 (casinh_test_data): New variable.
9521 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9522 (catan_test_data): New variable.
9523 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9524 (catanh_test_data): New variable.
9525 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9526 (ccos_test_data): New variable.
9527 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9528 (ccosh_test_data): New variable.
9529 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9530 (cexp_test_data): New variable.
9531 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9532 (clog_test_data): New variable.
9533 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9534 (clog10_test_data): New variable.
9535 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9536 (conj_test_data): New variable.
9537 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9538 (cproj_test_data): New variable.
9539 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9540 (csin_test_data): New variable.
9541 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9542 (csinh_test_data): New variable.
9543 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9544 (csqrt_test_data): New variable.
9545 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9546 (ctan_test_data): New variable.
9547 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9548 (ctan_tonearest_test_data): New variable.
9549 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9550 (ctan_towardzero_test_data): New variable.
9551 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9552 (ctan_downward_test_data): New variable.
9553 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9554 (ctan_upward_test_data): New variable.
9555 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9556 (ctanh_test_data): New variable.
9557 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9558 (ctanh_tonearest_test_data): New variable.
9559 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9560 (ctanh_towardzero_test_data): New variable.
9561 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9562 (ctanh_downward_test_data): New variable.
9563 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9564 (ctanh_upward_test_data): New variable.
9565 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9566 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9567 of BUILD_COMPLEX.
9568
9569 * math/libm-test.inc (struct test_ff_f_data): New type.
9570 (struct test_ff_f_data_nexttoward): Likewise.
9571 (RUN_TEST_LOOP_2_f): New macro.
9572 (RUN_TEST_LOOP_ff_f): Likewise.
9573 (atan2_test_data): New variable.
9574 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9575 (copysign_test_data): New variable.
9576 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9577 (fdim_test_data): New variable.
9578 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9579 (fmax_test_data): New variable.
9580 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9581 (fmin_test_data): New variable.
9582 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9583 (fmod_test_data): New variable.
9584 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9585 (hypot_test_data): New variable.
9586 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9587 (nextafter_test_data): New variable.
9588 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9589 (nexttoward_test_data): New variable.
9590 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9591 (pow_test_data): New variable.
9592 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9593 (pow_tonearest_test_data): New variable.
9594 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9595 (pow_towardzero_test_data): New variable.
9596 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9597 (pow_downward_test_data): New variable.
9598 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9599 (pow_upward_test_data): New variable.
9600 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9601 (remainder_test_data): New variable.
9602 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9603 (scalb_test_data): New variable.
9604 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9605 * sysdeps/i386/fpu/libm-test-ulps: Update.
9606
9607 2013-05-11 Joseph Myers <joseph@codesourcery.com>
9608
9609 * math/libm-test.inc (fma_test): Use max_value instead of local
9610 variable fltmax.
9611 (nextafter_test): Likewise.
9612
9613 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9614 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9615 (acos_downward_test_data): New variable.
9616 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9617 (acos_upward_test_data): New variable.
9618 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9619 (acosh_test_data): New variable.
9620 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9621 (asin_test_data): New variable.
9622 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9623 (asin_tonearest_test_data): New variable.
9624 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9625 (asin_towardzero_test_data): New variable.
9626 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9627 (asin_downward_test_data): New variable.
9628 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9629 (asin_upward_test_data): New variable.
9630 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9631 (asinh_test_data): New variable.
9632 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9633 (atan_test_data): New variable.
9634 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9635 (atanh_test_data): New variable.
9636 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9637 (cbrt_test_data): New variable.
9638 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9639 (ceil_test_data): New variable.
9640 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9641 (cos_test_data): New variable.
9642 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9643 (cos_tonearest_test_data): New variable.
9644 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9645 (cos_towardzero_test_data): New variable.
9646 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9647 (cos_downward_test_data): New variable.
9648 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9649 (cos_upward_test_data): New variable.
9650 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9651 (cosh_test_data): New variable.
9652 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9653 (cosh_tonearest_test_data): New variable.
9654 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9655 (cosh_towardzero_test_data): New variable.
9656 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9657 (cosh_downward_test_data): New variable.
9658 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9659 (cosh_upward_test_data): New variable.
9660 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9661 (erf_test_data): New variable.
9662 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9663 (erfc_test_data): New variable.
9664 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9665 (exp_test_data): New variable.
9666 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9667 (exp_tonearest_test_data): New variable.
9668 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9669 (exp_towardzero_test_data): New variable.
9670 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9671 (exp_downward_test_data): New variable.
9672 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9673 (exp_upward_test_data): New variable.
9674 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9675 (exp10_test_data): New variable.
9676 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9677 (exp2_test_data): New variable.
9678 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9679 (expm1_test_data): New variable.
9680 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9681 (fabs_test_data): New variable.
9682 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9683 (floor_test_data): New variable.
9684 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9685 (j0_test_data): New variable.
9686 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9687 (j1_test_data): New variable.
9688 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9689 (log_test_data): New variable.
9690 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9691 (log10_test_data): New variable.
9692 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9693 (log1p_test_data): New variable.
9694 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9695 (log2_test_data): New variable.
9696 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9697 (logb_test_data): New variable.
9698 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9699 (logb_downward_test_data): New variable.
9700 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9701 (nearbyint_test_data): New variable.
9702 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9703 (rint_test_data): New variable.
9704 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9705 (rint_tonearest_test_data): New variable.
9706 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9707 (rint_towardzero_test_data): New variable.
9708 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9709 (rint_downward_test_data): New variable.
9710 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9711 (rint_upward_test_data): New variable.
9712 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9713 (round_test_data): New variable.
9714 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9715 (sin_test_data): New variable.
9716 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9717 (sin_tonearest_test_data): New variable.
9718 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9719 (sin_towardzero_test_data): New variable.
9720 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9721 (sin_downward_test_data): New variable.
9722 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9723 (sin_upward_test_data): New variable.
9724 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9725 (sinh_test_data): New variable.
9726 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9727 (sinh_tonearest_test_data): New variable.
9728 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9729 (sinh_towardzero_test_data): New variable.
9730 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9731 (sinh_downward_test_data): New variable.
9732 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9733 (sinh_upward_test_data): New variable.
9734 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9735 (sqrt_test_data): New variable.
9736 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9737 (tan_test_data): New variable.
9738 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9739 (tan_tonearest_test_data): New variable.
9740 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9741 (tan_towardzero_test_data): New variable.
9742 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9743 (tan_downward_test_data): New variable.
9744 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9745 (tan_upward_test_data): New variable.
9746 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9747 (tanh_test_data): New variable.
9748 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9749 (tgamma_test_data): New variable.
9750 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9751 (trunc_test_data): New variable.
9752 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9753 (y0_test_data): New variable.
9754 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9755 (y1_test_data): New variable.
9756 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9757 (significand_test_data): New variable.
9758 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9759
9760 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
9761
9762 [BZ #12387]
9763 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9764
9765 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
9766
9767 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9768
9769 2013-05-10 Andreas Jaeger <aj@suse.de>
9770
9771 [BZ #15448]
9772 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9773 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9774
9775 2013-05-10 Joseph Myers <joseph@codesourcery.com>
9776
9777 * math/gen-libm-test.pl (adjust_arg): New function.
9778 (special_functions): Handle generating output in both functions
9779 and arrays.
9780 (parse_args): Likewise.
9781 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
9782 $in_func argument to parse_args.
9783 * math/libm-test.inc (struct test_f_f_data): New type.
9784 (IF_ROUND_INIT_): New macro.
9785 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9786 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9787 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9788 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9789 (ROUND_RESTORE_): Likewise.
9790 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9791 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9792 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9793 (ROUND_RESTORE_FE_UPWARD): Likewise.
9794 (RUN_TEST_LOOP_f_f): New macro.
9795 (acos_test_data): New variable.
9796 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
9797 (acos_tonearest_test_data): New variable.
9798 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9799
9800 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9801
9802 * benchtests/bench-skeleton.c (startup): Fix coding style.
9803
9804 2013-05-10 Joseph Myers <joseph@codesourcery.com>
9805
9806 [BZ #6809]
9807 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
9808 negative infinity argument.
9809 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
9810 negative infinity argument.
9811 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
9812 negative infinity argument.
9813 * math/libm-test.inc (tgamma_test): Expect errno to be set for
9814 domain errors.
9815
9816 2013-05-10 Florian Weimer <fweimer@redhat.com>
9817
9818 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
9819 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
9820 * iconv/iconv_prog.c (main): Likewise.
9821 * locale/programs/charmap-dir.c (charmap_readdir)
9822 (fopen_uncompressed): Likewise.
9823 * locale/programs/locfile.c (siblings_uncached)
9824 (write_locale_data): Use lstat64 instead of lstat.
9825 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
9826 stat.
9827
9828 2013-05-10 Andreas Jaeger <aj@suse.de>
9829
9830 [BZ #15395]
9831 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
9832 localization.
9833 Include <locale.h>.
9834
9835 2013-05-09 Carlos O'Donell <carlos@redhat.com>
9836
9837 * elf/dl-close.c (_dl_close_worker): Add comments.
9838
9839 2013-05-09 Joseph Myers <joseph@codesourcery.com>
9840
9841 [BZ #15359]
9842 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
9843 high part of pi/2.
9844 (__ieee754_rem_pio2l): Update comments.
9845
9846 [BZ #15429]
9847 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
9848 high part of pi/2.
9849 (__ieee754_rem_pio2l): Update comments.
9850
9851 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
9852 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
9853
9854 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
9855 M_PI_4l.
9856
9857 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
9858 (M_PI_34_LOG10El): Likewise.
9859 (M_PI2_LOG10El): Likewise.
9860 (M_PI4_LOG10El): Likewise.
9861 (M_PI_LOG10El): Likewise.
9862
9863 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9864
9865 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9866
9867 2013-05-08 Joseph Myers <joseph@codesourcery.com>
9868
9869 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
9870 (MINUS_ZERO_INIT): Likewise.
9871 (PLUS_INFTY_INIT): Likewise.
9872 (MINUS_INFTY_INIT): Likewise.
9873 (QNAN_VALUE_INIT): Likewise.
9874 (MAX_VALUE_INIT): Likewise.
9875 (MIN_VALUE_INIT): Likewise.
9876 (MIN_SUBNORM_VALUE_INIT): Likewise.
9877 (plus_zero): Initialize with PLUS_ZERO_INIT.
9878 (minus_zero): Initialize with MINUS_ZERO_INIT.
9879 (plus_infty): Initialize with PLUS_INFTY_INIT.
9880 (minus_infty): Initialize with MINUS_INFTY_INIT.
9881 (qnan_value): Initialize with QNAN_VALUE_INIT.
9882 (max_value): Initialize with MAX_VALUE_INIT.
9883 (min_value): Initialize with MIN_VALUE_INIT.
9884 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
9885
9886 * math/libm-test.inc (RUN_TEST_if_f): New macro.
9887 (jn_test): Use TEST_if_f instead of TEST_ff_f.
9888 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
9889 (yn_test): Use TEST_if_f instead of TEST_ff_f.
9890
9891 * math/libm-test.inc (RUN_TEST_f_f): New macro.
9892 (RUN_TEST_2_f): Likewise.
9893 (RUN_TEST_ff_f): Likewise.
9894 (RUN_TEST_fi_f): Likewise.
9895 (RUN_TEST_fl_f): Likewise.
9896 (RUN_TEST_fff_f): Likewise.
9897 (RUN_TEST_c_f): Likewise.
9898 (RUN_TEST_f_f1): Likewise.
9899 (RUN_TEST_fF_f1): Likewise.
9900 (RUN_TEST_fI_f1): Likewise.
9901 (RUN_TEST_ffI_f1): Likewise.
9902 (RUN_TEST_c_c): Likewise.
9903 (RUN_TEST_cc_c): Likewise.
9904 (RUN_TEST_f_i): Likewise.
9905 (RUN_TEST_f_i_tg): Likewise.
9906 (RUN_TEST_ff_i_tg): Likewise.
9907 (RUN_TEST_f_b): Likewise.
9908 (RUN_TEST_f_b_tg): Likewise.
9909 (RUN_TEST_f_l): Likewise.
9910 (RUN_TEST_f_L): Likewise.
9911 (RUN_TEST_sincos): Likewise.
9912 * math/gen-libm-test.pl (new_test): Take new argument to indicate
9913 whether to show exceptions. Do not include ");\n" in return
9914 value.
9915 (special_functions): Output call to RUN_TEST_sincos instead of
9916 check_float calls. Update calls to new_test.
9917 (parse_args): Output call to single RUN_TEST_* macro instead of
9918 check_* calls and other assignments. Update calls to new_test.
9919
9920 [BZ #2546]
9921 [BZ #2560]
9922 [BZ #5159]
9923 [BZ #15426]
9924 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
9925 input to result for tgamma overflow.
9926 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
9927 (gamma_coeff): New variable.
9928 (NCOEFF): New macro.
9929 (gamma_positive): New function.
9930 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
9931 underflow here. Use gamma_positive instead of exp (lgamma) for
9932 other arguments.
9933 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
9934 (gamma_coeff): New variable.
9935 (NCOEFF): New macro.
9936 (gammaf_positive): New function.
9937 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
9938 underflow here. Use gamma_positive instead of exp (lgamma) for
9939 other arguments.
9940 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
9941 (gamma_coeff): New variable.
9942 (NCOEFF): New macro.
9943 (gammal_positive): New function.
9944 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
9945 underflow here. Use gamma_positive instead of exp (lgamma) for
9946 other arguments.
9947 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
9948 (gamma_coeff): New variable.
9949 (NCOEFF): New macro.
9950 (gammal_positive): New function.
9951 (__ieee754_gammal_r): Handle positive infinity, overflow and
9952 underflow here. Handle NaN the same as positive infinity. Remove
9953 check x < 0xffffffff for negative integers. Use gamma_positive
9954 instead of exp (lgamma) for other arguments.
9955 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
9956 (gamma_coeff): New variable.
9957 (NCOEFF): New macro.
9958 (gammal_positive): New function.
9959 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
9960 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
9961 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9962 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
9963 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
9964 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9965 * sysdeps/generic/math_private.h (__gamma_productf): New
9966 prototype.
9967 (__gamma_product): Likewise.
9968 (__gamma_productl): Likewise.
9969 * math/Makefile (libm-calls): Add gamma_product.
9970 * math/libm-test.inc (tgamma_test): Add more tests.
9971 * sysdeps/i386/fpu/libm-test-ulps: Update.
9972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9973
9974 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
9975
9976 * benchtests/bench-skeleton.c (main): Preheat CPU.
9977
9978 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
9979
9980 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
9981
9982 2013-05-07 Roland McGrath <roland@hack.frob.com>
9983
9984 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
9985 and _dl_skip_args_internal.
9986
9987 2013-05-07 Carlos O'Donell <carlos@redhat.com>
9988
9989 * manual/message.texi (Message Translation): Talk about users.
9990 Message to key mapping impacts design.
9991
9992 2013-05-06 Roland McGrath <roland@hack.frob.com>
9993
9994 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
9995
9996 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
9997
9998 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
9999 * sysdeps/wordsize-64/glob64.c: ... here.
10000
10001 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10002 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10003 New macros.
10004
10005 * debug/getlogin_r_chk.c: Moved to ...
10006 * login/getlogin_r_chk.c: ... here.
10007 * debug/Makefile (routines): Move getlogin_r_chk to ...
10008 * login/Makefile (routines): ... here.
10009 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10010 * login/Versions (libc: GLIBC_2.4): ... here.
10011
10012 * io/poll.c (__poll): Renamed from poll.
10013 Add libc_hidden_def.
10014 (poll): Define as weak alias.
10015
10016 * debug/ptsname_r_chk.c: Moved to ...
10017 * login/ptsname_r_chk.c: ... here.
10018 * debug/Makefile (routines): Move ptsname_r_chk to ...
10019 * login/Makefile (routines): ... here.
10020 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10021 * login/Versions (libc: GLIBC_2.4): ... here.
10022
10023 * posix/getlogin.c: Moved to ...
10024 * login/getlogin.c: ... here.
10025 * posix/getlogin_r.c: Moved to ...
10026 * login/getlogin_r.c: ... here.
10027 * posix/getlogin_r.c: Moved to ...
10028 * login/getlogin_r.c: ... here.
10029 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10030 * login/Makefile (routines): ... here.
10031 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10032 * login/Versions (libc: GLIBC_2.0): ... here.
10033
10034 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10035 (setrlimit): Define as weak alias.
10036
10037 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10038 Call __ names for open, ftruncate, and close.
10039 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10040 (truncate): Define as weak alias.
10041
10042 2013-05-06 Joseph Myers <joseph@codesourcery.com>
10043
10044 * math/gen-libm-test.pl (parse_args): Initialize x before each
10045 test of frexp, modf and remquo.
10046
10047 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10048 test signgam value.
10049
10050 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10051
10052 [BZ #15418]
10053 [BZ #15419]
10054 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10055 internal tests.
10056 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10057
10058 2013-05-06 Roland McGrath <roland@hack.frob.com>
10059
10060 * elf/dl-writev.h: New file.
10061 * elf/dl-misc.c: Include it.
10062 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10063 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10064
10065 2013-05-04 Joseph Myers <joseph@codesourcery.com>
10066
10067 * math/libm-test.inc (noXFails): Remove variable.
10068 (noXPasses): Likewise.
10069 (BUILD_COMPLEX_INT): Remove macro.
10070 (print_screen): Remove xfail argument.
10071 (print_screen_max_error): Likewise.
10072 (update_stats): Likewise.
10073 (print_max_error): Likewise. Update calls to other affected
10074 functions.
10075 (print_complex_max_error): Likewise.
10076 (test_single_exception): Update calls to print_screen.
10077 (test_single_errno): Likewise.
10078 (check_float_internal): Remove xfail argument. Update calls to
10079 other affected functions.
10080 (check_float): Likewise.
10081 (check_complex): Likewise.
10082 (check_int): Likewise.
10083 (check_long): Likewise.
10084 (check_bool): Likewise.
10085 (check_longlong): Likewise.
10086 (main): Don't print noXFails and noXPasses.
10087 * math/gen-libm-test.pl (top level): Don't mention expected
10088 failure handling in comment.
10089 (new_test): Don't handle expected failures.
10090 (parse_args): Don't mention expected failure handling in comment.
10091 (generate_testfile): Don't handle expected failures.
10092 (parse_ulps): Likewise.
10093 (print_ulps_file): Likewise.
10094 (get_failure): Remove function.
10095 (output_test): Don't handle expected failures.
10096 * make/README.libm-test: Don't mention expected failure handling.
10097
10098 * math/libm-test.inc (plus_zero): Make const. Add initializer.
10099 (minus_zero): Likewise.
10100 (plus_infty): Likewise.
10101 (minus_infty): Likewise.
10102 (qnan_value): Likewise.
10103 (max_value): Likewise.
10104 (min_value): Likewise.
10105 (min_subnorm_value): Likewise.
10106 (initialize): Do not initialize those variables dynamically.
10107
10108 2013-05-03 Roland McGrath <roland@hack.frob.com>
10109
10110 * io/open.c (__open_2): Moved to ...
10111 * io/open_2.c: ... this new file.
10112 * io/open64.c (__open64_2): Moved to ...
10113 * io/open64_2.c: ... this new file.
10114 * io/openat.c (__openat_2): Moved to ...
10115 * io/openat_2.c: ... this new file.
10116 * io/openat64.c (__openat64_2): Moved to ...
10117 * io/openat64_2.c: ... this new file.
10118 * io/Makefile (routines): Add them.
10119 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10120 * sysdeps/unix/sysv/linux/open_2.c: File removed.
10121 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10122 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10123 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10124 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10125 (__openat64): Add hidden_ver.
10126 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10127 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10128
10129 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10130 Separately conditionalize setting of GLRO(dl_sysinfo) so
10131 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10132 as well, but the actual setting is only under [NEED_DL_SYSINFO].
10133
10134 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10135
10136 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10137 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10138 definition.
10139 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10140 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10141 (_libc_vdso_platform_setup): Add __vdso_time initialization.
10142 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10143 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10144
10145 2013-05-03 Joseph Myers <joseph@codesourcery.com>
10146
10147 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10148 test signgam value.
10149
10150 * math/libm-test.inc (hypot_test): Do not use
10151 IGNORE_ZERO_INF_SIGN.
10152
10153 2013-05-03 Andreas Jaeger <aj@suse.de>
10154
10155 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10156 Linux 3.9.
10157 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10158 (PF_MAX): Adjust for VSOCK change.
10159
10160 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10161
10162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10163
10164 2013-05-02 Carlos O'Donell <carlos@redhat.com>
10165
10166 [BZ #15264]
10167 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10168 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10169 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10170
10171 2013-05-02 David S. Miller <davem@davemloft.net>
10172
10173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10174
10175 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
10176
10177 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10178
10179 2013-05-01 Roland McGrath <roland@hack.frob.com>
10180
10181 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10182
10183 2013-05-01 Richard Smith <richard@metafoo.co.uk>
10184
10185 [BZ #14952]
10186 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10187 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10188 Use __attribute__ ((__gnu_inline__)).
10189 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10190 Don't use __attribute__ ((__gnu_inline__)).
10191
10192 2013-05-01 Joseph Myers <joseph@codesourcery.com>
10193
10194 [BZ #15423]
10195 * math/s_catan.c (__catan): Handle small real or imaginary part of
10196 input specially to avoid spurious underflow.
10197 * math/s_catanf.c (__catanf): Likewise.
10198 * math/s_catanh.c (__catanh): Likewise.
10199 * math/s_catanhf.c (__catanhf): Likewise.
10200 * math/s_catanhl.c (__catanhl): Likewise.
10201 * math/s_catanl.c (__catanl): Likewise.
10202 * math/libm-test.inc (catan_test): Add more tests.
10203 (catanh_test): Likewise.
10204 * sysdeps/i386/fpu/libm-test-ulps: Update.
10205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10206
10207 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10208
10209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10210
10211 2013-04-30 Joseph Myers <joseph@codesourcery.com>
10212
10213 [BZ #15416]
10214 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10215 accurately for denominator in atan2.
10216 * math/s_catanf.c (__catanf): Likewise.
10217 * math/s_catanh.c (__catanh): Likewise.
10218 * math/s_catanhf.c (__catanhf): Likewise.
10219 * math/s_catanhl.c (__catanhl): Likewise.
10220 * math/s_catanl.c (__catanl): Likewise.
10221 * math/libm-test.inc (catan_test): Add more tests.
10222 (catanh_test): Likewise.
10223 * sysdeps/i386/fpu/libm-test-ulps: Update.
10224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10225
10226 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10227
10228 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10229
10230 * benchtests/Makefile (bench): Remove slow benchmarks.
10231 * benchtests/atan-inputs: Add slow benchmark inputs.
10232 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10233 (BENCH_FUNC): Accept variant offset.
10234 (VARIANT): Define.
10235 * benchtests/bench-skeleton.c (main): Run benchmark for each
10236 variant.
10237 * benchtests/cos-inputs: Add slow benchmark inputs.
10238 * benchtests/exp-inputs: Likewise.
10239 * benchtests/pow-inputs: Likewise.
10240 * benchtests/sin-inputs: Likewise.
10241 * benchtests/slowatan-inputs: Remove.
10242 * benchtests/slowatan.c: Remove.
10243 * benchtests/slowcos-inputs: Remove.
10244 * benchtests/slowcos.c: Remove.
10245 * benchtests/slowexp-inputs: Remove.
10246 * benchtests/slowexp.c: Remove.
10247 * benchtests/slowpow-inputs: Remove.
10248 * benchtests/slowpow.c: Remove.
10249 * benchtests/slowsin-inputs: Remove.
10250 * benchtests/slowsin.c: Remove.
10251 * benchtests/slowtan-inputs: Remove.
10252 * benchtests/slowtan.c: Remove.
10253 * benchtests/tan-inputs: Add slow benchmark inputs.
10254 * scripts/bench.pl: Parse comments and directives.
10255
10256 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10257 in CPPFLAGS.
10258 ($(objpfx)bench-%.c): Remove *-ITER.
10259 * benchtests/bench-modf.c: Remove definition of ITER.
10260 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10261 (main): Loop for DURATION seconds instead of fixed number of
10262 iterations.
10263 * scripts/bench.pl: Don't expect iterations in parameters.
10264
10265 2013-04-29 Roland McGrath <roland@hack.frob.com>
10266
10267 * io/fchdir.c (__fchdir): Renamed from fchdir.
10268 (fchdir): Define as weak alias.
10269
10270 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10271
10272 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10273 (ERRNO_EDOM): Likewise.
10274 (ERRNO_ERANGE): Likewise.
10275 (noErrnoTests): New variable.
10276 (init_max_error): Set errno to 0.
10277 (test_single_errno): New function.
10278 (test_errno): Likewise.
10279 (check_float_internal): Call test_errno. Set errno to 0.
10280 (check_complex): Refer to errno tests in comment.
10281 (check_int): Call test_errno. Set errno to 0.
10282 (check_long): Likewise.
10283 (check_bool): Likewise.
10284 (check_longlong): Likewise.
10285 (cos_test): Use ERRNO_* flags for errno tests instead of
10286 check_int.
10287 (expm1_test): Likewise.
10288 (fmod_test): Likewise.
10289 (ilogb_test): Likewise.
10290 (lgamma_test): Likewise.
10291 (pow_test): Likewise.
10292 (remainder_test): Likewise.
10293 (sin_test): Likewise.
10294 (tan_test): Likewise.
10295 (yn_test): Likewise.
10296 (initialize): Set errno to 0.
10297 (main): Print number of errno tests.
10298 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10299
10300 2013-04-29 Andreas Jaeger <aj@suse.de>
10301
10302 [BZ #15084]
10303 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10304 and RES_USEVC.
10305
10306 [BZ #15085]
10307 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10308 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10309 unimplemented.
10310
10311 [BZ #15380]
10312 * stdlib/random.c (__initstate): Return NULL if
10313 __initstate fails.
10314
10315 [BZ #15086]
10316 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10317 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10318 RES_SNGLKUPREOP.
10319
10320 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10321
10322 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10323
10324 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10325
10326 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10327 of individual tests.
10328 (casin_test): Likewise.
10329 (casinh_test): Likewise.
10330
10331 2013-04-27 Joseph Myers <joseph@codesourcery.com>
10332
10333 [BZ #15409]
10334 * math/s_catan.c (__catan): Handle arguments with large real or
10335 imaginary part separately without squaring.
10336 * math/s_catanf.c (__catanf): Likewise.
10337 * math/s_catanh.c (__catanh): Likewise.
10338 * math/s_catanhf.c (__catanhf): Likewise.
10339 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10340 and redefine.
10341 (__catanhl): Handle arguments with large real or imaginary part
10342 separately without squaring.
10343 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10344 and redefine.
10345 (__catanl): Handle arguments with large real or imaginary part
10346 separately without squaring.
10347 * math/libm-test.inc (catan_test): Add more tests.
10348 (catanh_test): Likewise.
10349 * sysdeps/i386/fpu/libm-test-ulps: Update.
10350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10351
10352 2013-04-27 Andreas Jaeger <aj@suse.de>
10353
10354 [BZ #15007]
10355 * stdlib/stdlib.h: Update guards for qecvt.
10356 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10357 <stdlib.h>.
10358
10359 2013-04-27 Allan McRae <allan@archlinux.org>
10360
10361 * sysdeps/i386/fpu/libm-test-ulps: Update.
10362
10363 2013-04-26 Joseph Myers <joseph@codesourcery.com>
10364
10365 [BZ #15406]
10366 * math/s_catan.c: Include <float.h>.
10367 (__catan): Ensure underflow exception occurs for underflowed
10368 result.
10369 * math/s_catanf.c: Include <float.h>.
10370 (__catanf): Ensure underflow exception occurs for underflowed
10371 result.
10372 * math/s_catanh.c: Include <float.h>.
10373 (__catanh): Ensure underflow exception occurs for underflowed
10374 result.
10375 * math/s_catanhf.c: Include <float.h>.
10376 (__catanhf): Ensure underflow exception occurs for underflowed
10377 result.
10378 * math/s_catanhl.c: Include <float.h>.
10379 (__catanhl): Ensure underflow exception occurs for underflowed
10380 result.
10381 * math/s_catanl.c: Include <float.h>.
10382 (__catanl): Ensure underflow exception occurs for underflowed
10383 result.
10384 * math/libm-test.inc (catan_test): Add more tests.
10385 (catanh_test): Likewise.
10386
10387 [BZ #15405]
10388 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10389 underflowed result.
10390 * math/s_ccoshf.c (__ccoshf): Likewise.
10391 * math/s_ccoshl.c (__ccoshl): Likewise.
10392 * math/s_csin.c (__csin): Likewise.
10393 * math/s_csinf.c (__csinf): Likewise.
10394 * math/s_csinh.c (__csinh): Likewise.
10395 * math/s_csinhf.c (__csinhf): Likewise.
10396 * math/s_csinhl.c (__csinhl): Likewise.
10397 * math/s_csinl.c (__csinl): Likewise.
10398 * math/libm-test.inc (ccos_test): Add more tests.
10399 (ccosh_test): Likewise.
10400 (csin_test): Likewise.
10401 (csinh_test): Likewise.
10402
10403 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10404
10405 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10406 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10407 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10408 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10409 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10410 powerpc/power5+/fpu folders.
10411 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10412
10413
10414 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10415
10416 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10417
10418 2013-04-25 Joseph Myers <joseph@codesourcery.com>
10419
10420 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10421 additions to variable.
10422 [$(config-machine) = x86_64] (modules-names): Likewise.
10423 ($(objpfx)tst-audit3): Remove dependency.
10424 ($(objpfx)tst-audit3.out): Likewise.
10425 ($(objpfx)tst-audit4): Likewise.
10426 ($(objpfx)tst-audit4.out): Likewise.
10427 ($(objpfx)tst-audit5): Likewise.
10428 ($(objpfx)tst-audit5.out): Likewise.
10429 ($(objpfx)tst-audit6): Likewise.
10430 ($(objpfx)tst-audit6.out): Likewise.
10431 ($(objpfx)tst-audit7): Likewise.
10432 ($(objpfx)tst-audit7.out): Likewise.
10433 (tst-audit3-ENV): Remove variable.
10434 (tst-audit4-ENV): Likewise.
10435 (tst-audit5-ENV): Likewise.
10436 (tst-audit6-ENV): Likewise.
10437 (tst-audit7-ENV): Likewise.
10438 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10439 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10440 addition to variable.
10441 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10442 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10443 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10444 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10445 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10446 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10447 tst-audit3, tst-audit4 and tst-audit5.
10448 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10449 tst-audit6 and tst-audit7.
10450 [$(subdir) = elf] (modules-names): Add audit modules for those
10451 tests.
10452 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10453 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10454 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10455 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10456 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10457 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10458 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10459 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10460 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10461 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10462 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10463 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10464 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10465 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10466 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10467 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10468 Likewise.
10469 [$(subdir) = elf && $(config-cflags-avx) = yes]
10470 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10471 [$(subdir) = elf && $(config-cflags-avx) = yes]
10472 (CFLAGS-tst-auditmod4a.c): Likewise.
10473 [$(subdir) = elf && $(config-cflags-avx) = yes]
10474 (CFLAGS-tst-auditmod4b.c): Likewise.
10475 [$(subdir) = elf && $(config-cflags-avx) = yes]
10476 (CFLAGS-tst-auditmod6b.c): Likewise.
10477 [$(subdir) = elf && $(config-cflags-avx) = yes]
10478 (CFLAGS-tst-auditmod6c.c): Likewise.
10479 [$(subdir) = elf && $(config-cflags-avx) = yes]
10480 (CFLAGS-tst-auditmod7b.c): Likewise.
10481 * elf/tst-audit3.c: Move to ...
10482 * sysdeps/x86_64/tst-audit3.c: ... here.
10483 * elf/tst-audit4.c: Move to ...
10484 * sysdeps/x86_64/tst-audit4.c: ... here.
10485 * elf/tst-audit5.c: Move to ...
10486 * sysdeps/x86_64/tst-audit5.c: ... here.
10487 * elf/tst-audit6.c: Move to ...
10488 * sysdeps/x86_64/tst-audit6.c: ... here.
10489 * elf/tst-audit7.c: Move to ...
10490 * sysdeps/x86_64/tst-audit7.c: ... here.
10491 * elf/tst-auditmod3a.c: Move to ...
10492 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10493 * elf/tst-auditmod3b.c: Move to ...
10494 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10495 * elf/tst-auditmod4a.c: Move to ...
10496 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10497 * elf/tst-auditmod4b.c: Move to ...
10498 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10499 * elf/tst-auditmod5a.c: Move to ...
10500 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10501 * elf/tst-auditmod5b.c: Move to ...
10502 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10503 * elf/tst-auditmod6a.c: Move to ...
10504 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10505 * elf/tst-auditmod6b.c: Move to ...
10506 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10507 * elf/tst-auditmod6c.c: Move to ...
10508 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10509 * elf/tst-auditmod7a.c: Move to ...
10510 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10511 * elf/tst-auditmod7b.c: Move to ...
10512 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10513
10514 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10515
10516 [BZ #15366]
10517 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10518 define unconditionally.
10519 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10520 define unconditionally.
10521 (INT8_C, INT16_C, etc.): Likewise.
10522
10523 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10524
10525 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10526 __ehdr_start with hidden visibility.
10527
10528 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10529
10530 2013-04-24 Carlos O'Donell <carlos@redhat.com>
10531
10532 * math/libm-test.inc (cos_test): Use accurate hex constants.
10533 (sincost_test): Likewise.
10534
10535 2013-04-24 Joseph Myers <joseph@codesourcery.com>
10536
10537 * math/libm-test.inc (catan_test): Add more tests.
10538 (catanh_test): Likewise.
10539
10540 * math/s_catanf.c (__catanf): Use suffixed floating-point
10541 constants.
10542 * math/s_catanhf.c (__catanhf): Likewise.
10543 * math/s_catanhl.c (__catanhl): Likewise.
10544 * math/s_catanl.c (__catanl): Likewise.
10545
10546 [BZ #15394]
10547 * math/s_catan.c (__catan): Calculate imaginary part of result
10548 with log1p not log unless computing log of number close to 0.
10549 * math/s_catanf.c (__catanf): Likewise.
10550 * math/s_catanl.c (__catanl): Likewise.
10551 * math/s_catanh.c (__catanh): Calculate real part of result with
10552 log1p not log unless computing log of number close to 0.
10553 * math/s_catanhf.c (__catanhf): Likewise.
10554 * math/s_catanhl.c (__catanhl): Likewise.
10555 * math/libm-test.inc (catan_test): Add more tests.
10556 (catanh_test): Likewise.
10557 * sysdeps/i386/fpu/libm-test-ulps: Update.
10558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10559
10560 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10561
10562 * benchtests/Makefile: Mention files in which fast and slow
10563 paths of math functions are implemented.
10564
10565 2013-04-23 Roland McGrath <roland@hack.frob.com>
10566
10567 * sysdeps/posix/timespec_get.c: New file.
10568
10569 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10570
10571 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10572 POWER.
10573 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10574 for POWER.
10575 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10576 powerpc/power5/fpu folders.
10577 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10578 * benchtests/Makefile: Add modf testcase.
10579 * benchtests/bench-modf.c: New file: Benchmark test for mo
10580
10581 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10582
10583 [BZ #14888]
10584 * time/Makefile (tests): Add tst-strptime-whitespace.
10585 * time/strptime_l.c (get_number): Use ISSPACE.
10586 (__strptime_internal): Likewise.
10587 * time/tst-strptime-whitespace.c: New test case.
10588
10589 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10590
10591 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10592 member.
10593 (_nss_files_init): Set it here.
10594
10595 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10596
10597 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10598 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10599 unsigned.
10600
10601 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10602
10603 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10604
10605 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10606
10607 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10608 size just once.
10609
10610 2013-04-21 David S. Miller <davem@davemloft.net>
10611
10612 * po/ru.po: Update Russion translation from translation project.
10613
10614 2013-04-17 Adam Conrad <adconrad@0c3.net>
10615
10616 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10617 and setfsgid.
10618
10619 2013-04-17 Carlos O'Donell <carlos@redhat.com>
10620
10621 * configure.in: Remove i386 configure warning. Remove i386 case.
10622 * configure: Regenerate.
10623 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10624 Add example to error message.
10625 * sysdeps/i386/configure: Regenerate.
10626
10627 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10628
10629 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10630 slowtan.
10631 * benchtests/cos-inputs: New file.
10632 * benchtests/slowcos-inputs: New file.
10633 * benchtests/slowcos.c: New file.
10634 * benchtests/slowtan-inputs: New file.
10635 * benchtests/slowtan.c: New file.
10636 * benchtests/tan-inputs: New file.
10637
10638 2013-04-16 Roland McGrath <roland@hack.frob.com>
10639
10640 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10641 considered kosher.
10642
10643 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10644
10645 * benchtests/Makefile: Include cppflags-iterator.mk to add
10646 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10647
10648 * Makefile.in (bench-clean): New target.
10649 * benchtests/Makefile (bench-clean): Likewise.
10650
10651 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10652
10653 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10654
10655 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10656
10657 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10658
10659 2013-04-15 Andreas Schwab <schwab@suse.de>
10660
10661 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10662 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10663 * nscd/pwdcache.c (cache_addpw): Likewise.
10664 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10665 more than recsize.
10666
10667 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10668
10669 * benchtests/Makefile (bench): Write all output to
10670 bench-out.tmp together.
10671
10672 2013-04-15 Andreas Schwab <schwab@suse.de>
10673
10674 * nscd/nscd.c (main): Don't fork again after closing files.
10675
10676 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10677
10678 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10679
10680 * benchtests/Rules (bench-deps): Collect dependencies into a
10681 single variable. Add Makefile to dependencies.
10682 ($(objpfx)bench-%.c): Depend on bench-deps.
10683
10684 2013-04-12 Roland McGrath <roland@hack.frob.com>
10685 Xavier Roche <roche+kml2@exalead.com>
10686
10687 [BZ #15361]
10688 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10689 just that it's a file descriptor.
10690 * manual/llio.texi (Synchronizing AIO Operations): Update description
10691 for EBADF error from aio_fsync.
10692
10693 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10694
10695 * Rules (bench): Move target definition...
10696 * benchtests/Makefile: ... here.
10697
10698 2013-04-11 Carlos O'Donell <carlos@redhat.com>
10699
10700 * math/libm-test.inc (cos_test): Fix PI/2 test.
10701 (sincos_test): Likewise.
10702 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10703 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10704
10705 2013-04-11 Andreas Schwab <schwab@suse.de>
10706
10707 [BZ #13988]
10708 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10709 accept exponent character only when digits were seen.
10710 * stdio-common/Makefile (tests): Add bug26.
10711 * stdio-common/bug26.c: New file.
10712
10713 [BZ #14293]
10714 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10715 non-freeable.
10716
10717 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10718
10719 * Makeconfig (rtld-prefix): Define built linker prefix.
10720 * Rules (run-bench): Use it.
10721 * math/Makefile (run-regen-ulps): Likewise.
10722
10723 * Rules (bench): Remove eval.
10724
10725 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10726 Roland McGrath <roland@hack.frob.com>
10727 Ondrej Bilka <neleai@seznam.cz>
10728
10729 [BZ #15346]
10730 * time/getdate.c: Include ctype.h and alloca.h.
10731 (__getdate_r): Trim leading and trailing spaces of input.
10732 * time/tst-getdate.c (tests): Add tests with leading and
10733 trailing spaces.
10734
10735 2013-04-08 Roland McGrath <roland@hack.frob.com>
10736
10737 [BZ #14280]
10738 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10739 when computing value.
10740
10741 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10742
10743 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10744 Use testrun.sh to run libm tests.
10745
10746 [BZ #15309]
10747 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10748
10749 2013-04-06 Marko Myllynen <myllynen@redhat.com>
10750
10751 [BZ #15264]
10752 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10753
10754 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10755
10756 * Makefile.in (regen-ulps): New target.
10757 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10758 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10759 [ifneq (no,$(PERL)] (regen-ulps): New target.
10760 [ifeq (no,$(PERL)] (regen-ulps): New target.
10761 * math/libm-test.inc (ulps_file_name): Define.
10762 (output_dir): New variable.
10763 (options): Add "output-dir" option.
10764 (parse_opt): Handle 'o' case.
10765 (main): If output_dir is non-NULL use it as a prefix
10766 otherwise use "".
10767 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10768
10769 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10770
10771 [BZ #10060, #10062]
10772 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10773 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10774 fail configure if __sync_val_compare_and_swap is not inlined.
10775 * sysdeps/i386/configure: Regenerate.
10776 * configure.in: Build for i686 when configured for i386.
10777 * configure: Regenerate.
10778 * README: Remove i386 reference.
10779
10780 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10781
10782 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10783 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10784
10785 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
10786
10787 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10788 (lmsnanval): New variables.
10789 (F): Add conversion tests.
10790 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10791 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10792
10793 * stdio-common/tstdiomisc.c (F): Properly collect individual
10794 tests' results.
10795
10796 [BZ #14686, #15336]
10797 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
10798 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10799 Instead, use input NaN values or generate a qNaN by arithmetic
10800 operation. Also fix bugs to comply with the standard.
10801 * math/libm-test.inc (remainder_test): Add more tests.
10802
10803 [BZ #15335, #15342]
10804 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
10805 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
10806 input NaN values or generate a qNaN by arithmetic operation.
10807
10808 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
10809 unreachable code.
10810
10811 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
10812 definitions.
10813
10814 2013-04-03 Joseph Myers <joseph@codesourcery.com>
10815
10816 [BZ #14478]
10817 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
10818 underflowed result.
10819 * math/s_cexpf.c (__cexpf): Likewise.
10820 * math/s_cexpl.c (__cexpl): Likewise.
10821 * math/libm-test.inc (cexp_test): Add more tests.
10822
10823 2013-04-03 Andreas Schwab <schwab@suse.de>
10824
10825 [BZ #15330]
10826 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
10827 order arrays from heap if bigger than alloca cutoff.
10828
10829 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
10830
10831 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
10832 (SNAN_TESTS_double): Refer to GCC PR56831.
10833 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
10834 GCC PR56828.
10835
10836 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
10837
10838 * Rules (bench): Move bench.out after the run is complete.
10839
10840 * Rules (bench): Echo currently running benchmark.
10841
10842 * benchtests/Makefile (bench): Add atan and slowatan.
10843 * benchtests/atan-inputs: New file.
10844 * benchtests/slowatan-inputs: New file.
10845 * benchtests/slowatan.c: New file.
10846
10847 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
10848 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
10849 its value.
10850
10851 [BZ #15305]
10852 * sysdeps/unix/sysv/linux/kernel-features.h
10853 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
10854 __ASSUME_XFS_RESTRICTED_CHOWN.
10855 * sysdeps/unix/sysv/linux/pathconf.c
10856 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10857 Save and restore errno.
10858
10859 2013-04-02 Joseph Myers <joseph@codesourcery.com>
10860
10861 [BZ #15327]
10862 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
10863 arguments using __kernel_casinh.
10864 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
10865 arguments using __kernel_casinhf.
10866 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
10867 arguments using __kernel_casinhl.
10868 * math/libm-test.inc (cacosh_test): Add more tests.
10869 * sysdeps/i386/fpu/libm-test-ulps: Update.
10870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10871
10872 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10873
10874 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
10875 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
10876
10877 * bench/Makefile (bench): Add sin and slowsin.
10878 * benchtests/sin-inputs: New file.
10879 * benchtests/slowsin-inputs: New file.
10880 * benchtests/slowsin.c: New file.
10881
10882 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
10883 (bench): Add slowexp and slowpow.
10884 (exp-ITER): Increase iterations.
10885 (pow-ITER): Likewise.
10886 * benchtests/exp-inputs: Change input.
10887 * benchtests/pow-inputs: Likewise.
10888 * benchtests/slowexp-inputs: New file.
10889 * benchtests/slowexp.c: New file.
10890 * benchtests/slowpow-inputs: New file.
10891 * benchtests/slowpow.c: New file.
10892
10893 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10894
10895 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
10896 instructions.
10897 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10898 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
10899 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10900 * benchtests/Makefile: Add rint benchtest.
10901 * benchtests/rint-inputs: Input for rint benchtest.
10902
10903 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
10904
10905 * Versions.def (libm): Add GLIBC_2.18.
10906 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
10907 hidden libm prototypes.
10908 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
10909 * math/Makefile (libm-calls): Add s_issignaling.
10910 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
10911 __issignalingf, __issignalingl. Adjust all libm.abilist files.
10912 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
10913 declaration.
10914 * math/math.h [__USE_GNU] (issignaling): New macro.
10915 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
10916 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
10917 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
10918 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
10919 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10920 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
10921 * manual/arith.texi (issignaling): New section.
10922 * manual/libm-err-tab.pl (@all_functions): Update comment.
10923 * math/gen-libm-test.pl (parse_args): Apply special handling for
10924 issignaling.
10925 * math/libm-test.inc (print_float, issignaling_test): New
10926 functions.
10927 (check_float_internal): Add issignaling checks.
10928 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
10929 default definition.
10930 * sysdeps/powerpc/math-tests.h: New file.
10931 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
10932 tests.
10933 * math/test-snan.c (TEST_FUNC): Likewise.
10934
10935 2013-03-30 David S. Miller <davem@davemloft.net>
10936
10937 * po/de.po: Update from translation team.
10938
10939 2013-03-30 Joseph Myers <joseph@codesourcery.com>
10940
10941 [BZ #10357]
10942 * math/k_casinh.c (__kernel_casinh): Handle arguments with
10943 imaginary part less than 1.0 and real part less than 0.5
10944 specially.
10945 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10946 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10947 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10948 (cacos_test): Add more tests.
10949 (casin_test): Likewise.
10950 (casinh_test): Likewise.
10951 * sysdeps/i386/fpu/libm-test-ulps: Update.
10952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10953
10954 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10955
10956 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
10957 ONE with its value.
10958
10959 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
10960 (__pow_mp): Replace ONE and MONE with their values.
10961 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10962 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10963 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10964 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
10965 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10966 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10967
10968 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
10969
10970 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
10971 (__pow_mp): Replace ZERO and MZERO with their values.
10972 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
10973 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10974 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10975 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10976 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
10977 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
10978 (__sqr): Likewise.
10979
10980 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
10981
10982 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
10983
10984 2013-03-28 Roland McGrath <roland@hack.frob.com>
10985
10986 * include/stdlib.h [!SHARED] (__call_tls_dtors):
10987 Declare with __attribute__ ((weak)).
10988 * stdlib/exit.c (__libc_atexit) [!SHARED]:
10989 Call __call_tls_dtors only if it's not NULL.
10990
10991 2013-03-28 Roland McGrath <roland@hack.frob.com>
10992
10993 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
10994 didn't do it already, then set _dl_phdr and _dl_phnum based on the
10995 magic __ehdr_start linker symbol if it's defined.
10996 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
10997 them up here if it was already done.
10998
10999 * elf/dl-support.c (_dl_phdr): Make pointer to const.
11000 (_dl_aux_init): Use const in cast when setting it.
11001 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11002 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11003 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11004
11005 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11006 Declare them here.
11007 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11008 * csu/libc-tls.c: Nor here.
11009 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11010
11011 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11012 (__libc_message): Never call vsyslog.
11013
11014 2013-03-28 Alan Modra <amodra@gmail.com>
11015
11016 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11017 Define as empty.
11018 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11019 Likewise.
11020
11021 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11022
11023 [BZ #15214]
11024 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11025 underflow.
11026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11027
11028 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11029
11030 [BZ #15304]
11031 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11032 Don't add gid passed as argument.
11033
11034 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11035
11036 2013-03-27 Joseph Myers <joseph@codesourcery.com>
11037
11038 [BZ #15307]
11039 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11040 imaginary part between 1.0 and 1.5 and real part less than 0.5
11041 specially.
11042 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11043 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11044 * math/libm-test.inc (cacos_test): Add more tests.
11045 (casin_test): Likewise.
11046 (casinh_test): Likewise.
11047 * sysdeps/i386/fpu/libm-test-ulps: Update.
11048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11049
11050 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11051
11052 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11053 constants.
11054 (norm): Likewise.
11055 (denorm): Likewise.
11056 (__dbl_mp): Likewise.
11057 (add_magnitudes): Likewise.
11058 (sub_magnitudes): Likewise.
11059 (__add): Likewise.
11060 (__sub): Likewise.
11061 (__mul): Likewise.
11062 (__sqr): Likewise.
11063 (__inv): Likewise.
11064 (__dvd): Likewise.
11065
11066 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11067 commented code.
11068 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11069 (__dubcos): Likewise.
11070 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11071 (__ieee754_acos): Likewise.
11072 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11073 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11074 (__exp1): Likewise.
11075 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11076 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11077 (log1): Likewise.
11078 (my_log2): Likewise.
11079 (checkint): Likewise.
11080 * sysdeps/ieee754/dbl-64/e_remainder.c
11081 (__ieee754_remainder): Likewise.
11082 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11083 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11084 (bsloww): Likewise.
11085 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11086
11087 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11088 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11089 MANTISSA_STORE_T to store computations on mantissa. Use
11090 macros for rounding and division.
11091 (denorm): Likewise.
11092 (__dbl_mp): Likewise.
11093 (add_magnitudes): Likewise.
11094 (sub_magnitudes): Likewise.
11095 (__mul): Likewise.
11096 (__sqr): Likewise.
11097 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11098 powers of two in terms of TWOPOW macro.
11099 (mp_no): Make type of mantissa as MANTISSA_T.
11100 [!RADIXI]: Define RADIXI.
11101 [!TWO52]: Define TWO52.
11102 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11103
11104 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11105
11106 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11107 llroundl symbol when building for PPC32.
11108
11109 2013-03-24 Mark H Weaver <mhw@netris.org>
11110
11111 * manual/arith.texi (Normalization Functions): Fix prototypes for
11112 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11113
11114 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11115
11116 [BZ #13889]
11117 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11118 high value to check if expl overflow.
11119 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11120 to check for underflow and overflow.
11121 * math/libm-test.inc: Add exp test.
11122
11123 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
11124
11125 [BZ #11120]
11126 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11127 with NOT_IN_libc.
11128
11129 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11130
11131 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11132 symbol.
11133
11134 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
11135
11136 * math/gen-libm-test.pl (parse_args, special_functions): Properly
11137 wrap blocks consisting of several statements.
11138
11139 * sysdeps/generic/math-tests.h: New file.
11140 * sysdeps/i386/fpu/math-tests.h: Likewise.
11141 * math/test-snan.c: Include it.
11142 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11143
11144 2013-03-21 Joseph Myers <joseph@codesourcery.com>
11145
11146 [BZ #15285]
11147 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11148 (__ieee754_j0l): Do not improve calculations using cos of twice
11149 input for inputs above LDBL_MAX / 2.0L.
11150 (__ieee754_y0l): Likewise.
11151 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11152 (__ieee754_j1l): Do not improve calculations using cos of twice
11153 input for inputs above LDBL_MAX / 2.0L.
11154 (__ieee754_y1l): Likewise.
11155 * math/libm-test.inc (j0_test): Add another test.
11156 (j1_test): Likewise.
11157 (y0_test): Likewise.
11158 (y1_test): Likewise.
11159 * sysdeps/i386/fpu/libm-test-ulps: Update.
11160
11161 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11162
11163 * Rules ($(objpfx)bench-%.c): Include code from a C source
11164 file.
11165
11166 2013-03-21 Joseph Myers <joseph@codesourcery.com>
11167
11168 [BZ #15287]
11169 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11170 imaginary part 1.0 and real part less than 0.5 specially.
11171 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11172 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11173 * math/libm-test.inc (cacos_test): Add more tests.
11174 (casin_test): Likewise.
11175 (casinh_test): Likewise.
11176 * sysdeps/i386/fpu/libm-test-ulps: Update.
11177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11178
11179 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11180
11181 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11182 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11183
11184 2013-03-20 Joseph Myers <joseph@codesourcery.com>
11185
11186 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11187 * config.make.in (config-cflags-sse4): Remove variable.
11188 (config-cflags-avx): Likewise.
11189 (config-cflags-sse2avx): Likewise.
11190 (config-cflags-novzeroupper): Likewise.
11191 (config-asflags-i686): Likewise.
11192 (have-mfma4): Likewise.
11193 (have-as-vis3): Likewise.
11194 (MIG): Likewise.
11195 * configure.in (MIG): Do not AC_SUBST.
11196 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11197 (libc_cv_cc_sse4): Do not AC_SUBST.
11198 (libc_cv_cc_avx): Likewise.
11199 (libc_cv_cc_sse2avx): Likewise.
11200 (libc_cv_cc_novzeroupper): Likewise.
11201 (libc_cv_cc_fma4): Likewise.
11202 (libc_cv_as_i686): Likewise.
11203 (libc_cv_sparc_as_vis3): Likewise.
11204 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11205 LIBC_CONFIG_VAR.
11206 (config-asflags-i686): Likewise.
11207 (config-cflags-avx): Likewise.
11208 (config-cflags-sse2avx): Likewise.
11209 (have-mfma4): Likewise.
11210 (config-cflags-novzeroupper): Likewise.
11211 * sysdeps/mach/configure.in (MIG): Likewise.
11212 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11213 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11214 LIBC_CONFIG_VAR.
11215 (config-cflags-avx): Likewise.
11216 (config-cflags-sse2avx): Likewise.
11217 (have-mfma4): Likewise.
11218 (config-cflags-novzeroupper): Likewise.
11219 * configure: Regenerated.
11220 * sysdeps/i386/configure: Likewise.
11221 * sysdeps/mach/configure: Likewise.
11222 * sysdeps/sparc/configure: Likewise.
11223 * sysdeps/x86_64/configure: Likewise.
11224
11225 2013-03-20 Roland McGrath <roland@hack.frob.com>
11226
11227 [BZ #14812]
11228 * locale/programs/localedef.c (options): Put N_ translation marker
11229 on argument names, not just descriptions.
11230
11231 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11232
11233 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11234
11235 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
11236
11237 [BZ #14176]
11238 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11239
11240 2013-03-19 Roland McGrath <roland@hack.frob.com>
11241
11242 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11243 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11244 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11245 [!BEFORE_ABORT] (before_abort): New function.
11246 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11247 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11248 (writev_for_fatal): New function.
11249 (WRITEV_FOR_FATAL): New macro; call that.
11250 (backtrace_and_maps): New function.
11251 (BEFORE_ABORT): New macro; call that.
11252 (struct str_list): Type removed.
11253 (__libc_message, __libc_fatal): Functions removed.
11254 Include <sysdeps/posix/libc_fatal.c> instead.
11255
11256 2013-03-19 Joseph Myers <joseph@codesourcery.com>
11257
11258 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11259 constants.
11260 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11261 double constants.
11262
11263 2013-03-19 Andreas Schwab <schwab@suse.de>
11264
11265 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11266 * sysdeps/gnu/configure: Regenerate.
11267
11268 * configure.in: Substitute libc_cv_rtlddir.
11269 * configure: Regenerate.
11270 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11271 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11272 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11273 * elf/Makefile (install-others, CFLAGS-interp.c)
11274 (ldso_install, common-ldd-rewrite): Likewise.
11275 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11276 $(inst_slibdir)/$(rtld-installed-name).
11277 * scripts/rellns-sh: Add -p option.
11278 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11279 for source.
11280
11281 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11282
11283 * manual/nptl.texi: Renamed to ...
11284 * manual/threads.texi: ... this.
11285 * manual/Makefile (chapters): Update.
11286
11287 2013-03-18 Roland McGrath <roland@hack.frob.com>
11288
11289 [BZ #14812]
11290 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11291 on argument names, not just descriptions.
11292 * malloc/memusagestat.c (options): Likewise.
11293 * nss/getent.c (options): Likewise.
11294
11295 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
11296
11297 [BZ #14812]
11298 * iconv/iconv_prog.c (options): Put N_ translation marker
11299 on argument names, not just descriptions.
11300 * iconv/iconvconfig.c (options): Likewise.
11301
11302 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
11303
11304 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11305 implementation which is faster on all x86_64 architectures.
11306 Tested on AMD, Intel Nehalem, SNB, IVB.
11307 * sysdeps/x86_64/strnlen.S: Likewise.
11308
11309 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11310 Remove all multiarch strlen and strnlen versions.
11311 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11312 Remove strlen and strnlen related parts.
11313
11314 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11315 Inline strlen part.
11316 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11317
11318 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11319 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11320 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11321 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11322 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11323 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11324
11325 2013-03-17 Carlos O'Donell <carlos@redhat.com>
11326
11327 * manual/memory.texi (Malloc Tunable Parameters):
11328 Sort parameters alphabetically. Add comments for missing entries.
11329
11330 2013-03-17 David S. Miller <davem@davemloft.net>
11331
11332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11333
11334 2013-03-16 Joseph Myers <joseph@codesourcery.com>
11335
11336 [BZ #15283]
11337 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11338 for arguments at most half maximum finite value.
11339 * math/libm-test.inc (j0_test): Add more tests.
11340 (j1_test): Likewise.
11341 (y0_test): Likewise.
11342 (y1_test): Likewise.
11343 * sysdeps/i386/fpu/libm-test-ulps: Update.
11344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11345
11346 [BZ #14155]
11347 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11348 1 / x and functions P and Q for arguments above 0x1p256L.
11349 (__ieee754_y0l): Likewise.
11350 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11351 (__ieee754_y1l): Likewise.
11352 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11353 (j1_test): Likewise.
11354 (y0_test): Likewise.
11355 (y1_test): Likewise.
11356
11357 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11358
11359 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11360 variable.
11361
11362 2013-03-15 Roland McGrath <roland@hack.frob.com>
11363
11364 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11365 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11366 zero since it's initialized to EXEC_PAGESIZE.
11367
11368 * sysdeps/unix/sysv/linux/ldsodefs.h
11369 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11370 * sysdeps/generic/ldsodefs.h: ... here.
11371
11372 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11373
11374 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11375
11376 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11377 math/test-snan.c.
11378 * math/test-snan.c: Renamed from
11379 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11380 * math/Makefile (tests): Add test-snan.
11381 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11382 test-powerpc-snan.
11383
11384 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11385 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11386 functions.
11387 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11388 __builtin_nan family of functions.
11389 * math/libm-test.inc (initialize): Initialize qnan_value with
11390 __builtin_nan family of functions.
11391 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11392 Remove variables.
11393 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11394 Remove functions.
11395 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11396 storage class. Initialize qNaN_var and sNaN_var with
11397 __builtin_nan and __builtin_nans families of functions,
11398 respectively.
11399
11400 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11401 (sqrt_test): Remove duplicate test with qNaN input.
11402 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11403 (round_test, signbit_test, significand_test): Note missing +/-Inf
11404 as well as qNaN tests.
11405
11406 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11407 qNaN_var. Fix a few strings, too.
11408 * math/libm-test.inc (nan_value): Rename to qnan_value.
11409 * math/gen-libm-test.pl (%beautify): Adjust to that.
11410 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11411 * math/test-misc.c (main): Likewise.
11412 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11413 to __qnan_bytes, and __qnan_union, respectively.
11414 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11415 Likewise.
11416 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11417 and lqnanval, respectively.
11418 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11419 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11420 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11421 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11422
11423 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11424 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11425 doubles.
11426
11427 * math/test-misc.c (main): Fix copy'n'pastos.
11428 * misc/tst-efgcvt.c (special): Likewise.
11429
11430 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11431 Remove declarations.
11432
11433 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11434
11435 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11436 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11437 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11438 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11439
11440 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11441
11442 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11443 macro to return vdso values correctly in IFUNC implementations.
11444 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11445 Optimization by using IFUNC.
11446
11447 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11448 Richard Henderson <rth@redhat.com>
11449 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11450
11451 * Makefile.in (bench): New target.
11452 * NEWS: Mention the benchmark framework.
11453 * Rules (bench): Likewise.
11454 (binaries-bench): Generate binaries for functions to
11455 benchmark.
11456 * benchtests/Makefile: New makefile for benchmark tests.
11457 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11458 programs.
11459 * benchtests/exp-inputs: New input file for EXP function.
11460 * benchtests/pow-inputs: New input file for POW function.
11461 * scripts/bench.pl: New script to generate source files for
11462 benchmark programs.
11463
11464 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11465
11466 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11467 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11468 computations on mantissa. Use macros for rounding and
11469 division.
11470 (denorm): Likewise.
11471 (__dbl_mp): Likewise.
11472 (add_magnitudes): Likewise.
11473 (sub_magnitudes): Likewise.
11474 (__mul): Likewise.
11475 (__sqr): Likewise.
11476 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11477 powers of two in terms of TWOPOW macro.
11478 (mp_no): Make type of mantissa as MANTISSA_T.
11479 [!RADIXI]: Define RADIXI.
11480 [!TWO52]: Define TWO52.
11481 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11482
11483 * manual/nptl.texi (cindex): Modify threads to pthreads.
11484
11485 2013-03-15 Joseph Myers <joseph@codesourcery.com>
11486
11487 * sysdeps/x86_64/preconfigure: Regenerated.
11488
11489 2013-03-14 Joseph Myers <joseph@codesourcery.com>
11490
11491 [BZ #14155]
11492 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11493 0x1p28 and above.
11494 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11495 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11496 0x1p28 and above.
11497 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11498 * math/libm-test.inc (j0_test): Do not allow one spurious
11499 underflow exception.
11500 (y1_test): Likewise.
11501
11502 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11503
11504 * manual/Makefile (chapters): Add nptl.
11505 * manual/debug.texi (Debugging Support): Add link to Threads
11506 chapter.
11507 * manual/nptl.texi: New file.
11508
11509 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11510
11511 2013-03-14 Petr Baudis <pasky@ucw.cz>
11512
11513 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11514 for non-NULL pointer before the memory validity test. Pointed
11515 out by Holger Brunck <holger.brunck@keymile.com>.
11516
11517 2013-03-13 Andreas Schwab <schwab@suse.de>
11518
11519 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11520 instead of .os.
11521
11522 2013-03-13 Joseph Myers <joseph@codesourcery.com>
11523
11524 * timezone/zic.c: Update from tzcode 2013b.
11525
11526 2013-03-12 Carlos O'Donell <carlos@redhat.com>
11527
11528 * manual/install.texi (Configuring and compiling):
11529 Mention i686 and i586.
11530 * INSTALL: Regenerate.
11531
11532 2013-03-12 Roland McGrath <roland@hack.frob.com>
11533
11534 * sysdeps/init_array/elf-init.c: New file.
11535 * csu/elf-init.c
11536 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11537 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11538
11539 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11540 __gmon_start__ as global, but as static with a .preinit_array pointer.
11541 * sysdeps/init_array/gmon-start.c: New file. Use that.
11542 * sysdeps/init_array/crti.S: New file, empty except for comments.
11543 * sysdeps/init_array/crtn.S: Likewise.
11544
11545 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
11546
11547 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11548 definining bcopy.
11549 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11550 Remove Prefer_SSE_for_memop.
11551 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11552 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11553 HAS_PREFER_SSE_FOR_MEMOP.
11554 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11555 memset-x86-64.
11556 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11557 Remove bzero, memset ifunc support.
11558 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11559 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11560 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11561 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11562
11563 2013-03-11 Andreas Schwab <schwab@suse.de>
11564
11565 [BZ #15234]
11566 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11567 by SHLIB_COMPAT.
11568 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11569 (GLIBC_2.16): Remove pthread_atfork.
11570
11571 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11572
11573 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11574 (ptestcases.h): Likewise.
11575
11576 2013-03-08 Roland McGrath <roland@hack.frob.com>
11577
11578 * Makeconfig ($(common-objpfx)config.status): Depend on
11579 sysdeps/*/preconfigure{,.in} too.
11580
11581 2013-03-08 Joseph Myers <joseph@codesourcery.com>
11582
11583 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11584 (__free_hook): Use void * instead of __malloc_ptr_t.
11585 (__malloc_hook): Likewise.
11586 (__realloc_hook): Likewise.
11587 (__memalign_hook): Likewise.
11588 (__after_morecore_hook): Likewise.
11589 * malloc/arena.c (save_malloc_hook): Likewise.
11590 (save_free_hook): Likewise.
11591 * malloc/hooks.c (malloc_hook_ini): Likewise.
11592 (realloc_hook_ini): Likewise.
11593 (memalign_hook_ini): Likewise.
11594 * malloc/malloc.c (malloc_hook_ini): Likewise.
11595 (realloc_hook_ini): Likewise.
11596 (memalign_hook_ini): Likewise.
11597 (__free_hook): Likewise.
11598 (__malloc_hook): Likewise.
11599 (__realloc_hook): Likewise.
11600 (__memalign_hook): Likewise.
11601 (__libc_malloc): Likewise.
11602 (__libc_free): Likewise.
11603 (__libc_realloc): Likewise.
11604 (__libc_memalign): Likewise.
11605 (__libc_valloc): Likewise.
11606 (__libc_pvalloc): Likewise.
11607 (__libc_calloc): Likewise.
11608 (__posix_memalign): Likewise.
11609 * malloc/morecore.c (__sbrk): Likewise.
11610 (__default_morecore): Likewise.
11611
11612 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11613
11614 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11615 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11616 __malloc_ptrdiff_t.
11617
11618 * malloc/malloc.h (__malloc_size_t): Remove macro.
11619 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11620 __malloc_size_t.
11621 (old_memalign_hook): Likewise.
11622 (old_realloc_hook): Likewise.
11623 (struct hdr): Likewise.
11624 (flood): Likewise.
11625 (mallochook): Likewise.
11626 (memalignhook): Likewise.
11627 (reallochook): Likewise.
11628 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11629 (tr_old_realloc_hook): Likewise.
11630 (tr_old_memalign_hook): Likewise.
11631 (tr_mallochook): Likewise.
11632 (tr_reallochook): Likewise.
11633 (tr_memalignhook): Likewise.
11634
11635 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11636
11637 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11638 default_ldbl_pack and using as default implementation.
11639 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11640 implementation.
11641 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11642 redundant definition.
11643 (ldbl_insert_mantissa): Likewise.
11644 (ldbl_canonicalize): Likewise.
11645 (ldbl_nearbyint): Likewise.
11646 (ldbl_pack): Rename to ldbl_pack_ppc.
11647 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11648 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11649 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11650
11651 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11652
11653 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11654 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11655 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11656 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11657 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11658 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11659 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11660 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11661
11662 2013-03-07 Andreas Jaeger <aj@suse.de>
11663
11664 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11665 bits/mman-linux.h.
11666
11667 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11668
11669 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11670 Include mpa.h and declare __MPEXP.
11671 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11672 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11673 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11674 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11675 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11676 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11677 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11678
11679 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11680 (__slowpow): Use long double EXPL and LOGL functions to
11681 compute POW.
11682 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11683 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11684 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11685 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11686 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11687 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11688
11689 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11690 intermediate variable to calculate exponent.
11691 (__sqr): Likewise.
11692 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11693 Likewise.
11694 (__sqr): Likewise.
11695
11696 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11697 [!NO__SQR]: Define __sqr.
11698 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11699 and NO__SQR. Remove all code except __mul and __sqr. Include
11700 sysdeps/ieee754/dbl-64/mpa.c.
11701 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11702
11703 [BZ #12723]
11704 * posix/Makefile (tests): Add tst-pathconf.
11705 * posix/tst-pathconf.c: New test case.
11706 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11707 _PC_PIPE_BUF.
11708 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11709
11710 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
11711
11712 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11713
11714 2013-03-06 Andreas Jaeger <aj@suse.de>
11715
11716 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11717 definition via __MAP_ANONYMOUS.
11718
11719 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11720 it's not part of Linux headers.
11721
11722 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11723 (MAP_HUGE_MASK): Define.
11724
11725 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11726 Define.
11727 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11728 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11729 Define.
11730 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11731 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11732 Define.
11733 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11734 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11735 Define.
11736 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11737
11738 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11739 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11740 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11741 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11742 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11743 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11744
11745 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11746 Handle f2fs.
11747
11748 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11749 Handle f2fs and efivarfs.
11750
11751 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11752 f2fs.
11753
11754 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11755 (EFIVARFS_MAGIC): Add.
11756 (F2FS_LINK_MAX): Add.
11757
11758 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11759
11760 * stdio-common/vfprintf.c: Replace __builtin_expect with
11761 __glibc_unlikely.
11762
11763 2013-03-06 Joseph Myers <joseph@codesourcery.com>
11764
11765 [BZ #13550]
11766 * sysdeps/generic/bp-sym.h: Remove file.
11767 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11768 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11769 <bp-sym.h> and <bp-asm.h>.
11770 (__longjmp): Don't use BP_SYM.
11771 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11772 and <bp-asm.h>.
11773 (memcpy): Don't use BP_SYM.
11774 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11775 <bp-sym.h> and <bp-asm.h>.
11776 (memcpy): Don't use BP_SYM.
11777 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11778 <bp-asm.h>.
11779 (memcpy): Don't use BP_SYM.
11780 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11781 <bp-asm.h>.
11782 (memset): Don't use BP_SYM.
11783 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11784 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11785 (__bzero): Don't use BP_SYM.
11786 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11787 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11788 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11789 <bp-sym.h> and <bp-asm.h>.
11790 (memcmp): Don't use BP_SYM. Remove comment about bounded
11791 pointers.
11792 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11793 <bp-sym.h> and <bp-asm.h>.
11794 (memcpy): Don't use BP_SYM.
11795 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
11796 <bp-sym.h> and <bp-asm.h>.
11797 (memset): Don't use BP_SYM.
11798 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11799 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11800 (__bzero): Don't use BP_SYM.
11801 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11802 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11803 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
11804 <bp-sym.h> and <bp-asm.h>.
11805 (strncmp): Don't use BP_SYM. Remove comment about bounded
11806 pointers.
11807 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
11808 <bp-sym.h> and <bp-asm.h>.
11809 (memcpy): Don't use BP_SYM.
11810 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
11811 <bp-sym.h> and <bp-asm.h>.
11812 (memset): Don't use BP_SYM.
11813 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11814 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11815 (__bzero): Don't use BP_SYM.
11816 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11817 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11818 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
11819 <bp-sym.h> and <bp-asm.h>.
11820 (__memchr): Don't use BP_SYM.
11821 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
11822 <bp-sym.h> and <bp-asm.h>.
11823 (memcmp): Don't use BP_SYM. Remove comment about bounded
11824 pointers.
11825 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
11826 <bp-sym.h> and <bp-asm.h>.
11827 (memcpy): Don't use BP_SYM.
11828 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
11829 <bp-sym.h> and <bp-asm.h>.
11830 (__mempcpy): Don't use BP_SYM.
11831 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
11832 <bp-sym.h> and <bp-asm.h>.
11833 (__memrchr): Don't use BP_SYM.
11834 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
11835 <bp-sym.h> and <bp-asm.h>.
11836 (memset): Don't use BP_SYM.
11837 (__bzero): Likewise.
11838 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
11839 <bp-sym.h> and <bp-asm.h>.
11840 (__rawmemchr): Don't use BP_SYM.
11841 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
11842 <bp-sym.h> and <bp-asm.h>.
11843 (__STRCMP): Don't use BP_SYM.
11844 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
11845 <bp-sym.h> and <bp-asm.h>.
11846 (strchr): Don't use BP_SYM.
11847 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
11848 <bp-sym.h> and <bp-asm.h>.
11849 (__strchrnul): Don't use BP_SYM.
11850 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
11851 <bp-sym.h> and <bp-asm.h>.
11852 (strlen): Don't use BP_SYM.
11853 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
11854 <bp-sym.h> and <bp-asm.h>.
11855 (strncmp): Don't use BP_SYM. Remove comment about bounded
11856 pointers.
11857 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
11858 <bp-sym.h> and <bp-asm.h>.
11859 (__strnlen): Don't use BP_SYM.
11860 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
11861 <bp-sym.h> and <bp-asm.h>.
11862 (__GI__setjmp): Don't use BP_SYM.
11863 (_setjmp): Likewise.
11864 (__sigsetjmp): Likewise.
11865 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
11866 (L(start_addresses)): Don't use BP_SYM.
11867 (_start): Likewise.
11868 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
11869 <bp-asm.h>.
11870 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
11871 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
11872 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11873 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11874 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
11875 <bp-asm.h>.
11876 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
11877 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
11878 about bounded pointers.
11879 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11880 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11881 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
11882 <bp-asm.h>.
11883 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11884 about bounded pointers. Remove GKM FIXME comments.
11885 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11886 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
11887 <bp-asm.h>.
11888 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
11889 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
11890 Remove GKM FIXME comments.
11891 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11892 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
11893 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
11894 <bp-asm.h>.
11895 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
11896 about bounded pointers. Remove GKM FIXME comment.
11897 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
11898 and <bp-asm.h>.
11899 (strncmp): Don't use BP_SYM. Remove comment about bounded
11900 pointers.
11901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
11902 <bp-sym.h> and <bp-asm.h>.
11903 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
11904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
11905 <bp-sym.h> and <bp-asm.h>.
11906 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
11907 comment.
11908
11909 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11910
11911 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
11912 call free(NULL).
11913
11914 2013-03-05 David S. Miller <davem@davemloft.net>
11915
11916 * po/es.po: Update from translation team.
11917
11918 2013-03-05 Andreas Jaeger <aj@suse.de>
11919
11920 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
11921 <bits/mman-linux.h>.
11922 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11923 is fine.
11924 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
11925 <bits/mman-linux.h> to end of file.
11926 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11927 is fine.
11928 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
11929 <bits/mman-linux.h> to end of file.
11930 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
11931 is fine.
11932 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
11933 <bits/mman-linux.h> to end of file.
11934
11935 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
11936 (MCL_CURRENT, MCL_FUTURE): Define here.
11937
11938 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11939
11940 [BZ #15232]
11941 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
11942 attribute_hidden.
11943 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
11944
11945 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11946
11947 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
11948 fourth parameter needed for rt_sigprocmask syscall.
11949 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11950 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11951 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11952 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11953 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11954 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
11955
11956 2013-03-04 Joseph Myers <joseph@codesourcery.com>
11957
11958 [BZ #13550]
11959 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
11960 comment about bounded pointers.
11961 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
11962 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
11963
11964 2013-03-04 Andreas Jaeger <aj@suse.de>
11965
11966 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
11967 common definitions.
11968
11969 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
11970 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
11971 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
11972 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11973 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11974 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11975
11976 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11977
11978 [BZ #15055]
11979 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
11980 __ieee754_sqrl instead of __sqrl.
11981
11982 2013-03-01 Joseph Myers <joseph@codesourcery.com>
11983
11984 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
11985 * sysdeps/powerpc/fpu_control.h: ... here.
11986 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
11987 * sysdeps/powerpc/bits/fenvinline.h: ... here.
11988 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
11989 * sysdeps/powerpc/bits/mathinline.h: ... here.
11990
11991 2013-03-01 Roland McGrath <roland@hack.frob.com>
11992
11993 * elf/dl-hwcaps.c (_dl_important_hwcaps):
11994 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
11995 to just [NEED_DL_SYSINFO_DSO].
11996 * elf/dl-support.c: Likewise.
11997 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
11998 * elf/rtld.c (dl_main): Likewise.
11999 * elf/setup-vdso.h (setup_vdso): Likewise.
12000 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12001 * sysdeps/unix/sysv/linux/dl-sysdep.c
12002 (_dl_discover_osversion): Likewise.
12003
12004 2013-03-01 Carlos O'Donell <carlos@redhat.com>
12005
12006 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12007 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12008
12009 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12010
12011 * NEWS: Mention libm performance improvements and non-x86 PI
12012 futex support.
12013
12014 * csu/libc-start.c (__pthread_initialize_minimal): Change
12015 function arguments.
12016 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12017
12018 2013-02-28 Joseph Myers <joseph@codesourcery.com>
12019
12020 [BZ #13550]
12021 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12022 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12023 <bp-sym.h> and <bp-asm.h>.
12024 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12025 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12026 and <bp-asm.h>.
12027 (memcpy): Don't use BP_SYM.
12028 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12029 <bp-asm.h>.
12030 (__mpn_add_n): Don't use BP_SYM.
12031 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12032 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12033 and <bp-asm.h>.
12034 (__mpn_addmul_1): Don't use BP_SYM.
12035 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12036 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12037 <bp-sym.h>.
12038 (_setjmp): Don't use BP_SYM.
12039 (__novmx_setjmp): Likewise.
12040 (__GI__setjmp): Likewise.
12041 (__vmx_setjmp): Likewise.
12042 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12043 <bp-sym.h>.
12044 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12045 (__bzero): Don't use BP_SYM.
12046 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12047 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12048 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12049 <bp-sym.h> and <bp-asm.h>.
12050 (memcpy): Don't use BP_SYM.
12051 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12052 <bp-sym.h> and <bp-asm.h>.
12053 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12054 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12055 <bp-sym.h> and <bp-asm.h>.
12056 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12057 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12058 <bp-asm.h>.
12059 (__mpn_lshift): Don't use BP_SYM.
12060 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12061 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12062 <bp-asm.h>.
12063 (memset): Don't use BP_SYM.
12064 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12065 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12066 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12067 <bp-asm.h>.
12068 (__mpn_mul_1): Don't use BP_SYM.
12069 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12070 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12071 <bp-sym.h> and <bp-asm.h>.
12072 (memcmp): Don't use BP_SYM.
12073 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12074 <bp-sym.h> and <bp-asm.h>.
12075 (memcpy): Don't use BP_SYM.
12076 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12077 <bp-sym.h> and <bp-asm.h>.
12078 (memset): Don't use BP_SYM.
12079 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12080 <bp-sym.h> and <bp-asm.h>.
12081 (strncmp): Don't use BP_SYM.
12082 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12083 <bp-sym.h> and <bp-asm.h>.
12084 (memcpy): Don't use BP_SYM.
12085 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12086 <bp-sym.h> and <bp-asm.h>.
12087 (memset): Don't use BP_SYM.
12088 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12089 <bp-sym.h> and <bp-asm.h>.
12090 (__memchr): Don't use BP_SYM.
12091 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12092 <bp-sym.h> and <bp-asm.h>.
12093 (memcmp): Don't use BP_SYM.
12094 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12095 <bp-sym.h> and <bp-asm.h>.
12096 (memcpy): Don't use BP_SYM.
12097 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12098 <bp-sym.h> and <bp-asm.h>.
12099 (__mempcpy): Don't use BP_SYM.
12100 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12101 <bp-sym.h> and <bp-asm.h>.
12102 (__memrchr): Don't use BP_SYM.
12103 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12104 <bp-sym.h> and <bp-asm.h>.
12105 (memset): Don't use BP_SYM.
12106 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12107 <bp-sym.h> and <bp-asm.h>.
12108 (__rawmemchr): Don't use BP_SYM.
12109 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12110 <bp-sym.h> and <bp-asm.h>.
12111 (__STRCMP): Don't use BP_SYM.
12112 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12113 <bp-sym.h> and <bp-asm.h>.
12114 (strchr): Don't use BP_SYM.
12115 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12116 <bp-sym.h> and <bp-asm.h>.
12117 (__strchrnul): Don't use BP_SYM.
12118 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12119 <bp-sym.h> and <bp-asm.h>.
12120 (strlen): Don't use BP_SYM.
12121 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12122 <bp-sym.h> and <bp-asm.h>.
12123 (strncmp): Don't use BP_SYM.
12124 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12125 <bp-sym.h> and <bp-asm.h>.
12126 (__strnlen): Don't use BP_SYM.
12127 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12128 <bp-asm.h>.
12129 (__mpn_rshift): Don't use BP_SYM.
12130 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12131 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12132 <bp-sym.h> and <bp-asm.h>.
12133 (__sigsetjmp): Don't use BP_SYM.
12134 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12135 (L(start_addresses)): Don't use BP_SYM.
12136 (_start): Likewise.
12137 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12138 <bp-asm.h>.
12139 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12140 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12141 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12142 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12143 <bp-asm.h>.
12144 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12145 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12146 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12147 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12148 <bp-asm.h>.
12149 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12150 comments.
12151 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12152 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12153 <bp-asm.h>.
12154 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
12155 FIXME comments.
12156 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12157 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12158 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12159 <bp-asm.h>.
12160 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12161 comment.
12162 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12163 and <bp-asm.h>.
12164 (strncmp): Don't use BP_SYM,
12165 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12166 <bp-asm.h>.
12167 (__mpn_sub_n): Don't use BP_SYM.
12168 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12169 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12170 and <bp-asm.h>.
12171 (__mpn_submul_1): Don't use BP_SYM.
12172 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12174 <bp-sym.h> and <bp-asm.h>.
12175 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12177 <bp-sym.h> and <bp-asm.h>.
12178 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12179 comment.
12180
12181 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12182
12183 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12184 Use ZK to minimize writes to Z.
12185 (sub_magnitudes): Simplify code a bit.
12186 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12187 Use ZK to minimize writes to Z.
12188 (sub_magnitudes): Simplify code a bit.
12189
12190 2013-02-27 Roland McGrath <roland@hack.frob.com>
12191
12192 * csu/gmon-start.c: Add special exception to license text.
12193
12194 2013-02-27 Richard Henderson <rth@redhat.com>
12195
12196 * scripts/config.guess: Update from config.git.
12197 * scripts/config.sub: Likewise.
12198
12199 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12200
12201 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12202
12203 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12204
12205 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12206
12207 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12208
12209 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12210
12211 2013-02-26 Roland McGrath <roland@hack.frob.com>
12212
12213 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12214 [$(build-shared = yes].
12215
12216 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12217
12218 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12219 (__mul): Reduce iterations for calculating mantissa.
12220
12221 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12222 MPTWO.
12223 (__mpranred): Likewise.
12224
12225 [BZ #15160]
12226 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12227 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12228
12229 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
12230
12231 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12232 Define __attribute__.
12233
12234 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12235
12236 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12237 unused.
12238 * posix/regex_internal.h (__attribute): Remove.
12239 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12240 (re_string_context_at): Likewise.
12241 (bitset_not): Use __attribute__ and mark function as possibly
12242 unused.
12243 (bitset_merge): Likewise.
12244 (bitset_mask): Likewise.
12245 (re_string_char_size_at): Likewise.
12246 (re_string_wchar_at): Likewise.
12247 (re_string_elem_size_at): Likewise.
12248
12249 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12250
12251 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12252 code.
12253 (cc32): Likewise.
12254
12255 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12256 (__acr): Likewise.
12257 (__cpy): Likewise.
12258 (norm): Likewise.
12259 (denorm): Likewise.
12260 (__dbl_mp): Likewise.
12261 (add_magnitudes): Likewise.
12262 (sub_magnitudes): Likewise.
12263 (__mul): Likewise.
12264 (__inv): Likewise.
12265
12266 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12267 style.
12268
12269 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12270 style.
12271
12272 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12273 code.
12274
12275 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12276 up changes with default code.
12277 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12278 Likewise.
12279
12280 2013-02-24 Allan McRae <allan@archlinux.org>
12281
12282 * manual/socket.texi (The Internet Namespace): Order menu items
12283 to match that in the file.
12284
12285 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12286 node listing of the info page menu.
12287
12288 2013-02-21 Joseph Myers <joseph@codesourcery.com>
12289
12290 [BZ #13550]
12291 * sysdeps/i386/bp-asm.h: Remove file.
12292 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12293 (PARMS): Do not use macros from bp-asm.h.
12294 (S1): Likewise.
12295 (S2): Likewise.
12296 (SIZE): Likewise.
12297 (__mpn_add_n): Do not use BP_SYM
12298 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12299 "bp-asm.h".
12300 (PARMS): Do not use macros from bp-asm.h.
12301 (S1): Likewise.
12302 (SIZE): Likewise.
12303 (__mpn_addmul_1): Do not use BP_SYM
12304 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12305 "bp-asm.h".
12306 (PARMS): Do not use macros from bp-asm.h.
12307 (SIGMSK): Likewise.
12308 (_setjmp): Likewise. Do not use BP_SYM.
12309 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12310 "bp-asm.h".
12311 (PARMS): Do not use macros from bp-asm.h.
12312 (SIGMSK): Likewise.
12313 (setjmp): Likewise. Do not use BP_SYM.
12314 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12315 "bp-asm.h".
12316 (PARMS): Do not use macros from bp-asm.h.
12317 (__frexp): Do not use BP_SYM.
12318 (frexp): Likewise.
12319 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12320 "bp-asm.h".
12321 (PARMS): Do not use macros from bp-asm.h.
12322 (__frexpf): Do not use BP_SYM.
12323 (frexpf): Likewise.
12324 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12325 "bp-asm.h".
12326 (PARMS): Do not use macros from bp-asm.h.
12327 (__frexpl): Do not use BP_SYM.
12328 (frexpl): Likewise.
12329 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12330 "bp-asm.h".
12331 (PARMS): Do not use macros from bp-asm.h.
12332 (__remquo): Do not use BP_SYM.
12333 (remquo): Likewise.
12334 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12335 "bp-asm.h".
12336 (PARMS): Do not use macros from bp-asm.h.
12337 (__remquof): Do not use BP_SYM.
12338 (remquof): Likewise.
12339 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12340 "bp-asm.h".
12341 (PARMS): Do not use macros from bp-asm.h.
12342 (__remquol): Do not use BP_SYM.
12343 (remquol): Likewise.
12344 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12345 "bp-asm.h".
12346 (PARMS): Do not use macros from bp-asm.h.
12347 (DEST): Likewise.
12348 (SRC): Likewise.
12349 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12350 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12351 "bp-asm.h".
12352 (PARMS): Do not use macros from bp-asm.h.
12353 (strlen): Do not use BP_SYM.
12354 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12355 "bp-asm.h".
12356 (PARMS): Do not use macros from bp-asm.h.
12357 (S1): Likewise.
12358 (S2): Likewise.
12359 (SIZE): Likewise.
12360 (__mpn_add_n): Do not use BP_SYM.
12361 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12362 "bp-asm.h".
12363 (PARMS): Do not use macros from bp-asm.h.
12364 (S1): Likewise.
12365 (SIZE): Likewise.
12366 (__mpn_addmul_1): Do not use BP_SYM.
12367 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12368 weak_alias.
12369 (bzero): Likewise.
12370 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12371 "bp-asm.h".
12372 (PARMS): Do not use macros from bp-asm.h.
12373 (S): Likewise.
12374 (SIZE): Likewise.
12375 (__mpn_lshift): Do not use BP_SYM.
12376 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12377 "bp-asm.h".
12378 (PARMS): Do not use macros from bp-asm.h.
12379 (DEST): Likewise.
12380 (SRC): Likewise.
12381 (LEN): Likewise.
12382 (memcpy): Likewise. Do not use BP_SYM.
12383 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12384 libc_hidden_def and weak_alias.
12385 (mempcpy): Do not use BP_SYM in weak_alias.
12386 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12387 "bp-asm.h".
12388 (PARMS): Do not use macros from bp-asm.h.
12389 (DEST): Likewise.
12390 (LEN): Likewise.
12391 [!BZERO_P] (CHR): Likewise.
12392 (memset): Likewise. Do not use BP_SYM.
12393 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12394 "bp-asm.h".
12395 (PARMS): Do not use macros from bp-asm.h.
12396 (S1): Likewise.
12397 (SIZE): Likewise.
12398 (__mpn_mul_1): Do not use BP_SYM.
12399 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12400 "bp-asm.h".
12401 (PARMS): Do not use macros from bp-asm.h.
12402 (S): Likewise.
12403 (SIZE): Likewise.
12404 (__mpn_rshift): Do not use BP_SYM.
12405 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12406 "bp-asm.h".
12407 (PARMS): Do not use macros from bp-asm.h.
12408 (STR): Likewise.
12409 (CHR): Likewise.
12410 (strchr): Likewise. Do not use BP_SYM.
12411 (index): Do not use BP_SYM in weak_alias.
12412 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12413 "bp-asm.h".
12414 (PARMS): Do not use macros from bp-asm.h.
12415 (DEST): Likewise.
12416 (SRC): Likewise.
12417 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12418 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12419 "bp-asm.h".
12420 (PARMS): Do not use macros from bp-asm.h.
12421 (strlen): Do not use BP_SYM.
12422 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12423 "bp-asm.h".
12424 (PARMS): Do not use macros from bp-asm.h.
12425 (S1): Likewise.
12426 (S2): Likewise.
12427 (SIZE): Likewise.
12428 (__mpn_sub_n): Do not use BP_SYM.
12429 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12430 "bp-asm.h".
12431 (PARMS): Do not use macros from bp-asm.h.
12432 (S1): Likewise.
12433 (SIZE): Likewise.
12434 (__mpn_submul_1): Do not use BP_SYM.
12435 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12436 "bp-asm.h".
12437 (PARMS): Do not use macros from bp-asm.h.
12438 (S1): Likewise.
12439 (S2): Likewise.
12440 (SIZE): Likewise.
12441 (__mpn_add_n): Do not use BP_SYM.
12442 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12443 weak_alias.
12444 (bzero): Likewise.
12445 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12446 "bp-asm.h".
12447 (PARMS): Do not use macros from bp-asm.h.
12448 (BLK2): Likewise.
12449 (LEN): Likewise.
12450 (memcmp): Do not use BP_SYM.
12451 (bcmp): Do not use BP_SYM in weak_alias.
12452 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12453 "bp-asm.h".
12454 (PARMS): Do not use macros from bp-asm.h.
12455 (DEST): Likewise.
12456 (SRC): Likewise.
12457 (LEN): Likewise.
12458 (memcpy): Likewise. Do not use BP_SYM.
12459 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12460 "bp-asm.h".
12461 (PARMS): Do not use macros from bp-asm.h.
12462 (DEST): Likewise.
12463 (SRC): Likewise.
12464 (LEN): Likewise.
12465 (memmove): Likewise. Do not use BP_SYM.
12466 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12467 "bp-asm.h".
12468 (PARMS): Do not use macros from bp-asm.h.
12469 (DEST): Likewise.
12470 (SRC): Likewise.
12471 (LEN): Likewise.
12472 (__mempcpy): Likewise. Do not use BP_SYM.
12473 (mempcpy): Do not use BP_SYM in weak_alias.
12474 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12475 "bp-asm.h".
12476 (PARMS): Do not use macros from bp-asm.h.
12477 (DEST): Likewise.
12478 (LEN): Likewise.
12479 [!BZERO_P] (CHR): Likewise.
12480 (memset): Likewise. Do not use BP_SYM.
12481 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12482 "bp-asm.h".
12483 (PARMS): Do not use macros from bp-asm.h.
12484 (STR2): Likewise.
12485 (strcmp): Do not use BP_SYM.
12486 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12487 "bp-asm.h".
12488 (PARMS): Do not use macros from bp-asm.h.
12489 (STR): Likewise.
12490 (DELIM): Likewise.
12491 [USE_AS_STRTOK_R] (SAVE): Likewise.
12492 (FUNCTION): Likewise. Do not use BP_SYM.
12493 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12494 aliases.
12495 (strtok_r): Likewise.
12496 (__GI___strtok_r): Likewise.
12497 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12498 (PARMS): Do not use macros from bp-asm.h.
12499 (S): Likewise.
12500 (SIZE): Likewise.
12501 (__mpn_lshift): Do not use BP_SYM.
12502 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12503 (PARMS): Do not use macros from bp-asm.h.
12504 (STR): Likewise.
12505 (CHR): Likewise.
12506 (__memchr): Do not use BP_SYM.
12507 (memchr): Do not use BP_SYM in weak_alias.
12508 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12509 (PARMS): Do not use macros from bp-asm.h.
12510 (BLK2): Likewise.
12511 (LEN): Likewise.
12512 (memcmp): Do not use BP_SYM.
12513 (bcmp): Do not use BP_SYM in weak_alias.
12514 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12515 (PARMS): Do not use macros from bp-asm.h.
12516 (S1): Likewise.
12517 (SIZE): Likewise.
12518 (__mpn_mul_1): Do not use BP_SYM.
12519 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12520 "bp-asm.h".
12521 (PARMS): Do not use macros from bp-asm.h.
12522 (STR): Likewise.
12523 (CHR): Likewise.
12524 (__rawmemchr): Do not use BP_SYM.
12525 (rawmemchr): Do not use BP_SYM in weak_alias.
12526 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12527 (PARMS): Do not use macros from bp-asm.h.
12528 (S): Likewise.
12529 (SIZE): Likewise.
12530 (__mpn_rshift): Do not use BP_SYM.
12531 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12532 (PARMS): Do not use macros from bp-asm.h.
12533 (SIGMSK): Likewise.
12534 (__sigsetjmp): Likewise. Do not use BP_SYM.
12535 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12536 (_start): Do not use BP_SYM.
12537 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12538 (PARMS): Do not use macros from bp-asm.h.
12539 (DEST): Likewise.
12540 (SRC): Likewise.
12541 (__stpcpy): Likewise. Do not use BP_SYM.
12542 (stpcpy): Do not use BP_SYM in weak_alias.
12543 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12544 "bp-asm.h".
12545 (PARMS): Do not use macros from bp-asm.h.
12546 (DEST): Likewise.
12547 (SRC): Likewise.
12548 (LEN): Likewise.
12549 (__stpncpy): Likewise. Do not use BP_SYM.
12550 (stpncpy): Do not use BP_SYM in weak_alias.
12551 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12552 (PARMS): Do not use macros from bp-asm.h.
12553 (STR): Likewise.
12554 (CHR): Likewise.
12555 (strchr): Likewise. Do not use BP_SYM.
12556 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12557 "bp-asm.h".
12558 (PARMS): Do not use macros from bp-asm.h.
12559 (STR): Likewise.
12560 (CHR): Likewise.
12561 (__strchrnul): Likewise. Do not use BP_SYM.
12562 (strchrnul): Do not use BP_SYM in weak_alias.
12563 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12564 "bp-asm.h".
12565 (PARMS): Do not use macros from bp-asm.h.
12566 (STOP): Likewise.
12567 (strcspn): Do not use BP_SYM.
12568 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12569 "bp-asm.h".
12570 (PARMS): Do not use macros from bp-asm.h.
12571 (STR): Likewise.
12572 (STOP): Likewise.
12573 (strpbrk): Likewise. Do not use BP_SYM.
12574 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12575 "bp-asm.h".
12576 (PARMS): Do not use macros from bp-asm.h.
12577 (STR): Likewise.
12578 (CHR): Likewise.
12579 (strrchr): Likewise. Do not use BP_SYM.
12580 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12581 (PARMS): Do not use macros from bp-asm.h.
12582 (SKIP): Likewise.
12583 (strspn): Do not use BP_SYM.
12584 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12585 (PARMS): Do not use macros from bp-asm.h.
12586 (STR): Likewise.
12587 (DELIM): Likewise.
12588 (SAVE): Likewise.
12589 (FUNCTION): Likewise. Do not use BP_SYM.
12590 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12591 aliases.
12592 (strtok_r): Likewise.
12593 (__GI___strtok_r): Likewise.
12594 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12595 (PARMS): Do not use macros from bp-asm.h.
12596 (S1): Likewise.
12597 (S2): Likewise.
12598 (SIZE): Likewise.
12599 (__mpn_sub_n): Do not use BP_SYM.
12600 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12601 "bp-asm.h".
12602 (PARMS): Do not use macros from bp-asm.h.
12603 (S1): Likewise.
12604 (SIZE): Likewise.
12605 (__mpn_submul_1): Do not use BP_SYM.
12606 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12607 <bp-sym.h>.
12608 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12609 and <bp-asm.h>.
12610 (PARMS): Do not use macros from bp-asm.h.
12611 (FLAGS): Likewise.
12612 (PTID): Likewise.
12613 (TLS): Likewise.
12614 (CTID): Likewise.
12615 (__clone): Do not use BP_SYM.
12616 (clone): Do not use BP_SYM in weak_alias.
12617 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12618 and <bp-asm.h>.
12619 (PARMS): Do not use macros from bp-asm.h.
12620 (LEN): Likewise.
12621 (__mmap64): Do not use BP_SYM.
12622 (mmap64): Do not use BP_SYM in weak_alias.
12623 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12624 <bp-sym.h> and <bp-asm.h>.
12625 (PARMS): Do not use macros from bp-asm.h.
12626 (__posix_fadvise64_l64): Do not use BP_SYM.
12627 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12628 (PARMS): Do not use macros from bp-asm.h.
12629 (NSOPS): Likewise.
12630 (semtimedop): Do not use BP_SYM.
12631 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12632 and <bp-asm.h>.
12633
12634 2013-02-21 Allan McRae <allan@archlinux.org>
12635
12636 * manual/message.texi (Charset conversion in gettext):
12637 Move @end statement to beginning of line.
12638
12639 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12640
12641 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12642 static.
12643 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12644 Likewise.
12645
12646 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12647 (denorm): Likewise.
12648 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12649 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12650
12651 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12652
12653 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12654 tail-call to the resolved function if pltexit isn't needed.
12655
12656 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12657
12658 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12659 or Y being zero as being unlikely.
12660 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12661 Likewise.
12662
12663 2013-02-20 Carlos O'Donell <carlos@redhat.com>
12664
12665 * manual/nss.texi (System Databases and Name Service Switch):
12666 Remove frobnicate @pxref.
12667
12668 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12669
12670 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12671 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12672
12673 2013-02-20 Petr Machata <pmachata@redhat.com>
12674
12675 * elf/elf.h (R_ARM_TARGET1): New macro.
12676 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12677 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12678 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12679 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12680 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12681 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12682 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12683 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12684 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12685 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12686 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12687 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12688 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12689 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12690 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12691 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12692 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12693 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12694 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12695 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12696 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12697 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12698 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12699 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12700 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12701 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12702 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12703 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12704 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12705 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12706 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12707 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12708 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12709 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12710 (R_ARM_THM_GOT_BREL12): Likewise.
12711 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12712 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12713 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12714 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12715 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12716 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12717 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12718 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12719 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12720
12721 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12722
12723 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12724 __attribute_used__ to __attribute__ ((unused)).
12725
12726 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12727
12728 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12729 powerpc mpa.c.
12730 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12731 comment formatting.
12732 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12733
12734 2013-02-19 Joseph Myers <joseph@codesourcery.com>
12735
12736 [BZ #13550]
12737 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12738 Remove macro.
12739 (ENTER): Remove both macro definitions.
12740 (LEAVE): Likewise.
12741 (CHECK_BOUNDS_LOW): Likewise.
12742 (CHECK_BOUNDS_HIGH): Likewise.
12743 (CHECK_BOUNDS_BOTH): Likewise.
12744 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12745 (RETURN_BOUNDED_POINTER): Likewise.
12746 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12747 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12748 (POP_ERRNO_LOCATION_RETURN): Likewise.
12749 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12750 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12751 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12752 macros.
12753 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12754 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12755 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12756 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12757 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12758 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12759 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12760 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12761 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12762 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12763 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12764 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12765 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12766 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12767 removed macros.
12768 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12769 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12770 macros.
12771 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12772 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12773 * sysdeps/i386/i586/memset.S (memset): Likewise.
12774 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12775 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12776 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12777 macros.
12778 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12779 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12780 Change uses of L(2) to L(out).
12781 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12782 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12783 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12784 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12785 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12786 removed macros.
12787 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12788 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12789 macros.
12790 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12791 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12792 (RETURN): Do not use macro LEAVE.
12793 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12794 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12795 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
12796 * sysdeps/i386/i686/memset.S (memset): Likewise.
12797 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
12798 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
12799 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12800 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
12801 Likewise.
12802 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12803 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
12804 L(1_2) and L(1_3) into L(1).
12805 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12806 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
12807 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12808 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
12809 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12810 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
12811 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
12812 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12813 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
12814 macros.
12815 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
12816 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12817 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
12818 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
12819 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
12820 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12821 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
12822 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
12823 * sysdeps/i386/strcspn.S (strcspn): Likewise.
12824 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
12825 * sysdeps/i386/strrchr.S (strrchr): Likewise.
12826 * sysdeps/i386/strspn.S (strspn): Likewise.
12827 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
12828 conditional code.
12829 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12830 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
12831 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
12832 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
12833 L(1_3) into L(1_1).
12834 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
12835 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12836 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
12837 macros.
12838 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12839
12840 2013-02-19 Jakub Jelinek <jakub@redhat.com>
12841
12842 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
12843 macro.
12844
12845 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12846
12847 * math/atest-exp.c (exp_mpn): Remove ROUND.
12848 * math/atest-exp2.c (exp_mpn): Likewise.
12849 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
12850
12851 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
12852 * stdlib/tst-tls-atexit-lib.c: Likewise.
12853 * stdlib/tst-tls-atexit.c: Likewise.
12854
12855 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12856
12857 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
12858 and __attribute_alloc_size__.
12859
12860 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12861
12862 * include/programs/xmalloc.h: Change __attribute_alloc_size to
12863 __attribute_alloc_size__.
12864 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
12865 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
12866
12867 2013-02-18 Mike Frysinger <vapier@gentoo.org>
12868
12869 * include/programs/xmalloc.h: New file.
12870 * catgets/gencat.c: Include it.
12871 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
12872 * elf/pldd.c: Likewise.
12873 * iconv/iconv_charmap.c: Likewise.
12874 * iconv/iconvconfig.c: Likewise.
12875 * iconv/strtab.c: Likewise.
12876 * locale/programs/locale.c: Likewise.
12877 * locale/programs/localedef.h: Likewise.
12878 * locale/programs/simple-hash.c: Likewise.
12879 * nscd/nscd.h: Likewise.
12880 * nss/makedb.c: Likewise.
12881 * sysdeps/generic/ldconfig.h: Likewise.
12882
12883 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
12884
12885 * Versions.def: Add GLIBC_2.18.
12886 * include/link.h (struct link_map): New member l_tls_dtor_count.
12887 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
12888 (__call_tls_dtors): Likewise.
12889 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
12890 __cxa_thread_atexit_impl.
12891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12892 Likewise.
12893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12894 Likewise.
12895 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
12896 Likewise.
12897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
12898 Likewise.
12899 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12900 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
12901 Likewise.
12902 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
12903 Likewise.
12904 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12906 Likewise.
12907 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
12908 (tests): Add test case tst-tls-atexit.
12909 (modules-names): Add shared library for tst-tls-atexit.
12910 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
12911 (GLIBC_PRIVATE): Add __call_tls_dtors.
12912 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
12913 for libstdc++.
12914 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
12915 * stdlib/tst-tls-atexit.c: New test case.
12916 * stdlib/tst-tls-atexit-lib.c: New test case.
12917
12918 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
12919
12920 * elf/Versions (ld): Add _dl_find_dso_for_object.
12921 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
12922 * elf/dl-open.c (_dl_find_dso_for_object): New function.
12923 (dl_open_worker): Use _dl_find_dso_for_object.
12924 * elf/dl-sym.c (do_sym): Likewise.
12925 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
12926
12927 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12928
12929 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
12930 Syntactic changes only.
12931 (_dl_runtime_profile): Do a tail-call to the resolved function.
12932
12933 2013-02-17 Joseph Myers <joseph@codesourcery.com>
12934
12935 [BZ #13550]
12936 * sysdeps/x86_64/bp-asm.h: Remove file.
12937 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
12938 <bp-sym.h> and <bp-asm.h>.
12939 (__clone): Do not use BP_SYM.
12940 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
12941 <bp-sym.h> and <bp-asm.h>.
12942 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12943 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
12944 "bp-asm.h".
12945 (_setjmp): Do not use BP_SYM.
12946 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
12947 "bp-asm.h".
12948 (setjmp): Do not use BP_SYM.
12949 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
12950 libc_hidden_def.
12951 (mempcpy): Do not use BP_SYM in weak_alias.
12952 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
12953 "bp-asm.h".
12954 (strchr): Do not use BP_SYM.
12955 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
12956 "bp-asm.h".
12957 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
12958 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
12959 (_start): Do not use BP_SYM.
12960 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
12961 "bp-asm.h".
12962 (strcat): Do not use BP_SYM.
12963 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
12964 "bp-asm.h".
12965 (STRCMP): Do not use BP_SYM.
12966 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
12967 "bp-asm.h".
12968 (STRCPY): Do not use BP_SYM.
12969 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
12970 "bp-asm.h".
12971 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
12972 "bp-asm.h".
12973 (FUNCTION): Do not use BP_SYM.
12974 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
12975 weak_alias.
12976 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
12977
12978 2013-02-17 Andreas Jaeger <aj@suse.de>
12979
12980 * time/Versions: Sort entries.
12981 * string/Versions: Likewise.
12982 * resolv/Versions: Likewise.
12983 * posix/Versions: Likewise.
12984 * iconv/Versions: Likewise.
12985 * elf/Versions: Likewise.
12986 * wcsmbs/Versions: Likewise.
12987
12988 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12989
12990 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
12991 loop termination condition.
12992
12993 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
12994 variable to calculate EZ.
12995 (__sqr): Likewise.
12996
12997 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
12998 the lower precision input.
12999
13000 2013-02-15 Joseph Myers <joseph@codesourcery.com>
13001
13002 [BZ #13550]
13003 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13004 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13005 (run-via-rtld-prefix): Do not handle %-bp tests.
13006 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13007 (all-object-suffixes): Remove .ob.
13008 (bppfx): Remove variable.
13009 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13010 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13011 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13012 [$(build-bounded) = yes] (libtype.ob): Likewise.
13013 * Makerules (elide-routines.ob): Remove variable.
13014 (do-tests-clean): Do not handle *-bp.out.
13015 (common-mostlyclean): Do not handle *-bp and *-bp.out.
13016 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13017 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13018 (tests): Do not include $(tests-bp.out).
13019 (xtests): Do not include $(xtests-bp.out).
13020 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13021 [$(build-bounded) = yes] ($(addprefix
13022 $(objpfx),$(binaries-bounded))): Remove rule.
13023 ($(objpfx)%-bp.out): Remove rule.
13024 * config.make.in (build-bounded): Remove variable.
13025 * crypt/Makefile [$(build-bounded) = yes]
13026 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13027 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13028 append to variable.
13029 [$(build-bounded) = yes] (install-lib): Likewise.
13030 [$(build-bounded) = yes] (generated): Likewise.
13031 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13032 Remove rule.
13033 * intl/Makefile [$(build-bounded) = yes]
13034 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13035 * math/Makefile [$(build-bounded) = yes]
13036 ($(tests:%=$(objpfx)%-bp): Likewise.
13037 * misc/Makefile [$(build-bounded) = yes]
13038 ($(objpfx)tst-tsearch-bp): Likewise.
13039 * nptl/Makeconfig (bounded-thread-library): Remove variable.
13040 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13041 Remove dependency.
13042 * string/Makefile (o-objects.ob): Remove variable.
13043 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13044 (CFLAGS-.ob): Remove variable.
13045 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13046 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13047 both definitions of variable.
13048 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13049 (ASFLAGS-.ob): Remove variable.
13050
13051 2013-02-14 Joseph Myers <joseph@codesourcery.com>
13052
13053 [BZ #13550]
13054 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13055 Remove __BOUNDED_POINTERS__ from condition.
13056 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13057 * string/bits/string2.h [!__NO_STRING_INLINES &&
13058 !__BOUNDED_POINTERS__]: Likewise.
13059 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13060 Likewise.
13061 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13062 Remove conditional code.
13063 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13064 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13065 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13066 condition.
13067
13068 [BZ #13550]
13069 * csu/libc-start.c: Do not include <bp-sym.h>.
13070 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13071 * elf/dl-open.c: Do not include <bp-sym.h>.
13072 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13073 * math/fegetenv.c: Do not include <bp-sym.h>.
13074 (fegetenv): Do not use BP_SYM in versioned symbols.
13075 * nptl/sysdeps/pthread/bits/libc-lockP.h
13076 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13077 <bp-sym.h>.
13078 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13079 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13080 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13081 (__pthread_mutex_destroy): Likewise.
13082 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13083 (__pthread_mutex_lock): Likewise.
13084 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13085 (__pthread_mutex_trylock): Likewise.
13086 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13087 (__pthread_mutex_unlock): Likewise.
13088 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13089 (__pthread_mutexattr_init): Likewise.
13090 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13091 (__pthread_mutexattr_destroy): Likewise.
13092 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13093 (__pthread_mutexattr_settype): Likewise.
13094 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13095 (__pthread_rwlock_init): Likewise.
13096 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13097 (__pthread_rwlock_destroy): Likewise.
13098 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13099 (__pthread_rwlock_rdlock): Likewise.
13100 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13101 (__pthread_rwlock_tryrdlock): Likewise.
13102 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13103 (__pthread_rwlock_wrlock): Likewise.
13104 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13105 (__pthread_rwlock_trywrlock): Likewise.
13106 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13107 (__pthread_rwlock_unlock): Likewise.
13108 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13109 (__pthread_key_create): Likewise.
13110 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13111 (__pthread_setspecific): Likewise.
13112 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13113 (__pthread_getspecific): Likewise.
13114 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13115 Likewise.
13116 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13117 (_pthread_cleanup_push_defer): Likewise.
13118 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13119 (_pthread_cleanup_pop_restore): Likewise.
13120 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13121 (pthread_setcancelstate): Likewise.
13122 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13123 <bp-sym.h>.
13124 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13125 (memchr): Do not use BP_SYM in weak_alias.
13126 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13127 (fegetenv): Do not use BP_SYM in versioned symbols.
13128 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13129 (fesetenv): Do not use BP_SYM in versioned symbols.
13130 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13131 (feupdateenv): Do not use BP_SYM in versioned symbols.
13132 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13133 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13134 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13135 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13136 (open64): Do not use BP_SYM in weak_alias.
13137 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13138 (fegetenv): Do not use BP_SYM in versioned symbols.
13139 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13140 (fesetenv): Do not use BP_SYM in versioned symbols.
13141 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13142 (feupdateenv): Do not use BP_SYM in versioned symbols.
13143 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13144 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13145 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13146 (feraiseexcept): Do not use BP_SYM in versioned symbols.
13147 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13148 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13149 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13150 <bp-sym.h>.
13151 (__libc_start_main): Do not use BP_SYM.
13152
13153 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13154
13155 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13156 redundant return line.
13157 (norm): Likewise.
13158 (denorm): Likewise.
13159 (dbl_mp): Likewise.
13160 (sub_magnitudes): Likewise.
13161 (__add): Likewise.
13162 (__sub): Likewise.
13163 (__mul): Likewise.
13164 (__inv): Likewise.
13165 (__dvd): Likewise.
13166 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13167 (norm): Likewise.
13168 (denorm): Likewise.
13169 (dbl_mp): Likewise.
13170 (sub_magnitudes): Likewise.
13171 (__add): Likewise.
13172 (__sub): Likewise.
13173 (__mul): Likewise.
13174 (__inv): Likewise.
13175 (__dvd): Likewise.
13176
13177 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13178 instead of __mul.
13179 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13180 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13181 (cc32): Likewise.
13182
13183 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13184 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13185 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13186 of __mul for squares.
13187 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13188 function
13189 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13190 Likewise.
13191 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13192 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13193
13194 2013-02-13 Joseph Myers <joseph@codesourcery.com>
13195
13196 [BZ #13550]
13197 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13198 code.
13199 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13200 prototype or function definition. Rename ubp_* variables and
13201 parameters. Remove argv definitions conditional on
13202 [__BOUNDED_POINTERS__].
13203 * debug/backtrace.c (__backtrace): Do not use __unbounded.
13204 * elf/dl-runtime.c (_dl_fixup): Likewise.
13205 * include/set-hooks.h (RUN_HOOK): Likewise.
13206 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13207 definition.
13208 * string/strcpy.c (strcpy): Do not use __unbounded.
13209 * sysdeps/generic/frame.h (struct layout): Likewise.
13210 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13211 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13212 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13213 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13214 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13215 (__backtrace): Likewise.
13216 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13217 use __ptrvalue.
13218 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13219 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13220 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13221 Likewise.
13222 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13223 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13224 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13225 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13226 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13227 Do not use __unbounded.
13228 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13229 Rename __unboundedrlimits parameter to rlimits in prototype.
13230 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13231 Do not use __unbounded.
13232 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13233 not use __ptrvalue.
13234 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13235 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13236 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13237 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13238 __ptrvalue or __unbounded.
13239 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13240 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13241 use __unbounded.
13242 (__new_msgctl): Do not use __ptrvalue.
13243 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13244 __unbounded.
13245 (__libc_msgrcv): Do not use __ptrvalue.
13246 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13247 startup_info): Do not use __unbounded.
13248 (__libc_start_main): Likewise. Rename ubp_* variables and
13249 parameters. Remove argv definitions conditional on
13250 [__BOUNDED_POINTERS__].
13251 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13252 __ptrvalue.
13253 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13254 use __unbounded.
13255 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13256 or __ptrvalue.
13257 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13258 use __unbounded.
13259 (__new_shmctl): Do not use __ptrvalue.
13260 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13261 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13262 Likewise.
13263 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13264 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13265 (__libc_sigaction): Likewise.
13266 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13267 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13268 Likewise.
13269 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13270
13271 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
13272
13273 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
13274
13275 * string/mempcpy.c: Implement by calling memcpy.
13276
13277 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13278
13279 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13280
13281 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13282 evaluation.
13283
13284 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13285 values in the mantissa.
13286
13287 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13288 minimize writes to Z.
13289 (sub_magnitudes): Simplify code a bit.
13290
13291 2013-02-12 Roland McGrath <roland@hack.frob.com>
13292
13293 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13294 from the message. The linker prefixes all warnings with that already.
13295
13296 2013-02-12 Andreas Schwab <schwab@suse.de>
13297
13298 [BZ #15078]
13299 * posix/regexec.c (extend_buffers): Add parameter min_len.
13300 (check_matching): Pass minimum needed length.
13301 (clean_state_log_if_needed): Likewise.
13302 (get_subexp): Likewise.
13303 * posix/Makefile (tests): Add bug-regex34.
13304 (bug-regex34-ENV): Define.
13305 * posix/bug-regex34.c: New file.
13306
13307 [BZ #11561]
13308 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13309 elements compare against the byte sequence of it, not its name.
13310 * posix/Makefile (tests): Add bug-regex35.
13311 (bug-regex35-ENV): Define.
13312 * posix/bug-regex35.c: New file.
13313
13314 2013-02-11 Tom de Vries <tom@codesourcery.com>
13315
13316 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13317 comment.
13318 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13319 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13320 (CHECK_EOL): Add undef.
13321
13322 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
13323
13324 * bits/stdlib-bsearch.h: New file.
13325 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
13326 * stdlib/stdlib.h: Likewise.
13327
13328 2013-02-11 Roland McGrath <roland@hack.frob.com>
13329
13330 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13331 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13332 declaration.
13333 * manual/search.texi (Array Search Function): Add missing const in
13334 lfind prototype.
13335 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13336 declaration to use rlim_t.
13337 (Basic Scheduling Functions): Remove erroneous const from
13338 sched_getparam prototype. Remove erroneous * from
13339 sched_get_priority_max and sched_get_priority_min prototypes.
13340 (Resource Usage): Fix summary @comment on vtimes to refer to
13341 sys/vtimes.h rather than vtimes.h.
13342 Add missing *s in vtimes prototype.
13343 (Limits on Resources): Fix ulimit prototype to return long int.
13344 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13345 prototypes to use long int rather than double.
13346 (BSD Random): Fix initstate and setstate to use char *, not void *.
13347 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13348 prototype to make second argument 'struct aiocb64 *const[]'.
13349 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13350 (Status of AIO Operations): Remove erroneous const in aio_return and
13351 aio_return64 prototypes.
13352 (Synchronizing I/O): Fix sync prototype to return void.
13353 * manual/startup.texi (Suboptions): Remove an erroneous const in
13354 getsubopt prototype.
13355 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13356 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13357 use size_t rather than int.
13358 (Scanning All Users): Likewise for getpwent_r.
13359 (Setting Groups): Add missing const to setgroups prototype.
13360 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13361 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13362 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13363 'const void *' rather than 'const char *'.
13364 (Host Address Functions): Likewise for inet_ntop.
13365 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13366 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13367 ssize_t for return value.
13368 (Sending Data): Likewise for send, sendto, sendmsg.
13369 (Socket Option Functions): Add a missing const in setsockopt prototype.
13370 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13371 use wchar_t for the argument.
13372 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13373 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13374 take no arguments.
13375 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13376 double/float/long double for second argument.
13377 Fix return types of significand, significandf, significandl.
13378 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13379 argument in fchmod prototype.
13380 (File Owner): Use uid_t and gid_t in fchown prototype.
13381 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13382 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13383 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13384 use 'const struct dirent **' as argument types to CMP function pointer
13385 argument.
13386 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13387 (File Times): Fix summary magic @comment for struct utimbuf and utime
13388 to refer to utime.h, not time.h.
13389 * manual/string.texi (Argz Functions): Add missing const in
13390 argz_extract and argz_next prototypes.
13391 (Finding Tokens in a String): Likewise for basename.
13392 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13393 (Copying and Concatenation): Fix typo in wmemmove prototype.
13394 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13395 (Signal Stack): Remove erroneous const in sigstack prototype.
13396 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13397 prototype.
13398 (Simple Calendar Time): Likewise for stime.
13399 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13400 prototype.
13401 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13402 say sys/sysctl.h instead.
13403 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13404 and vsyslog prototypes.
13405
13406 2013-02-11 Tom de Vries <tom@codesourcery.com>
13407
13408 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13409 Remove.
13410
13411 2013-02-11 Roland McGrath <roland@hack.frob.com>
13412
13413 * misc/sys/mman.h: Fix typo in mremap comment.
13414
13415 2013-02-08 Roland McGrath <roland@hack.frob.com>
13416
13417 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13418 the '\0' terminator.
13419
13420 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13421
13422 [BZ #13550]
13423 * debug/segfault.c: Don't include <bp-checks.h>.
13424 * sysdeps/generic/bp-checks.h: Remove file.
13425 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13426 (__GETDENTS): Don't use CHECK_N.
13427 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13428 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13429 (__getgroups): Don't use CHECK_N.
13430 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13431 (setgroups): Don't use CHECK_N.
13432 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13433 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13434 (__libc_msgrcv): Don't use CHECK_N.
13435 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13436 (__libc_msgsnd): Don't use CHECK_N.
13437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13438 <bp-checks.h>.
13439 (__libc_pread): Don't use CHECK_N.
13440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13441 include <bp-checks.h>.
13442 (__libc_pread64): Don't use CHECK_N.
13443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13444 include <bp-checks.h>.
13445 (__libc_pwrite): Don't use CHECK_N.
13446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13447 include <bp-checks.h>.
13448 (__libc_pwrite64): Don't use CHECK_N.
13449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13450 <bp-checks.h>.
13451 (__libc_pread): Don't use CHECK_N.
13452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13453 include <bp-checks.h>.
13454 (__libc_pread64): Don't use CHECK_N.
13455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13456 include <bp-checks.h>.
13457 (__libc_pwrite): Don't use CHECK_N.
13458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13459 include <bp-checks.h>.
13460 (__libc_pwrite64): Don't use CHECK_N.
13461 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13462 (do_pread): Don't use CHECK_N.
13463 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13464 (do_pread64): Don't use CHECK_N.
13465 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13466 (do_pwrite): Don't use CHECK_N.
13467 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13468 (do_pwrite64): Don't use CHECK_N.
13469 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13470 (__libc_readv): Don't use CHECK_N.
13471 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13472 (semop): Don't use CHECK_N.
13473 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13474 <bp-checks.h>.
13475 (semtimedop): Don't use CHECK_N.
13476 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13477 (__libc_pread): Don't use CHECK_N.
13478 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13479 <bp-checks.h>.
13480 (__libc_pread64): Don't use CHECK_N.
13481 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13482 <bp-checks.h>.
13483 (__libc_pwrite): Don't use CHECK_N.
13484 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13485 <bp-checks.h>.
13486 (__libc_pwrite64): Don't use CHECK_N.
13487 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13488 <bp-checks.h>.
13489 (__libc_msgrcv): Don't use CHECK_N.
13490 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13491 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13492 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13493 (__libc_writev): Don't use CHECK_N.
13494
13495 2013-02-08 Roland McGrath <roland@hack.frob.com>
13496
13497 * string/strcpy.c: Removed unused variable.
13498
13499 * Makeconfig (+sysdep-includes): Define with := rather than =.
13500 Use an existing include/ subdir of each sysdeps dir before it.
13501
13502 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13503
13504 * nscd/connection.c (register_traced_file): Comment function.
13505 [HAVE_INOTIFY] (union __inev): Define.
13506 [HAVE_INOTIFY] (inotify_check_files): New function.
13507 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13508 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13509 clear_db_cache.
13510 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13511
13512 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13513
13514 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13515 loaded if not already and that a failure is permanent.
13516
13517 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13518
13519 [BZ #15006]
13520 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13521 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13522
13523 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13524
13525 [BZ #13550]
13526 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13527 (CHECK_1_NULL_OK): Likewise.
13528 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13529 (__fxstat): Do not use CHECK_1.
13530 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13531 <bp-checks.h>.
13532 (___fxstat64): Do not use CHECK_1.
13533 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13534 <bp-checks.h>.
13535 (__fxstatat): Do not use CHECK_1.
13536 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13537 <bp-checks.h>.
13538 (__fxstatat64): Do not use CHECK_1.
13539 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13540 <bp-checks.h>.
13541 (__fxstat): Do not use CHECK_1.
13542 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13543 <bp-checks.h>.
13544 (__fxstatat): Do not use CHECK_1.
13545 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13546 <bp-checks.h>.
13547 (__getresgid): Do not use CHECK_1.
13548 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13549 <bp-checks.h>.
13550 (__getresuid): Do not use CHECK_1.
13551 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13552 <bp-checks.h>.
13553 (__lxstat): Do not use CHECK_1.
13554 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13555 <bp-checks.h>.
13556 (__old_msgctl): Do not use CHECK_1.
13557 (__new_msgctl): Likewise.
13558 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13559 <bp-checks.h>.
13560 (__new_setrlimit): Do not use CHECK_1.
13561 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13562 <bp-checks.h>.
13563 (__old_shmctl): Do not use CHECK_1.
13564 (__new_shmctl): Likewise.
13565 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13566 <bp-checks.h>.
13567 (__xstat): Do not use CHECK_1.
13568 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13569 (__lxstat): Do not use CHECK_1.
13570 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13571 <bp-checks.h>.
13572 (___lxstat64): Do not use CHECK_1.
13573 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13574 (__old_msgctl): Do not use CHECK_1.
13575 (__new_msgctl): Likewise.
13576 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13577 <bp-checks.h>.
13578 (__gettimeofday): Do not use CHECK_1.
13579 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13580 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13581 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13582 <bp-checks.h>.
13583 (__gettimeofday): Do not use CHECK_1.
13584 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13585 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13586 (__new_shmctl): Do not use CHECK_1.
13587 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13588 <bp-checks.h>.
13589 (do_sigtimedwait): Do not use CHECK_1.
13590 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13591 <bp-checks.h>.
13592 (do_sigwaitinfo): Do not use CHECK_1.
13593 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13594 <bp-checks.h>.
13595 (msgctl): Do not use CHECK_1.
13596 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13597 <bp-checks.h>.
13598 (shmctl): Do not use CHECK_1.
13599 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13600 (ustat): Do not use CHECK_1.
13601 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13602 <bp-checks.h>.
13603 (__fxstat): Do not use CHECK_1.
13604 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13605 <bp-checks.h>.
13606 (__fxstatat): Do not use CHECK_1.
13607 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13608 <bp-checks.h>.
13609 (__lxstat): Do not use CHECK_1.
13610 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13611 <bp-checks.h>.
13612 (__xstat): Do not use CHECK_1.
13613 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13614 (__xstat): Do not use CHECK_1.
13615 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13616 (___xstat64): Do not use CHECK_1.
13617
13618 [BZ #13550]
13619 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13620 definitions.
13621 (CHECK_BOUNDS_HIGH): Likewise.
13622 * string/strcpy.c: Do not include <bp-checks.h>.
13623 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13624
13625 2013-02-07 Roland McGrath <roland@hack.frob.com>
13626
13627 * nscd/nscd-client.h (__nscd_drop_map_ref):
13628 Add __attribute__ ((unused)).
13629 * nis/nss-nisplus.h (niserr2nss): Likewise.
13630
13631 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13632 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13633
13634 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13635 Remove inline keyword.
13636 * include/rounding-mode.h (round_away): Likewise.
13637 * libio/wfileops.c (adjust_wide_data): Likewise.
13638 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13639 (__m128i_strloadu_tolower): Likewise.
13640 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13641 (__m128i_strloadu_tolower): Likewise.
13642 * time/mktime.c (ydhms_diff): Likewise.
13643 * locale/elem-hash.h (elem_hash): Likewise.
13644 * locale/setlocale.c (setdata): Likewise.
13645 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13646 (re_string_wchar_at): Likewise.
13647 (bitset_not, bitset_merge, bitset_mask): Likewise.
13648 [!(__GNUC__ > 3)] (inline): Remove macro.
13649 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13650 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13651 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13652 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13653 * string/memcmp.c (memcmp_bytes): Likewise.
13654 * locale/programs/locarchive.c (compute_hashval): Likewise.
13655 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13656 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13657 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13658 * nss/getent.c (print_rpc, print_protocols): Likewise.
13659 (print_passwd, print_group, print_aliases): Likewise.
13660 * nis/nss-nisplus.h (niserr2nss): Likewise.
13661 * nscd/connections.c (restart_p): Likewise.
13662 Change return type to bool.
13663
13664 2013-02-05 Roland McGrath <roland@hack.frob.com>
13665
13666 * Makeconfig (all-Depend-files): Add existing
13667 $(sorted-subdirs:=/Depend) files.
13668 (all-subdirs): Remove nss.
13669 * sysdeps/unix/inet/Subdirs: Add it here instead.
13670 * hesiod/Depend: New file.
13671
13672 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13673 instead of calling alloca.
13674
13675 * io/lseek.c (__lseek): Rename to __libc_lseek.
13676 Define __lseek as an alias.
13677
13678 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13679
13680 2013-02-04 Carlos O'Donell <carlos@redhat.com>
13681
13682 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13683 else clause and remove check for non-standard endianness.
13684
13685 2013-02-04 David S. Miller <davem@davemloft.net>
13686
13687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13688
13689 2013-02-04 Joseph Myers <joseph@codesourcery.com>
13690
13691 [BZ #13550]
13692 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13693 (__ubp_memchr): Remove prototype.
13694 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13695 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13696 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13697 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13698 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13699 Remove alias.
13700 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13701 (__ubp_memchr): Likewise.
13702 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13703 (__ubp_memchr): Likewise.
13704 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13705 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13706 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13707 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13708 CHECK_STRING.
13709 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13710 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13711 (__getcwd): Do not use CHECK_STRING.
13712 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13713 <bp-checks.h>.
13714 (__real_chown): Do not use CHECK_STRING.
13715 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13716 <bp-checks.h>.
13717 (fchownat): Do not use CHECK_STRING.
13718 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13719 CHECK_STRING.
13720 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13721 <bp-checks.h>.
13722 (__lchown): Do not use CHECK_STRING.
13723 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13724 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13725 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13726 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13728 include <bp-checks.h>.
13729 (truncate64): Do not use CHECK_STRING.
13730 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13731 <bp-checks.h>.
13732 (__real_chown): Do not use CHECK_STRING.
13733 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13734 <bp-checks.h>.
13735 (__lchown): Do not use CHECK_STRING.
13736 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13737 <bp-checks.h>.
13738 (__chown): Do not use CHECK_STRING.
13739 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13740 <bp-checks.h>.
13741 (truncate64): Do not use CHECK_STRING.
13742 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13743 Likewise.
13744 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13745 (__xmknod): Do not use CHECK_STRING.
13746 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13747 <bp-checks.h>.
13748 (__xmknodat): Do not use CHECK_STRING.
13749 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13750 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13751
13752 2013-02-04 Andreas Schwab <schwab@suse.de>
13753
13754 [BZ #14142]
13755 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13756 * include/netdb.h: Likewise for h_errno.
13757 * elf/tst-stackguard1.c: Include <tls.h>.
13758
13759 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13760
13761 * elf/link.h (struct link_map): Extend the l_addr comment.
13762 * include/link.h (struct link_map): Likewise.
13763
13764 2013-02-01 Joseph Myers <joseph@codesourcery.com>
13765
13766 [BZ #13550]
13767 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13768 (BOUNDED_1): Remove macro.
13769 * debug/backtrace.c: Don't include <bp-checks.h>.
13770 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13771 (__backtrace): Likewise.
13772 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13773 <bp-checks.h>.
13774 (__backtrace): Don't use BOUNDED_1.
13775 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13776 <bp-checks.h>.
13777 (__backtrace): Don't use BOUNDED_1.
13778 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13779 (__backtrace): Don't use BOUNDED_1.
13780 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13781 (shmat): Don't use BOUNDED_N.
13782
13783 2013-01-31 Joseph Myers <joseph@codesourcery.com>
13784
13785 [BZ #13550]
13786 * sysdeps/generic/bp-start.h: Remove file.
13787 * csu/libc-start.c: Don't include <bp-start.h>.
13788 (LIBC_START_MAIN): Set up __environ directly instead of using
13789 INIT_ARGV_and_ENVIRON.
13790 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13791 <bp-start.h>.
13792
13793 [BZ #13550]
13794 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13795 definitions.
13796 (CHECK_FCNTL): Likewise.
13797 (CHECK_N_PAGES): Likewise.
13798
13799 [BZ #13550]
13800 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
13801 definitions.
13802 (CHECK_SIGSET_NULL_OK): Likewise.
13803 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
13804 <bp-checks.h>.
13805 (sigpending): Don't use CHECK_SIGSET.
13806 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
13807 <bp-checks.h>.
13808 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13809 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
13810 <bp-checks.h>.
13811 (do_sigsuspend): Don't use CHECK_SIGSET.
13812 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
13813 use CHECK_SIGSET.
13814 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
13815 (do_sigwait): Don't use CHECK_SIGSET.
13816 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
13817 use CHECK_SIGSET.
13818 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
13819 include <bp-checks.h>.
13820 (sigpending): Don't use CHECK_SIGSET.
13821 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
13822 include <bp-checks.h>.
13823 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13824 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
13825 <bp-checks.h>.
13826 (sigpending): Don't use CHECK_SIGSET.
13827 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
13828 <bp-checks.h>.
13829 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
13830
13831 [BZ #13550]
13832 * sysdeps/generic/bp-semctl.h: Remove file.
13833 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
13834 <bp-checks.h> and <bp-semctl.h>.
13835 (__old_semctl): Don't use CHECK_SEMCTL.
13836 (__new_semctl): Likewise.
13837 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
13838 and <bp-semctl.h>.
13839 (__old_semctl): Don't use CHECK_SEMCTL.
13840 (__new_semctl): Likewise.
13841 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
13842 <bp-checks.h> and <bp-semctl.h>.
13843 (__old_semctl): Don't use CHECK_SEMCTL.
13844 (__new_semctl): Likewise.
13845 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
13846 <bp-checks.h> and <bp-semctl.h>.
13847 (semctl): Don't use CHECK_SEMCTL.
13848
13849 [BZ #13550]
13850 * Makerules (elide-bp-thunks): Remove variable.
13851 (elide-routines.oS): Don't use $(elide-bp-thunks).
13852 (elide-routines.os): Likewise.
13853 (elide-routines.o): Likewise.
13854 (elide-routines.op): Likewise.
13855 (elide-routines.og): Likewise.
13856 (objects): Don't use $(bp-thunks).
13857 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
13858 include.
13859 (common-generated): Do not add s-proto-bp.d.
13860 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
13861 (int): Likewise.
13862 (typ): Likewise.
13863 Do not generate makefile rules for bounded-pointer thunks.
13864 * sysdeps/generic/bp-thunks.h: Remove file.
13865 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
13866 * sysdeps/unix/s-proto-bp.S: Likewise.
13867
13868 [BZ #15062]
13869 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
13870 parts of result separately when argument is not close to line from
13871 -i to i and one part of argument is small.
13872 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13873 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13874 * math/libm-test.inc (cacos_test): Add more tests.
13875 (casin_test): Likewise.
13876 (casinh_test): Likewise.
13877 * sysdeps/i386/fpu/libm-test-ulps: Update.
13878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13879
13880 2013-01-31 David S. Miller <davem@davemloft.net>
13881
13882 * po/de.po: Update from translation team.
13883
13884 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
13885
13886 * time/tzfile.c: Include stdint.h for SIZE_MAX.
13887
13888 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
13889
13890 * configure.in (_AC_PROG_CC_C89): New definition.
13891 * configure: Regenerate.
13892
13893 * configure.in (AC_PROG_CPP): New definition.
13894 * configure: Regenerate.
13895
13896 2013-01-23 Joseph Myers <joseph@codesourcery.com>
13897
13898 * debug/tst-backtrace.h: New file.
13899 * debug/tst-backtrace2.c: Include tst-backtrace.h.
13900 (ret): Remove variable.
13901 (x): Likewise.
13902 (FAIL): Remove macro.
13903 (NO_INLINE): Likewise.
13904 (fn1): Use match function instead of strstr.
13905 * debug/tst-backtrace3.c: Include tst-backtrace.h.
13906 (ret): Remove variable.
13907 (x): Likewise.
13908 (FAIL): Remove macro.
13909 (NO_INLINE): Likewise.
13910 (fn): Use match function instead of strstr.
13911 * debug/tst-backtrace4.c: Include tst-backtrace.h.
13912 (ret): Remove variable.
13913 (x): Likewise.
13914 (FAIL): Remove macro.
13915 (NO_INLINE): Likewise.
13916 (handle_signal): Use match function instead of strstr.
13917 * debug/tst-backtrace5.c: Include tst-backtrace.h.
13918 (ret): Remove variable.
13919 (x): Likewise.
13920 (FAIL): Remove macro.
13921 (NO_INLINE): Likewise.
13922 (handle_signal): Use match function instead of strstr.
13923
13924 2013-01-23 Roland McGrath <roland@hack.frob.com>
13925
13926 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
13927
13928 2013-01-23 David S. Miller <davem@davemloft.net>
13929
13930 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
13931 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
13932 argument of CAS if possible.
13933 * sysdeps/sparc/sparc64/bits/atomic.h
13934 (__arch_compare_and_exchange_val_32_acq): Likewise.
13935 (__arch_compare_and_exchange_val_64_acq): Likewise.
13936
13937 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
13938
13939 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
13940 * sysdeps/posix/ulimit.c: ... this.
13941 Include <limits.h>.
13942 * sysdeps/unix/bsd/ulimit.c: Remove file.
13943
13944 2013-01-23 Adam Conrad <adconrad@0c3.net>
13945
13946 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
13947 (LDFLAGS-tst-array5): Likewise.
13948
13949 2013-01-23 Joseph Myers <joseph@codesourcery.com>
13950
13951 [BZ #15036]
13952 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
13953 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
13954 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
13955 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
13956
13957 2013-01-21 David S. Miller <davem@davemloft.net>
13958
13959 * sysdeps/sparc/backtrace.c: New file.
13960 * sysdeps/sparc/sparc32/backtrace.h: New file.
13961 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
13962 * sysdeps/sparc/sparc64/backtrace.h: New file.
13963 * sysdeps/sparc/sparc64/backtrace.c: Delete.
13964 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
13965 -funwind-tables.
13966
13967 2013-01-21 Andreas Schwab <schwab@suse.de>
13968
13969 [BZ #15020]
13970 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
13971 closed its stdout.
13972
13973 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
13974
13975 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
13976 "mpa2.h".
13977 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13978
13979 2013-01-18 Joseph Myers <joseph@codesourcery.com>
13980 Mark Mitchell <mark@codesourcery.com>
13981 Tom de Vries <tom@codesourcery.com>
13982 Paul Pluzhnikov <ppluzhnikov@google.com>
13983
13984 * debug/tst-backtrace2.c: New file.
13985 * debug/tst-backtrace3.c: Likewise.
13986 * debug/tst-backtrace4.c: Likewise.
13987 * debug/tst-backtrace5.c: Likewise.
13988 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
13989 (CFLAGS-tst-backtrace3.c): Likewise.
13990 (CFLAGS-tst-backtrace4.c): Likewise.
13991 (CFLAGS-tst-backtrace5.c): Likewise.
13992 (LDFLAGS-tst-backtrace2): Likewise.
13993 (LDFLAGS-tst-backtrace3): Likewise.
13994 (LDFLAGS-tst-backtrace4): Likewise.
13995 (LDFLAGS-tst-backtrace5): Likewise.
13996 (tests): Add new tests tst-backtrace2, tst-backtrace3,
13997 tst-backtrace4 and tst-backtrace5.
13998
13999 2013-01-18 Anton Blanchard <anton@samba.org>
14000 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14001
14002 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14003 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14004 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14005 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14007 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14008 "+r" and remove output regs list as redundant. Add explicit inline
14009 asm to specify register of return val to work around compiler codegen
14010 bug. Remove (int) cast on return value. Add return type parameter to
14011 use in macro so that this macro does not truncate return value for
14012 64-bit values.
14013 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14014 pass to INTERNAL_VSYSCALL_NCS.
14015 (INLINE_VSYSCALL): Add 'long int' as return type to
14016 INTERNAL_VSYSCALL_NCS macro invocation.
14017 (INTERNAL_VSYSCALL): Add 'long int' as return type to
14018 INTERNAL_VSYSCALL_NCS macro invocation.
14019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14020
14021 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14022
14023 [BZ #14496]
14024 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14025 Fix application of SIMD FP exception mask.
14026
14027 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14028 mp_no from a power of two.
14029 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14030 __mpexp_twomm1. Use __pow_mp.
14031
14032 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14033 multiplication.
14034
14035 2013-01-17 David S. Miller <davem@davemloft.net>
14036
14037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14038
14039 2013-01-17 Joseph Myers <joseph@codesourcery.com>
14040
14041 [BZ #15023]
14042 * include/complex.h: Condition contents on [!_COMPLEX_H].
14043 (__kernel_casinhf): New prototype.
14044 (__kernel_casinh): Likewise.
14045 (__kernel_casinhl): Likewise.
14046 * math/Makefile (libm_calls): Add k_casinh.
14047 * math/k_casinh.c: New file.
14048 * math/k_casinhf.c: Likewise.
14049 * math/k_casinhl.c: Likewise.
14050 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14051 finite nonzero arguments.
14052 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14053 finite nonzero arguments.
14054 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14055 finite nonzero arguments.
14056 * math/s_casinh.c: Do not include <float.h>.
14057 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14058 * math/s_casinhf.c: Do not include <float.h>.
14059 (__casinhf): Move code for finite nonzero arguments to
14060 k_casinhf.c.
14061 * math/s_casinhl.c: Do not include <float.h>.
14062 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14063 redefine.
14064 (__casinhl): Move code for finite nonzero arguments to
14065 k_casinhl.c.
14066 * math/libm-test.inc (cacos_test): Add more tests.
14067 * sysdeps/i386/fpu/libm-test-ulps: Update.
14068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14069
14070 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
14071
14072 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14073 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14074 [!HAVE_MREMAP]: Remove [defined linux] case.
14075 * malloc/arena.c: Do not include <malloc-sysdep.h>.
14076
14077 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14078
14079 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14080
14081 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
14082
14083 * elf/elf.h (R_386_SIZE32): New relocation.
14084 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14085 R_386_SIZE32.
14086 (elf_machine_rela): Likewise.
14087 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14088 R_X86_64_SIZE64 and R_X86_64_SIZE32.
14089
14090 2013-01-17 Joseph Myers <joseph@codesourcery.com>
14091
14092 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14093 (FP_FAST_FMA): Do not define.
14094 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14095 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14096 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14097 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14098 !_SOFT_FLOAT]: Likewise.
14099 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14100 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14101 value.
14102 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14103 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14104 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14105 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14106 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14107 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14108 file.
14109
14110 2013-01-16 Andreas Schwab <schwab@suse.de>
14111
14112 [BZ #14327]
14113 * include/stdlib.h (__mktemp): Add declaration.
14114 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14115 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14116
14117 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14118
14119 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14120 definitions.
14121 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14122 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14123 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14124 definitions here.
14125 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14126 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14127 definitions.
14128 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14129 and ONE.
14130 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14131 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14132 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14133 definitions.
14134 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14135 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14136 definitions.
14137 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14138
14139 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14140
14141 2013-01-15 David S. Miller <davem@davemloft.net>
14142
14143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14144 trunc{,f} to libm-sysdep_routes.
14145 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14147 file.
14148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14150 file.
14151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14152 file.
14153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14155 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14156 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14157 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14158 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14159 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14160 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14161
14162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14163 nearbyint{,f} to libm-sysdep_routes.
14164 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14166 New file.
14167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14168 file.
14169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14170 New file.
14171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14172 file.
14173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14175 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14176 file.
14177 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14178 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14179 file.
14180 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14181 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14182 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14183
14184 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14185 libc_feholdexcept and libc_fesetenv.
14186
14187 2013-01-15 Mike Frysinger <vapier@gentoo.org>
14188
14189 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14190
14191 2013-01-14 David S. Miller <davem@davemloft.net>
14192
14193 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14194 (SPARC_ASM_VIS2_IFUNC): Likewise.
14195 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14197 use of 'siam' instruction.
14198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14199 Likewise.
14200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14201 Likewise.
14202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14203 Likewise.
14204 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14205 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14206 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14207 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14209 file.
14210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14211 file.
14212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14213 file.
14214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14215 file.
14216 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14217 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14218 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14219 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14221 new VIS2 routines.
14222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14225 Likewise.
14226 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14227 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14228 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14229 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14231 routines to libm-sysdep_routines.
14232 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14233
14234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14235 fdim/fdimf to libm-sysdep_routines.
14236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14237 file.
14238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14240 file.
14241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14244 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14245 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14246 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14247 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14248
14249 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14250
14251 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14252 to optimize copies.
14253
14254 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14255 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14256 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14257
14258 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14259 local variable MPTWO.
14260 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14261 Likewise.
14262
14263 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14264
14265 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14266 GLOB_NOESCAPE.
14267
14268 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14269
14270 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14271
14272 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14273
14274 * manual/pattern.texi (glob_t): Document gl_flags.
14275 (glob64_t): Likewise.
14276
14277 2013-01-11 David S. Miller <davem@davemloft.net>
14278
14279 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14280 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14281 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
14282 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14283 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14284 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14285 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14286 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14287 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14288 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14289 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14290 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14291 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14292
14293 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14294 sparc V9 rather than using V8 code.
14295 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14296 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14297
14298 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14299 Move to...
14300 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14301 Here.
14302
14303 2013-01-11 Roland McGrath <roland@hack.frob.com>
14304
14305 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14306 not in the main loop.
14307 * configure: Regenerated.
14308
14309 2013-01-11 Joseph Myers <joseph@codesourcery.com>
14310
14311 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14312 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14313 to just #else.
14314 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14315 [!__GLIBC_HAVE_LONG_LONG] case.
14316 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14317 condition to just #else.
14318 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14319 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14320 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14321 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14322 unconditional.
14323 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14324 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14325 #elif condition to just #else.
14326 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14327 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14328 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14329 #elif condition to just #else.
14330
14331 2013-01-11 Steve Ellcey <sellcey@mips.com>
14332
14333 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14334 (EF_MIPS_ARCH_64): Fix value.
14335 (EF_MIPS_ARCH_32R2): New.
14336 (EF_MIPS_ARCH_64R2): New.
14337
14338 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14339
14340 * Makeconfig (+link-pie-before-libc): New.
14341 (+link-pie-after-libc): Likewise.
14342 (+link-pie-tests): Likewise.
14343 (+link-pie): Rewritten.
14344 (link-before-libc): Remove $(config-LDFLAGS).
14345 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14346 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14347 (config-LDFLAGS): Renamed to ...
14348 (rtld-LDFLAGS): This.
14349 (rtld-tests-LDFLAGS): New macro.
14350 (link-libc-rpath-link): Likewise.
14351 (link-libc-tests-rpath-link): Likewise.
14352 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14353 (link-libc): Prepand $(link-libc-rpath-link).
14354 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14355 (test-program-prefix): New macro.
14356 (test-via-rtld-prefix): Likewise.
14357 (test-program-cmd): Likewise.
14358 (host-test-program-cmd): Likewise.
14359 * Makefile ($(common-objpfx)testrun.sh): Replace
14360 $(run-program-prefix) with $(test-program-prefix).
14361 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14362 $(rtld-LDFLAGS).
14363 ($(common-objpfx)shlib.lds): Likewise.
14364 (build-module-helper): Likewise.
14365 ($(common-objpfx)format.lds): Likewise.
14366 * Rules (binaries-pie-tests): New.
14367 (binaries-pie-notests): Likewise.
14368 (binaries-pie): Rewritten.
14369 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14370 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14371 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14372 (make-test-out): Replace $(host-built-program-cmd) with
14373 $(host-test-program-cmd).
14374 * config.make.in (build-hardcoded-path-in-tests): New variable.
14375 * configure.in (--enable-hardcoded-path-in-tests): New configure
14376 option.
14377 (hardcoded_path_in_tests): New AC_SUBST.
14378 * configure: Regenerated.
14379 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14380 $(built-program-cmd) with $(test-program-cmd).
14381 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14382 (test_program_cmd): This.
14383 * elf/Makefile ($(objpfx)order.out): Run test with
14384 $(test-program-prefix).
14385 ($(objpfx)order2.out): Likewise.
14386 ($(objpfx)tst-initorder.out): Likewise.
14387 ($(objpfx)tst-initorder2.out): Likewise.
14388 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14389 $(test-program-cmd).
14390 ($(objpfx)tst-array1-static.out): Likewise.
14391 ($(objpfx)tst-array2.out): Likewise.
14392 ($(objpfx)tst-array3.out): Likewise.
14393 ($(objpfx)tst-array4.out): Likewise.
14394 ($(objpfx)tst-array5.out): Likewise.
14395 ($(objpfx)tst-array5-static.out): Likewise.
14396 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14397 $(test-program-cmd).
14398 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14399 $(run-program-prefix) with $(test-program-prefix).
14400 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14401 (test_program_prefix): This.
14402 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14403 $(run-program-prefix) with $(test-program-prefix).
14404 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14405 (test_program_prefix): This.
14406 * iconvdata/tst-tables.sh: Likewise.
14407 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14408 $(run-program-prefix) with $(test-program-prefix).
14409 ($(objpfx)tst-translit.out): Likewise.
14410 ($(objpfx)tst-gettext2.out): Likewise.
14411 ($(objpfx)tst-gettext4.out): Likewise.
14412 ($(objpfx)tst-gettext6.out): Likewise.
14413 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14414 (test_program_prefix): This.
14415 * intl/tst-gettext2.sh: Likewise.
14416 * intl/tst-gettext4.sh Likewise.
14417 * intl/tst-gettext6.sh: Likewise.
14418 * intl/tst-translit.sh: Likewise.
14419 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14420 with $(test-program-cmd).
14421 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14422 $(run-program-prefix) with $(test-program-prefix).
14423 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14424 (test_program_prefix): This.
14425 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14426 $(run-program-prefix) with $(test-program-prefix).
14427 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14428 (test_program_prefix): This.
14429 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14430 * posix/Makefile ($(objpfx)globtest.out): Replace
14431 $(run-via-rtld-prefix) and $(test-wrapper) with
14432 $(test-program-prefix) and $(test-via-rtld-prefix).
14433 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14434 $(test-program-prefix).
14435 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14436 $(host-test-program-cmd).
14437 (tst-spawn-ARGS): Likewise.
14438 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14439 $(test-program-prefix).
14440 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14441 (test_via_rtld_prefix): This.
14442 (test_wrapper): Renamed to ...
14443 (test_program_prefix): This.
14444 (run_program_prefix): Replaced by test_program_prefix.
14445 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14446 (test_program_prefix): This.
14447 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14448 with $(host-test-program-cmd).
14449 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14450 $(run-program-prefix) with $(test-program-prefix).
14451 ($(objpfx)tst-printf.out): Likewise.
14452 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14453 $(test-program-cmd).
14454 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14455 (test_program_prefix): This.
14456 * stdio-common/tst-unbputc.sh: Likewise.
14457 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14458 $(run-program-prefix) with $(test-program-prefix).
14459 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14460 (test_program_prefix): This.
14461 * string/Makefile ($(objpfx)tst-svc.out): Replace
14462 $(built-program-cmd) with $(test-program-cmd).
14463
14464 2013-01-11 Andreas Jaeger <aj@suse.de>
14465
14466 [BZ #15003]
14467 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14468 value. Sync with Linux 3.7.
14469
14470 2013-01-10 David S. Miller <davem@davemloft.net>
14471
14472 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14473 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14474 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14475
14476 2013-01-10 Roland McGrath <roland@hack.frob.com>
14477
14478 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14479 never set.
14480 * configure: Regenerated.
14481
14482 2013-01-10 David S. Miller <davem@davemloft.net>
14483
14484 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14485 sparc V9 rather than using V8 code.
14486 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14487 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14488
14489 2013-01-10 Roland McGrath <roland@hack.frob.com>
14490
14491 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14492 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14493 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14494 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14495 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14496 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14497 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14498 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14499 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14500 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14501 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14502 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14503 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14504 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14505 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14506 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14507 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14508 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14509 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14510 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14511 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14512 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14513 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14514 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14515 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14516 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14517 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14518
14519 2013-01-10 David S. Miller <davem@davemloft.net>
14520
14521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14522
14523 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14524
14525 * posix/Makefile (tests-static): New variable.
14526 (tests): Add $(tests-static).
14527 (tst-exec-static-ARGS): New variable.
14528 (tst-spawn-static-ARGS): Likewise.
14529 * posix/tst-exec-static.c: New file.
14530 * posix/tst-spawn-static.c: Likewise.
14531 * posix/tst-exec.c: Support run directly.
14532 * posix/tst-spawn.c: Likewise.
14533
14534 2013-01-10 Joseph Myers <joseph@codesourcery.com>
14535
14536 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14537 long.
14538 * math/bits/mathcalls.h (llrint): Likewise.
14539 (llround): Likewise.
14540 * stdlib/stdlib.h (struct drand48_data): Likewise.
14541 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14542 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14543 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14544 Likewise.
14545 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14546 Likewise.
14547 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14548 (elf_greg_t): Likewise.
14549 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14550 (__jmp_buf): Likewise.
14551 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14552 definitions.
14553 (llrint): Likewise, for all definitions.
14554 (llrintl): Likewise.
14555
14556 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14557 Remove [__GNUC__] condition.
14558 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14559 condition to just [__USE_ISOC99].
14560 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14561
14562 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14563
14564 [BZ #14200]
14565 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14566 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14567 defined.
14568 (_POSIX_V6_ILP32_OFF32): Likewise.
14569 (_XBS5_ILP32_OFF32): Likewise.
14570 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14571 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14572
14573 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14574
14575 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14576
14577 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14578 doubles __mpexp_twomm1. Adjust usage.
14579 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14580 Remove.
14581
14582 2013-01-10 Andreas Schwab <schwab@suse.de>
14583
14584 [BZ #14964]
14585 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14586 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14587
14588 2013-01-09 David S. Miller <davem@davemloft.net>
14589
14590 [BZ #15003]
14591 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14592 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14593 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14594 TCP_FASTOPEN): Define.
14595 (tcp_repair_opt): New structure.
14596 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14597 enum values.
14598 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14599 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14600 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14601 (tcp_cookie_transactions): New structure.
14602
14603 2013-01-09 Anton Blanchard <anton@samba.org>
14604
14605 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14606 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14607 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14608 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14609
14610 2013-01-09 Joseph Myers <joseph@codesourcery.com>
14611
14612 * include/features.h (__USE_ANSI): Remove.
14613
14614 2013-01-09 Roland McGrath <roland@hack.frob.com>
14615
14616 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14617
14618 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14619
14620 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14621
14622 * sysdeps/s390/fpu/libm-test-ulps: Update.
14623
14624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14625
14626 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14627 (__acr): Likewise.
14628 (__cpy): Likewise.
14629 (norm): Likewise.
14630 (denorm): Likewise.
14631 (__mp_dbl): Likewise.
14632 (__dbl_mp): Likewise.
14633 (add_magnitudes): Likewise.
14634 (sub_magnitudes): Likewise.
14635 (__add): Likewise.
14636 (__sub): Likewise.
14637 (__mul): Likewise.
14638 (__inv): Likewise.
14639 (__dvd): Likewise.
14640 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14641 (__acr): Likewise.
14642 (__cpy): Likewise.
14643 (norm): Likewise.
14644 (denorm): Likewise.
14645 (__mp_dbl): Likewise.
14646 (__dbl_mp): Likewise.
14647 (add_magnitudes): Likewise.
14648 (sub_magnitudes): Likewise.
14649 (__add): Likewise.
14650 (__sub): Likewise.
14651 (__mul): Likewise.
14652 (__inv): Likewise.
14653 (__dvd): Likewise.
14654 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14655 (__acr): Likewise.
14656 (__cpy): Likewise.
14657 (norm): Likewise.
14658 (denorm): Likewise.
14659 (__mp_dbl): Likewise.
14660 (__dbl_mp): Likewise.
14661 (add_magnitudes): Likewise.
14662 (sub_magnitudes): Likewise.
14663 (__add): Likewise.
14664 (__sub): Likewise.
14665 (__mul): Likewise.
14666 (__inv): Likewise.
14667 (__dvd): Likewise.
14668
14669 2013-01-08 Joseph Myers <joseph@codesourcery.com>
14670
14671 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14672 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14673 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14674 2 && __USE_EXTERN_INLINES]: Likewise.
14675
14676 2013-01-08 Andreas Jaeger <aj@suse.de>
14677
14678 [BZ# 14985]
14679 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14680 Remove.
14681 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14682 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14683
14684 2013-01-07 Anton Blanchard <anton@samba.org>
14685
14686 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14687 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14688 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14689 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14690 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14691 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14692 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14693 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14694 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14695 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14696 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14697 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14698 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14699 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14700 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14701 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14702 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14703 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14704 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14705 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14706 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14707 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14708 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14709 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14710 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14711 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14712 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14713 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14714 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14715 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14716 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14717 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14718 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14719 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14720 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14721 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14722 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14723 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14724 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14725 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14726 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14727 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14728 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14729
14730 2013-01-07 Joseph Myers <joseph@codesourcery.com>
14731
14732 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14733 (__MALLOC_PMT): Likewise.
14734 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14735 [__GNUC__], only on [_LIBC].
14736 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14737 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14738 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14739 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14740 forward declaration.
14741 (realloc_hook_ini): Likewise.
14742 (memalign_hook_ini): Likewise.
14743 (__libc_memalign): Do not use __MALLOC_PMT in variable
14744 declaration.
14745 (__libc_valloc): Likewise.
14746 (__libc_pvalloc): Likewise.
14747 (__libc_calloc): Likewise.
14748 (__posix_memalign): Likewise.
14749
14750 [BZ #14996]
14751 * math/s_casinh.c: Include <float.h>.
14752 (__casinh): Do not do computation with squaring and square root
14753 for large arguments.
14754 * math/s_casinhf.c: Include <float.h>.
14755 (__casinhf): Do not do computation with squaring and square root
14756 for large arguments.
14757 * math/s_casinhl.c: Include <float.h>.
14758 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14759 (__casinhl): Do not do computation with squaring and square root
14760 for large arguments.
14761 * math/libm-test.inc (casin_test): Add more tests.
14762 (casinh_test): Likewise.
14763 * sysdeps/i386/fpu/libm-test-ulps: Update.
14764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14765
14766 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
14767
14768 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14769 (__x86_64_raw_data_cache_size): Likewise.
14770 (__x86_64_data_cache_size_half): Likewise.
14771 (__x86_64_raw_data_cache_size_half): Likewise.
14772 (__x86_64_shared_cache_size): Likewise.
14773 (__x86_64_raw_shared_cache_size): Likewise.
14774 (__x86_64_shared_cache_size_half): Likewise.
14775 (__x86_64_raw_shared_cache_size_half): Likewise.
14776 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14777 to ...
14778 (__x86_data_cache_size): This.
14779 (__x86_64_raw_data_cache_size): Renamed to ...
14780 (__x86_raw_data_cache_size): This.
14781 (__x86_64_data_cache_size_half): Renamed to ...
14782 (__x86_data_cache_size_half): This.
14783 (__x86_64_raw_data_cache_size_half): Renamed to ...
14784 (__x86_raw_data_cache_size_half): This.
14785 (__x86_64_shared_cache_size): Renamed to ...
14786 (__x86_shared_cache_size): This.
14787 (__x86_64_raw_shared_cache_size): Renamed to ...
14788 (__x86_raw_shared_cache_size): This.
14789 (__x86_64_shared_cache_size_half): Renamed to ...
14790 (__x86_shared_cache_size_half): This.
14791 (__x86_64_raw_shared_cache_size_half): Renamed to ...
14792 (__x86_raw_shared_cache_size_half): This.
14793 * sysdeps/x86_64/memcpy.S: Updated.
14794 * sysdeps/x86_64/memset.S: Likewise.
14795 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14796 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14797 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14798
14799 2013-01-04 David S. Miller <davem@davemloft.net>
14800
14801 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14802
14803 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
14804
14805 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
14806 1 to avoid redefinition warning.
14807 (__USE_GNU): Don't define.
14808 (init_signaling_nan): Protoize.
14809
14810 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14811
14812 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14813
14814 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
14815 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
14816 (__cpymn): Likewise.
14817 (norm): Remove commented code.
14818 (denorm): Likewise.
14819 (__mp_dbl): Likewise.
14820 (__inv): Likewise.
14821 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
14822 (__cpymn): Likewise.
14823 (norm): Remove commented code.
14824 (denorm): Likewise.
14825 (__mp_dbl): Likewise.
14826 (__inv): Likewise.
14827
14828 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
14829 mp_no value for 1.0 and 2.0.
14830 (norm): Use RADIXI instead of radixi.d.
14831 (denorm): Likewise.
14832 (__mul): Use 0.0 instead of zero.d.
14833 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
14834 mp_no value for 1.0 and 2.0.
14835 (norm): Use RADIXI instead of radixi.d.
14836 (denorm): Likewise.
14837 (__mul): Use 0.0 instead of zero.d.
14838
14839 2013-01-04 Joseph Myers <joseph@codesourcery.com>
14840
14841 [BZ #14994]
14842 * math/s_casinh.c (__casinh): Reduce finite argument to first
14843 quadrant then set signs of results at the end.
14844 * math/s_casinhf.c (__casinhf): Likewise.
14845 * math/s_casinhl.c (__casinhl): Likewise.
14846 * math/libm-test.inc (casin_test): Add more tests.
14847 (casinh_test): Likewise.
14848 * sysdeps/i386/fpu/libm-test-ulps: Update.
14849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14850
14851 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14852
14853 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
14854
14855 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
14856
14857 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
14858 declarations.
14859 (denorm): Likewise.
14860 (__mp_dbl): Likewise.
14861 (__inv): Likewise.
14862
14863 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
14864 and adjust the header comment.
14865
14866 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
14867 variable name from declaration.
14868
14869 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
14870
14871 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14872 Initialize COMMON_CPUID_INDEX_7 element.
14873 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
14874 (CPUID_RTM): Likewise.
14875 (HAS_RTM): Likewise.
14876 (COMMON_CPUID_INDEX_7): New enum.
14877
14878 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
14879
14880 [BZ #14981]
14881 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
14882 size is zero, record memory as freed.
14883
14884 2013-01-03 Andreas Jaeger <aj@suse.de>
14885
14886 * po/ia.po: Add new Interlingua translation.
14887
14888 2012-01-03 Allan McRae <allan@archlinux.org>
14889
14890 * locale/programs/localedef.c: Fix description of '--posix' flag.
14891
14892 2013-01-02 Joseph Myers <joseph@codesourcery.com>
14893
14894 * NEWS: Update dates in second copyright notice.
14895 * README: Update copyright dates in example.
14896 * manual/libc.texinfo: Update copyright dates.
14897 * scripts/test-installation.pl: Update copyright date in --version
14898 output.
14899
14900 * hurd/ctty-input.c: Fix copyright notice formatting.
14901 * hurd/ctty-output.c: Likewise.
14902 * hurd/dtable.c: Likewise.
14903 * hurd/hurd-raise.c: Likewise.
14904 * hurd/hurdprio.c: Likewise.
14905 * hurd/msgportdemux.c: Likewise.
14906 * misc/sys/file.h: Likewise.
14907 * misc/sys/ioctl.h: Likewise.
14908 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14909 * sysdeps/mach/hurd/chdir.c: Likewise.
14910 * sysdeps/mach/hurd/fchdir.c: Likewise.
14911 * sysdeps/mach/hurd/rename.c: Likewise.
14912 * sysdeps/mach/hurd/rmdir.c: Likewise.
14913 * sysdeps/mach/hurd/seekdir.c: Likewise.
14914 * sysdeps/mach/hurd/setsid.c: Likewise.
14915 * sysdeps/posix/wait3.c: Likewise.
14916
14917 * All files with FSF copyright notices: Update copyright dates
14918 using scripts/update-copyrights.
14919 * intl/plural.c: Regenerated.
14920 * locale/programs/charmap-kw.h: Likewise.
14921 * locale/programs/locfile-kw.h: Likewise.
14922
14923 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14924
14925 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
14926 four values.
14927
14928 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
14929 calculation loop and add branch prediction.
14930
14931 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
14932 check access beyond bounds of m1np.
14933
14934 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
14935 MPTWO.
14936 (__inv): Remove local variable MPTWO to use the global
14937 constant.
14938 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
14939 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
14940 variable MPTWO.
14941 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
14942 MP3HALFS static const.
14943
14944 2013-01-01 David S. Miller <davem@davemloft.net>
14945
14946 * po/ca.po: Update from translation team.
14947
14948 2013-01-01 Joseph Myers <joseph@codesourcery.com>
14949
14950 * scripts/update-copyrights: New file.
14951 * Makeconfig: Reformat copyright notice.
14952 * ctype/ctype.h: Likewise.
14953 * debug/swprintf_chk.c: Likewise.
14954 * elf/dl-cache.c: Likewise.
14955 * elf/dl-debug.c: Likewise.
14956 * elf/dl-object.c: Likewise.
14957 * grp/initgroups.c: Likewise.
14958 * hurd/Makefile: Likewise.
14959 * hurd/hurd/signal.h: Likewise.
14960 * hurd/hurdfault.c: Likewise.
14961 * hurd/hurdioctl.c: Likewise.
14962 * hurd/hurdlookup.c: Likewise.
14963 * hurd/intr-msg.c: Likewise.
14964 * iconv/gconv_open.c: Likewise.
14965 * libio/swprintf.c: Likewise.
14966 * locale/lc-ctype.c: Likewise.
14967 * locale/nl_langinfo.c: Likewise.
14968 * mach/Machrules: Likewise.
14969 * mach/Makefile: Likewise.
14970 * malloc/obstack.h: Likewise.
14971 * manual/Makefile: Likewise.
14972 * manual/tsort.awk: Likewise.
14973 * misc/bits/stab.def: Likewise.
14974 * nis/nis_print_group_entry.c: Likewise.
14975 * nis/nis_table.c: Likewise.
14976 * nis/nss_compat/compat-pwd.c: Likewise.
14977 * nis/nss_compat/compat-spwd.c: Likewise.
14978 * po/Makefile: Likewise.
14979 * posix/fnmatch.c: Likewise.
14980 * posix/regex.h: Likewise.
14981 * resolv/Makefile: Likewise.
14982 * resolv/nss_dns/dns-network.c: Likewise.
14983 * resolv/res_hconf.c: Likewise.
14984 * scripts/gen-sorted.awk: Likewise.
14985 * soft-fp/soft-fp.h: Likewise.
14986 * stdio-common/printf.h: Likewise.
14987 * stdlib/monetary.h: Likewise.
14988 * stdlib/random.c: Likewise.
14989 * stdlib/random_r.c: Likewise.
14990 * sysdeps/generic/Makefile: Likewise.
14991 * sysdeps/gnu/Makefile: Likewise.
14992 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14993 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14994 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14995 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14996 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14997 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14998 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14999 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15000 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15001 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15002 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15003 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15004 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15005 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15006 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15007 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15008 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15009 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15010 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15011 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15012 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15013 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15014 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15015 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15016 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15017 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15018 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15019 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15020 * sysdeps/mach/hurd/errnos.awk: Likewise.
15021 * sysdeps/mach/hurd/fork.c: Likewise.
15022 * sysdeps/mach/hurd/getcwd.c: Likewise.
15023 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15024 * sysdeps/mach/hurd/mmap.c: Likewise.
15025 * sysdeps/mach/hurd/utimes.c: Likewise.
15026 * sysdeps/mach/hurd/xmknod.c: Likewise.
15027 * sysdeps/posix/profil.c: Likewise.
15028 * sysdeps/posix/readdir_r.c: Likewise.
15029 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15030 * sysdeps/powerpc/bits/setjmp.h: Likewise.
15031 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15032 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15033 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15034 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15035 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15036 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15037 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15038 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15039 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15040 * sysdeps/pthread/lio_listio.c: Likewise.
15041 * sysdeps/sparc/dl-procinfo.h: Likewise.
15042 * sysdeps/unix/i386/sysdep.S: Likewise.
15043 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15044 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15045 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15046 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15048 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15049 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15050 * sysdeps/unix/sysv/linux/speed.c: Likewise.
15051 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15052 * sysdeps/wordsize-32/divdi3.c: Likewise.
15053 * time/sys/time.h: Likewise.
15054 * wcsmbs/Makefile: Likewise.
15055
15056 2013-01-01 David S. Miller <davem@davemloft.net>
15057
15058 * po/fr.po: Update from translation team.
15059
15060 * catgets/gencat.c: Update copyright year.
15061 * csu/version.c: Likewise.
15062 * debug/catchsegv.sh: Likewise.
15063 * debug/pcprofiledump.c: Likewise.
15064 * debug/xtrace.sh: Likewise.
15065 * elf/ldconfig.c: Likewise.
15066 * elf/ldd.bash.in: Likewise.
15067 * elf/pldd.c: Likewise.
15068 * elf/sotruss.ksh: Likewise.
15069 * elf/sprof.c: Likewise.
15070 * iconv/iconv_prog.c: Likewise.
15071 * iconv/iconvconfig.c: Likewise.
15072 * locale/programs/locale.c: Likewise.
15073 * locale/programs/localedef.c: Likewise.
15074 * login/programs/pt_chown.c: Likewise.
15075 * malloc/memusage.sh: Likewise.
15076 * malloc/memusagestat.c: Likewise.
15077 * malloc/mtrace.pl: Likewise.
15078 * nscd/nscd.c: Likewise.
15079 * nss/getent.c: Likewise.
15080 * nss/makedb.c: Likewise.
15081 * posix/getconf.c: Likewise.
15082
15083 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15084
15085 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15086 numbers.
15087
15088 2012-12-30 Mike Frysinger <vapier@gentoo.org>
15089
15090 * math/bits/mathcalls.h (modf): Use __nonnull.
15091
15092 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15093
15094 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15095 (split): Use macro CN instead of the bare value.
15096 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15097 could be used.
15098 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15099 instead of the bare value.
15100 (power1): Likewise.
15101
15102 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15103
15104 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15105 __ATAN_TWOM.
15106 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15107
15108 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15109 their values.
15110 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15111 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15112 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15113 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15114
15115 2012-12-28 Andreas Jaeger <aj@suse.de>
15116
15117 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
15118 values are from Linux 3.7.
15119
15120 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15121 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
15122
15123 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15124
15125 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
15126 TRUE case.
15127
15128 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15129 (norm): Likewise.
15130 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15131 variables with preprocessor constants.
15132 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15133 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15134 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15135
15136 2012-12-27 Bruno Haible <bruno@clisp.org>
15137
15138 [BZ #14317]
15139 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15140 only if needed.
15141
15142 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15143
15144 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15145 and use variable directly.
15146 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15147
15148 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15149 MPONE.
15150 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15151 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15152 variable MPONE.
15153 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15154 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15155 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15156 include directive. Remove local variable MPONE.
15157 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15158 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15159 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15160
15161 2012-12-25 David S. Miller <davem@davemloft.net>
15162
15163 * version.h (RELEASE): Set to "development".
15164 (VERSION): Set to "2.17.90".
15165 * NEWS: Add 2.18 section.
15166
15167 2012-12-21 David S. Miller <davem@davemloft.net>
15168
15169 * po/hr.po: Update from translation team.
15170
15171 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15172
15173 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15174
15175 2012-12-19 Steve Ellcey <sellcey@mips.com>
15176
15177 * NEWS: Mention new memcpy for MIPS.
15178
15179 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15180
15181 * manual/contrib.texi (Contributors): Spelling correction.
15182
15183 2012-12-15 David S. Miller <davem@davemloft.net>
15184
15185 * po/ru.po: Update from translation team.
15186
15187 2012-12-13 David S. Miller <davem@davemloft.net>
15188
15189 * NEWS: Mention IFUNC testsuite enhancements.
15190
15191 * po/pl.po: Update from translation team.
15192 * po/bg.po: Likewise.
15193
15194 * manual/contrib.texi (Contributors): Update entries for Hongjiu
15195 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
15196
15197 2012-12-11 David S. Miller <davem@davemloft.net>
15198
15199 * po/sv.po: Update from translation team.
15200
15201 * po/vi.po: Update from translation team.
15202
15203 * po/cs.po: Update from translation team.
15204
15205 * po/de.po: Update from translation team.
15206 * po/eo.po: Likewise.
15207 * po/nl.po: Likewise.
15208
15209 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15210
15211 [BZ #14246]
15212 * manual/argp.texi (Argp Helper Functions): Move node to follow
15213 Argp Parsing State.
15214
15215 [BZ #14872]
15216 * manual/conf.texi (Limits on File System Capacity): Mention if
15217 terminating null is included in the max size.
15218
15219 2012-12-10 Andreas Jaeger <aj@suse.de>
15220
15221 * po/cs.po: Update from translation team.
15222
15223 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15224
15225 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15226 void pointer and cast to uintptr_t.
15227 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15228 path.
15229 * sysdeps/s390/s390-64/memcpy.S: Likewise.
15230 * sysdeps/s390/s390-64/memset.S: Likewise.
15231
15232 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
15233
15234 [BZ #14833]
15235 * menual/message.texi (Message Translation): Fix typos.
15236 (Helper programs for gettext): Likewise.
15237
15238 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15239
15240 [BZ #14898]
15241 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15242 Change to -1.
15243
15244 2012-12-07 David S. Miller <davem@davemloft.net>
15245
15246 * po/libc.pot: Update.
15247
15248 2012-12-07 Richard Henderson <rth@redhat.com>
15249
15250 [BZ #10114]
15251 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15252 normal/normal case to before the switch.
15253 (_FP_DIV): Likewise.
15254
15255 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15256 Mike Frysinger <vapier@gentoo.org>
15257
15258 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15259 check for __NR_fadvise64_64.
15260
15261 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15262
15263 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15264 0, not just to plain "0" as a statement.
15265 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15266 with cw.
15267
15268 2012-12-06 Joseph Myers <joseph@codesourcery.com>
15269
15270 * NEWS: Use sourceware.org in Bugzilla URL.
15271
15272 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15273
15274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15275 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15276
15277 * stdio-common/tst-put-error.c (do_test): Add newline to the
15278 padded test to ensure flush.
15279
15280 2012-12-05 Jeff Law <law@redhat.com>
15281
15282 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15283
15284 2012-12-05 Joseph Myers <joseph@codesourcery.com>
15285
15286 * README: Don't refer to ports add-on as distributed separately.
15287 Mention AArch64 in list of systems supported in the ports add-on.
15288
15289 * LICENSES: Add more non-FSF copyright and license notices.
15290
15291 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15292 ((unused)).
15293
15294 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15295
15296 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15297 10000 as width of padded output.
15298
15299 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15300
15301 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15302
15303 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15304 variable LX with __attribute__ ((unused)).
15305 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15306 Likewise.
15307 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15308 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15309 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15310 with __attribute__ ((unused)).
15311
15312 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
15313
15314 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15315
15316 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15317
15318 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15319 (CFLAGS-nldbl-acos.c): New variable.
15320 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15321 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15322 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15323 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15324 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15325 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15326 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15327 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15328 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15329 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15330 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15331 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15332 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15333 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15334 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15335 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15336 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15337 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15338 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15339 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15340 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15341 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15342 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15343 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15344 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15345 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15346 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15347 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15348 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15349 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15350 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15351 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15352 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15353 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15354 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15355 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15356 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15357 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15358 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15359 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15360 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15361 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15362 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15363 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15364 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15365 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15366 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15367 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15368 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15369 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15370 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15371 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15372 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15373 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15374 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15375 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15376 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15377 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15378 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15379 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15380 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15381 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15382 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15383 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15384 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15385 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15386 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15387 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15388 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15389 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15390 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15391 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15392 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15393 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15394 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15395 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15396 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15397 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15398 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15399 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15400 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15401 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15402 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15403 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15404 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15405 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15406 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15407 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15408 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15409 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15410 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15411 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15412 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15413 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15414 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15415 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15416 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15417
15418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15419 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15420
15421 [BZ #14914]
15422 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15423 whole low double instead of just low 47 bits when splitting values
15424 into two parts.
15425
15426 2012-12-03 Allan McRae <allan@archlinux.org>
15427
15428 * manual/stdio.texi (Predefined Printf Handlers): Remove
15429 @hsep and @vsep usage.
15430
15431 2012-12-03 Mike Frysinger <vapier@gentoo.org>
15432
15433 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15434 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15435
15436 2012-12-03 Jeff Law <law@redhat.com>
15437
15438 * time/sys/time.h (settimeofday): Do not mark TV argument
15439 as __nonnull.
15440
15441 2012-12-01 Mike Frysinger <vapier@gentoo.org>
15442
15443 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15444 when currently writing and seek to current position when not.
15445 * libio/Makefile (tests): Remove bug-fclose1.
15446 * libio/bug-fclose1.c: Delete.
15447
15448 2012-12-01 Joseph Myers <joseph@codesourcery.com>
15449
15450 * manual/arith.texi (feenableexcept): Fix typo.
15451 (fedisableexcept): Likewise.
15452
15453 2012-11-30 Roland McGrath <roland@hack.frob.com>
15454
15455 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15456 second, differently-typed declaration, rather than a cast.
15457
15458 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15459
15460 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15461 * include/rpc/svc.h: ... here.
15462
15463 2012-11-30 Aurelien Jarno <aurel32@debian.org>
15464
15465 [BZ #13013]
15466 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15467 depending n and resplen2 to catch cases where answer
15468 equals answerp2.
15469
15470 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15471
15472 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15473 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15474
15475 2012-11-29 Mike Frysinger <vapier@gentoo.org>
15476
15477 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15478
15479 2012-11-29 Roland McGrath <roland@hack.frob.com>
15480
15481 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15482
15483 2012-11-28 Jeff Law <law@redhat.com>
15484
15485 [BZ #13761]
15486 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15487 dataset_temporary. Track alloca usage into alloca_used.
15488 If dataset is large allocate and release it via malloc/free.
15489
15490 2012-06-04 Florian Weimer <fweimer@redhat.com>
15491
15492 [BZ #14197]
15493 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15494
15495 2012-11-28 David S. Miller <davem@davemloft.net>
15496
15497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15498
15499 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15500
15501 [BZ #14803]
15502 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15503 of pi/2 rounded to nearest to 64 bits.
15504 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15505 nearest to 64 bits.
15506 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15507 bits.
15508
15509 2012-11-28 Jeff Law <law@redhat.com>
15510 Martin Osvald <mosvald@redhat.com>
15511
15512 [BZ #14889]
15513 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15514 * sunrpc/svc.c: Include time.h.
15515 (__svc_accept_failed): New function.
15516 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15517 any reason other than EINTR, call __svc_accept_failed.
15518 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15519 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15520
15521 2012-11-28 Andreas Schwab <schwab@suse.de>
15522
15523 * scripts/abilist.awk: Also handle indirect functions in .opd
15524 section.
15525
15526 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15527
15528 [BZ #13881]
15529 * sysdeps/x86/fpu/powl_helper.c: New file.
15530 * sysdeps/x86/fpu/Makefile: Likewise.
15531 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15532 (p3): New object.
15533 (__ieee754_powl): Use __powl_helper for finite arguments except
15534 integer exponents below 8.
15535 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15536 (p3): New object.
15537 (__ieee754_powl): Use __powl_helper for finite arguments except
15538 integer exponents below 8.
15539 * math/libm-test.inc (pow_test): Add more tests and enable some
15540 previously disabled tests.
15541 * sysdeps/i386/fpu/libm-test-ulps: Update.
15542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15543
15544 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15545 Carlos O'Donell <carlos_odonell@mentor.com>
15546
15547 * nss/makedb.c (is_prime): Assert that input is odd and greater
15548 than 4. Note that fact in a comment too.
15549 (next_prime): Add 4 to input.
15550
15551 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15552
15553 [BZ #11741]
15554 * libio/Makefile (tests): Add test case tst-fwrite-error.
15555 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15556 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15557 * libio/tst-fwrite-error.c: New test case.
15558
15559 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15560
15561 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15562 before casting to void *.
15563 * include/libc-internal.h (__pointer_type): New macro.
15564 (__integer_if_pointer_type_sub): Likewise.
15565 (__integer_if_pointer_type): Likewise.
15566 (cast_to_integer): Likewise.
15567 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15568 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15569 before casting to atomic64_t.
15570 (atomic_exchange_acq): Likewise.
15571 (__arch_exchange_and_add_body): Likewise.
15572 (__arch_add_body): Likewise.
15573 (atomic_add_negative): Likewise.
15574 (atomic_add_zero): Likewise.
15575
15576 2012-11-26 Joseph Myers <joseph@codesourcery.com>
15577
15578 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15579 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15580 (add_fdes): Likewise.
15581 (linear_search_fdes): Likewise.
15582 (binary_search_unencoded_fdes): Likewise.
15583
15584 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15585
15586 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15587
15588 2012-11-24 Adam Conrad <adconrad@0c3.net>
15589
15590 * configure.in: Autodetect C++ header directories.
15591 * configure: Regenerated.
15592
15593 2012-11-23 Mike Frysinger <vapier@gentoo.org>
15594
15595 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15596
15597 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15598
15599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15600
15601 2012-11-22 Joseph Myers <joseph@codesourcery.com>
15602
15603 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15604 LDBL_MANT_DIG == 106]: Disable some tests.
15605 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15606 Likewise.
15607 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15608 Likewise.
15609
15610 [BZ #14871]
15611 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15612 input for small inputs. Return +/- pi/2 for large inputs.
15613 * math/libm-test.inc (atan_test): Add more tests.
15614
15615 * sysdeps/generic/unwind-dw2-fde-glibc.c
15616 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15617 __attribute__ ((unused)).
15618
15619 [BZ #14645]
15620 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15621 x * y if x and y are nonzero and z is zero.
15622
15623 [BZ #14811]
15624 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15625 nonzero exponents with absolute value below 0x1p-117 to +/-
15626 0x1p-117.
15627
15628 [BZ #14869]
15629 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15630 up arguments below 2**-450, not just those below 2**-500.
15631 * math/libm-test.inc (hypot_test): Add another test.
15632
15633 [BZ #14868]
15634 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15635 Return a+b for ratio over 2**120, not 2**60.
15636 * math/libm-test.inc (hypot_test): Add another test.
15637
15638 * math/libm-test.inc (clog_test): Use
15639 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15640 (clog10_test): Likewise.
15641
15642 [BZ #6778]
15643 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15644
15645 2012-11-22 Andreas Schwab <schwab@suse.de>
15646
15647 * sysdeps/i386/fpu/libm-test-ulps: Update.
15648
15649 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15650
15651 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15652 printf output with newline.
15653
15654 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15655
15656 [BZ #14865]
15657 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15658 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15659 -z nodlopen, -z initfirst and -z execstack support.
15660 * configure: Regenerated.
15661
15662 * elf/elf.h (DF_1_NODIRECT): New macro.
15663 (DF_1_IGNMULDEF): Likewise.
15664 (DF_1_NOKSYMS): Likewise.
15665 (DF_1_NOHDR): Likewise.
15666 (DF_1_EDITED): Likewise.
15667 (DF_1_NORELOC): Likewise.
15668 (DF_1_SYMINTPOSE): Likewise.
15669 (DF_1_GLOBAUDIT): Likewise.
15670 (DF_1_SINGLETON): Likewise.
15671 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15672 DT_1_SUPPORTED_MASK bits.
15673 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15674
15675 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15676
15677 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15678
15679 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15680
15681 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15682 macro.
15683
15684 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15685 (sendmmsg): Move declarations...
15686 * socket/sys/socket.h: ... here.
15687 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15688 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15689 include it from...
15690 * socket/recvmmsg.c: ... this new file.
15691 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15692 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15693 definition of __sendmmsg hidden.
15694 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15695 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15696 Move ENOSYS stub into and include it from...
15697 * socket/sendmmsg.c: ... this new file.
15698 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15699 (sysdep_routines): Move recvmmsg and sendmmsg...
15700 * socket/Makefile (routines): ... here.
15701 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15702 (GLIBC_PRIVATE): Add __sendmmsg.
15703 * include/sys/socket.h (__sendmmsg): Add declarations.
15704 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15705 sendmmsg.
15706
15707 2012-11-20 Joseph Myers <joseph@codesourcery.com>
15708
15709 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15710 variable I1 with __attribute__ ((unused)).
15711 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15712
15713 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15714
15715 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15716 DUMMY variables with __attribute__ ((unused)).
15717
15718 * bits/byteswap.h: Include <bits/types.h>.
15719 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15720
15721 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15722
15723 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15724 string_t. Do not manually set errno.
15725 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15726 length with __strnlen. Make sure to both set errno and return it on
15727 failure.
15728
15729 2012-11-19 David S. Miller <davem@davemloft.net>
15730
15731 With help from Joseph Myers.
15732 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15733 very large arguments properly.
15734 * math/libm-test.inc (atan_test): New tests.
15735 (atan2_test): New tests.
15736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15737 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15738
15739 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15740
15741 [BZ #14856]
15742 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15743 Define to 3.
15744
15745 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15746 [POSIX] (EADDRNOTAVAIL): Likewise.
15747 [POSIX] (EAFNOSUPPORT): Likewise.
15748 [POSIX] (EALREADY): Likewise.
15749 [POSIX] (ECONNABORTED): Likewise.
15750 [POSIX] (ECONNREFUSED): Likewise.
15751 [POSIX] (ECONNRESET): Likewise.
15752 [POSIX] (EDESTADDRREQ): Likewise.
15753 [POSIX] (EDQUOT): Likewise.
15754 [POSIX] (EHOSTUNREACH): Likewise.
15755 [POSIX] (EIDRM): Likewise.
15756 [POSIX] (EISCONN): Likewise.
15757 [POSIX] (ELOOP): Likewise.
15758 [POSIX] (EMULTIHOP): Likewise.
15759 [POSIX] (ENETDOWN): Likewise.
15760 [POSIX] (ENETUNREACH): Likewise.
15761 [POSIX] (ENOBUFS): Likewise.
15762 [POSIX] (ENODATA): Likewise.
15763 [POSIX] (ENOLINK): Likewise.
15764 [POSIX] (ENOMSG): Likewise.
15765 [POSIX] (ENOPROTOOPT): Likewise.
15766 [POSIX] (ENOSR): Likewise.
15767 [POSIX] (ENOSTR): Likewise.
15768 [POSIX] (ENOTCONN): Likewise.
15769 [POSIX] (ENOTSOCK): Likewise.
15770 [POSIX] (EOPNOTSUPP): Likewise.
15771 [POSIX] (EOVERFLOW): Likewise.
15772 [POSIX] (EPROTO): Likewise.
15773 [POSIX] (EPROTONOSUPPORT): Likewise.
15774 [POSIX] (EPROTOTYPE): Likewise.
15775 [POSIX] (ESTALE): Likewise.
15776 [POSIX] (ETIME): Likewise.
15777 [POSIX] (ETXTBSY): Likewise.
15778 [POSIX] (EWOULDBLOCK): Likewise.
15779 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15780 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15781 [POSIX] (SEEK_CUR): Likewise.
15782 [POSIX] (SEEK_END): Likewise.
15783 [POSIX || UNIX98] (mode_t): Do not require.
15784 [POSIX] (off_t): Likewise.
15785 [POSIX] (pid_t): Likewise.
15786 [POSIX] (sys/stat.h): Do not allow header.
15787 [POSIX] (unistd.h): Likewise.
15788 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15789 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15790 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15791 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15792 require.
15793 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15794 sigevent): Specify elements.
15795 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
15796 entry.
15797 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
15798 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
15799
15800 * conform/data/cpio.h-data [POSIX]: Disable whole file.
15801 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
15802 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
15803 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
15804 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
15805 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
15806 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
15807 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
15808 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
15809 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
15810 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
15811 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
15812 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
15813 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
15814 Likewise.
15815 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
15816 Likewise.
15817 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
15818 Likewise.
15819 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
15820 Likewise.
15821 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
15822 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
15823 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
15824 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
15825 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
15826 Specify lower bound on value.
15827 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
15828 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
15829 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
15830 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
15831 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
15832 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
15833 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
15834 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
15835 value.
15836 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
15837 as optional.
15838 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
15839 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
15840 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
15841 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
15842 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
15843 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
15844 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
15845 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
15846 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
15847 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
15848 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
15849 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
15850 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
15851 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
15852 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
15853 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
15854 entry.
15855 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
15856 optional.
15857 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
15858 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
15859 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
15860 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
15861 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
15862 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
15863 Likewise.
15864 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
15865 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
15866 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
15867 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
15868 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
15869 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
15870 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
15871 as optional.
15872 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
15873 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
15874 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
15875 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
15876 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
15877 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
15878 specify as optional.
15879 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
15880 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
15881 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
15882 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
15883 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
15884 [XPG3] (NL_LANGMAX): Likewise.
15885 [POSIX || XPG3] (NL_MSGMAX): Likewise.
15886 [POSIX || XPG3] (NL_NMAX): Likewise.
15887 [POSIX || XPG3] (NL_SETMAX): Likewise.
15888 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
15889 [XPG3] (NZERO): Likewise.
15890 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
15891 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
15892 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
15893 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
15894 (REG_ERANGE): Expect.
15895 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
15896 optional-constant.
15897 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
15898 Use (void) in prototype.
15899 [POSIX] (*_t): Allow.
15900 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
15901 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
15902 (WRDE_BADVAL): Expect.
15903
15904 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
15905 expect.
15906 [XPG3 || XPG4] (O_RSYNC): Likewise.
15907 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
15908 Likewise.
15909 [XPG3 || XPG4] (pthread_sigmask): Likewise.
15910 [XPG3 || XPG4] (sigqueue): Likewise.
15911 [XPG3 || XPG4] (sigtimedwait): Likewise.
15912 [XPG3 || XPG4] (sigwaitinfo): Likewise.
15913 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
15914 [XPG3 || XPG4] (vsnprintf): Likewise.
15915 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
15916 Likewise.
15917 [XPG3 || XPG4] (blksize_t): Likewise.
15918 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
15919 Likewise.
15920 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
15921 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15922 [XPG3 || XPG4] (struct itimerspec): Likewise.
15923 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
15924 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
15925 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
15926 [XPG3 || XPG4] (clockid_t): Likewise.
15927 [XPG3 || XPG4] (timer_t): Likewise.
15928 [XPG3 || XPG4] (clock_getres): Likewise.
15929 [XPG3 || XPG4] (clock_gettime): Likewise.
15930 [XPG3 || XPG4] (clock_settime): Likewise.
15931 [XPG3 || XPG4] (nanosleep): Likewise.
15932 [XPG3 || XPG4] (timer_create): Likewise.
15933 [XPG3 || XPG4] (timer_delete): Likewise.
15934 [XPG3 || XPG4] (timer_gettime): Likewise.
15935 [XPG3 || XPG4] (timer_getoverrun): Likewise.
15936 [XPG3 || XPG4] (timer_settime): Likewise.
15937 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
15938 [XPG3 || XPG4] (getlogin_r): Likewise.
15939 [XPG3 || XPG4] (pread): Likewise.
15940 [XPG3 || XPG4] (pthread_atfork): Likewise.
15941 [XPG3 || XPG4] (pwrite): Likewise.
15942
15943 [BZ #14835]
15944 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
15945 <bits/siginfo.h>.
15946
15947 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15948
15949 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
15950 finalizing MALLSTREAM.
15951
15952 * sysdeps/mach/hurd/syncfs.c: New file.
15953
15954 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15955
15956 [BZ #14719]
15957 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
15958 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
15959 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
15960 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
15961 (_nss_dns_gethostbyname4_r): Likewise.
15962 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
15963 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
15964
15965 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
15966
15967 [BZ #13763]
15968 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
15969
15970 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
15971
15972 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
15973 * elf/cache.c (print_entry): Print ",AArch64" for
15974 FLAG_AARCH64_LIB64
15975
15976 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
15977 * elf/cache.c (print_entry): Print ",hard-float" for
15978 FLAG_ARM_LIBHF.
15979
15980 2012-11-18 David S. Miller <davem@davemloft.net>
15981
15982 With help from Joseph Myers.
15983 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
15984 cutoff to 2**-13.
15985 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
15986 cutoff to 2**-25.
15987 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
15988 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
15989 small.
15990 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
15991 * math/libm-test.inc (y0_test): New tests.
15992 (y1_test): New tests.
15993 * sysdeps/i386/fpu/libm-test-ulps: Update.
15994 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15996
15997 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
15998
15999 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16000 64-bit targets.
16001 * configure: Regenerated.
16002
16003 2012-11-17 David S. Miller <davem@davemloft.net>
16004
16005 [BZ #14811]
16006 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16007 nonzero exponents with absolute value below 0x1p-128 to +/-
16008 0x1p-128.
16009
16010 2012-11-17 Joseph Myers <joseph@codesourcery.com>
16011
16012 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16013
16014 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16015
16016 * posix/getconf-speclist.c: New file.
16017 * posix/posix-envs.def: Likewise.
16018 * posix/confstr.c (START_ENV_GROUP): New macro.
16019 (END_ENV_GROUP): Likewise.
16020 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16021 (KNOWN_PRESENT_ENV_STRING): Likewise.
16022 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16023 (UNKNOWN_ENVIRONMENT): Likewise.
16024 (confstr): Include posix-envs.def instead of handling
16025 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16026 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16027 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16028 (END_ENV_GROUP): Likewise.
16029 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16030 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16031 (UNKNOWN_ENVIRONMENT): Likewise.
16032 (__sysconf): Include posix-envs.def instead of handling associated
16033 cases directly here.
16034 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16035 preprocessing getconf-speclist.c rather than running getconf or
16036 generating empty file.
16037
16038 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
16039
16040 * scripts/check-local-headers.sh: Ignore 'mach' headers.
16041
16042 2012-11-16 Andrej Lajovic <natrij@gmail.com>
16043
16044 [BZ #14672]
16045 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16046
16047 2012-11-16 David S. Miller <davem@davemloft.net>
16048
16049 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16050 smaller than LDBL_EPSILON/2.0L, just return xm1.
16051
16052 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
16053
16054 * elf/tst-array1.c (init): Set constructor priority to 1000.
16055 (fini): Set destructor priority to 1000.
16056 * elf/tst-array2dep.c: Likewise.
16057
16058 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16059
16060 [BZ #11741]
16061 * libio/fileops.c (_IO_new_file_write): Correctly return error.
16062 (_IO_new_file_xsputn): Also return EOF if none of the input
16063 data was written when overflow failed.
16064 * libio/iopadn.c (_IO_padn): Likewise.
16065 * libio/iowpadn.c (_IO_wpadn): Likewise.
16066 * stdio-common/tst-put-error.c: Add copyright notice.
16067 (do_test): Add case for printing padded string.
16068 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16069 _IO_padn returned error.
16070 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16071 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16072 return EOF.
16073
16074 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16075
16076 * libio/libioP.h: Add comment note that the references to C++
16077 bits are now obsolete.
16078
16079 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16080
16081 * math/libm-test.inc (check_complex): Use asprintf.
16082
16083 2012-11-14 Joseph Myers <joseph@codesourcery.com>
16084
16085 * debug/pcprofiledump.c (print_version): Update copyright year.
16086 * malloc/memusagestat.c (print_version): Likewise.
16087
16088 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
16089
16090 [BZ #14831]
16091 * elf/Makefile (tests): Add tst-audit8.
16092 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16093 ($(objpfx)tst-audit8.out): New target.
16094 (tst-audit8-ENV): New variable.
16095 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16096 audit if l_reloc_result is NULL.
16097 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16098 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16099 * elf/tst-audit8.c: New file.
16100
16101 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16102
16103 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16104 * misc/Makefile (CFLAGS-select.c): Define.
16105 * posix/Makefile (CFLAGS-pause.c): Define.
16106
16107 2012-11-13 David S. Miller <davem@davemloft.net>
16108
16109 * crypt/Makefile: Move test targets after toplevel Rules
16110 inclusion. Grab any necessary sysdep routines when linking.
16111 * crypt/md5.c (md5_process_block): Remove define, we will always
16112 name it __md5_process_block.
16113 (md5_finish_ctx): Update md5_process_block call.
16114 (md5_stream): Likewise.
16115 (md5_process_bytes): Likewise.
16116 (md5_process_block): Rename to __md5_process_block and move to ...
16117 * crypt/md5-block.c: ... here.
16118 * crypt/sha256.c (sha256_process_block): Move to ...
16119 * crypt/sha256-block.c: ... here.
16120 * crypt/sha512.c (sha512_process_block): Move to ...
16121 * crypt/sha512-block.c: ... here.
16122 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16123 path.
16124 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16125 * sysdeps/sparc/sparc64/multiarch/Makefile
16126 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16127 crypt subdir.
16128 (localedef-aux): Add md5 crypto assembler when in locale subdir.
16129 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16130 multiarch changes.
16131 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16132 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16133 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16134 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16135 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16136 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16137 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16138 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16139 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16140 file.
16141 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16142 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16143 file.
16144 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16145
16146 2012-11-13 Joseph Myers <joseph@codesourcery.com>
16147
16148 * timezone/tzselect.ksh: Update from tzcode git revision
16149 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16150 * timezone/zdump.c: Likewise.
16151 * timezone/zic.c: Likewise.
16152 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16153 in TZVERSION setting, not $(PKGVERSION).
16154 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
16155 REPORT_BUGS_TO settings.
16156
16157 [BZ #14838]
16158 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16159 macro.
16160
16161 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16162
16163 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16164 detection to immediately after _FP_ROUND().
16165 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16166 bits are 0.
16167
16168 2012-11-11 David S. Miller <davem@davemloft.net>
16169
16170 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16171 inttypes.h
16172 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16173 __close rather than their public counterparts.
16174
16175 2012-11-10 Joseph Myers <joseph@codesourcery.com>
16176
16177 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16178 file.
16179 [UNIX98] (sem_timedwait): Do not expect.
16180 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16181 [XPG4 || UNIX98] (sockatmark): Do not expect.
16182 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16183 (clock_getcpuclockid): Do not expect.
16184 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16185 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16186 Do not expect.
16187 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16188 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16189 [UNIX98] (vwscanf): Likewise.
16190 [UNIX98] (vswscanf): Likewise.
16191
16192 2012-11-09 Joseph Myers <joseph@codesourcery.com>
16193
16194 * timezone/version.h: Remove file.
16195 * timezone/README: Do not refer to version.h.
16196 * timezone/Makefile ($(objpfx)zic.o): New dependency on
16197 $(objpfx)version.h.
16198 ($(objpfx)zdump.o): Likewise.
16199 ($(objpfx)version.h): New target.
16200
16201 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16202 2012i.
16203 * timezone/README: Don't mention modification to tzselect.ksh.
16204 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16205 work on unmodified tzselect.ksh. Substitute version numbers in
16206 tzselect.ksh.
16207
16208 * Makefile (format-me): Remove.
16209 (INSTALL): Adjust indentation. Use commands directly instead of
16210 using $(format-me).
16211
16212 * aclocal.m4 (ACX_PKGVERSION): New macro.
16213 (ACX_BUGURL): Likewise.
16214 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16215 (PKGVERSION): New AC_DEFINE_UNQUOTED.
16216 (REPORT_BUGS_TO): Likewise.
16217 * configure: Regenerated.
16218 * config.h.in (PKGVERSION): New macro.
16219 (REPORT_BUGS_TO): Likewise.
16220 * config.make.in (PKGVERSION): New variable.
16221 (PKGVERSION_TEXI): Likewise.
16222 (REPORT_BUGS_TO): Likewise.
16223 (REPORT_BUGS_TEXI): Likewise.
16224 * Makefile (format-me): Use -I$(common-objpfx)manual.
16225 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16226 ($(common-objpfx)manual/%): New target.
16227 (manual/%): Remove target.
16228 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16229 (print_version): Use PKGVERSION.
16230 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16231 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16232 and REPORT_BUGS_TO.
16233 ($(objpfx)xtrace): Likewise.
16234 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16235 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16236 (print_version): Use PKGVERSION.
16237 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16238 (do_version): Use PKGVERSION.
16239 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16240 REPORT_BUGS_TO.
16241 (common-ldd-rewrite): Likewise.
16242 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16243 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16244 (print_version): Use PKGVERSION.
16245 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16246 * elf/pldd.c (argp_program_bug_address): Remove variable.
16247 (more_help): New function.
16248 (argp): Use more_help.
16249 (print_version): Use PKGVERSION.
16250 * elf/sln.c (main): Use PKGVERSION.
16251 (usage): Use REPORT_BUGS_TO.
16252 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16253 (top level): Use PKGVERSION.
16254 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16255 (print_version): Use PKGVERSION.
16256 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16257 (print_version): Use PKGVERSION.
16258 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16259 (print_version): Use PKGVERSION.
16260 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16261 (print_version): Use PKGVERSION.
16262 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16263 (print_version): Use PKGVERSION.
16264 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16265 (print_version): Use PKGVERSION.
16266 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16267 and BUGURL.
16268 ($(objpfx)memusage): Likewise.
16269 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16270 (do_version): Use PKGVERSION.
16271 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16272 (print_version): Use PKGVERSION.
16273 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16274 ($PKGVERSION): New variable.
16275 ($REPORT_BUGS_TO): Likewise.
16276 (usage): Use $REPORT_BUGS_TO.
16277 (top level): Use $PKGVERSION.
16278 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16279 ($(objpfx)pkgvers.texi): New rule.
16280 ($(objpfx)stamp-pkgvers): Likewise.
16281 * manual/install.texi: Include pkgvers.texi.
16282 (--with-pkgversion): Document new configure option.
16283 (--with-bugurl): Likewise.
16284 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16285 than necessarily for this particular distribution. Use
16286 REPORT_BUGS_TO for where to report bugs.
16287 * INSTALL: Regenerated.
16288 * manual/libc.texinfo: Include pkgvers.texi.
16289 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16290 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16291 (print_version): Use PKGVERSION.
16292 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16293 (print_version): Use PKGVERSION.
16294 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16295 (print_version): Use PKGVERSION.
16296 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16297 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16298 macro.
16299 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16300 (print_version): Use PKGVERSION.
16301 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16302 (print_version): Use PKGVERSION.
16303 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16304 and PKGVERSION.
16305
16306 * timezone/checktab.awk: Update from tzcode 2012i.
16307 * timezone/ialloc.c: Likewise.
16308 * timezone/private.h: Likewise.
16309 * timezone/scheck.c: Likewise.
16310 * timezone/tzfile.h: Likewise.
16311 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16312 (TZVERSION): Hardcode tzcode version number.
16313 * timezone/zdump.c: Update from tzcode 2012i.
16314 * timezone/zic.c: Likewise.
16315 * timezone/version.h: New file.
16316 * timezone/README: Describe version.h. Update upstream location.
16317
16318 [BZ #14824]
16319 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16320 (mktemp): Enable declaration.
16321 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16322 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16323 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16324 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16325 Likewise.
16326 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16327 Likewise.
16328 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16329 Likewise.
16330 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16331 Likewise.
16332 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16333 Likewise.
16334 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16335 Likewise.
16336
16337 [BZ #14821]
16338 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16339 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16340 for copies of such integer values.
16341 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16342 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16343
16344 2012-11-09 Andreas Jaeger <aj@suse.de>
16345
16346 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16347 definitions and declarations that are provided by
16348 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16349
16350 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16351
16352 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16353 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16354 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16355 definition.
16356
16357 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16358
16359 * elf/elf.h: Update comment before AArch64 relocations.
16360
16361 2012-11-07 David S. Miller <davem@davemloft.net>
16362
16363 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16364 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16365 (__start_context): Declare.
16366 (__makecontext_ret): Delete.
16367 (__makecontext): Hook up __start_context instead of
16368 __makecontext_ret.
16369 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16370 (sysdep_routines): Add __start_context when in stdlib.
16371
16372 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16373
16374 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16375 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16376 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16377 hardcoded "nm".
16378 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16379 (READELF): New variable. Use it instead of hardcoded "readelf".
16380
16381 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16382
16383 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16384 * sysdeps/x86/Makefile: Here.
16385 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16386 * sysdeps/x86/tst-xmmymm.sh: This.
16387
16388 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16389
16390 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16391 expectations.
16392 [UNIX98] (pthread_barrier_t): Do not expect.
16393 [UNIX98] (pthread_barrierattr_t): Likewise.
16394 [UNIX98] (pthread_spinlock_t): Likewise.
16395 [UNIX98] (pthread_barrier_destroy): Likewise.
16396 [UNIX98] (pthread_barrier_init): Likewise.
16397 [UNIX98] (pthread_barrier_wait): Likewise.
16398 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16399 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16400 [UNIX98] (pthread_barrierattr_init): Likewise.
16401 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16402 [UNIX98] (pthread_getcpuclockid): Likewise.
16403 [UNIX98] (pthread_mutex_timedlock): Likewise.
16404 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16405 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16406 [UNIX98] (pthread_sigmask): Likewise.
16407 [UNIX98] (pthread_spin_destroy): Likewise.
16408 [UNIX98] (pthread_spin_init): Likewise.
16409 [UNIX98] (pthread_spin_lock): Likewise.
16410 [UNIX98] (pthread_spin_trylock): Likewise.
16411 [UNIX98] (pthread_spin_unlock): Likewise.
16412 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16413 Do not expect.
16414 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16415 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16416 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16417 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16418 [XPG3 || XPG4] (pthread_key_t): Likewise.
16419 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16420 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16421 [XPG3 || XPG4] (pthread_once_t): Likewise.
16422 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16423 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16424 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16425 [XPG3 || XPG4] (pthread_t): Likewise.
16426
16427 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16428 not expect.
16429 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16430
16431 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16432 Change function return type to int.
16433
16434 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16435 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16436 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16437 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16438 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16439 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16440 [!POSIX] (posix_madvise): Likewise.
16441 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16442 && !UNIX98].
16443 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16444 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16445 (mode_t): Likewise.
16446 (posix_mem_offset): Likewise.
16447 (posix_typed_mem_get_info): Likewise.
16448 (posix_typed_mem_open): Likewise.
16449
16450 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16451 Change condition to [XOPEN2K8].
16452
16453 * conform/conformtest.pl: Preprocess allow-header data with -x c
16454 instead of from stdin.
16455 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16456 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16457 [C99-based standards] (cerfc): Likewise.
16458 [C99-based standards] (cexp2): Likewise.
16459 [C99-based standards] (cexpm1): Likewise.
16460 [C99-based standards] (clog10): Likewise.
16461 [C99-based standards] (clog1p): Likewise.
16462 [C99-based standards] (clog2): Likewise.
16463 [C99-based standards] (clgamma): Likewise.
16464 [C99-based standards] (ctgamma): Likewise.
16465 [C99-based standards] (cerff): Likewise.
16466 [C99-based standards] (cerfcf): Likewise.
16467 [C99-based standards] (cexp2f): Likewise.
16468 [C99-based standards] (cexpm1f): Likewise.
16469 [C99-based standards] (clog10f): Likewise.
16470 [C99-based standards] (clog1pf): Likewise.
16471 [C99-based standards] (clog2f): Likewise.
16472 [C99-based standards] (clgammaf): Likewise.
16473 [C99-based standards] (ctgammaf): Likewise.
16474 [C99-based standards] (cerfl): Likewise.
16475 [C99-based standards] (cerfcl): Likewise.
16476 [C99-based standards] (cexp2l): Likewise.
16477 [C99-based standards] (cexpm1l): Likewise.
16478 [C99-based standards] (clog10l): Likewise.
16479 [C99-based standards] (clog1pl): Likewise.
16480 [C99-based standards] (clog2l): Likewise.
16481 [C99-based standards] (clgammal): Likewise.
16482 [C99-based standards] (ctgammal): Likewise.
16483 * conform/data/inttypes.h-data [C99-based standards]: Include
16484 stdint.h-data. Remove all expectations for stdint.h contents.
16485 [C99-based standards] (PRI*): Do not allow.
16486 [C99-based standards] (SCN*): Likewise.
16487 [C99-based standards] (*_t): Likewise.
16488 [C99-based-standards] (PRId8): Expect macro.
16489 [C99-based-standards] (PRIi8): Likewise.
16490 [C99-based-standards] (PRIo8): Likewise.
16491 [C99-based-standards] (PRIu8): Likewise.
16492 [C99-based-standards] (PRIx8): Likewise.
16493 [C99-based-standards] (PRIX8): Likewise.
16494 [C99-based-standards] (SCNd8): Likewise.
16495 [C99-based-standards] (SCNi8): Likewise.
16496 [C99-based-standards] (SCNo8): Likewise.
16497 [C99-based-standards] (SCNu8): Likewise.
16498 [C99-based-standards] (SCNx8): Likewise.
16499 [C99-based-standards] (PRIdLEAST8): Likewise.
16500 [C99-based-standards] (PRIiLEAST8): Likewise.
16501 [C99-based-standards] (PRIoLEAST8): Likewise.
16502 [C99-based-standards] (PRIuLEAST8): Likewise.
16503 [C99-based-standards] (PRIxLEAST8): Likewise.
16504 [C99-based-standards] (PRIXLEAST8): Likewise.
16505 [C99-based-standards] (SCNdLEAST8): Likewise.
16506 [C99-based-standards] (SCNiLEAST8): Likewise.
16507 [C99-based-standards] (SCNoLEAST8): Likewise.
16508 [C99-based-standards] (SCNuLEAST8): Likewise.
16509 [C99-based-standards] (SCNxLEAST8): Likewise.
16510 [C99-based-standards] (PRIdFAST8): Likewise.
16511 [C99-based-standards] (PRIiFAST8): Likewise.
16512 [C99-based-standards] (PRIoFAST8): Likewise.
16513 [C99-based-standards] (PRIuFAST8): Likewise.
16514 [C99-based-standards] (PRIxFAST8): Likewise.
16515 [C99-based-standards] (PRIXFAST8): Likewise.
16516 [C99-based-standards] (SCNdFAST8): Likewise.
16517 [C99-based-standards] (SCNiFAST8): Likewise.
16518 [C99-based-standards] (SCNoFAST8): Likewise.
16519 [C99-based-standards] (SCNuFAST8): Likewise.
16520 [C99-based-standards] (SCNxFAST8): Likewise.
16521 [C99-based-standards] (PRId16): Likewise.
16522 [C99-based-standards] (PRIi16): Likewise.
16523 [C99-based-standards] (PRIo16): Likewise.
16524 [C99-based-standards] (PRIu16): Likewise.
16525 [C99-based-standards] (PRIx16): Likewise.
16526 [C99-based-standards] (PRIX16): Likewise.
16527 [C99-based-standards] (SCNd16): Likewise.
16528 [C99-based-standards] (SCNi16): Likewise.
16529 [C99-based-standards] (SCNo16): Likewise.
16530 [C99-based-standards] (SCNu16): Likewise.
16531 [C99-based-standards] (SCNx16): Likewise.
16532 [C99-based-standards] (PRIdLEAST16): Likewise.
16533 [C99-based-standards] (PRIiLEAST16): Likewise.
16534 [C99-based-standards] (PRIoLEAST16): Likewise.
16535 [C99-based-standards] (PRIuLEAST16): Likewise.
16536 [C99-based-standards] (PRIxLEAST16): Likewise.
16537 [C99-based-standards] (PRIXLEAST16): Likewise.
16538 [C99-based-standards] (SCNdLEAST16): Likewise.
16539 [C99-based-standards] (SCNiLEAST16): Likewise.
16540 [C99-based-standards] (SCNoLEAST16): Likewise.
16541 [C99-based-standards] (SCNuLEAST16): Likewise.
16542 [C99-based-standards] (SCNxLEAST16): Likewise.
16543 [C99-based-standards] (PRIdFAST16): Likewise.
16544 [C99-based-standards] (PRIiFAST16): Likewise.
16545 [C99-based-standards] (PRIoFAST16): Likewise.
16546 [C99-based-standards] (PRIuFAST16): Likewise.
16547 [C99-based-standards] (PRIxFAST16): Likewise.
16548 [C99-based-standards] (PRIXFAST16): Likewise.
16549 [C99-based-standards] (SCNdFAST16): Likewise.
16550 [C99-based-standards] (SCNiFAST16): Likewise.
16551 [C99-based-standards] (SCNoFAST16): Likewise.
16552 [C99-based-standards] (SCNuFAST16): Likewise.
16553 [C99-based-standards] (SCNxFAST16): Likewise.
16554 [C99-based-standards] (PRId32): Likewise.
16555 [C99-based-standards] (PRIi32): Likewise.
16556 [C99-based-standards] (PRIo32): Likewise.
16557 [C99-based-standards] (PRIu32): Likewise.
16558 [C99-based-standards] (PRIx32): Likewise.
16559 [C99-based-standards] (PRIX32): Likewise.
16560 [C99-based-standards] (SCNd32): Likewise.
16561 [C99-based-standards] (SCNi32): Likewise.
16562 [C99-based-standards] (SCNo32): Likewise.
16563 [C99-based-standards] (SCNu32): Likewise.
16564 [C99-based-standards] (SCNx32): Likewise.
16565 [C99-based-standards] (PRIdLEAST32): Likewise.
16566 [C99-based-standards] (PRIiLEAST32): Likewise.
16567 [C99-based-standards] (PRIoLEAST32): Likewise.
16568 [C99-based-standards] (PRIuLEAST32): Likewise.
16569 [C99-based-standards] (PRIxLEAST32): Likewise.
16570 [C99-based-standards] (PRIXLEAST32): Likewise.
16571 [C99-based-standards] (SCNdLEAST32): Likewise.
16572 [C99-based-standards] (SCNiLEAST32): Likewise.
16573 [C99-based-standards] (SCNoLEAST32): Likewise.
16574 [C99-based-standards] (SCNuLEAST32): Likewise.
16575 [C99-based-standards] (SCNxLEAST32): Likewise.
16576 [C99-based-standards] (PRIdFAST32): Likewise.
16577 [C99-based-standards] (PRIiFAST32): Likewise.
16578 [C99-based-standards] (PRIoFAST32): Likewise.
16579 [C99-based-standards] (PRIuFAST32): Likewise.
16580 [C99-based-standards] (PRIxFAST32): Likewise.
16581 [C99-based-standards] (PRIXFAST32): Likewise.
16582 [C99-based-standards] (SCNdFAST32): Likewise.
16583 [C99-based-standards] (SCNiFAST32): Likewise.
16584 [C99-based-standards] (SCNoFAST32): Likewise.
16585 [C99-based-standards] (SCNuFAST32): Likewise.
16586 [C99-based-standards] (SCNxFAST32): Likewise.
16587 [C99-based-standards] (PRId64): Likewise.
16588 [C99-based-standards] (PRIi64): Likewise.
16589 [C99-based-standards] (PRIo64): Likewise.
16590 [C99-based-standards] (PRIu64): Likewise.
16591 [C99-based-standards] (PRIx64): Likewise.
16592 [C99-based-standards] (PRIX64): Likewise.
16593 [C99-based-standards] (SCNd64): Likewise.
16594 [C99-based-standards] (SCNi64): Likewise.
16595 [C99-based-standards] (SCNo64): Likewise.
16596 [C99-based-standards] (SCNu64): Likewise.
16597 [C99-based-standards] (SCNx64): Likewise.
16598 [C99-based-standards] (PRIdLEAST64): Likewise.
16599 [C99-based-standards] (PRIiLEAST64): Likewise.
16600 [C99-based-standards] (PRIoLEAST64): Likewise.
16601 [C99-based-standards] (PRIuLEAST64): Likewise.
16602 [C99-based-standards] (PRIxLEAST64): Likewise.
16603 [C99-based-standards] (PRIXLEAST64): Likewise.
16604 [C99-based-standards] (SCNdLEAST64): Likewise.
16605 [C99-based-standards] (SCNiLEAST64): Likewise.
16606 [C99-based-standards] (SCNoLEAST64): Likewise.
16607 [C99-based-standards] (SCNuLEAST64): Likewise.
16608 [C99-based-standards] (SCNxLEAST64): Likewise.
16609 [C99-based-standards] (PRIdFAST64): Likewise.
16610 [C99-based-standards] (PRIiFAST64): Likewise.
16611 [C99-based-standards] (PRIoFAST64): Likewise.
16612 [C99-based-standards] (PRIuFAST64): Likewise.
16613 [C99-based-standards] (PRIxFAST64): Likewise.
16614 [C99-based-standards] (PRIXFAST64): Likewise.
16615 [C99-based-standards] (SCNdFAST64): Likewise.
16616 [C99-based-standards] (SCNiFAST64): Likewise.
16617 [C99-based-standards] (SCNoFAST64): Likewise.
16618 [C99-based-standards] (SCNuFAST64): Likewise.
16619 [C99-based-standards] (SCNxFAST64): Likewise.
16620 [C99-based-standards] (PRIdMAX): Likewise.
16621 [C99-based-standards] (PRIiMAX): Likewise.
16622 [C99-based-standards] (PRIoMAX): Likewise.
16623 [C99-based-standards] (PRIuMAX): Likewise.
16624 [C99-based-standards] (PRIxMAX): Likewise.
16625 [C99-based-standards] (PRIXMAX): Likewise.
16626 [C99-based-standards] (SCNdMAX): Likewise.
16627 [C99-based-standards] (SCNiMAX): Likewise.
16628 [C99-based-standards] (SCNoMAX): Likewise.
16629 [C99-based-standards] (SCNuMAX): Likewise.
16630 [C99-based-standards] (SCNxMAX): Likewise.
16631 [C99-based-standards] (PRIdPTR): Likewise.
16632 [C99-based-standards] (PRIiPTR): Likewise.
16633 [C99-based-standards] (PRIoPTR): Likewise.
16634 [C99-based-standards] (PRIuPTR): Likewise.
16635 [C99-based-standards] (PRIxPTR): Likewise.
16636 [C99-based-standards] (PRIXPTR): Likewise.
16637 [C99-based-standards] (SCNdPTR): Likewise.
16638 [C99-based-standards] (SCNiPTR): Likewise.
16639 [C99-based-standards] (SCNoPTR): Likewise.
16640 [C99-based-standards] (SCNuPTR): Likewise.
16641 [C99-based-standards] (SCNxPTR): Likewise.
16642 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16643 allow.
16644 * conform/data/stdint.h-data: Update comments to clarify
16645 requirements.
16646 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16647 type.
16648 [C99-based standards] (INT8_MAX): Likewise.
16649 [C99-based standards] (INT16_MIN): Likewise.
16650 [C99-based standards] (INT16_MAX): Likewise.
16651 [C99-based standards] (INT32_MIN): Likewise.
16652 [C99-based standards] (INT32_MAX): Likewise.
16653 [C99-based standards] (INT64_MIN): Likewise.
16654 [C99-based standards] (INT64_MAX): Likewise.
16655 [C99-based standards] (UINT8_MAX): Likewise.
16656 [C99-based standards] (UINT16_MAX): Likewise.
16657 [C99-based standards] (UINT32_MAX): Likewise.
16658 [C99-based standards] (UINT64_MAX): Likewise.
16659 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16660 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16661 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16662 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16663 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16664 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16665 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16666 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16667 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16668 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16669 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16670 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16671 [C99-based standards] (INT_FAST8_MIN): Likewise.
16672 [C99-based standards] (INT_FAST8_MAX): Likewise.
16673 [C99-based standards] (INT_FAST16_MIN): Likewise.
16674 [C99-based standards] (INT_FAST16_MAX): Likewise.
16675 [C99-based standards] (INT_FAST32_MIN): Likewise.
16676 [C99-based standards] (INT_FAST32_MAX): Likewise.
16677 [C99-based standards] (INT_FAST64_MIN): Likewise.
16678 [C99-based standards] (INT_FAST64_MAX): Likewise.
16679 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16680 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16681 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16682 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16683 [C99-based standards] (INTPTR_MIN): Likewise.
16684 [C99-based standards] (INTPTR_MAX): Likewise.
16685 [C99-based standards] (UINTPTR_MAX): Likewise.
16686 [C99-based standards] (INTMAX_MIN): Likewise.
16687 [C99-based standards] (INTMAX_MAX): Likewise.
16688 [C99-based standards] (UINTMAX_MAX): Likewise.
16689 [C99-based standards] (PTRDIFF_MIN): Likewise.
16690 [C99-based standards] (PTRDIFF_MAX): Likewise.
16691 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16692 [C99-based standards] (SIZE_MAX): Likewise.
16693 [C99-based standards] (WCHAR_MAX): Likewise.
16694 [C99-based standards] (WINT_MAX): Likewise.
16695 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16696 constraint on value.
16697 [C99-based standards] (WCHAR_MIN): Likewise.
16698 [C99-based standards] (WINT_MIN): Likewise.
16699 [C99-based standards] (*_t): Allow.
16700 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16701 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16702 Include math.h-data and complex.h-data. Remove all expectations
16703 of math.h and complex.h contents.
16704 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16705 at end of line.
16706 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16707 (struct tm): Expect tag.
16708 [C99-based-standards] (wcstof): Expect function.
16709 [C99-based-standards] (wcstold): Likewise.
16710 [C99-based-standards] (wcstoll): Likewise.
16711 [C99-based-standards] (wcstoull): Likewise.
16712 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16713 macro-int-constant. Specify type.
16714 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16715 constraint on value.
16716 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16717 Specify type.
16718 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16719 Specify value.
16720 [ISO C standards]: Do not allow headers.
16721 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16722 wcs[abcdefghijklmnopqrstuvwxyz]*.
16723 [ISO C standards] (*_t): Do not allow.
16724 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16725 Expect function.
16726 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16727 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16728 Specify type.
16729 [ISO C standards]: Do not allow headers.
16730 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16731 is[abcdefghijklmnopqrstuvwxyz]*.
16732 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16733 to[abcdefghijklmnopqrstuvwxyz]*.
16734 [ISO C standards] (*_t): Do not allow.
16735 * conform/data/stdalign.h-data: New file.
16736 * conform/data/stdbool.h-data: Likewise.
16737 * conform/data/stdnoreturn.h-data: Likewise.
16738
16739 2012-11-07 Roland McGrath <roland@hack.frob.com>
16740
16741 [BZ #14815]
16742 * manual/filesys.texi (Directory Entries): Typo fix.
16743 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16744
16745 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16746
16747 * elf/elf.h (EM_AARCH64): New macro.
16748 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16749 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16750 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16751 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16752 (R_AARCH64_TLSDESC): Likewise.
16753 (NT_ARM_TLS): Likewise.
16754 (NT_ARM_HW_BREAK): Likewise.
16755 (NT_ARM_HW_WATCH): Likewise.
16756
16757 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16758
16759 [BZ #14811]
16760 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16761 (__ieee754_powl): Saturate nonzero exponents with absolute value
16762 below 0x1p-79 to +/- 0x1p-79.
16763 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16764 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16765 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16766 nonzero exponents with absolute value below 0x1p-32 to +/-
16767 0x1p-32.
16768 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16769 (__ieee754_powl): Saturate nonzero exponents with absolute value
16770 below 0x1p-79 to +/- 0x1p-79.
16771 * math/libm-test.inc (pow_test): Add more tests.
16772
16773 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16774
16775 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16776 _dl_s390_cap_flags with kernel. Increase string length.
16777 (_dl_s390_platforms): Add z196 and zEC12.
16778
16779 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16780
16781 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16782 Change XOPEN21K to XOPEN2K.
16783
16784 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
16785
16786 * string/memmove.c: Use memcpy when possible.
16787
16788 2012-11-06 Andreas Jaeger <aj@suse.de>
16789
16790 * po/eo.po: Update from translation team.
16791
16792 2012-11-06 Joseph Myers <joseph@codesourcery.com>
16793
16794 [BZ #14793]
16795 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
16796 exponent and small x and y exponents, scale x or y up. Increase
16797 by 2 the exponent used in scaling up.
16798 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16799 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16800 * math/libm-test.inc (fma_test): Add more tests.
16801 (fma_test_towardzero): Likewise.
16802 (fma_test_downward): Likewise.
16803 (fma_test_upward): Likewise.
16804
16805 2012-11-05 Joseph Myers <joseph@codesourcery.com>
16806
16807 [BZ #14805]
16808 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
16809 fenv_t *.
16810
16811 [BZ #14801]
16812 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
16813 namespace for names of struct fields.
16814 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
16815 fenv_t fields.
16816 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
16817 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
16818
16819 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
16820
16821 [BZ #3665]
16822 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
16823
16824 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16825
16826 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
16827 PTR_DEMANGLE.
16828
16829 [BZ #5246]
16830 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
16831 PTR_DEMANGLE.
16832
16833 2012-11-04 Joseph Myers <joseph@codesourcery.com>
16834
16835 [BZ #14797]
16836 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
16837 definitely overflow as x * y not x * y + z.
16838 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16839 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16840 * math/libm-test.inc (fma_test): Add more tests.
16841 (fma_test_towardzero): Likewise.
16842 (fma_test_downward): Likewise.
16843 (fma_test_upward): Likewise.
16844
16845 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
16846
16847 [BZ #157]
16848
16849 * include/stub-tag.h: Remove file.
16850 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
16851 '#include' of it.
16852 * manual/maint.texi (Porting): Don't reference it.
16853 * Makerules ($(objpfx)stubs): Likewise.
16854 * dirent/closedir.c: Don't include <stub-tag.h>.
16855 * dirent/dirfd.c: Likewise.
16856 * dirent/fdopendir.c: Likewise.
16857 * dirent/getdents.c: Likewise.
16858 * dirent/getdents64.c: Likewise.
16859 * dirent/opendir.c: Likewise.
16860 * dirent/readdir.c: Likewise.
16861 * dirent/readdir64.c: Likewise.
16862 * dirent/readdir64_r.c: Likewise.
16863 * dirent/readdir_r.c: Likewise.
16864 * dirent/rewinddir.c: Likewise.
16865 * dirent/seekdir.c: Likewise.
16866 * dirent/telldir.c: Likewise.
16867 * gmon/profil.c: Likewise.
16868 * grp/setgroups.c: Likewise.
16869 * inet/if_index.c: Likewise.
16870 * io/access.c: Likewise.
16871 * io/chdir.c: Likewise.
16872 * io/chmod.c: Likewise.
16873 * io/chown.c: Likewise.
16874 * io/close.c: Likewise.
16875 * io/dup.c: Likewise.
16876 * io/dup2.c: Likewise.
16877 * io/dup3.c: Likewise.
16878 * io/euidaccess.c: Likewise.
16879 * io/faccessat.c: Likewise.
16880 * io/fchdir.c: Likewise.
16881 * io/fchmod.c: Likewise.
16882 * io/fchmodat.c: Likewise.
16883 * io/fchown.c: Likewise.
16884 * io/fchownat.c: Likewise.
16885 * io/fcntl.c: Likewise.
16886 * io/flock.c: Likewise.
16887 * io/fstatfs.c: Likewise.
16888 * io/fstatfs64.c: Likewise.
16889 * io/fstatvfs.c: Likewise.
16890 * io/fstatvfs64.c: Likewise.
16891 * io/futimens.c: Likewise.
16892 * io/fxstat.c: Likewise.
16893 * io/fxstat64.c: Likewise.
16894 * io/fxstatat.c: Likewise.
16895 * io/fxstatat64.c: Likewise.
16896 * io/getcwd.c: Likewise.
16897 * io/isatty.c: Likewise.
16898 * io/lchmod.c: Likewise.
16899 * io/lchown.c: Likewise.
16900 * io/link.c: Likewise.
16901 * io/linkat.c: Likewise.
16902 * io/lseek.c: Likewise.
16903 * io/lseek64.c: Likewise.
16904 * io/lxstat64.c: Likewise.
16905 * io/mkdir.c: Likewise.
16906 * io/mkdirat.c: Likewise.
16907 * io/mkfifo.c: Likewise.
16908 * io/mkfifoat.c: Likewise.
16909 * io/open.c: Likewise.
16910 * io/open64.c: Likewise.
16911 * io/openat.c: Likewise.
16912 * io/openat64.c: Likewise.
16913 * io/pipe.c: Likewise.
16914 * io/pipe2.c: Likewise.
16915 * io/poll.c: Likewise.
16916 * io/posix_fadvise.c: Likewise.
16917 * io/posix_fadvise64.c: Likewise.
16918 * io/posix_fallocate.c: Likewise.
16919 * io/posix_fallocate64.c: Likewise.
16920 * io/read.c: Likewise.
16921 * io/readlink.c: Likewise.
16922 * io/readlinkat.c: Likewise.
16923 * io/rmdir.c: Likewise.
16924 * io/sendfile.c: Likewise.
16925 * io/sendfile64.c: Likewise.
16926 * io/statfs.c: Likewise.
16927 * io/statfs64.c: Likewise.
16928 * io/statvfs.c: Likewise.
16929 * io/statvfs64.c: Likewise.
16930 * io/symlink.c: Likewise.
16931 * io/symlinkat.c: Likewise.
16932 * io/ttyname.c: Likewise.
16933 * io/ttyname_r.c: Likewise.
16934 * io/umask.c: Likewise.
16935 * io/unlink.c: Likewise.
16936 * io/unlinkat.c: Likewise.
16937 * io/utime.c: Likewise.
16938 * io/utimensat.c: Likewise.
16939 * io/write.c: Likewise.
16940 * io/xmknod.c: Likewise.
16941 * io/xmknodat.c: Likewise.
16942 * io/xstat.c: Likewise.
16943 * io/xstat64.c: Likewise.
16944 * login/getpt.c: Likewise.
16945 * login/grantpt.c: Likewise.
16946 * login/unlockpt.c: Likewise.
16947 * math/e_acoshl.c: Likewise.
16948 * math/e_acosl.c: Likewise.
16949 * math/e_asinl.c: Likewise.
16950 * math/e_atan2l.c: Likewise.
16951 * math/e_atanhl.c: Likewise.
16952 * math/e_coshl.c: Likewise.
16953 * math/e_expl.c: Likewise.
16954 * math/e_fmodl.c: Likewise.
16955 * math/e_gammal_r.c: Likewise.
16956 * math/e_hypotl.c: Likewise.
16957 * math/e_j0l.c: Likewise.
16958 * math/e_j1l.c: Likewise.
16959 * math/e_jnl.c: Likewise.
16960 * math/e_lgammal_r.c: Likewise.
16961 * math/e_log10l.c: Likewise.
16962 * math/e_log2l.c: Likewise.
16963 * math/e_logl.c: Likewise.
16964 * math/e_powl.c: Likewise.
16965 * math/e_rem_pio2l.c: Likewise.
16966 * math/e_sinhl.c: Likewise.
16967 * math/e_sqrtl.c: Likewise.
16968 * math/fclrexcpt.c: Likewise.
16969 * math/fedisblxcpt.c: Likewise.
16970 * math/feenablxcpt.c: Likewise.
16971 * math/fegetenv.c: Likewise.
16972 * math/fegetexcept.c: Likewise.
16973 * math/fegetround.c: Likewise.
16974 * math/feholdexcpt.c: Likewise.
16975 * math/fesetenv.c: Likewise.
16976 * math/fesetround.c: Likewise.
16977 * math/feupdateenv.c: Likewise.
16978 * math/fgetexcptflg.c: Likewise.
16979 * math/fraiseexcpt.c: Likewise.
16980 * math/fsetexcptflg.c: Likewise.
16981 * math/ftestexcept.c: Likewise.
16982 * math/k_cosl.c: Likewise.
16983 * math/k_rem_pio2l.c: Likewise.
16984 * math/k_sinl.c: Likewise.
16985 * math/k_tanl.c: Likewise.
16986 * math/s_asinhl.c: Likewise.
16987 * math/s_atanl.c: Likewise.
16988 * math/s_cbrtl.c: Likewise.
16989 * math/s_erfl.c: Likewise.
16990 * math/s_expm1l.c: Likewise.
16991 * math/s_log1pl.c: Likewise.
16992 * math/s_tanhl.c: Likewise.
16993 * misc/acct.c: Likewise.
16994 * misc/brk.c: Likewise.
16995 * misc/chflags.c: Likewise.
16996 * misc/chroot.c: Likewise.
16997 * misc/fchflags.c: Likewise.
16998 * misc/fgetxattr.c: Likewise.
16999 * misc/flistxattr.c: Likewise.
17000 * misc/fremovexattr.c: Likewise.
17001 * misc/fsetxattr.c: Likewise.
17002 * misc/fsync.c: Likewise.
17003 * misc/ftruncate.c: Likewise.
17004 * misc/futimes.c: Likewise.
17005 * misc/futimesat.c: Likewise.
17006 * misc/getdomain.c: Likewise.
17007 * misc/getdtsz.c: Likewise.
17008 * misc/gethostid.c: Likewise.
17009 * misc/gethostname.c: Likewise.
17010 * misc/getloadavg.c: Likewise.
17011 * misc/getpagesize.c: Likewise.
17012 * misc/getsysstats.c: Likewise.
17013 * misc/getxattr.c: Likewise.
17014 * misc/gtty.c: Likewise.
17015 * misc/ioctl.c: Likewise.
17016 * misc/lgetxattr.c: Likewise.
17017 * misc/listxattr.c: Likewise.
17018 * misc/llistxattr.c: Likewise.
17019 * misc/lremovexattr.c: Likewise.
17020 * misc/lsetxattr.c: Likewise.
17021 * misc/lutimes.c: Likewise.
17022 * misc/madvise.c: Likewise.
17023 * misc/mincore.c: Likewise.
17024 * misc/mlock.c: Likewise.
17025 * misc/mlockall.c: Likewise.
17026 * misc/mmap.c: Likewise.
17027 * misc/mprotect.c: Likewise.
17028 * misc/msync.c: Likewise.
17029 * misc/munlock.c: Likewise.
17030 * misc/munlockall.c: Likewise.
17031 * misc/munmap.c: Likewise.
17032 * misc/preadv.c: Likewise.
17033 * misc/preadv64.c: Likewise.
17034 * misc/ptrace.c: Likewise.
17035 * misc/pwritev.c: Likewise.
17036 * misc/pwritev64.c: Likewise.
17037 * misc/readv.c: Likewise.
17038 * misc/reboot.c: Likewise.
17039 * misc/remap_file_pages.c: Likewise.
17040 * misc/removexattr.c: Likewise.
17041 * misc/revoke.c: Likewise.
17042 * misc/select.c: Likewise.
17043 * misc/setdomain.c: Likewise.
17044 * misc/setegid.c: Likewise.
17045 * misc/seteuid.c: Likewise.
17046 * misc/sethostid.c: Likewise.
17047 * misc/sethostname.c: Likewise.
17048 * misc/setregid.c: Likewise.
17049 * misc/setreuid.c: Likewise.
17050 * misc/setxattr.c: Likewise.
17051 * misc/sstk.c: Likewise.
17052 * misc/stty.c: Likewise.
17053 * misc/swapoff.c: Likewise.
17054 * misc/swapon.c: Likewise.
17055 * misc/sync.c: Likewise.
17056 * misc/syncfs.c: Likewise.
17057 * misc/syscall.c: Likewise.
17058 * misc/truncate.c: Likewise.
17059 * misc/ualarm.c: Likewise.
17060 * misc/usleep.c: Likewise.
17061 * misc/ustat.c: Likewise.
17062 * misc/utimes.c: Likewise.
17063 * misc/vhangup.c: Likewise.
17064 * misc/writev.c: Likewise.
17065 * posix/_exit.c: Likewise.
17066 * posix/alarm.c: Likewise.
17067 * posix/execve.c: Likewise.
17068 * posix/fexecve.c: Likewise.
17069 * posix/fork.c: Likewise.
17070 * posix/fpathconf.c: Likewise.
17071 * posix/getaddrinfo.c: Likewise.
17072 * posix/getegid.c: Likewise.
17073 * posix/geteuid.c: Likewise.
17074 * posix/getgid.c: Likewise.
17075 * posix/getgroups.c: Likewise.
17076 * posix/getlogin.c: Likewise.
17077 * posix/getlogin_r.c: Likewise.
17078 * posix/getpgid.c: Likewise.
17079 * posix/getpid.c: Likewise.
17080 * posix/getppid.c: Likewise.
17081 * posix/getresgid.c: Likewise.
17082 * posix/getresuid.c: Likewise.
17083 * posix/getsid.c: Likewise.
17084 * posix/getuid.c: Likewise.
17085 * posix/glob64.c: Likewise.
17086 * posix/nanosleep.c: Likewise.
17087 * posix/pathconf.c: Likewise.
17088 * posix/pause.c: Likewise.
17089 * posix/posix_madvise.c: Likewise.
17090 * posix/pread.c: Likewise.
17091 * posix/pread64.c: Likewise.
17092 * posix/pwrite.c: Likewise.
17093 * posix/pwrite64.c: Likewise.
17094 * posix/sched_getaffinity.c: Likewise.
17095 * posix/sched_getp.c: Likewise.
17096 * posix/sched_gets.c: Likewise.
17097 * posix/sched_primax.c: Likewise.
17098 * posix/sched_primin.c: Likewise.
17099 * posix/sched_rr_gi.c: Likewise.
17100 * posix/sched_setaffinity.c: Likewise.
17101 * posix/sched_setp.c: Likewise.
17102 * posix/sched_sets.c: Likewise.
17103 * posix/sched_yield.c: Likewise.
17104 * posix/setgid.c: Likewise.
17105 * posix/setlogin.c: Likewise.
17106 * posix/setpgid.c: Likewise.
17107 * posix/setresgid.c: Likewise.
17108 * posix/setresuid.c: Likewise.
17109 * posix/setsid.c: Likewise.
17110 * posix/setuid.c: Likewise.
17111 * posix/sleep.c: Likewise.
17112 * posix/spawni.c: Likewise.
17113 * posix/sysconf.c: Likewise.
17114 * posix/times.c: Likewise.
17115 * posix/wait.c: Likewise.
17116 * posix/wait3.c: Likewise.
17117 * posix/wait4.c: Likewise.
17118 * posix/waitpid.c: Likewise.
17119 * resolv/gai_sigqueue.c: Likewise.
17120 * resource/getpriority.c: Likewise.
17121 * resource/getrlimit.c: Likewise.
17122 * resource/getrusage.c: Likewise.
17123 * resource/nice.c: Likewise.
17124 * resource/setpriority.c: Likewise.
17125 * resource/setrlimit.c: Likewise.
17126 * resource/ulimit.c: Likewise.
17127 * rt/aio_cancel.c: Likewise.
17128 * rt/aio_fsync.c: Likewise.
17129 * rt/aio_read.c: Likewise.
17130 * rt/aio_sigqueue.c: Likewise.
17131 * rt/aio_suspend.c: Likewise.
17132 * rt/aio_write.c: Likewise.
17133 * rt/clock_getres.c: Likewise.
17134 * rt/clock_gettime.c: Likewise.
17135 * rt/clock_nanosleep.c: Likewise.
17136 * rt/clock_settime.c: Likewise.
17137 * rt/lio_listio.c: Likewise.
17138 * rt/mq_close.c: Likewise.
17139 * rt/mq_getattr.c: Likewise.
17140 * rt/mq_notify.c: Likewise.
17141 * rt/mq_open.c: Likewise.
17142 * rt/mq_receive.c: Likewise.
17143 * rt/mq_send.c: Likewise.
17144 * rt/mq_setattr.c: Likewise.
17145 * rt/mq_timedreceive.c: Likewise.
17146 * rt/mq_timedsend.c: Likewise.
17147 * rt/mq_unlink.c: Likewise.
17148 * rt/shm_open.c: Likewise.
17149 * rt/shm_unlink.c: Likewise.
17150 * rt/timer_create.c: Likewise.
17151 * rt/timer_delete.c: Likewise.
17152 * rt/timer_getoverr.c: Likewise.
17153 * rt/timer_gettime.c: Likewise.
17154 * rt/timer_settime.c: Likewise.
17155 * setjmp/__longjmp.c: Likewise.
17156 * setjmp/setjmp.c: Likewise.
17157 * signal/kill.c: Likewise.
17158 * signal/killpg.c: Likewise.
17159 * signal/raise.c: Likewise.
17160 * signal/sigaction.c: Likewise.
17161 * signal/sigaltstack.c: Likewise.
17162 * signal/sigblock.c: Likewise.
17163 * signal/sigignore.c: Likewise.
17164 * signal/sigintr.c: Likewise.
17165 * signal/signal.c: Likewise.
17166 * signal/sigpause.c: Likewise.
17167 * signal/sigpending.c: Likewise.
17168 * signal/sigqueue.c: Likewise.
17169 * signal/sigreturn.c: Likewise.
17170 * signal/sigset.c: Likewise.
17171 * signal/sigsetmask.c: Likewise.
17172 * signal/sigstack.c: Likewise.
17173 * signal/sigsuspend.c: Likewise.
17174 * signal/sigtimedwait.c: Likewise.
17175 * signal/sigvec.c: Likewise.
17176 * signal/sigwait.c: Likewise.
17177 * signal/sigwaitinfo.c: Likewise.
17178 * signal/sysv_signal.c: Likewise.
17179 * socket/accept.c: Likewise.
17180 * socket/accept4.c: Likewise.
17181 * socket/bind.c: Likewise.
17182 * socket/connect.c: Likewise.
17183 * socket/getpeername.c: Likewise.
17184 * socket/getsockname.c: Likewise.
17185 * socket/getsockopt.c: Likewise.
17186 * socket/isfdtype.c: Likewise.
17187 * socket/listen.c: Likewise.
17188 * socket/recv.c: Likewise.
17189 * socket/recvfrom.c: Likewise.
17190 * socket/recvmsg.c: Likewise.
17191 * socket/send.c: Likewise.
17192 * socket/sendmsg.c: Likewise.
17193 * socket/sendto.c: Likewise.
17194 * socket/setsockopt.c: Likewise.
17195 * socket/shutdown.c: Likewise.
17196 * socket/sockatmark.c: Likewise.
17197 * socket/socket.c: Likewise.
17198 * socket/socketpair.c: Likewise.
17199 * stdio-common/ctermid.c: Likewise.
17200 * stdio-common/cuserid.c: Likewise.
17201 * stdio-common/remove.c: Likewise.
17202 * stdio-common/rename.c: Likewise.
17203 * stdio-common/renameat.c: Likewise.
17204 * stdio-common/tempname.c: Likewise.
17205 * stdlib/getcontext.c: Likewise.
17206 * stdlib/makecontext.c: Likewise.
17207 * stdlib/setcontext.c: Likewise.
17208 * stdlib/swapcontext.c: Likewise.
17209 * stdlib/system.c: Likewise.
17210 * streams/fattach.c: Likewise.
17211 * streams/fdetach.c: Likewise.
17212 * streams/getmsg.c: Likewise.
17213 * streams/getpmsg.c: Likewise.
17214 * streams/putmsg.c: Likewise.
17215 * streams/putpmsg.c: Likewise.
17216 * sysdeps/unix/bsd/getpt.c: Likewise.
17217 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17218 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17219 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17221 Likewise.
17222 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17223 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17224 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17225 * sysvipc/msgctl.c: Likewise.
17226 * sysvipc/msgget.c: Likewise.
17227 * sysvipc/msgrcv.c: Likewise.
17228 * sysvipc/msgsnd.c: Likewise.
17229 * sysvipc/semctl.c: Likewise.
17230 * sysvipc/semget.c: Likewise.
17231 * sysvipc/semop.c: Likewise.
17232 * sysvipc/semtimedop.c: Likewise.
17233 * sysvipc/shmat.c: Likewise.
17234 * sysvipc/shmctl.c: Likewise.
17235 * sysvipc/shmdt.c: Likewise.
17236 * sysvipc/shmget.c: Likewise.
17237 * termios/tcdrain.c: Likewise.
17238 * termios/tcflow.c: Likewise.
17239 * termios/tcflush.c: Likewise.
17240 * termios/tcgetattr.c: Likewise.
17241 * termios/tcgetpgrp.c: Likewise.
17242 * termios/tcsendbrk.c: Likewise.
17243 * termios/tcsetattr.c: Likewise.
17244 * termios/tcsetpgrp.c: Likewise.
17245 * time/adjtime.c: Likewise.
17246 * time/clock.c: Likewise.
17247 * time/getitimer.c: Likewise.
17248 * time/gettimeofday.c: Likewise.
17249 * time/setitimer.c: Likewise.
17250 * time/settimeofday.c: Likewise.
17251 * time/stime.c: Likewise.
17252 * time/time.c: Likewise.
17253
17254 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
17255
17256 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17257 /usr/old/bin.
17258
17259 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17260 instead of spaces.
17261 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17262
17263 2012-11-03 Joseph Myers <joseph@codesourcery.com>
17264
17265 [BZ #14796]
17266 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17267 FE_TONEAREST before applying Dekker multiplication and Knuth
17268 addition. Clear inexact exceptions and check for exact zero
17269 results afterwards.
17270 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17271 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17272 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17273 * math/libm-test.inc (fma_test): Add more tests.
17274 (fma_test_towardzero): Likewise.
17275 (fma_test_downward): Likewise.
17276 (fma_test_upward): Likewise.
17277 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17278 function.
17279 (libc_fesetround): New macro.
17280 (libc_fesetroundf): Likewise.
17281 (libc_fesetroundl): Likewise.
17282 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17283 function.
17284 (libc_fesetround_387): Likewise.
17285 (libc_fesetroundf): New macro.
17286 (libc_fesetround): Likewise.
17287 (libc_fesetroundl): Likewise.
17288 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17289 function.
17290 (libc_fesetroundf): New macro.
17291 (libc_fesetround): Likewise.
17292 (libc_fesetroundl): Likewise.
17293 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17294 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17295 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17296 libm_hidden_ver.
17297 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17298 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17299 libm_hidden_def.
17300 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17301 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17302 libm_hidden_ver.
17303 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17304 libm_hidden_def.
17305
17306 [BZ #3439]
17307 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17308 integer constant usable in #if and use that to give value to enum
17309 constant.
17310 (FE_DIVBYZERO): Likewise.
17311 (FE_UNDERFLOW): Likewise.
17312 (FE_OVERFLOW): Likewise.
17313 (FE_INVALID): Likewise.
17314 (FE_INVALID_SNAN): Likewise.
17315 (FE_INVALID_ISI): Likewise.
17316 (FE_INVALID_IDI): Likewise.
17317 (FE_INVALID_ZDZ): Likewise.
17318 (FE_INVALID_IMZ): Likewise.
17319 (FE_INVALID_COMPARE): Likewise.
17320 (FE_INVALID_SOFTWARE): Likewise.
17321 (FE_INVALID_SQRT): Likewise.
17322 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17323 (FE_TONEAREST): Likewise.
17324 (FE_TOWARDZERO): Likewise.
17325 (FE_UPWARD): Likewise.
17326 (FE_DOWNWARD): Likewise.
17327 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17328 (FE_DIVBYZERO): Likewise.
17329 (FE_OVERFLOW): Likewise.
17330 (FE_UNDERFLOW): Likewise.
17331 (FE_INEXACT): Likewise.
17332 (FE_TONEAREST): Likewise.
17333 (FE_DOWNWARD): Likewise.
17334 (FE_UPWARD): Likewise.
17335 (FE_TOWARDZERO): Likewise.
17336 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17337 (FE_UNDERFLOW): Likewise.
17338 (FE_OVERFLOW): Likewise.
17339 (FE_DIVBYZERO): Likewise.
17340 (FE_INVALID): Likewise.
17341 (FE_TONEAREST): Likewise.
17342 (FE_TOWARDZERO): Likewise.
17343 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17344 (FE_OVERFLOW): Likewise.
17345 (FE_UNDERFLOW): Likewise.
17346 (FE_DIVBYZERO): Likewise.
17347 (FE_INEXACT): Likewise.
17348 (FE_TONEAREST): Likewise.
17349 (FE_TOWARDZERO): Likewise.
17350 (FE_UPWARD): Likewise.
17351 (FE_DOWNWARD): Likewise.
17352 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17353 (FE_DIVBYZERO): Likewise.
17354 (FE_OVERFLOW): Likewise.
17355 (FE_UNDERFLOW): Likewise.
17356 (FE_INEXACT): Likewise.
17357 (FE_TONEAREST): Likewise.
17358 (FE_DOWNWARD): Likewise.
17359 (FE_UPWARD): Likewise.
17360 (FE_TOWARDZERO): Likewise.
17361
17362 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17363
17364 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17365
17366 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17367
17368 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17369 commands. Quote $PWD.
17370 (blacklist_exports): Don't use remove_newlines. Replace "declare
17371 -x" by "export".
17372 (remove_newlines): Remove.
17373
17374 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17375
17376 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17377 * stdlib/stdlib.h (atof): Moved to ...
17378 * include/bits/stdlib-float.h: Here. New file.
17379 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17380 * stdlib/bits/stdlib-float.h: New file.
17381 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17382 -mno-sse -mno-mmx.
17383 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17384 <xmmintrin.h>.
17385
17386 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17387
17388 * conform/conformtest.pl (@headers): Add fenv.h.
17389 * conform/data/fenv.h-data: New file.
17390 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17391 include of <math/fenv.h>.
17392
17393 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17394 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17395 && !UNIX98]. Enables tests for XOPEN2K8.
17396 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17397 POSIX2008]: Likewise.
17398
17399 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17400 (struct rusage): Do not expect type or its members.
17401
17402 [BZ #3439]
17403 * math/math.h (FP_NAN): Define macro to integer constant usable in
17404 #if and use that to give value to enum constant.
17405 (FP_INFINITE): Likewise.
17406 (FP_ZERO): Likewise.
17407 (FP_SUBNORMAL): Likewise.
17408 (FP_NORMAL): Likewise.
17409
17410 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17411
17412 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17413 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17414 arguments.
17415
17416 2012-11-02 Roland McGrath <roland@hack.frob.com>
17417
17418 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17419 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17420 autoconf-time if not.
17421 * configure.in: Remove AC_PREREQ.
17422
17423 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17424
17425 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17426 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17427 of the internal implementation.
17428
17429 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17430
17431 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17432 except include of <misc/sys/syslog.h>.
17433
17434 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17435
17436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17437 function returns with a NULL context exit with zero.
17438
17439 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17440
17441 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17442
17443 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17444
17445 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17446 (run_program_cmd): This.
17447 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17448 (tst_langinfo): New variable. Use it.
17449
17450 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17451
17452 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17453 floating point opcodes.
17454
17455 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17456
17457 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17458 variable.
17459
17460 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17461
17462 * sysdeps/mach/hurd/powerpc: Remove directory.
17463 * sysdeps/mach/powerpc: Likewise.
17464
17465 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17466
17467 * scripts/check-local-headers.sh: Ignore c++ headers.
17468
17469 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17470
17471 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17472 __libc_cleanup_region_start argument.
17473
17474 2012-11-01 Joseph Myers <joseph@codesourcery.com>
17475
17476 [BZ #14784]
17477 [BZ #14785]
17478 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17479 x * y using scaling, not as x * y + z.
17480 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17481 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17482 * math/libm-test.inc (fma_test): Add more tests.
17483 (fma_test_towardzero): Likewise.
17484 (fma_test_downward): Likewise.
17485 (fma_test_upward): Likewise.
17486
17487 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17488
17489 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17490
17491 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17492
17493 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17494 New variable.
17495
17496 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17497
17498 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17499
17500 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17501
17502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17503 Fix sort order.
17504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17505 Likewise.
17506
17507 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17508
17509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17510 Fix the order of the list for glibc 2.17.
17511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17512 Likewise.
17513
17514 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17515
17516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17517
17518 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17519
17520 [BZ #14610]
17521 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17522 for low part of x being zero before using __atanl (y).
17523 * math/libm-test.inc (atan2_test): Add another test.
17524
17525 * manual/install.texi (Configuring and compiling): Document
17526 general use of test-wrapper and test-wrapper-env.
17527 * INSTALL: Regenerated.
17528
17529 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17530 (__fma): Do not extract and scale down low bits on after-rounding
17531 systems when result rounded to normal precision would have normal
17532 exponent.
17533 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17534 (__fmal): Do not extract and scale down low bits on after-rounding
17535 systems when result rounded to normal precision would have normal
17536 exponent.
17537 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17538 (__fmal): Do not extract and scale down low bits on after-rounding
17539 systems when result rounded to normal precision would have normal
17540 exponent.
17541 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17542 macro.
17543 (fma_test): Add more tests.
17544 (fma_test_towardzero): Likewise.
17545 (fma_test_downward): Likewise.
17546 (fma_test_upward): Likewise.
17547
17548 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17549
17550 * sysdeps/i386/tininess.h: Renamed to ...
17551 * sysdeps/x86/tininess.h: This.
17552 * sysdeps/x86_64/tininess.h: Removed.
17553
17554 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17555
17556 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17557 input. Use $(build-program-cmd).
17558 ($(objpfx)tst-array1-static.out): Likewise.
17559 ($(objpfx)tst-array2.out): Likewise.
17560 ($(objpfx)tst-array3.out): Likewise.
17561 ($(objpfx)tst-array4.out): Likewise.
17562 ($(objpfx)tst-array5.out): Likewise.
17563 ($(objpfx)tst-array5-static.out): Likewise.
17564
17565 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17566
17567 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17568 if defined.
17569
17570 * nss/nsswitch.h (nss_interface_function): Provide new
17571 macro for use with NSS functions.
17572 * grp/initgroups.c: Use new macro.
17573 * nss/getXXbyYY.c: Likewise.
17574 * nss/getXXbyYY_r.c: Likewise.
17575 * nss/getXXent.c: Likewise.
17576 * nss/getXXent_r.c: Likewise.
17577 * sysdeps/posix/getaddrinfo.c: Likewise.
17578
17579 2012-10-30 Andreas Jaeger <aj@suse.de>
17580
17581 * po/ru.po: Update Russion translation from translation project.
17582
17583 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17584
17585 [BZ #14152]
17586 [BZ #14783]
17587 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17588 result and shift together with sticky bit instead of replicating
17589 round-to-nearest rounding.
17590 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17591 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17592 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17593 missing underflow exceptions.
17594 (fma_test_towardzero): Add more tests.
17595 (fma_test_downward): Likewise.
17596 (fma_test_upward): Likewise.
17597
17598 [BZ #14047]
17599 * sysdeps/generic/tininess.h: New file.
17600 * sysdeps/i386/tininess.h: Likewise.
17601 * sysdeps/sh/tininess.h: Likewise.
17602 * sysdeps/x86_64/tininess.h: Likewise.
17603 * stdlib/tst-strtod-underflow.c: Likewise.
17604 * stdlib/tst-tininess.c: Likewise.
17605 * stdlib/strtod_l.c: Include <tininess.h>.
17606 (round_and_return): Do not set errno for exact underflow cases.
17607 Force an underflow exception when setting errno for underflow.
17608 Determine underflow based on rounding to normal precision if
17609 TININESS_AFTER_ROUNDING.
17610 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17611 ERANGE for exact underflow cases.
17612 * stdlib/Makefile (tests): Add tst-tininess and
17613 tst-strtod-underflow.
17614 ($(objpfx)tst-tininess): Use $(link-libm).
17615 ($(objpfx)tst-strtod-underflow): Likewise.
17616
17617 2012-10-30 Andreas Jaeger <aj@suse.de>
17618
17619 [BZ#14767]
17620 * elf/Makefile (tests): Remove conditional for have-initfini-array
17621 since this is now always required and the variable does not exist
17622 anymore.
17623 (tests-static): Likewise.
17624 (modules-names): Likewise.
17625
17626 * po/eo.po: Add Esperanto translation from translation project.
17627
17628 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17629 merged with constructor/destructor.
17630 (init_array): Likewise.
17631 * elf/tst-array2dep.c (fini_array): Likewise.
17632 (init_array): Likewise.
17633
17634 2012-10-29 Mike Frysinger <vapier@gentoo.org>
17635
17636 * manual/message.texi: Delete @cartouche tags.
17637
17638 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17639
17640 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17641 EOPNOTSUPP.
17642 * sysdeps/mach/hurd/fsync.c: Likewise.
17643
17644 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17645 [_POSIX_REALTIME_SIGNALS]: Change condition to
17646 [_POSIX_REALTIME_SIGNALS > 0].
17647
17648 2012-10-27 Andreas Jaeger <aj@suse.de>
17649
17650 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17651 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17652 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17653 [__WORDSIZE != 64]: Likewise.
17654
17655 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17656
17657 * iconvdata/tst-table.sh: Remove ${SHELL}.
17658 * iconvdata/tst-tables.sh: Likewise.
17659
17660 2012-10-25 David S. Miller <davem@davemloft.net>
17661
17662 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17663 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17664 of strtoull.
17665
17666 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17667 ifunc-impl-list.c
17668 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17669 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17670 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17671 file.
17672
17673 2012-10-25 Roland McGrath <roland@hack.frob.com>
17674
17675 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17676 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17677 __getdirentries.
17678
17679 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17680 Jim Blandy <jimb@codesourcery.com>
17681
17682 * scripts/cross-test-ssh.sh: New file.
17683 * manual/install.texi (Configuring and compiling): Document use of
17684 cross-test-ssh.sh.
17685 * INSTALL: Regenerated.
17686
17687 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17688
17689 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17690 EOPNOTSUPP.
17691
17692 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17693
17694 * Makeconfig (run-program-prefix): Fix comment.
17695
17696 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17697 Jim Blandy <jimb@codesourcery.com>
17698
17699 * Makeconfig (test-wrapper): New variable,
17700 (test-wrapper-env): Likewise.
17701 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17702 (run-built-tests): Define to yes.
17703 (run-program-prefix): Use $(test-wrapper).
17704 (built-program-cmd): Likewise.
17705 * Rules (make-test-out): Use $(test-wrapper-env) and
17706 $(host-built-program-cmd).
17707 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17708 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17709 tst-pathopt.sh.
17710 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17711 $(test-wrapper-env) to tst-rtld-load-self.sh.
17712 ($(objpfx)order2.out): Use $(test-wrapper).
17713 ($(objpfx)tst-initorder.out): Likewise.
17714 ($(objpfx)tst-initorder2.out): Likewise.
17715 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17716 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17717 (test_wrapper_env): New variable. Use it to run ld.so.
17718 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17719 Use it to run ld.so.
17720 (test_wrapper_env): Likewise.
17721 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17722 $(test-wrapper) to run-iconv-test.sh.
17723 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17724 (ICONV): Use $test_wrapper.
17725 * posix/Makefile ($(objpfx)globtest.out): Pass
17726 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17727 globtest.sh, not $(run-program-prefix).
17728 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17729 (test_wrapper): Likewise.
17730 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17731 set together with run_via_rtld_prefix.
17732 (run_program_prefix): Define in terms of test_wrapper and
17733 run_via_rtld_prefix.
17734
17735 2012-10-24 Roland McGrath <roland@hack.frob.com>
17736
17737 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17738 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17739 Targets removed.
17740
17741 [BZ #14743]
17742 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17743 Declare __clock_getres, __clock_gettime, __clock_settime,
17744 __clock_nanosleep, and __clock_getcpuclockid.
17745 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17746 Remove librt_hidden_def (clock_gettime).
17747 * sysdeps/unix/clock_gettime.c: Likewise.
17748 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17749 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17750 * rt/clock_getres.c: Define __clock_getres as an alias.
17751 * sysdeps/posix/clock_getres.c: Likewise.
17752 * rt/clock_settime.c: Define __clock_settime as an alias.
17753 * sysdeps/unix/clock_settime.c: Likewise.
17754 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17755 * sysdeps/unix/clock_nanosleep.c: Likewise.
17756 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17757 * rt/clock-compat.c: New file.
17758 * rt/Makefile (librt-routines): Add clock-compat and move
17759 $(clock-routines) to ...
17760 (routines): ... here, new variable.
17761 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17762 Don't add get_clockfreq here.
17763 * rt/Versions (libc: GLIBC_2.17): New version set.
17764 Add clock_* symbols here.
17765 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
17766 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17767 (GLIBC_2.17): Add clock_* symbols.
17768 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17769 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17770 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17772 Likewise.
17773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17774 Likewise.
17775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17776 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17777 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17779 * NEWS: Mention the move.
17780
17781 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17782 Use __open, __read, __close rather than their public counterparts.
17783 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17784 (__get_clockfreq_via_cpuinfo): Likewise.
17785 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17786 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17787
17788 * config.h.in (HAVE_IFUNC): New #undef.
17789 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17790 was successful.
17791 * configure: Regenerated.
17792
17793 2012-10-24 Mike Frysinger <vapier@gentoo.org>
17794
17795 * configure.in: Move READELF check to start of file.
17796 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
17797 libc_cv_asm_gnu_indirect_function in the process.
17798 * configure: Regenerated.
17799
17800 2012-10-24 Mike Frysinger <vapier@gentoo.org>
17801
17802 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
17803 send the output to /dev/null.
17804 (libc_cv_cc_with_libunwind): Likewise.
17805 (libc_cv_as_noexecstack): Likewise.
17806 * configure: Regenerate.
17807
17808 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17809
17810 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
17811
17812 * posix/globtest.sh (TMPDIR): Do not set.
17813 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
17814 (testout): Likewise.
17815
17816 2012-10-24 Andreas Jaeger <aj@suse.de>
17817
17818 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
17819 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
17820 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
17821 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
17822 posix_fadvise64, posix_fallocate64.
17823
17824 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
17825 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
17826 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
17827 Likewise.
17828 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
17829 Likewise.
17830 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
17831
17832 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
17833 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
17834 <bits/fcntl-linux.h>.
17835 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
17836
17837 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
17838 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
17839 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
17840 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
17841 [__WORDSIZE != 64]: Likewise.
17842
17843 2012-10-23 Joseph Myers <joseph@codesourcery.com>
17844
17845 * Makeconfig (run-built-tests): New variable.
17846 * Rules [$(cross-compiling) = yes]: Change condition to
17847 [$(run-built-tests) = no].
17848 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
17849 to [$(run-built-tests) = yes].
17850 * elf/Makefile [$(cross-compiling) = no]: Likewise
17851 * grp/Makefile [$(cross-compiling) = no]: Likewise.
17852 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
17853 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
17854 * intl/Makefile [$(cross-compiling) = no]: Likewise.
17855 * io/Makefile [$(cross-compiling) = no]: Likewise.
17856 * libio/Makefile [$(cross-compiling) = no]: Likewise.
17857 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
17858 * misc/Makefile [$(cross-compiling) = no]: Likewise.
17859 * posix/Makefile [$(cross-compiling) = no]: Likewise.
17860 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
17861 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
17862 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
17863 * string/Makefile [$(cross-compiling) = no]: Likewise.
17864
17865 * posix/Makefile ($(objpfx)globtest.out): Pass
17866 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
17867 $(rtld-installed-name).
17868 * posix/globtest.sh (elf_objpfx): Remove variable.
17869 (rtld_installed_name): Likewise.
17870 (library_path): Likewise.
17871 (run_program_prefix): New variable. Use for running globtest
17872 binary.
17873
17874 2012-10-23 Jim Blandy <jimb@codesourcery.com>
17875 Joseph Myers <joseph@codesourcery.com>
17876
17877 * Makeconfig (host-built-program-cmd): New variable.
17878 * elf/Makefile (tst-stackguard1-ARGS): Use
17879 $(host-built-program-cmd).
17880 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
17881 (tst-spawn-ARGS): Likewise.
17882 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
17883
17884 2012-10-23 Joseph Myers <joseph@codesourcery.com>
17885 Jim Blandy <jimb@codesourcery.com>
17886
17887 * Makeconfig (run-via-rtld-prefix): New variable.
17888 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
17889 (built-program-cmd): Likewise.
17890
17891 2012-10-22 Andreas Jaeger <aj@suse.de>
17892
17893 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
17894 __O_RSYNC if it exists, otherwise to O_SYNC.
17895
17896 2012-10-22 Jim Blandy <jimb@codesourcery.com>
17897 Joseph Myers <joseph@codesourcery.com>
17898
17899 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
17900 /dev/null.
17901 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
17902 from /dev/null
17903 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
17904 /dev/null.
17905
17906 2012-10-22 Andreas Jaeger <aj@suse.de>
17907
17908 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
17909 Define always.
17910 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
17911
17912 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17913 bits/fcntl-linux.h.
17914
17915 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
17916 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
17917
17918 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
17919 to __O_LARGEFILE.
17920 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
17921 to __O_LARGEFILE.
17922
17923 2012-10-21 Jim Blandy <jimb@codesourcery.com>
17924 Joseph Myers <joseph@codesourcery.com>
17925
17926 * config.make.in (NM): New variable.
17927
17928 2012-10-21 Andreas Jaeger <aj@suse.de>
17929
17930 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
17931 definitions and declarations that are provided by
17932 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
17933
17934 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17935
17936 [BZ #14683]
17937 * elf/Makefile (tests-static): Add tst-leaks1-static.
17938 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
17939 ($(objpfx)tst-leaks1-static): New rule.
17940 ($(objpfx)tst-leaks1-static-mem): Likewise.
17941 (tst-leaks1-static-ENV): New macro.
17942 * elf/dl-open.c (dl_open_worker): Check the main application
17943 only if SHARED is defined.
17944 * elf/tst-leaks1-static.c: New file.
17945
17946 2012-10-20 Andreas Jaeger <aj@suse.de>
17947
17948 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
17949 generic values for Linux.
17950 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
17951 and declarations that are provided by <bits/fcntl-linux.h> and
17952 include <bits/fcntl-linux.h>.
17953 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17954 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17955
17956 2012-10-20 Roland McGrath <roland@hack.frob.com>
17957
17958 * io/fcntl.h: Move include of <bits/types.h> to the top and
17959 include it unconditionally.
17960
17961 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
17962
17963 * wcsmbs/Makefile (tests-ifunc): New variable.
17964 (tests): Add $(tests-ifunc).
17965 * wcsmbs/test-wcschr-ifunc.c: New file.
17966 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
17967 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
17968 * wcsmbs/test-wcslen-ifunc.c: Likewise.
17969 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
17970 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
17971
17972 * string/Makefile (tests-ifunc): New variable.
17973 (tests): Add $(tests-ifunc).
17974 * string/test-memccpy.c (TEST_NAME): New macro.
17975 * string/test-memchr.c (TEST_NAME): Likewise.
17976 * string/test-memcmp.c (TEST_NAME): Likewise.
17977 * string/test-memcpy.c (TEST_NAME): Likewise.
17978 * string/test-memmem.c (TEST_NAME): Likewise.
17979 * string/test-memmove.c (TEST_NAME): Likewise.
17980 * string/test-memset.c (TEST_NAME): Likewise.
17981 * string/test-rawmemchr.c (TEST_NAME): Likewise.
17982 * string/test-stpcpy.c (TEST_NAME): Likewise.
17983 * string/test-stpncpy.c (TEST_NAME): Likewise.
17984 * string/test-strcasecmp.c (TEST_NAME): Likewise.
17985 * string/test-strcasestr.c (TEST_NAME): Likewise.
17986 * string/test-strcat.c (TEST_NAME): Likewise.
17987 * string/test-strchr.c (TEST_NAME): Likewise.
17988 * string/test-strcmp.c(TEST_NAME): Likewise.
17989 * string/test-strcpy.c (TEST_NAME): Likewise.
17990 * string/test-strcspn.c (TEST_NAME): Likewise.
17991 * string/test-strlen.c (TEST_NAME): Likewise.
17992 * string/test-strncasecmp.c (TEST_NAME): Likewise.
17993 * string/test-strncmp.c (TEST_NAME): Likewise.
17994 * string/test-strncpy.c (TEST_NAME): Likewise.
17995 * string/test-strnlen.c (TEST_NAME): Likewise.
17996 * string/test-strpbrk.c (TEST_NAME): Likewise.
17997 * string/test-strrchr.c (TEST_NAME): Likewise.
17998 * string/test-strspn.c (TEST_NAME): Likewise.
17999 * string/test-strstr.c (TEST_NAME): Likewise.
18000 * string/test-bcopy-ifunc.c: New file.
18001 * string/test-bzero-ifunc.c: Likewise.
18002 * string/test-memccpy-ifunc.c: Likewise.
18003 * string/test-memchr-ifunc.c: Likewise.
18004 * string/test-memcmp-ifunc.c: Likewise.
18005 * string/test-memcpy-ifunc.c: Likewise.
18006 * string/test-memmem-ifunc.c: Likewise.
18007 * string/test-memmove-ifunc.c: Likewise.
18008 * string/test-mempcpy-ifunc.c: Likewise.
18009 * string/test-memset-ifunc.c: Likewise.
18010 * string/test-rawmemchr-ifunc.c: Likewise.
18011 * string/test-stpcpy-ifunc.c: Likewise.
18012 * string/test-stpncpy-ifunc.c: Likewise.
18013 * string/test-strcasecmp-ifunc.c: Likewise.
18014 * string/test-strcasestr-ifunc.c: Likewise.
18015 * string/test-strcat-ifunc.c: Likewise.
18016 * string/test-strchr-ifunc.c: Likewise.
18017 * string/test-strchrnul-ifunc.c: Likewise.
18018 * string/test-strcmp-ifunc.c: Likewise.
18019 * string/test-strcpy-ifunc.c: Likewise.
18020 * string/test-strcspn-ifunc.c: Likewise.
18021 * string/test-strlen-ifunc.c: Likewise.
18022 * string/test-strncasecmp-ifunc.c: Likewise.
18023 * string/test-strncat-ifunc.c: Likewise.
18024 * string/test-strncmp-ifunc.c: Likewise.
18025 * string/test-strncpy-ifunc.c: Likewise.
18026 * string/test-strnlen-ifunc.c: Likewise.
18027 * string/test-strpbrk-ifunc.c: Likewise.
18028 * string/test-strrchr-ifunc.c: Likewise.
18029 * string/test-strspn-ifunc.c: Likewise.
18030 * string/test-strstr-ifunc.c: Likewise.
18031
18032 * debug/Makefile (tests-ifunc): New variable.
18033 (tests): Add $(tests-ifunc).
18034 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18035 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18036 * debug/test-stpcpy_chk-ifunc.c: New file.
18037 * debug/test-strcpy_chk-ifunc.c: Likewise.
18038
18039 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18040
18041 [BZ #13601]
18042 * elf/dl-load.c (open_verify): Retry read if the entire ELF
18043 header is not read in.
18044
18045 2012-10-19 Joseph Myers <joseph@codesourcery.com>
18046
18047 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
18048 script to $(SHELL) as $<. Pass $(common-objpfx) to script
18049 directly. Pass built executable to script as
18050 $(built-program-cmd).
18051 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
18052 $testprogram without using LD_LIBRARY_PATH and $ldso.
18053
18054 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18055 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18056 $(rtld-installed-name).
18057 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18058 (rtld_installed_name): Likewise.
18059 (library_path): Likewise.
18060 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
18061 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18062 $(run-program-prefix) to tst-tables.sh.
18063 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
18064 it to run tst-table-from and tst-table-to.
18065 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18066 Pass it to tst-table.sh.
18067 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18068 $(run-program-prefix) to tst-gettext.sh.
18069 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18070 tst-translit.sh.
18071 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18072 tst-gettext2.sh.
18073 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
18074 to run tst-gettext.
18075 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
18076 to run tst-gettext2.
18077 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
18078 to run tst-translit.
18079 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18080 $(run-program-prefix) to tst-mtrace.sh.
18081 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
18082 to run tst-mtrace.
18083 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18084 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18085 $(rtld-installed-name).
18086 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18087 (rtld_installed_name): Likewise.
18088 (run_program_prefix): New variable. Use it to run wordexp-test.
18089
18090 * Makeconfig (ARCH): Remove all definitions.
18091 (machine): Likewise.
18092 [ARCH]: Remove conditional code.
18093 [!objdir]: Give error.
18094 [!objdir] (objpfx): Remove.
18095 [!objdir] (common-objpfx): Likewise.
18096 [!objdir] (common-objdir): Likewise.
18097 * configure.in (config_makefile): Remove. Hardcode Makefile in
18098 AC_CONFIG_FILES call.
18099 * configure: Regenerated.
18100
18101 [BZ #13888]
18102 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18103 or TMPDIR.
18104 (testout): Likewise.
18105
18106 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18107 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18108 $(rtld-installed-name).
18109 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18110 (rtld_installed_name): Likwise.
18111 (runit): Remove function.
18112 (run_getconf): New variable, Use it for running getconf binary.
18113
18114 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
18115
18116 [BZ #14716]
18117 * string/test-memmem.c (check_result): New function.
18118 (do_one_test): Use it.
18119 (check1): New function.
18120 (test_main): Use it.
18121
18122 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
18123
18124 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18125
18126 2012-10-18 Joseph Myers <joseph@codesourcery.com>
18127
18128 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18129 (_G_LSEEK64): Likewise.
18130 (_G_MMAP64): Likewise.
18131 (_G_FSTAT64): Likewise.
18132 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18133 (_G_LSEEK64): Likewise.
18134 (_G_MMAP64): Likewise.
18135 (_G_FSTAT64): Likewise.
18136 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18137 unconditional. Call __mmap64 directly.
18138 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18139 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
18140 __lseek64 directly.
18141 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18142 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
18143 __mmap64 directly.
18144 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18145 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
18146 __lseek64 directly.
18147 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18148 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
18149 __lseek64 directly.
18150 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18151 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
18152 __lseek64 directly.
18153 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18154 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
18155 __fxstat64 directly.
18156 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18157 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18158 unconditional.
18159 (freopen64) [!_G_OPEN64]: Remove conditional code.
18160 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18161 unconditional.
18162 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18163 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18164 unconditional.
18165 (ftello64) [!_G_LSEEK64]: Remove conditional code.
18166 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18167 unconditional.
18168 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18169 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18170 unconditional.
18171 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18172 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18173 unconditional.
18174 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18175 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18176 unconditional.
18177 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18178 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18179 unconditional.
18180 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18181
18182 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18183
18184 [BZ #12140]
18185 * manual/memory.texi (Malloc Tunable Parameters): Add note
18186 about free list pointers overwriting some perturb bytes.
18187 Wording suggested by Roland McGrath.
18188
18189 2012-10-17 Joseph Myers <joseph@codesourcery.com>
18190
18191 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18192 (lgamma_test): Likewise.
18193 (tgamma_test): Likewise.
18194
18195 2012-10-16 Florian Weimer <fweimer@redhat.com>
18196
18197 [BZ #14700]
18198 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18199 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18200
18201 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
18202
18203 * NEWS: Mention BZ #14716.
18204 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18205 when removing AVAILABLE1_USES_J macro.
18206
18207 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
18208
18209 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18210 (__bswap_64): __uint64_t for unsigned 64-bit int.
18211
18212 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
18213
18214 * include/string.h (memmem): Declare libc hidden alias.
18215 * string/memmem.c (memmem): Define libc hidden alias.
18216 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18217 __read, __close instead of open, read, close.
18218
18219 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
18220
18221 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18222 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18223 global and hidden.
18224 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18225 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18226 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18227 Likewise.
18228 (__rawmemchr_sse2): Likewise.
18229 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18230 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18231 (__strchr_sse2): Likewise.
18232 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18233 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18234 (__strcasecmp_sse2): Likewise.
18235 (__strncasecmp_sse2): Likewise.
18236 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18237 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18238 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18239 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18240 (__strrchr_sse2): Likewise.
18241 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18242 ifunc-impl-list.c.
18243 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18244 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18245 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18246 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18247 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18248 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18249 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18250 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18251 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18252 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18253 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18254 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18255 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18256 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18257 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18258 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18259 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18260 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18261 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18262 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18263 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18264 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18265 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18266 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18267 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18268 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18269 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18270 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18271 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18272 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18273
18274 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18275 global and hidden.
18276 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18277 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18278 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18279 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18280 Likewise.
18281 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18282 Likewise.
18283 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18284 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18285 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18286 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18287 ifunc-impl-list.c.
18288 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18289 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18290 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18291 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18292 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18293 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18294 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18295 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18296 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18297 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18298 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18299 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18300 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18301 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18302 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18303 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18304 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18305 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18306 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18307 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18308 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18309 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18310 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18311 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18312 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18313 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18314 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18315 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18316 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18317 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18318 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18319 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18320 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18321 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18322 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18323 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18324 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18325 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18326 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18327 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18328 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18329
18330 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18331 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18332 * include/ifunc-impl-list.h: New file.
18333 * misc/ifunc-impl-list.c: Likewise.
18334 * misc/Makefile (routines): Add ifunc-impl-list.
18335 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18336 * string/test-string.h: Include <ifunc-impl-list.h>.
18337 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18338 impl_array): New variables.
18339 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18340 are defined.
18341 (test_init): Call __libc_ifunc_impl_list to initialize
18342 func_list if TEST_IFUNC and TEST_NAME are defined.
18343
18344 * string/Makefile (strop-tests): Add bcopy and bzero.
18345 * string/test-bcopy.c: New file.
18346 * string/test-bzero.c: Likewise.
18347 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18348 defined.
18349 * string/test-memset.c: Support bzero test if TEST_BZERO is
18350 defined.
18351 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18352 __libc_memmove.
18353 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18354 __libc_memset.
18355 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18356 of memset.
18357
18358 2012-10-10 Joseph Myers <joseph@codesourcery.com>
18359
18360 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18361 * configure: Regenerated.
18362
18363 * Makeconfig (+link-static-before-libc): Don't include
18364 $(link-static-libc).
18365
18366 * libio/libio.h (_IO_pos_t): Remove.
18367
18368 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18369
18370 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18371 McGrath.
18372
18373 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18374
18375 * crypt/crypt-entry.c: Include fips-private.h.
18376 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18377 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18378 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18379 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18380
18381 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18382
18383 * crypt/crypt-private.h: Include stdbool.h.
18384 (_ufc_setup_salt_r): Return bool.
18385 * crypt/crypt-entry.c: Include errno.h.
18386 (__crypt_r): Return NULL with EINVAL for bad salt.
18387 * crypt/crypt_util.c (bad_for_salt): New.
18388 (_ufc_setup_salt_r): Check that salt is long enough and within
18389 the specified alphabet.
18390 * crypt/badsalttest.c: New file.
18391 * crypt/Makefile (tests): Add it.
18392 ($(objpfx)badsalttest): New.
18393
18394 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18395
18396 * NEWS: Add entry for BZ #14602.
18397
18398 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18399
18400 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18401 type-generic.
18402 * math/libm-test.inc: Update comment listing what functions and
18403 macros are tested.
18404 (isgreater_test): New function.
18405 (isgreaterequal_test): Likewise.
18406 (isless_test): Likewise.
18407 (islessequal_test): Likewise.
18408 (islessgreater_test): Likewise.
18409 (isunordered_test): Likewise.
18410 (main): Call the new functions.
18411
18412 2012-10-09 Roland McGrath <roland@hack.frob.com>
18413
18414 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18415 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18416 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18417 * sysdeps/i386/configure: Regenerated.
18418 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18419 * sysdeps/mach/configure: Regenerated.
18420 * sysdeps/mach/hurd/configure: Regenerated.
18421 * sysdeps/powerpc/configure: Regenerated.
18422 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18423 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18424 * sysdeps/s390/s390-32/configure: Regenerated.
18425 * sysdeps/s390/s390-64/configure: Regenerated.
18426 * sysdeps/sh/configure: Regenerated.
18427 * sysdeps/sparc/configure: Regenerated.
18428 * sysdeps/unix/sysv/linux/configure: Regenerated.
18429 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18430 * sysdeps/x86_64/configure: Regenerated.
18431
18432 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18433 defined. Don't check if MAP is NULL.
18434
18435 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18436
18437 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18438 (_G_stat64): Likewise.
18439 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18440 (_G_stat64): Likewise.
18441 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18442 instead of struct _G_stat64.
18443 * libio/fileops.c (mmap_remap_check): Likewise.
18444 (decide_maybe_mmap): Likewise.
18445 (_IO_new_file_seekoff): Likewise.
18446 (_IO_file_stat): Likewise.
18447 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18448 _G_off64_t.
18449 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18450 instead of struct _G_stat64.
18451 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18452
18453 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18454
18455 [BZ #14602]
18456 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18457 Replace with ...
18458 (CHECK_EOL): New macro.
18459 (two_way_short_needle): Check beginning of haystack for EOL. Use
18460 CHECK_EOL.
18461 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18462 Replace with CHECK_EOL.
18463 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18464 Replace with CHECK_EOL.
18465
18466 2012-10-08 Joseph Myers <joseph@codesourcery.com>
18467
18468 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18469 type-generic.
18470 * math/libm-test.inc: Update comment listing what functions and
18471 macros are tested.
18472 (finite_test): New function.
18473 (isinf_test): Likewise.
18474 (isnan_test): Likewise.
18475 (fpclassify_test): Test subnormal input.
18476 (isfinite_test): Likewise.
18477 (isnormal_test): Likewise.
18478 (main): Call the new functions.
18479
18480 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18481
18482 [BZ #14660]
18483 * Makerules (%.dynsym): Force C locale when running
18484 $(OBJDUMP) --dynamic-syms.
18485
18486 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18487
18488 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18489 <stdint.h>.
18490
18491 2012-10-06 David S. Miller <davem@davemloft.net>
18492
18493 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18494 upper 32-bits of the length value in %o2 since we use branch-on-register
18495 tests which consider the entire 64-bit register.
18496
18497 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18498
18499 * string/test-strstr.c (check2): Add a test for page boundary.
18500
18501 2012-10-05 David S. Miller <davem@davemloft.net>
18502
18503 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18504 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18505 file.
18506 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18507 sysdep_routines.
18508 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18509 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18510 and bzero when HWCAP_SPARC_CRYPTO is present.
18511
18512 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18513
18514 [BZ #14602]
18515 * string/test-strstr.c (check2): New function.
18516 (test_main): Call check2.
18517
18518 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18519 and bug-strchr1.
18520 * string/bug-strcasestr1.c (do_test): Moved to ...
18521 * string/test-strcasestr.c (check1): Here. New function.
18522 (do_one_test): Break out result checking code into ...
18523 (check_result): This. New function.
18524 (do_one_test): Call check_result.
18525 (test_main): Call check1.
18526 * string/bug-strchr1.c (do_test): Moved to ...
18527 * string/test-strchr.c (check1): Here. New function.
18528 (do_one_test): Break out result checking code into ...
18529 (check_result): This. New function.
18530 (do_one_test): Call check_result.
18531 (test_main): Call check1.
18532 * string/bug-strstr1.c (main): Moved to ...
18533 * string/test-strstr.c (check1): Here. New function.
18534 (do_one_test): Break out result checking code into ...
18535 (check_result): This. New function.
18536 (do_one_test): Call check_result.
18537 (test_main): Call check1.
18538 * string/bug-strcasestr1.c: Removed.
18539 * string/bug-strchr1.c: Likewise.
18540 * string/bug-strstr1.c: Likewise.
18541
18542 * elf/Makefile (dl-routines): Add hwcaps.
18543 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18544 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18545 (_dl_important_hwcaps): Moved to ...
18546 * elf/dl-hwcaps.c: Here. New file.
18547 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18548
18549 [BZ #14557]
18550 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18551 if IS_IN_rtld isn't defined.
18552
18553 * elf/dl-support.c (_dl_sysinfo_map): New.
18554 Include "get-dynamic-info.h" and "setup-vdso.h".
18555 (_dl_non_dynamic_init): Call setup_vdso.
18556 * elf/dynamic-link.h: Don't include <assert.h>.
18557 (elf_get_dynamic_info): Moved to ...
18558 * elf/get-dynamic-info.h: Here. New file.
18559 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18560 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18561 * elf/setup-vdso.h: Here. New file.
18562 * elf/rtld.c: Include "setup-vdso.h".
18563 (dl_main): Call setup_vdso.
18564
18565 2012-10-05 Joseph Myers <joseph@codesourcery.com>
18566
18567 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18568 creal in comment listing functions tested. List finite, isinf,
18569 isnan, isless, islessequal, isgreater, isgreaterequal,
18570 islessgreater, isunordered, lgamma_r and pow10 as functions and
18571 macros not tested. Mention which functions not tested are aliases
18572 for other functions. Fix typo. Note that signs of NaNs are not
18573 tested.
18574
18575 * scripts/config.guess: Update from config.git.
18576 * scripts/config.sub: Likewise.
18577
18578 2012-10-04 Roland McGrath <roland@hack.frob.com>
18579
18580 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18581 * misc/madvise.c (madvise): Renamed to __madvise.
18582 Make madvise a weak alias.
18583 * include/sys/mman.h: Declare __madvise.
18584 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18585 * sysdeps/unix/syscalls.list
18586 (madvise): Make __madvise the strong name, and madvise a weak alias.
18587 * sysdeps/unix/sysv/linux/syscalls.list
18588 (madvise, mmap): Remove redundant entries.
18589 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18590 * malloc/malloc.c (mtrim): Likewise.
18591 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18592
18593 2012-10-03 Roland McGrath <roland@hack.frob.com>
18594
18595 * sysdeps/mach/hurd/dl-cache.c: File removed.
18596 * config.h.in (USE_LDCONFIG): New #undef.
18597 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18598 * configure: Regenerated.
18599 * elf/Makefile (dl-routines): Add dl-cache only under
18600 [$(use-ldconfig) = yes].
18601 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18602 cache on [USE_LDCONFIG].
18603 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18604 [USE_LDCONFIG].
18605 * elf/rtld.c (dl_main): Likewise.
18606
18607 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18608
18609 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18610 _SC_LEVEL4_CACHE_LINESIZE.
18611
18612 2012-10-03 Roland McGrath <roland@hack.frob.com>
18613
18614 * sysdeps/unix/bsd/confstr.h: File removed.
18615
18616 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
18617
18618 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18619 sys/sdt-config.h.
18620
18621 2012-10-02 Roland McGrath <roland@hack.frob.com>
18622
18623 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18624 Make 'mapoff' field ElfW(Off) rather than off_t.
18625
18626 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18627
18628 * nscd/Makefile: Remove nscd-cflags and all its users.
18629 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18630 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18631
18632 [BZ #10631]
18633 * malloc.c (malloc_printerr): Clarify error message.
18634
18635 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18636
18637 [BZ #14648]
18638 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18639 Set bit_FMA_Usable if FMA is supported.
18640 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18641 macro.
18642 (bit_FMA4_Usable): Updated.
18643 (index_FMA_Usable): New macro.
18644 (CPUID_FMA): Likewise
18645 (HAS_FMA): Defined with bit_FMA_Usable.
18646
18647 2012-10-01 Roland McGrath <roland@hack.frob.com>
18648
18649 * bits/types.h (__swblk_t): Type removed.
18650 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18651 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18652 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18653 (__SWBLK_T_TYPE): Likewise.
18654 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18655 (__SWBLK_T_TYPE): Likewise.
18656 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18657 (__SWBLK_T_TYPE): Likewise.
18658 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18659 (__SWBLK_T_TYPE): Likewise.
18660
18661 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
18662 Honza Horak <hhorak@redhat.com>
18663
18664 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18665 (xdr_mapname): Use YPMAXMAP as maxsize.
18666 (xdr_peername): Use YPMAXPEER as maxsize.
18667 (xdr_keydat): Use YPAXRECORD as maxsize.
18668 (xdr_valdat): Use YPMAXRECORD as maxsize.
18669
18670 2012-10-01 Roland McGrath <roland@hack.frob.com>
18671
18672 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18673
18674 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18675 * csu/init-first.c: ... here.
18676 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18677 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18678 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18679 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18680 * sysdeps/i386/init-first.c: File removed.
18681 * sysdeps/sh/init-first.c: File removed.
18682
18683 2012-10-01 Joseph Myers <joseph@codesourcery.com>
18684
18685 [BZ #14645]
18686 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18687 if x * y might underflow to zero and z is zero.
18688 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18689 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18690 * math/libm-test.inc (min_subnorm_value): New variable.
18691 (fma_test): Add more tests.
18692 (fma_test_towardzero): Likewise.
18693 (fma_test_downward): Likewise
18694 (fma_test_upward): Likewise.
18695 (initialize): Set min_subnorm_value.
18696
18697 2012-09-29 Joseph Myers <joseph@codesourcery.com>
18698
18699 [BZ #14638]
18700 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18701 0 + 0.
18702 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18703 mode for addition resulting in exact zero.
18704 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18705 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18706 exact 0 + 0.
18707 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18708 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18709 * math/libm-test.inc (fma_test): Add more tests.
18710 (fma_test_towardzero): New function.
18711 (fma_test_downward): Likewise.
18712 (fma_test_upward): Likewise.
18713 (main): Call the new functions.
18714
18715 2012-09-28 David S. Miller <davem@davemloft.net>
18716
18717 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18718
18719 2012-09-28 Roland McGrath <roland@hack.frob.com>
18720
18721 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18722 instead of SIGALRM.
18723
18724 * sysdeps/gnu/_G_config.h: Moved to ...
18725 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18726 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18727 * sysdeps/generic/_G_config.h: ... here.
18728
18729 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18730
18731 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18732
18733 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18734 Conditionalize target on [libnss_test1.so-version].
18735
18736 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18737
18738 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18739 (elfobjdir): Move out of conditionals.
18740
18741 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18742 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18743 (__nss_lookup_function): Conditionalize label remove_from_tree on
18744 [!DO_STATIC_NSS || SHARED], matching its only use.
18745
18746 2012-09-28 David S. Miller <davem@davemloft.net>
18747
18748 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18749 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18750 file.
18751 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18752 sysdep_routines.
18753 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18754 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18755 when HWCAP_SPARC_CRYPTO is present.
18756
18757 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18758
18759 * io/tst-mknodat.c: Create a FIFO instead of a socket.
18760
18761 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
18762
18763 [BZ #6530]
18764 * stdio-common/vfprintf.c (process_string_arg): Revert
18765 2000-07-22 change.
18766
18767 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
18768
18769 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18770 for testcase.
18771 * stdio-common/tst-sprintf.c: Include <locale.h>
18772 (main): Test sprintf's handling of incomplete multibyte
18773 characters.
18774
18775 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
18776
18777 * elf/dl-runtime.c (VERSYMIDX): Removed.
18778 * elf/dl-version.c (VERSYMIDX): Likewise.
18779 * elf/do-rel.h (VERSYMIDX): Likewise.
18780 (VALIDX): Likewise.
18781 * elf/dynamic-link.h (VERSYMIDX): Likewise.
18782 * elf/rtld.c (VALIDX): Likewise.
18783 (ADDRIDX): Likewise.
18784 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18785 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18786 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
18787 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18788 (VALIDX): Likewise.
18789 (ADDRIDX): Likewise.
18790
18791 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18792
18793 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18794
18795 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
18796
18797 [BZ #11438]
18798 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
18799 to global scope.
18800 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
18801 addresses are in the same scope as 192.0.2/24.
18802 * posix/gai.conf: Document new scope table defaults.
18803
18804 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18805
18806 [BZ #5298]
18807 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
18808 for ftell. Compute offsets from write pointers instead.
18809 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18810
18811 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18812
18813 [BZ #14543]
18814 * libio/Makefile (tests): New test case tst-fseek.
18815 * libio/tst-fseek.c: New test case to verify that fseek/ftell
18816 combination works in wide mode.
18817 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
18818 state when the external buffer state changes.
18819
18820 2012-09-27 David S. Miller <davem@davemloft.net>
18821
18822 [BZ #14376]
18823 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
18824 pass reloc->r_addend in as the 'high' argument to
18825 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
18826
18827 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18828
18829 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18830
18831 * rt/tst-aio2.c: Include <pthread.h>.
18832 * rt/tst-aio3.c: Likewise.
18833
18834 2012-09-27 Steve Ellcey <sellcey@mips.com>
18835
18836 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
18837
18838 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
18839
18840 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
18841 contents on [SHARED].
18842
18843 2012-09-26 Marek Polacek <polacek@redhat.com>
18844
18845 [BZ #14530]
18846 [BZ #13741]
18847 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
18848 for C++ and GCC <4.3 as well as for non GCC compilers.
18849
18850 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
18851
18852 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18853
18854 2012-09-25 Roland McGrath <roland@hack.frob.com>
18855
18856 * Makefile.in (all, install): Declare with .PHONY.
18857 Reported by Michael Hope <michael.hope@linaro.org>.
18858
18859 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18860
18861 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
18862 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
18863 system header.
18864 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
18865 Likewise.
18866 (sydep_routines): Add the new and the internal functions.
18867 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
18868 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
18869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
18870 (GLIBC_2.17): Add the new function.
18871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18872 (GLIBC_2.17): Likewise.
18873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
18874 (GLIBC_2.17): Likewise.
18875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
18876 (GLIBC_2.17): Likewise.
18877 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
18878
18879 2012-09-25 Alan Modra <amodra@gmail.com>
18880
18881 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
18882 Add release barrier before setting once_control to say
18883 initialisation is done. Add hints on lwarx. Use macro in
18884 place of isync.
18885 (clear_once_control): Add release barrier.
18886
18887 2012-09-25 Joseph Myers <joseph@codesourcery.com>
18888
18889 [BZ #13629]
18890 * math/s_clog.c (__clog): Handle more values close to |z| = 1
18891 specially.
18892 * math/s_clog10.c (__clog10): Likewise.
18893 * math/s_clog10f.c (__clog10f): Likewise.
18894 * math/s_clog10l.c (__clog10l): Likewise.
18895 * math/s_clogf.c (__clogf): Likewise.
18896 * math/s_clogl.c (__clogl): Likewise.
18897 * math/Makefile (libm-calls): Add x2y2m1.
18898 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
18899 (__x2y2m1): Likewise.
18900 (__x2y2m1l): Likewise.
18901 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
18902 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
18903 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18904 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
18905 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18906 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
18907 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
18908 * sysdeps/i386/fpu/libm-test-ulps: Update.
18909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18910
18911 [BZ #14621]
18912 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
18913 int as type of variable DEPTH.
18914 (glob): Use size_t instead of int as type of variables NEWCOUNT
18915 and OLD_PATHC.
18916
18917 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18918
18919 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18920 Add s_sincosf-sse2.
18921 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
18922 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
18923 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
18924 macros for using routine as __sincosf_ia32.
18925 Use macro for function declaration and weak_alias.
18926 * sysdeps/i386/fpu/libm-test-ulps: Update.
18927
18928 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
18929 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18930
18931 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
18932 subnormal argument.
18933 * math/s_cexpf.c (__cexpf): Likewise.
18934 * math/s_csinf.c (__csinf): Likewise.
18935 * math/s_csinhf.c (__csinhf): Likewise.
18936 * math/s_ctanf.c (__ctanf): Likewise.
18937 * math/s_ctanhf.c (__ctanhf): Likewise.
18938 * math/s_ccosh.c (__ccoshf): Likewise.
18939 * math/s_cexp.c (__cexpl): Likewise.
18940 * math/s_csin.c (__csin): Likewise.
18941 * math/s_csinh.c (__csinh): Likewise.
18942 * math/s_ctan.c (__ctan): Likewise.
18943 * math/s_ctanh.c (ctanh): Likewise.
18944 * math/s_ccoshl.c (__ccoshl): Likewise.
18945 * math/s_cexpl.c (__cexpl): Likewise.
18946 * math/s_csinl.c (__csinl): Likewise.
18947 * math/s_csinhl.c (__csinhl): Likewise.
18948 * math/s_ctanl.c (__ctanl): Likewise.
18949 * math/s_ctanhl.c (__ctanhl): Likewise.
18950
18951 2012-09-25 Joseph Myers <joseph@codesourcery.com>
18952
18953 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
18954 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
18955 (_IO_off_t): Define to __off_t, not _G_off_t.
18956 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
18957 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
18958 (_IO_wint_t): Define to wint_t, not _G_wint_t.
18959 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
18960 type of __dummy and __dummy2 fields.
18961 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
18962 (_G_ssize_t): Likewise.
18963 (_G_off_t): Likewise.
18964 (_G_pid_t): Likewise.
18965 (_G_uid_t): Likewise.
18966 (_G_wchar_t): Likewise.
18967 (_G_wint_t): Likewise.
18968 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
18969 (_G_ssize_t): Likewise.
18970 (_G_off_t): Likewise.
18971 (_G_pid_t): Likewise.
18972 (_G_uid_t): Likewise.
18973 (_G_wchar_t): Likewise.
18974 (_G_wint_t): Likewise.
18975 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
18976 (_G_ssize_t): Likewise.
18977 (_G_off_t): Likewise.
18978 (_G_pid_t): Likewise.
18979 (_G_uid_t): Likewise.
18980 (_G_wchar_t): Likewise.
18981 (_G_wint_t): Likewise.
18982
18983 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18984
18985 * malloc/arena.c: Include malloc-sysdep.h.
18986 (shrink_heap): Use check_may_shrink_heap to decide if madvise
18987 is sufficient to shrink the heap or an unmap is needed.
18988 * sysdeps/generic/malloc-sysdep.h: New file. Define
18989 new function check_may_shrink_heap.
18990 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
18991 new function check_may_shrink_heap.
18992
18993 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18994
18995 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
18996 comments.
18997
18998 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
18999
19000 * catgets/test-gencat.sh: Add "set -e".
19001 * elf/tst-pathopt.sh: Likewise.
19002 * grp/tst_fgetgrent.sh: Likewise.
19003 * iconvdata/run-iconv-test.sh: Likewise.
19004 * intl/tst-gettext.sh: Likewise.
19005 * intl/tst-gettext2.sh: Likewise.
19006 * intl/tst-gettext4.sh: Likewise.
19007 * intl/tst-gettext6.sh: Likewise.
19008 * intl/tst-translit.sh: Likewise.
19009 * io/ftwtest-sh: Likewise.
19010 * libio/test-freopen.sh: Likewise.
19011 * malloc/tst-mtrace.sh: Likewise.
19012 * posix/globtest.sh: Likewise.
19013 * posix/tst-getconf.sh: Likewise.
19014 * posix/wordexp-tst.sh: Likewise.
19015 * stdio-common/tst-printf.sh: Likewise.
19016 * stdio-common/tst-unbputc.sh: Likewise.
19017 * stdlib/tst-fmtmsg.sh: Likewise.
19018 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19019 * catgets/Makefile: Do not specify -e option when running
19020 testsuite shell scripts.
19021 * elf/Makefile: Likewise.
19022 * grp/Makefile: Likewise.
19023 * iconvdata/Makefile: Likewise.
19024 * intl/Makefile: Likewise.
19025 * io/Makefile: Likewise.
19026 * libio/Makefile: Likewise.
19027 * malloc/Makefile: Likewise.
19028 * posix/Makefile: Likewise.
19029 * stdio-common/Makefile: Likewise.
19030 * stdlib/Makefile: Likewise.
19031 * sysdeps/x86_64/Makefile: Likewise.
19032
19033 * io/ftwtest-sh: Add copyright header.
19034 * posix/globtest.sh: Likewise.
19035 * posix/tst-getconf.sh: Likewise.
19036 * posix/wordexp-tst.sh: Likewise.
19037 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19038
19039 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
19040
19041 [BZ #13679]
19042 * Makeconfig (+link): Defined as $(+link-static) if
19043 $(build-shared) isn't yes.
19044 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19045 isn't yes.
19046 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19047
19048 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19049
19050 [BZ #14562]
19051 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19052 new chunk size with MALLOC_ALIGN_MASK.
19053
19054 2012-09-24 Joseph Myers <joseph@codesourcery.com>
19055
19056 [BZ #5044]
19057 * stdio-common/printf_fphex.c: Include <stdbool.h> and
19058 <rounding-mode.h>.
19059 (__printf_fphex): Determine rounding using get_rounding_mode and
19060 round_away.
19061 * stdio-common/tst-printf-round.c (struct hex_test): New
19062 structure.
19063 (hex_tests): New variable.
19064 (test_hex_in_one_mode): New function.
19065 (do_test): Also run tests for hex float output.
19066
19067 2012-09-21 Joseph Myers <joseph@codesourcery.com>
19068
19069 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19070 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19071 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19072 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19073 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19074 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19075 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19076 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19077
19078 2012-09-20 Joseph Myers <joseph@codesourcery.com>
19079
19080 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19081 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19082 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19083 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19084
19085 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
19086
19087 [BZ #14579]
19088 * elf/rtld.c (dl_main): Limit the check for self loading to normal
19089 mode only.
19090 * elf/tst-rtld-load-self.sh: New test.
19091 * elf/Makefile: Run it.
19092
19093 2012-09-18 Joseph Myers <joseph@codesourcery.com>
19094
19095 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19096 (tst-writev-ENV): Remove.
19097 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19098
19099 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
19100
19101 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19102
19103 2012-09-17 Joseph Myers <joseph@codesourcery.com>
19104
19105 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19106 unconditional.
19107 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19108 Likewise.
19109 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19110 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19111 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19112 Likewise.
19113
19114 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
19115
19116 [BZ #14587]
19117 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19118 * config.make.in (have-cpp-asm-debuginfo): Removed.
19119 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19120 * configure: Regenerated.
19121
19122 2012-09-14 Joseph Myers <joseph@codesourcery.com>
19123
19124 [BZ #5044]
19125 * stdio-common/printf_fp.c: Include <stdbool.h> and
19126 <rounding-mode.h>.
19127 (___printf_fp): Determine rounding using get_rounding_mode and
19128 round_away.
19129 * stdio-common/tst-printf-round.c: New file.
19130 * stdio-common/Makefile (tests): Add tst-printf-round.
19131 (link-libm): New variable.
19132 ($(objpfx)tst-printf-round): Depend in $(link-libm).
19133
19134 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
19135
19136 [BZ #14576]
19137 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19138 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19139 Likewise.
19140 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19141 Likewise.
19142
19143 2012-09-13 Joseph Myers <joseph@codesourcery.com>
19144
19145 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19146 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19147 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19148 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19149
19150 2012-09-12 Joseph Myers <joseph@codesourcery.com>
19151
19152 [BZ #14518]
19153 * include/rounding-mode.h: New file.
19154 * sysdeps/generic/get-rounding-mode.h: Likewise.
19155 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19156 * stdlib/strtod_l.c: Include <rounding-mode.h>.
19157 (MAX_VALUE): New macro.
19158 (MIN_VALUE): Likewise.
19159 (overflow_value): New function.
19160 (underflow_value): Likewise.
19161 (round_and_return): Use overflow_value and underflow_value to
19162 determine return values in overflow and underflow cases. Use
19163 round_away to determine rounding depending on rounding mode.
19164 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19165 determine return values in overflow and underflow cases.
19166 * stdlib/tst-strtod-round.c: Include <fenv.h>.
19167 (struct test_results): New structure.
19168 (struct test): Use struct test_results to store expected results
19169 for all rounding modes.
19170 (TEST): Include expected results for all rounding modes.
19171 (test_in_one_mode): New function.
19172 (do_test): Use test_in_one_mode to compute and check results.
19173 Check results for all rounding modes.
19174 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19175 $(link-libm).
19176
19177 2012-12-09 Allan McRae <allan@archlinux.org>
19178
19179 * sysdeps/i386/fpu/libm-test-ulps: Update
19180
19181 2012-09-11 Joseph Myers <joseph@codesourcery.com>
19182
19183 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19184 (_G_int32_t): Likewise.
19185 (_G_uint16_t): Likewise.
19186 (_G_uint32_t): Likewise.
19187 (_G_HAVE_BOOL): Likewise.
19188 (_G_HAVE_ATEXIT): Likewise.
19189 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19190 (_G_HAVE_IO_FILE_OPEN): Likewise.
19191 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19192 (_G_int32_t): Likewise.
19193 (_G_uint16_t): Likewise.
19194 (_G_uint32_t): Likewise.
19195 (_G_HAVE_BOOL): Likewise.
19196 (_G_HAVE_ATEXIT): Likewise.
19197 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19198 (_G_HAVE_IO_FILE_OPEN): Likewise.
19199 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19200 (_G_int32_t): Likewise.
19201 (_G_uint16_t): Likewise.
19202 (_G_uint32_t): Likewise.
19203 (_G_HAVE_BOOL): Likewise.
19204 (_G_HAVE_ATEXIT): Likewise.
19205 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19206 (_G_HAVE_IO_FILE_OPEN): Likewise.
19207
19208 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
19209
19210 * csu/libc-tls.c: Update copyright years.
19211
19212 2012-09-10 Joseph Myers <joseph@codesourcery.com>
19213
19214 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19215 [!_G_USING_THUNKS]: Remove conditional code.
19216 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19217 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19218
19219 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19220 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19221 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19222 (_G_VTABLE_LABEL_PREFIX): Likewise.
19223 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19224 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19225 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19226 (_G_VTABLE_LABEL_PREFIX): Likewise.
19227 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19228 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19229 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19230 (_G_VTABLE_LABEL_PREFIX): Likewise.
19231 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19232
19233 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19234
19235 * libio/Makefile: Include ../Makeconfig before tests.
19236 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19237 only if $(build-shared) is yes.
19238
19239 * iconv/gconv_db.c: Update copyright years.
19240
19241 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19242
19243 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19244 unwind info if defined PIC. Fix special cases description.
19245 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19246
19247 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19248 DP_HI_MASK entry.
19249 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19250
19251 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19252
19253 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19254
19255 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19256 is NULL.
19257
19258 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19259 (LDLIBS-tst-chk4): This.
19260 (LDFLAGS-tst-chk5): Renamed to ...
19261 (LDLIBS-tst-chk5): This.
19262 (LDFLAGS-tst-chk6): Renamed to ...
19263 (LDLIBS-tst-chk6): This.
19264 (LDFLAGS-tst-lfschk4): Renamed to ...
19265 (LDLIBS-tst-lfschk4): This.
19266 (LDFLAGS-tst-lfschk5): Renamed to ...
19267 (LDLIBS-tst-lfschk5): This.
19268 (LDFLAGS-tst-lfschk6): Renamed to ...
19269 (LDLIBS-tst-lfschk6): This.
19270
19271 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19272 on $(common-objpfx)soversions.mk.
19273
19274 2012-09-07 Joseph Myers <joseph@codesourcery.com>
19275
19276 [BZ #10014]
19277 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19278 example host name.
19279
19280 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19281
19282 * malloc/arena.c (arena_get_retry): New function that gets
19283 another arena for the caller to try its request on.
19284 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19285 current arena cannot fulfill the request.
19286 (__libc_memalign): Likewise.
19287 (__libc_memalign): Likewise.
19288 (__libc_pvalloc): Likewise.
19289 (__libc_calloc): Likewise.
19290
19291 2012-09-05 John Tobey <john.tobey@gmail.com>
19292
19293 [BZ #13542]
19294 * manual/arith.texi (Operations on Complex): Fix description
19295 of carg branch cut.
19296
19297 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19298
19299 [BZ #10014]
19300 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19301 host name.
19302
19303 [BZ #10038]
19304 * manual/memory.texi (Memory): Make order of menu items match
19305 order of sections.
19306
19307 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19308
19309 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19310 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19311 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19312
19313 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19314
19315 * csu/libc-tls.c (static_dtv): Renamed to ...
19316 (_dl_static_dtv): This. Make it global.
19317 (_dl_initial_dtv): Removed.
19318 (__libc_setup_tls): Updated.
19319 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19320 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19321 DL_INITIAL_DTV.
19322
19323 2012-09-06 Petr Machata <pmachata@redhat.com>
19324
19325 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19326 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19327 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19328 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19329
19330 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19331
19332 [BZ #14545]
19333 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19334 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19335 freeing dtv[-1].
19336
19337 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19338
19339 [BZ #14544]
19340 * Makeconfig (link-static-before-libc): Replace $(+prector)
19341 with $(+prectorT).
19342 (link-static-after-libc): Replace $(+postctor) with
19343 $(+postctorT).
19344 (link-bounded): Replace $(+prector)/$(+postctor) with
19345 $(+prectorT)/$(+postctorT).
19346 (+prectorT): New macro.
19347 (+postctorT): Likewise.
19348
19349 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19350
19351 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19352 (round_str): Handle values above the maximum for IBM long double
19353 as inexact.
19354 * stdlib/tst-strtod-round.c (tests): Regenerated.
19355
19356 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19357
19358 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19359 assembler flag.
19360 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19361 zarch_nohighgprs around the zarch optimized routines.
19362 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19363 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19364 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19365 for zarch.
19366
19367 2012-09-05 David S. Miller <davem@davemloft.net>
19368
19369 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19370
19371 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19372 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19373 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19374 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19375 entries.
19376
19377 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19378
19379 * malloc/arena.c: Fold copyright years.
19380 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19381
19382 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19383
19384 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19385
19386 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19387
19388 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19389
19390 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19391
19392 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19393 change internal state upon failure.
19394
19395 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19396
19397 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19398 * malloc/memusage.c (mmap): Likewise.
19399 (mmap64, mremap): Likewise. Adjust name in comment.
19400
19401 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19402
19403 * libio/fileops.c: Fix typos in comments.
19404 * libio/oldfileops.c: Likewise.
19405 * libio/wfileops.c: Likewise.
19406
19407 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19408
19409 [BZ #1349]
19410 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19411 (tst-malloc-usable-ENV): Set environment for test case.
19412 * malloc/hooks.c (malloc_check_get_size): New function to get
19413 requested size.
19414 * malloc/malloc.c (musable): Use malloc_check_get_size.
19415 * malloc/tst-malloc-usable.c: New test case.
19416
19417 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19418
19419 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19420
19421 2012-09-05 Allan McRae <allan@archlinux.org>
19422
19423 [BZ #13966]
19424 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19425 determine header location.
19426 * configure: Regenerated.
19427
19428 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19429
19430 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19431 float format.
19432 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19433 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19434 format.
19435 (test): Regenerate.
19436
19437 2012-09-04 David S. Miller <davem@davemloft.net>
19438
19439 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19440 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19441 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19442
19443 2012-09-04 Florian Weimer <fweimer@redhat.com>
19444
19445 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19446 failures.
19447
19448 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19449
19450 2012-09-04 Joseph Myers <joseph@codesourcery.com>
19451
19452 [BZ #9914]
19453 * libio/iogetdelim.c: Include <limits.h>.
19454 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19455 + len + 1 would overflow.
19456
19457 2012-09-03 Andreas Jaeger <aj@suse.de>
19458
19459 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19460 * sysdeps/i386/fpu/libm-test-ulps: Update.
19461
19462 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19463
19464 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19465 Add s_sinf-sse2, s_conf-sse2.
19466
19467 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19468 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19469 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19470 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19471
19472 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19473 for using routine as __sinf_ia32.
19474 Use macro for function declaration and weak_alias.
19475 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19476 for using routine as __cosf_ia32.
19477 Use macro for function declaration and weak_alias.
19478
19479 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19480 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19481
19482 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19483 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19484 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19485
19486 * math/libm-test.inc (cos_test): Add more test cases.
19487 (sin_test): Likewise.
19488 (sincos_test): Likewise.
19489
19490 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19491
19492 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19493 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19494 hidden.
19495 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19496
19497 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19498
19499 [BZ #14538]
19500 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19501 first element of the GOT.
19502 (elf_machine_load_address): Return the difference between
19503 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19504
19505 2012-09-01 Allan McRae <allan@archlinux.org>
19506
19507 [BZ #13412]
19508 * configure.in (AWK): Require gawk version 3.0 or later.
19509 * configure: Regenerated.
19510
19511 2012-09-01 Joseph Myers <joseph@codesourcery.com>
19512
19513 * sysdeps/unix/sysv/linux/kernel-features.h
19514 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19515 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19516 [__NR_clock_getres]: Make code unconditional.
19517 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19518 (clock_getcpuclockid): Remove code left unreachable by removal of
19519 conditionals.
19520 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19521 code unconditional.
19522 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19523 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19524 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19525 Make code unconditional.
19526 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19527 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19528 * sysdeps/unix/sysv/linux/clock_settime.c
19529 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19530 conditional code.
19531 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19532 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19533
19534 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19535
19536 [BZ #14476]
19537 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19538 scripts/test-installation.pl.
19539
19540 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19541 and $ld_so_version if it is set.
19542
19543 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19544
19545 [BZ #14516]
19546 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19547 failure if reading from procfs failed.
19548 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19549
19550 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19551
19552 * sysdeps/unix/sysv/linux/kernel-features.h
19553 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19554 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19555 Remove conditional code.
19556 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19557 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19558 Remove conditional code.
19559 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19560 * sysdeps/unix/sysv/linux/i386/fxstat.c
19561 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19562 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19563 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19564 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19565 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19566 * sysdeps/unix/sysv/linux/i386/lxstat.c
19567 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19568 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19569 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19570 Remove conditional code.
19571 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19572 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19573 Remove conditional code.
19574 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19575 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19576 <kernel-features.h>.
19577 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19578 Remove.
19579 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19580 Remove conditional code.
19581 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19582 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19583 Remove conditional.
19584
19585 2012-08-27 Mike Frysinger <vapier@gentoo.org>
19586
19587 [BZ #5400]
19588 * NEWS: Add fixed bug number.
19589
19590 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19591
19592 [BZ #14519]
19593 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19594 underflowing exponent in case of negative sign.
19595 * stdlib/tst-strtod-round-data: Add more tests.
19596 * stdlib/tst-strtod-round.c (tests): Regenerated.
19597
19598 [BZ #3479]
19599 * stdlib/strtod_l.c (NDIG): Remove.
19600 (HEXNDIG): Likewise.
19601 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19602 smallest representable value.
19603 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19604 lie within an exact representation of 1/2 ulp of the result.
19605 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19606 unconditionally.
19607 (TENS_P9_IDX): Define unconditionally.
19608 (TENS_P9_SIZE): Likewise.
19609 (TENS_P10_IDX): Likewise.
19610 (TENS_P10_SIZE): Likewise.
19611 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19612 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19613 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19614 entries for 10^2^13 and 10^2^14.
19615 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19616 (TENS_P13_IDX): Define.
19617 (TENS_P13_SIZE): Likewise.
19618 (TENS_P14_IDX): Likewise.
19619 (TENS_P14_SIZE): Likewise.
19620 (_fpioconst_pow10): Change array size to
19621 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19622 unconditional.
19623 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19624 1024]: Add entries for 10^2^13 and 10^2^14.
19625 [LAST_POW10 > _LAST_POW10]: Remove #error.
19626 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19627 (_fpioconst_pow10): Change array size to
19628 FPIOCONST_POW10_ARRAY_SIZE.
19629 * stdlib/gen-fpioconst.c: New file.
19630 * stdlib/gen-tst-strtod-round.c: Likewise.
19631 * stdlib/tst-strtod-round-data: Likewise.
19632 * stdlib/tst-strtod-round.c: Likewise.
19633 * stdlib/Makefile (tests): Add tst-strtod-round.
19634
19635 [BZ #14459]
19636 * stdlib/strtod_l.c: Include <stdint.h>.
19637 (NDEBUG): Do not define.
19638 (round_and_return): Change EXPONENT parameter to type intmax_t.
19639 Rearrange calculations to avoid internal overflow possibilities.
19640 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19641 Rearrange calculations to avoid internal overflow possibilities.
19642 Assert that number fits inside MPNSIZE limbs.
19643 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19644 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19645 calculations and add assertions to avoid internal overflow
19646 possibilities. Add casts to avoid signed/unsigned operations.
19647 * stdlib/tst-strtod-overflow.c: New file.
19648 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19649
19650 2012-08-25 Marek Polacek <polacek@redhat.com>
19651
19652 * time/time.h: Fix some typos in comments.
19653
19654 2012-08-23 Roland McGrath <roland@hack.frob.com>
19655
19656 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19657 * posix/tst-rfc3484-2.c: Likewise.
19658 * posix/tst-rfc3484-3.c: Likewise.
19659
19660 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19661
19662 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19663 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19664
19665 2012-08-23 Joseph Myers <joseph@codesourcery.com>
19666
19667 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19668 #include of fxstatat64.c.
19669
19670 2012-08-22 Roland McGrath <roland@hack.frob.com>
19671
19672 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19673 * shadow/getspent_r.c: Likewise.
19674 * shadow/getspnam.c: Likewise.
19675 * shadow/getspnam_r.c: Likewise.
19676 * gshadow/getsgent.c: Likewise.
19677 * gshadow/getsgent_r.c: Likewise.
19678 * gshadow/getsgnam.c: Likewise.
19679 * gshadow/getsgnam_r.c: Likewise.
19680 * inet/getnetbyad.c: Likewise.
19681 * inet/getnetbyad_r.c: Likewise.
19682 * inet/getnetbynm.c: Likewise.
19683 * inet/getnetbynm_r.c: Likewise.
19684 * inet/getnetent.c: Likewise.
19685 * inet/getnetent_r.c: Likewise.
19686 * inet/getproto.c: Likewise.
19687 * inet/getproto_r.c: Likewise.
19688 * inet/getprtent.c: Likewise.
19689 * inet/getprtent_r.c: Likewise.
19690 * inet/getprtname.c: Likewise.
19691 * inet/getprtname_r.c: Likewise.
19692 * inet/getrpcbyname.c: Likewise.
19693 * inet/getrpcbyname_r.c: Likewise.
19694 * inet/getrpcbynumber.c: Likewise.
19695 * inet/getrpcbynumber_r.c: Likewise.
19696 * inet/getrpcent.c: Likewise.
19697 * inet/getrpcent_r.c: Likewise.
19698 * inet/getaliasent.c: Likewise.
19699 * inet/getaliasent_r.c: Likewise.
19700 * inet/getaliasname.c: Likewise.
19701 * inet/getaliasname_r.c: Likewise.
19702 * nscd/getgrgid_r.c: Likewise.
19703 * nscd/getgrnam_r.c: Likewise.
19704 * nscd/gethstbyad_r.c: Likewise.
19705 * nscd/gethstbynm3_r.c: Likewise.
19706 * nscd/getpwnam_r.c: Likewise.
19707 * nscd/getpwuid_r.c: Likewise.
19708 * nscd/getsrvbynm_r.c: Likewise.
19709 * nscd/getsrvbypt_r.c: Likewise.
19710 * nscd/gai.c: Likewise.
19711
19712 * configure.in (build_nscd): New substituted variable, set
19713 by --disable-build-nscd and defaults to $use_nscd.
19714 * configure: Regenerated.
19715 * config.make.in (build-nscd): New substituted variable.
19716 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19717 Change conditional to require [$(build-nscd) = yes] as well.
19718 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19719
19720 [BZ# 13696]
19721 * configure.in (use_nscd): New substituted variable, set by
19722 --disable-nscd. If enabled, define USE_NSCD.
19723 * configure: Regenerated.
19724 * config.h.in: Add USE_NSCD.
19725 * config.make.in (use-nscd): New substituted variable.
19726 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19727 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19728 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19729 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19730 (CFLAGS-getgrnam_r.c): Likewise.
19731 (CFLAGS-initgroups.c): Likewise.
19732 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19733 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19734 Variables removed.
19735 * inet/getnetgrent_r.c
19736 (nscd_setnetgrent): New function, broken out of ...
19737 (setnetgrent): ... here. Call it.
19738 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19739 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19740 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19741 * nscd/Makefile (routines, aux): Move definitions after include of
19742 Makeconfig. Conditionalize on [$(use-nscd) != no].
19743 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19744 Conditionalize on [USE_NSCD].
19745 (is_nscd, nscd_init_cb): Likewise.
19746 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19747 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19748 * nss/nss_db/db-init.c: Likewise.
19749 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19750 [USE_NSCD].
19751 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19752 (make_request): Use it.
19753 (cache_valid_p): New function.
19754 (__check_pf): Use it.
19755 * NEWS: Add item for --disable-nscd.
19756
19757 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
19758
19759 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19760 to support sed >= 4.2.1-20-ga9bf076.
19761 * configure: Regenerated.
19762
19763 2012-08-22 Roland McGrath <roland@hack.frob.com>
19764
19765 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19766 Conditionalize whole body on [IREL].
19767
19768 2012-08-22 Jeff Law <law@redhat.com>
19769
19770 [BZ #14505]
19771 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19772 if the family is PF_UNSPEC.
19773
19774 2012-08-22 Mike Frysinger <vapier@gentoo.org>
19775
19776 * Makerules (lib-version): Rename from V.
19777 (install-lib-nosubdir): Change V to lib-version.
19778
19779 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
19780
19781 [BZ #14252]
19782 * powerpc32/power6/wcschr.c: New file.
19783 * powerpc32/power6/wcscpy.c: New file.
19784 * powerpc32/power6/wcsrchr.c: New file.
19785 * powerpc64/power6/wcschr.c: New file.
19786 * powerpc64/power6/wcscpy.c: New file.
19787 * powerpc64/power6/wcsrchr.c: New file.
19788
19789 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19790
19791 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19792 (two_way_short_needle): Use it.
19793 * string/strstr.c (AVAILABLE1_USES_J): Define.
19794 * string/strcasestr.c: Likewise.
19795
19796 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
19797 array references.
19798 * string/strcasestr.c (TOLOWER): Make side-effect safe.
19799
19800 [BZ #11607]
19801 * NEWS: Add an entry.
19802 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
19803 define their defaults.
19804 (two_way_short_needle): Detect end-of-string on-the-fly.
19805 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
19806 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
19807 * string/bug-strcasestr1.c: New test.
19808 * string/Makefile: Run it.
19809
19810 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19811
19812 [BZ #11607]
19813 * string/str-two-way.h (two_way_short_needle): Optimize matching of
19814 the first character.
19815
19816 2012-08-21 Roland McGrath <roland@hack.frob.com>
19817
19818 * csu/elf-init.c (__libc_csu_irel): Function removed.
19819 * csu/libc-start.c (apply_irel): New function.
19820 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
19821
19822 2012-08-21 Joseph Myers <joseph@codesourcery.com>
19823
19824 * sysdeps/unix/sysv/linux/kernel-features.h
19825 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
19826 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19827 <kernel-features.h>.
19828 [__NR_fadvise64_64]: Make code unconditional.
19829 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
19830 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19831 !__NR_fadvise64_64)]: Likewise.
19832 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
19833 !__NR_fadvise64_64))]: Likewise.
19834 [__NR_fadvise64]: Make code unconditional.
19835 [!__NR_fadvise64]: Remove conditional code.
19836 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
19837 <kernel-features.h>.
19838 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19839 unconditional.
19840 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19841 conditional code.
19842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
19843 not include <kernel-features.h>.
19844 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19845 unconditional.
19846 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19847 conditional code.
19848 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
19849 include <kernel-features.h>.
19850 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
19851 unconditional.
19852 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
19853 conditional code.
19854
19855 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
19856
19857 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
19858 slight instruction rearrangements per scrollpipe analysis.
19859 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19860
19861 2012-08-20 Roland McGrath <roland@hack.frob.com>
19862
19863 * manual/syslog.texi (syslog; vsyslog, closelog):
19864 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
19865 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
19866
19867 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
19868 DSOCAPS to match condition on defining it.
19869
19870 2012-08-20 Joseph Myers <joseph@codesourcery.com>
19871
19872 * sysdeps/unix/sysv/linux/kernel-features.h
19873 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
19874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
19875 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19876 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
19878 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19879 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
19881 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
19882 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
19883
19884 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
19885 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
19886
19887 * sysdeps/unix/sysv/linux/kernel-features.h
19888 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
19889 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
19890 unconditional.
19891 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19892 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
19893 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19894 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19895 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
19896 Make code unconditional.
19897 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19898 (__mmap64) [!__NR_mmap2]: Likewise.
19899 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
19900 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
19901 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19902 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
19903 [__NR_mmap2]: Make code unconditional.
19904 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
19905 (__mmap64) [!__NR_mmap2]: Likewise.
19906
19907 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19908
19909 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
19910
19911 2012-08-18 Andreas Jaeger <aj@suse.de>
19912
19913 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
19914
19915 2012-08-18 Mike Frysinger <vapier@gentoo.org>
19916
19917 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
19918 * include/unistd.h (__have_sock_cloexec): Likewise.
19919 (__have_pipe2): Likewise.
19920 (__have_dup3): Likewise.
19921
19922 2012-08-18 Mike Frysinger <vapier@gentoo.org>
19923
19924 [BZ #9685]
19925 * include/unistd.h (__have_pipe2): Change define into an extern int.
19926 (__have_dup3): Likewise.
19927 * socket/have_sock_cloexec.c: Include fcntl.h.
19928 (__have_pipe2): New variable.
19929 (__have_dup3): Likewise.
19930
19931 2012-08-17 Mike Frysinger <vapier@gentoo.org>
19932
19933 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
19934
19935 2012-08-17 Marek Polacek <polacek@redhat.com>
19936
19937 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
19938 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
19939
19940 2012-08-17 Roland McGrath <roland@hack.frob.com>
19941
19942 * configure.in: Add AC_SUBST for sysheaders.
19943 * configure: Regenerated.
19944 * config.make.in (sysheaders): New substituted variable.
19945
19946 * sysdeps/unix/mkfifo.c: Moved ...
19947 * sysdeps/posix/mkfifo.c: ... here.
19948 * sysdeps/unix/mkfifoat.c: Moved ...
19949 * sysdeps/posix/mkfifoat.c: ... here.
19950
19951 * sysdeps/unix/utime.c: Moved ...
19952 * sysdeps/posix/utime.c: ... here.
19953
19954 * sysdeps/unix/time.c: Moved ...
19955 * sysdeps/posix/time.c: ... here.
19956 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
19957 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
19958
19959 * sysdeps/unix/nice.c: Moved ...
19960 * sysdeps/posix/nice.c: ... here.
19961
19962 * sysdeps/unix/alarm.c: Moved ...
19963 * sysdeps/posix/alarm.c: ... here.
19964
19965 * intl/Makefile ($(codeset_mo)): Depend on the input file.
19966
19967 2012-08-17 Jeff Law <law@redhat.com>
19968
19969 * intl/Makefile (codeset_mo): New variable.
19970 ($(codeset_mo)): New target.
19971 (tst-codeset.out): Depend on that. Remove explicit rule.
19972 (tst-gettext3.out, tst-gettext5.out): Likewise.
19973 (LOCPATH-ENV, tst-codeset-ENV): New variables.
19974 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
19975 * intl/tst-codeset.sh: Remove.
19976 * intl/tst-gettext3.sh: Likewise.
19977 * intl/tst-gettext5.sh: Likewise.
19978
19979 2012-08-17 Roland McGrath <roland@hack.frob.com>
19980
19981 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
19982 * sysdeps/unix/syscalls.list: ... here.
19983
19984 * sysdeps/posix/getaddrinfo.c
19985 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
19986 (gaiconf_init, gaiconf_reload): Use them.
19987 [!_STATBUF_ST_NSEC]
19988 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
19989 Define using time_t rather than struct timespec.
19990
19991 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
19992 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
19993 Macros removed.
19994 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
19995 [!NO_THREADS].
19996 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
19997 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
19998 Likewise.
19999
20000 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20001 __libc_cleanup_push argument.
20002
20003 * bits/param.h: New file.
20004 * misc/sys/param.h: New file.
20005 * include/sys/param.h: New file.
20006 * misc/Makefile (headers): Add bits/param.h.
20007 * sysdeps/generic/sys/param.h: File removed.
20008 * sysdeps/unix/sysv/linux/bits/param.h: New file.
20009 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20010 * sysdeps/mach/hurd/bits/param.h: New file.
20011 * sysdeps/mach/hurd/sys/param.h: File removed.
20012
20013 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20014 last change.
20015
20016 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20017 [_IO_MTSAFE_IO].
20018 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20019 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20020 New macros.
20021
20022 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20023 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20024 rather than -D_IO_MTSAFE_IO conditionally.
20025 * stdio-common/Makefile (CPPFLAGS): Likewise.
20026 * wcsmbs/Makefile (CPPFLAGS): Likewise.
20027 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20028 Use $(libio-mtsafe).
20029 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20030 of -D_IO_MTSAFE_IO.
20031 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20032 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20033 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20034 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20035 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20036 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20037 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20038 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20039 (CFLAGS-fread_u_chk.c): Likewise.
20040 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20041 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20042 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20043 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20044 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20045 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20046 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20047 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20048 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20049
20050 * libio/Makefile: Test [$(libc-reentrant) = yes]
20051 instead of [$(filter %REENTRANT, $(defines)) nonempty].
20052
20053 * Makeconfig
20054 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20055 * sysdeps/pthread/configure: File removed.
20056 * sysdeps/pthread/Makeconfig: New file.
20057 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20058 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20059
20060 2012-08-16 Gary Benson <gbenson@redhat.com>
20061
20062 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20063 unmapping the first object in a namespace.
20064
20065 2012-08-16 Roland McGrath <roland@hack.frob.com>
20066
20067 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20068 (__internal_setnetgrent): ... this. Add internal_function to
20069 definition. Add libc_hidden_def.
20070 (setnetgrent): Update caller.
20071 (internal_endnetgrent): Renamed to ...
20072 (__internal_endnetgrent): ... this. Add internal_function to
20073 definition. Add libc_hidden_def.
20074 (endnetgrent): Update caller.
20075 (internal_getnetgrent_r): Renamed to ...
20076 (__internal_getnetgrent_r): ... this. Add internal_function to
20077 definition. Add libc_hidden_def.
20078 (__getnetgrent_r): Update caller.
20079 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
20080
20081 2012-08-16 Joseph Myers <joseph@codesourcery.com>
20082
20083 * stdlib/longlong.h: Update from GCC.
20084
20085 2012-08-16 Roland McGrath <roland@hack.frob.com>
20086
20087 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20088 on _QL, which is set by umul_ppmm but never used.
20089 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20090 variables, which are set by GMP macros but never used.
20091 * stdio-common/_itowa.c (_itowa): Likewise.
20092 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20093 * stdlib/mod_1.c (mpn_mod_1): Likewise.
20094
20095 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
20096
20097 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20098 struct La_sh_regs is not constant.
20099 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20100 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20101 and struct La_sparc64_regs are not constant.
20102
20103 2012-08-16 Joseph Myers <joseph@codesourcery.com>
20104
20105 * sysdeps/unix/sysv/linux/kernel-features.h
20106 (__ASSUME_POSIX_TIMERS): Remove.
20107 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20108 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20109 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20110 Make code unconditional.
20111 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20112 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20113 Make code unconditional.
20114 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20115 * sysdeps/unix/sysv/linux/clock_nanosleep.c
20116 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20117 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20118 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20119 Make code unconditional.
20120 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20121 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20122 (__libc_missing_posix_timers): Remove.
20123
20124 2012-08-15 Roland McGrath <roland@hack.frob.com>
20125
20126 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20127 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20128
20129 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20130
20131 * elf/dl-sym.c: Include <stdlib.h>.
20132
20133 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20134 constants, which avoids warnings in 32-bit builds.
20135
20136 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20137 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20138
20139 * misc/lseek.c: File moved to ...
20140 * io/lseek.c: ... here.
20141
20142 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20143
20144 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20145 shifting LEN more than 31 bits at once.
20146
20147 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20148
20149 [BZ #14195]
20150 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20151 segmentation fault for a case of two empty input strings.
20152 * string/test-strncasecmp.c (check1): Renamed to...
20153 (bz12205): ...this.
20154 (bz14195): Add new testcase for two empty input strings and N > 0.
20155 (test_main): Call new testcase, adapt for renamed function.
20156
20157 2012-08-15 Andreas Jaeger <aj@suse.de>
20158
20159 [BZ #14090]
20160 * crypt/md5test2.c: New test, based on test supplied by Serge
20161 Belyshev <belyshev@depni.sinp.msu.ru>.
20162 * crypt/Makefile (xtests): Add md5test-giant..
20163 * crypt/Makefile ($(objpfx)md5test-giant): Add.
20164
20165 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
20166
20167 [BZ #14090]
20168 * crypt/md5.c (md5_process_block): Don't assume the buffer
20169 length is less than 2**32.
20170 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20171 length is less than 2**64.
20172
20173 2012-08-15 Roland McGrath <roland@hack.frob.com>
20174
20175 * string/str-two-way.h: Include <sys/param.h>.
20176 (MAX): Macro removed.
20177
20178 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20179 Move #define and #undef of memmove to just before and after
20180 including <string.h>.
20181
20182 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20183 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20184 and after including <string.h>. Move declarations of
20185 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20186 to before #include "string/memmove.c".
20187
20188 * include/dirent.h: Declare __getdirentries.
20189
20190 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20191 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20192
20193 2012-08-14 Mike Frysinger <vapier@gentoo.org>
20194
20195 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20196 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20197 * sysdeps/i386/configure: Regenerated.
20198 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20199 STABS_CURRENT_FILE, and STABS_FUN.
20200 (END): Remove call to STABS_FUN_END.
20201 (STABS_CURRENT_FILE1): Delete.
20202 (STABS_CURRENT_FILE): Likewise.
20203 (STABS_FUN): Likewise.
20204 (STABS_FUN_END): Likewise.
20205 (STABS_FUN2): Likewise.
20206 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20207 * sysdeps/x86_64/configure: Regenerated.
20208
20209 2012-08-14 Roland McGrath <roland@hack.frob.com>
20210
20211 * elf/dl-open.c: Include <atomic.h>.
20212 * elf/dl-lookup.c: Likewise.
20213
20214 2012-08-14 Joseph Myers <joseph@codesourcery.com>
20215
20216 * sysdeps/unix/sysv/linux/kernel-features.h
20217 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20218 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20219 unconditionally.
20220 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20221 unconditionally.
20222 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20223 condition on __ASSUME_CLONE_THREAD_FLAGS.
20224
20225 2012-08-14 Andreas Jaeger <aj@suse.de>
20226
20227 * sysdeps/i386/fpu/libm-test-ulps: Update.
20228
20229 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
20230
20231 * include/atomic.h (atomic_exchange_and_add): Split into ...
20232 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20233 New atomic macros.
20234
20235 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20236
20237 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20238
20239 2012-08-13 Jeff Law <law@redhat.com>
20240
20241 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20242 null byte in the output string.
20243
20244 2012-08-10 Joseph Myers <joseph@codesourcery.com>
20245
20246 * sysdeps/unix/sysv/linux/kernel-features.h
20247 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20248 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20249 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20250 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20251 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20252 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20253 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20254
20255 2012-08-09 Jeff Law <law@redhat.com>
20256
20257 [BZ #13939]
20258 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20259 When avoid_arena is set, don't retry in the that arena. Pick the
20260 next one, whatever it might be.
20261 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20262 (arena_lock): Pass in new parameter to arena_get2.
20263 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20264 arena_get2.
20265 (__libc_malloc): Unify retrying after main arena failure with
20266 __libc_memalign version.
20267 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20268
20269 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20270
20271 [BZ #14166]
20272 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20273 to __redirect_strstr.
20274 (__strstr_sse42): Use typeof __redirect_strstr.
20275 (__strstr_ia32): Likewise.
20276 (__libc_strstr): New prototype.
20277 (strstr): Renamed to ...
20278 (__libc_strstr): This.
20279 (strstr): New strong alias of __libc_strstr.
20280 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20281 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20282 __redirect_time.
20283 Include <time.h>.
20284 (__libc_time): New prototype.
20285 (time_ifunc): Replace time with __libc_time.
20286 (time): New strong alias and hidden definition of __libc_time.
20287 (__GI_time): Remove strong alias.
20288 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20289 Include <stddef.h>.
20290 (memmove): Redefined to __redirect_memmove.
20291 (__memmove_sse2): Use typeof __redirect_memmove.
20292 (__memmove_ssse3): Likewise.
20293 (__memmove_ssse3_back): Likewise.
20294 (__libc_memmove): New prototype.
20295 (memmove): Renamed to ...
20296 (__libc_memmove): This.
20297 (memmove): New strong alias of __libc_memmove.
20298
20299 2012-08-08 Mark Salter <msalter@redhat.com>
20300
20301 * elf/elf.h
20302 (R_MN10300_TLS_GD): Define.
20303 (R_MN10300_TLS_LD): Likewise.
20304 (R_MN10300_TLS_LDO): Likewise.
20305 (R_MN10300_TLS_GOTIE): Likewise.
20306 (R_MN10300_TLS_IE): Likewise.
20307 (R_MN10300_TLS_LE): Likewise.
20308 (R_MN10300_TLS_DTPMOD): Likewise.
20309 (R_MN10300_TLS_DTPOFF): Likewise.
20310 (R_MN10300_TLS_TPOFF): Likewise.
20311 (R_MN10300_SYM_DIFF): Likewise.
20312 (R_MN10300_ALIGN): Likewise.
20313 (R_MN10300_NUM): Update.
20314
20315 2012-08-08 Joseph Myers <joseph@codesourcery.com>
20316
20317 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20318 Remove.
20319
20320 2012-08-08 Roland McGrath <roland@hack.frob.com>
20321
20322 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20323
20324 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20325 sysdeps/unix -> sysdeps/posix move.
20326 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20327
20328 2012-08-07 Allan McRae <allan@archlinux.org>
20329
20330 [BZ #14303]
20331 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20332 (SUNOS_CPP): Likewise.
20333 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20334 not found.
20335 (open_input): Call CPP using execvp.
20336
20337 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20338
20339 * sysdeps/unix/sysv/linux/kernel-features.h
20340 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20341 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20342 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20343 (__ASSUME_WAITID_SYSCALL): Likewise.
20344 * sysdeps/unix/sysv/linux/dl-execstack.c
20345 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20346 code unconditional.
20347 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20348 conditional code.
20349 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20350 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20351 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20352 code.
20353 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20354 unconditional.
20355 [__ASSUME_WAITID_SYSCALL]: Likewise.
20356 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20357
20358 2012-08-07 Roland McGrath <roland@hack.frob.com>
20359
20360 * sysdeps/unix/closedir.c: Renamed to ...
20361 * sysdeps/posix/closedir.c: ... here.
20362 * sysdeps/unix/dirfd.c: Renamed to ...
20363 * sysdeps/posix/dirfd.c: ... here.
20364 * sysdeps/unix/dirstream.h: Renamed to ...
20365 * sysdeps/posix/dirstream.h: ... here.
20366 * sysdeps/unix/fdopendir.c: Renamed to ...
20367 * sysdeps/posix/fdopendir.c: ... here.
20368 * sysdeps/unix/opendir.c: Renamed to ...
20369 * sysdeps/posix/opendir.c: ... here.
20370 * sysdeps/unix/readdir.c: Renamed to ...
20371 * sysdeps/posix/readdir.c: ... here.
20372 * sysdeps/unix/readdir_r.c: Renamed to ...
20373 * sysdeps/posix/readdir_r.c: ... here.
20374 * sysdeps/unix/rewinddir.c: Renamed to ...
20375 * sysdeps/posix/rewinddir.c: ... here.
20376 * sysdeps/unix/seekdir.c: Renamed to ...
20377 * sysdeps/posix/seekdir.c: ... here.
20378 * sysdeps/unix/telldir.c: Renamed to ...
20379 * sysdeps/posix/telldir.c: ... here.
20380 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20381 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20382 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20383 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20384
20385 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20386 * bits/fcntl.h: ... here.
20387
20388 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20389 not 0.
20390 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20391 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20392 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20393 (struct flock): Move l_start, l_len to the beginning.
20394 Use __pid_t for l_pid.
20395 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20396 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20397 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20398 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20399 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20400 [__USE_LARGEFILE64] (struct flock64): New type.
20401 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20402
20403 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20404 * bits/dirent.h: ... here.
20405
20406 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20407 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20408
20409 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20410
20411 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20412 Change from 2.6.0 to 2.6.16.
20413 * sysdeps/unix/sysv/linux/configure: Regenerated.
20414 * sysdeps/unix/sysv/linux/kernel-features.h
20415 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20416 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20417 version.
20418 (__ASSUME_UTIMES): Likewise.
20419 (__ASSUME_CLONE_STOPPED): Remove.
20420 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20421 architectures, not kernel version.
20422 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20423 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20424 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20425 (__ASSUME_WAITID_SYSCALL): Likewise.
20426 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20427 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20428 * README: State 2.6.16 as minimum Linux kernel version. Do not
20429 refer to older versions.
20430
20431 2012-08-06 Roland McGrath <roland@hack.frob.com>
20432
20433 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20434 Define alphasort64 as an alias.
20435 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20436 Define versionsort64 as an alias.
20437 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20438 Define scandir64 as an alias.
20439 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20440 Define scandirat64 as an alias.
20441 * dirent/alphasort64.c (alphasort64):
20442 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20443 * dirent/versionsort64.c: Likewise.
20444 * dirent/scandir64.c: Likewise.
20445 * dirent/scandirat64.c: Likewise.
20446 * sysdeps/wordsize-64/alphasort.c: File removed.
20447 * sysdeps/wordsize-64/alphasort64.c: File removed.
20448 * sysdeps/wordsize-64/scandir.c: File removed.
20449 * sysdeps/wordsize-64/scandir64.c: File removed.
20450 * sysdeps/wordsize-64/scandirat.c: File removed.
20451 * sysdeps/wordsize-64/scandirat64.c: File removed.
20452 * sysdeps/wordsize-64/versionsort.c: File removed.
20453 * sysdeps/wordsize-64/versionsort64.c: File removed.
20454 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20455 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20456 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20457 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20458 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20459 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20460 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20461 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20462
20463 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20464 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20465 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20466 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20467 [defined __arch64__ || defined __sparcv9]
20468 (__INO_T_MATCHES_INO64_T): New macro.
20469 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20470 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20471 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20472 * sysdeps/unix/sysv/linux/bits/dirent.h
20473 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20474 (_DIRENT_MATCHES_DIRENT64): New macro.
20475
20476 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20477 Define lockf64 as an alias.
20478 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20479 Define fseeko64 as an alias.
20480 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20481 Define ftello64 as an alias.
20482 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20483 Define _IO_fgetpos64 and fgetpos64 as aliases.
20484 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20485 Define _IO_fsetpos64 and fsetpos64 as aliases.
20486 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20487 Conditionalize body on this.
20488 * libio/fseeko64.c: Likewise.
20489 * libio/ftello64.c: Likewise.
20490 * libio/iofgetpos64.c: Likewise.
20491 * libio/iofsetpos64.c: Likewise.
20492 * sysdeps/wordsize-64/lockf.c: File removed.
20493 * sysdeps/wordsize-64/lockf64.c: File removed.
20494 * sysdeps/wordsize-64/fseeko.c: File removed.
20495 * sysdeps/wordsize-64/fseeko64.c: File removed.
20496 * sysdeps/wordsize-64/ftello.c: File removed.
20497 * sysdeps/wordsize-64/ftello64.c: File removed.
20498 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20499 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20500 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20501 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20502 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20503 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20504 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20505 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20506 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20507 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20508 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20509 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20510 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20511 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20512
20513 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20514 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20515 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20516 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20517 [defined __arch64__ || defined __sparcv9]
20518 (__OFF_T_MATCHES_OFF64_T): New macro.
20519 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20520 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20521 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20522 (__OFF_T_MATCHES_OFF64_T): New macro.
20523
20524 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20525
20526 * stdlib/secure-getenv.c (__secure_getenv): Replace
20527 GLIBC_2_16 with GLIBC_2_17.
20528
20529 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20530
20531 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20532 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20533
20534 2012-08-03 David S. Miller <davem@davemloft.net>
20535
20536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20537
20538 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20539
20540 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20541 Remove.
20542 (__ASSUME_CORRECT_SI_PID): Likewise.
20543 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20544 (__ASSUME_TMPFS_NAME): Likewise.
20545 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20546 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20547 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20548 (HAVE_AUX_SECURE): Make definition unconditional.
20549 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20550 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20551
20552 2012-08-03 Roland McGrath <roland@hack.frob.com>
20553
20554 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20555 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20556 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20557 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20558 __eloop_threshold instead of SYMLOOP_MAX.
20559
20560 * sysdeps/generic/eloop-threshold.h: New file.
20561 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20562 of MAXSYMLINKS.
20563 * elf/chroot_canon.c (chroot_canon): Likewise.
20564
20565 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20566
20567 [BZ #13717]
20568 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20569 Change to 2.6.0 everywhere.
20570 * sysdeps/unix/sysv/linux/configure: Regenerated.
20571 * sysdeps/unix/sysv/linux/kernel-features.h
20572 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20573 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20574 kernel versions.
20575 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20576 (__ASSUME_FUTEX_REQUEUE): Remove.
20577 (__ASSUME_STATFS64): Define unconditionally.
20578 (__ASSUME_AT_SECURE): Likewise.
20579 (__ASSUME_CORRECT_SI_PID): Likewise.
20580 (__ASSUME_TGKILL): Define without depending on kernel version for
20581 i386.
20582 (__ASSUME_UTIMES): Likewise.
20583 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20584 kernel version.
20585 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20586 (__ASSUME_TMPFS_NAME): Likewise.
20587 * README: Update reference to Linux kernel versions.
20588
20589 2012-08-02 Marek Polacek <polacek@redhat.com>
20590
20591 [BZ# 14150]
20592 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20593 libc_cv_asm_type_prefix with %.
20594 * configure: Regenerated.
20595 * include/libc-symbols.h: Remove comment about
20596 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20597 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20598 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20599 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20600 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20601 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20602 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20603 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20604 * elf/tst-unique2mod1.c: Likewise.
20605 * elf/tst-unique1mod2.c: Likewise.
20606 * elf/tst-unique1mod1.c: Likewise.
20607 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20608 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20609 Replace ASM_TYPE_DIRECTIVE with .type.
20610 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20611 * sysdeps/i386/sysdep.h: Likewise.
20612 * sysdeps/x86_64/sysdep.h: Likewise.
20613 * sysdeps/sh/sysdep.h: Likewise.
20614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20615 Do not define ASM_TYPE_DIRECTIVE.
20616 * sysdeps/powerpc/sysdep.h: Likewise.
20617 * sysdeps/powerpc/powerpc32/sysdep.h:
20618 Replace ASM_TYPE_DIRECTIVE with .type.
20619 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20620 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20621 * sysdeps/i386/fpu/e_powf.S: Likewise.
20622 * sysdeps/i386/fpu/e_expl.S: Likewise.
20623 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20624 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20625 * sysdeps/i386/fpu/e_pow.S: Likewise.
20626 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20627 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20628 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20629 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20630 * sysdeps/i386/fpu/e_log2.S: Likewise.
20631 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20632 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20633 * sysdeps/i386/fpu/e_powl.S: Likewise.
20634 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20635 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20636 * sysdeps/i386/fpu/e_logl.S: Likewise.
20637 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20638 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20639 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20640 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20641 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20642 * sysdeps/i386/fpu/e_log.S: Likewise.
20643 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20644 * sysdeps/i386/fpu/e_logf.S: Likewise.
20645 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20646 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20647 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20648 * sysdeps/i386/fpu/e_log10.S: Likewise.
20649 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20650 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20651 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20652 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20653 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20654 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20655 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20656 * sysdeps/i386/i686/strtok.S: Likewise.
20657 * sysdeps/i386/i386-mcount.S: Likewise.
20658 * sysdeps/i386/strtok.S: Likewise.
20659 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20660 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20661 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20662 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20663 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20664 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20665 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20666 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20667 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20668 * sysdeps/x86_64/_mcount.S: Likewise.
20669 * sysdeps/x86_64/strtok.S: Likewise.
20670 * sysdeps/sh/_mcount.S: Likewise.
20671
20672 2012-08-01 Roland McGrath <roland@hack.frob.com>
20673
20674 * libio/iofopen.c: Include <fcntl.h>.
20675 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20676 (_IO_fopen64, fopen64): Define as aliases.
20677 * libio/iofopen64.c: Include <fcntl.h>.
20678 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20679 Conditionalize body on this.
20680 * sysdeps/wordsize-64/iofopen.c: File removed.
20681 * sysdeps/wordsize-64/iofopen64.c: File removed.
20682
20683 2012-08-01 Marek Polacek <polacek@redhat.com>
20684
20685 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20686 Use dlfcn directly instead of a variable.
20687 (binfmt-subdir): Do not define.
20688 (dlfcn): Likewise.
20689
20690 2012-08-01 Joseph Myers <joseph@codesourcery.com>
20691
20692 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20693 Remove all definitions.
20694 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20695 <kernel-features.h>.
20696 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20697 (miss_F_GETOWN_EX): Remove all definitions.
20698 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20699 macro definition.
20700 [!__ASSUME_FCNTL64]: Remove conditional code.
20701 [__ASSUME_FCNTL64]: Make code unconditional.
20702 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20703 <kernel-features.h>.
20704 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20705 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20706 (lockf64) [__NR_fcntl64]: Make code unconditional.
20707 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20708
20709 * sysdeps/unix/sysv/linux/kernel-features.h
20710 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20711 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20712 Make code unconditional.
20713 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20714 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20716 [__NR_vfork]: Make code unconditional.
20717 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20718 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20720 [__NR_vfork]: Make code unconditional.
20721 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20722 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20723
20724 2012-08-01 Roland McGrath <roland@hack.frob.com>
20725
20726 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20727 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20728
20729 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20730 Define mkstemp64 as an alias.
20731 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20732 Define mkstemps64 as an alias.
20733 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20734 Define mkostemp64 as an alias.
20735 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20736 Define mkostemps64 as an alias.
20737 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20738 Conditionalize body on this.
20739 * misc/mkostemp64.c: Likewise.
20740 * misc/mkostemps64.c: Likewise.
20741 * misc/mkstemps64.c: Likewise.
20742 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20743 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20744 * sysdeps/wordsize-64/mkostemp.c: File removed.
20745 * sysdeps/wordsize-64/mkstemp.c: File removed.
20746 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20747 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20748 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20749 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20750
20751 [BZ #14138]
20752 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20753 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20754 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20755 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20756
20757 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20758 compat_symbol macros from <shlib-compat.h> rather than the underlying
20759 default_symbol_version and symbol_version macros, so that DEFAULT
20760 lines in shlib-versions are respected.
20761 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20762
20763 2012-08-01 Florian Weimer <fweimer@redhat.com>
20764
20765 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20766 Declare with warn_unused_result.
20767 (setgid, setregid, setegid, setresgid): Likewise.
20768 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20769 Likewise.
20770 * WUR-REPORT: Remove set*id functions.
20771
20772 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
20773
20774 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20775
20776 2012-07-31 Roland McGrath <roland@hack.frob.com>
20777
20778 [BZ #10191]
20779 * include/sys/socket.h (__libc_accept, __libc_accept4):
20780 Add attribute_hidden.
20781 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20782
20783 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20784 use of PTR_MANGLE.
20785 * inet/getnetgrent_r.c (setup): Likewise.
20786
20787 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20788
20789 2012-07-31 David S. Miller <davem@davemloft.net>
20790
20791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20792
20793 2012-07-31 Joseph Myers <joseph@codesourcery.com>
20794
20795 [BZ #13629]
20796 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
20797 value between 1.0 and 2.0 and smaller part has absolute value less
20798 than 1.0.
20799 * math/s_clog10.c (__clog10): Likewise.
20800 * math/s_clog10f.c (__clog10f): Likewise.
20801 * math/s_clog10l.c (__clog10l): Likewise.
20802 * math/s_clogf.c (__clogf): Likewise.
20803 * math/s_clogl.c (__clogl): Likewise.
20804 * math/libm-test.inc (clog_test): Add more tests.
20805 (clog10_test): Likewise.
20806 * sysdeps/i386/fpu/libm-test-ulps: Update.
20807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20808
20809 2012-07-31 Florian Weimer <fweimer@redhat.com>
20810
20811 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
20812 Exit with zero in case no suitable GID is found, and write a
20813 message to standard error.
20814
20815 2012-07-30 Roland McGrath <roland@hack.frob.com>
20816
20817 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
20818 rather than to 1.
20819 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
20820 (MAXPATHLEN): Removed.
20821 (NOGROUP, NODEV): New macros.
20822 (setbit, clrbit, isset, isclr): New macros.
20823 (howmany, roundup, powerof2): New macros.
20824 (DEV_BSIZE): New macro.
20825
20826 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
20827 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
20828
20829 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
20830 definition on [!__NO_LONG_DOUBLE_MATH].
20831
20832 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
20833 PTR_MANGLE and PTR_DEMANGLE.
20834
20835 * socket/accept4.c (accept4): Rename to __libc_accept4.
20836 Define accept4 as a weak alias.
20837
20838 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
20839 on [_DIRENT_HAVE_D_TYPE].
20840 * io/ftw.c (ftw_dir): Likewise.
20841
20842 * io/xmknod.c (__xmknod): Don't check PATH for being null.
20843
20844 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
20845
20846 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
20847 Use the BSD numbers rather than the arbitrary ones we had.
20848 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
20849 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
20850 (SIGXCPU, SIGXFSZ): New macros.
20851 (_NSIG): Now 32.
20852
20853 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
20854 initializer on [_LIBC_REENTRANT].
20855
20856 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
20857 definitions inside [_POSIX_MAPPED_FILES].
20858
20859 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
20860
20861 * dirent/opendir.c: Include <fcntl.h>.
20862
20863 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
20864 (__libc_getspecific): Likewise.
20865 (__libc_key_create): Likewise.
20866
20867 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
20868 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
20869 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
20870 (tmpfile64): Define as alias.
20871 * sysdeps/wordsize-64/tmpfile.c: File removed.
20872 * sysdeps/wordsize-64/tmpfile64.c: File removed.
20873 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
20874 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
20875
20876 * stdio-common/vfscanf.c: Include <stdbool.h>.
20877 * nss/makedb.c: Likewise.
20878 * stdio-common/_i18n_number.h: Likewise.
20879 * argp/argp-help.c: Likewise.
20880 * posix/wordexp.c: Likewise.
20881 * sysdeps/posix/spawni.c: Likewise.
20882 * nss/nss_files/files-initgroups.c: Likewise.
20883 * stdio-common/reg-modifier.c: Include <stdlib.h>.
20884 * nss/nss_files/files-initgroups.c: Likewise.
20885 * nss/nss_db/db-netgrp.c: Likewise.
20886 * nss/nss_db/db-initgroups.c: Likewise.
20887 * io/fchmodat.c: Include <sys/stat.h>.
20888
20889 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
20890 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
20891
20892 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
20893 [HAVE_MMAP].
20894
20895 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
20896 Add multiple inclusion protection.
20897
20898 2012-07-27 David S. Miller <davem@davemloft.net>
20899
20900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20901
20902 2012-07-27 Gary Benson <gbenson@redhat.com>
20903
20904 [BZ #14298]
20905 * elf/rtld.c: Include <stap-probe.h>.
20906 (dl_main): Added static probes "init_start" and "init_complete".
20907 * elf/dl-load.c: Include <stap-probe.h>.
20908 (lose): Take new parameter "nsid".
20909 Added static probe "map_failed".
20910 (_dl_map_object_from_fd): Pass namespace id to lose.
20911 Added static probe "map_start".
20912 (open_verify): Pass namespace id to lose.
20913 * elf/dl-open.c: Include <stap-probe.h>.
20914 (dl_open_worker) Added static probes "map_complete", "reloc_start"
20915 and "reloc_complete".
20916 * elf/dl-close.c: Include <stap-probe.h>.
20917 (_dl_close_worker): Added static probes "unmap_start" and
20918 "unmap_complete".
20919 * elf/rtld-debugger-interface.txt: New file documenting the above.
20920
20921 2012-07-26 Roland McGrath <roland@hack.frob.com>
20922
20923 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
20924 rather than a string variable.
20925 * sunrpc/rpc_main.c (h_output): Likewise.
20926 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
20927
20928 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
20929
20930 * inet/check_native.c: New file.
20931
20932 2012-07-26 Joseph Myers <joseph@codesourcery.com>
20933
20934 [BZ #13629]
20935 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
20936 if larger part has absolute value 1.0.
20937 * math/s_clog10.c (__clog10): Likewise.
20938 * math/s_clog10f.c (__clog10f): Likewise.
20939 * math/s_clog10l.c (__clog10l): Likewise.
20940 * math/s_clogf.c (__clogf): Likewise.
20941 * math/s_clogl.c (__clogl): Likewise.
20942 * math/libm-test.inc (clog_test): Add more tests.
20943 (clog10_test): Likewise.
20944 * sysdeps/i386/fpu/libm-test-ulps: Update.
20945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20946
20947 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
20948 (pltexit): Likewise.
20949 (La_regs): Likewise.
20950 (La_retval): Likewise.
20951 (int_retval): Likewise.
20952 Update #error for removed macros to refer only to definitions in
20953 tst-audit.h.
20954 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
20955 macro.
20956 (pltexit): Likewise.
20957 (La_regs): Likewise.
20958 (La_retval): Likewise.
20959 (int_retval): Likewise.
20960 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
20961 macro.
20962 (pltexit): Likewise.
20963 (La_regs): Likewise.
20964 (La_retval): Likewise.
20965 (int_retval): Likewise.
20966 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
20967 macro.
20968 (pltexit): Likewise.
20969 (La_regs): Likewise.
20970 (La_retval): Likewise.
20971 (int_retval): Likewise.
20972 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
20973 macro.
20974 (pltexit): Likewise.
20975 (La_regs): Likewise.
20976 (La_retval): Likewise.
20977 (int_retval): Likewise.
20978 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
20979 macro.
20980 (pltexit): Likewise.
20981 (La_regs): Likewise.
20982 (La_retval): Likewise.
20983 (int_retval): Likewise.
20984 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
20985 macro.
20986 (pltexit): Likewise.
20987 (La_regs): Likewise.
20988 (La_retval): Likewise.
20989 (int_retval): Likewise.
20990 * sysdeps/generic/tst-audit.h: Update comment to refer only to
20991 macro definitions in tst-audit.h.
20992 * sysdeps/i386/tst-audit.h: New file.
20993 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
20994 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
20995 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
20996 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
20997 * sysdeps/sh/tst-audit.h: Likewise.
20998 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
20999 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21000 * sysdeps/x86_64/tst-audit.h: Likewise.
21001
21002 2012-07-26 Andreas Jaeger <aj@suse.de>
21003
21004 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21005 ptrace.
21006
21007 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21008 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21009 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21010 PTRACE_O_MASK.
21011 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21012 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21013 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21014
21015 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21016 value.
21017
21018 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21019 _sigsys.
21020 (si_call_addr, si_syscall, si_arch): Define new macro.
21021 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21022 _sigsys.
21023 (si_call_addr, si_syscall, si_arch): Define new marcro.
21024 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21025 _sigsys.
21026 (si_call_addr, si_syscall, si_arch): Define new macro.
21027 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21028 _sigsys.
21029 (si_call_addr, si_syscall, si_arch): Define new macro.
21030
21031 2012-07-25 Joseph Myers <joseph@codesourcery.com>
21032
21033 [BZ #13717]
21034 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21035 Change to 2.4.21 where previously 2.4.1.
21036 * sysdeps/unix/sysv/linux/configure: Regenerated.
21037 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21038 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21039 Linux kernel version.
21040 (__ASSUME_STD_AUXV): Remove.
21041 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21042 kernel version.
21043 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21044 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21045 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21046 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21047 (__ASSUME_NETLINK_SUPPORT): Likewise.
21048 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21049 (__no_netlink_support): Remove conditional definition.
21050 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21051 Remove.
21052 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21053 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21054 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21055 (if_nameindex_ioctl): Remove.
21056 (if_nameindex_netlink): Do not handle __no_netlink_support.
21057 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21058 code.
21059 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21060 Remove conditional code.
21061 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21062 code.
21063 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21064 unconditional.
21065 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21066 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21067 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21068 Remove.
21069 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21070 [!__ASSUME_STD_AUXV]: Remove conditional code.
21071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21072 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21073 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21075 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21076 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21077 code.
21078 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21080 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21081 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21082 conditional code.
21083 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21085 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21086 code.
21087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21088 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21089 conditional code.
21090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21091 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21092 code unconditional.
21093 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21094 conditional code.
21095 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21096 unconditional.
21097 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21098 conditional code.
21099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21100 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21101 unconditional.
21102 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21103 conditional code.
21104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21105 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21106 code unconditional.
21107 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21108 conditional code.
21109 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21110 unconditional.
21111 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21112 conditional code.
21113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21114 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21115 code unconditional.
21116 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21117 conditional code.
21118 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21119 unconditional.
21120 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21121 conditional code.
21122
21123 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
21124
21125 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21126 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21127 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21128 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21129 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21130 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21131 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21132 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21133 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21134 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21135 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21136 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21137 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21138 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21139 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21140 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21141 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21142 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21143 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21144 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21145 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21146 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21147 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21148
21149 2012-07-25 Florian Weimer <fweimer@redhat.com>
21150
21151 * Versions.def: Add GLIBC_2.17.
21152 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21153 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21154 Introduce __libc_secure_getenv.
21155 * stdlib/Versions (2.17): Add secure_getenv
21156 (GLIBC_PRIVATE): Add __libc_secure_getenv.
21157 * stdlib/secure-getenv.c: Rename __secure_getenv to
21158 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
21159 symbol __secure_getenv for GLIBC_2.0.
21160 * stdlib/tst-secure-getenv.c: New.
21161 * stdlib/Makefile (tests): Add testcase.
21162 * manual/startup.texi (Environment Access): Document
21163 secure_getenv.
21164 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21165 __libc_secure_getenv.
21166 * inet/ruserpass.c (ruserpass): Likewise.
21167 * malloc/mtrace.c (mtrace): Likewise.
21168 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
21169 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21170 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21171 * sysdeps/posix/tempname.c: Likewise. Evaluate
21172 HAVE_SECURE_GETENV.
21173 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
21174 __secure_getenv to __libc_secure_getenv.
21175 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
21176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21177 Likewise.
21178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21179 Likewise.
21180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21182 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21183 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21186 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21187
21188 2012-07-25 Joseph Myers <joseph@codesourcery.com>
21189
21190 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21191 (struct La_i86_retval): Likewise.
21192 (struct La_x86_64_regs): Likewise.
21193 (struct La_x86_64_retval): Likewise.
21194 (struct La_x32_regs): Likewise.
21195 (struct La_x32_retval): Likewise.
21196 (struct La_ppc32_regs): Likewise.
21197 (struct La_ppc32_retval): Likewise.
21198 (struct La_ppc64_regs): Likewise.
21199 (struct La_ppc64_retval): Likewise.
21200 (struct La_sh_regs): Likewise.
21201 (struct La_sh_retval): Likewise.
21202 (struct La_s390_32_regs): Likewise.
21203 (struct La_s390_32_retval): Likewise.
21204 (struct La_s390_64_regs): Likewise.
21205 (struct La_s390_64_retval): Likewise.
21206 (struct La_sparc32_regs): Likewise.
21207 (struct La_sparc32_retval): Likewise.
21208 (struct La_sparc64_regs): Likewise.
21209 (struct La_sparc64_retval): Likewise.
21210 (struct audit_ifaces): Remove architecture-specific pltenter and
21211 pltexit members.
21212 * sysdeps/i386/ldsodefs.h: New file.
21213 * sysdeps/powerpc/ldsodefs.h: Likewise.
21214 * sysdeps/s390/ldsodefs.h: Likewise.
21215 * sysdeps/sh/ldsodefs.h: Likewise.
21216 * sysdeps/sparc/ldsodefs.h: Likewise.
21217 * sysdeps/x86_64/ldsodefs.h: Likewise.
21218
21219 2012-07-25 Marek Polacek <polacek@redhat.com>
21220
21221 [BZ #6808]
21222 * math/libm-test.inc (yn_test): Add another test.
21223 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21224 to ERANGE when the result is +-Inf.
21225 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21226 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21227 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21228 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21229
21230 2012-07-24 Joseph Myers <joseph@codesourcery.com>
21231
21232 * conform/data/time.h-data (NULL): Use macro-constant. Require
21233 equal to 0.
21234 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21235 clock_t.
21236 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21237
21238 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21239
21240 * configure.in <sysdeps resolving>: Correct printing
21241 Implies_before.
21242 * configure: Regenerate.
21243
21244 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21245
21246 * math/w_ilogb.c: Include <limits.h>.
21247 * math/w_ilogbl.c: Likewise.
21248
21249 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21250
21251 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21252 va_copy. Document allowing for unavailable va_copy only as
21253 pre-C99 compatibility.
21254 * manual/string.texi (Copying and Concatenation): Use va_copy
21255 instead of __va_copy in concat example.
21256
21257 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21258
21259 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21260 (__sendto): Use create_address_port. Initialize APORT and deallocate
21261 it if not null.
21262
21263 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21264 with O_NOLINK passed to __file_name_lookup.
21265
21266 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21267 with O_NOLINK passed to __file_name_lookup.
21268
21269 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21270 negative N or less than NGIDS.
21271
21272 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21273 type to string_t. Set ERANGE as errno and return it if NAME is not big
21274 enough. Use memcpy instead of strncpy.
21275
21276 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21277
21278 * elf/Makefile (check-data): Remove.
21279 (localplt.data): New vpath directive.
21280 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21281 instead of $(check-data).
21282 * scripts/data/localplt-generic.data: Move to ...
21283 * sysdeps/generic/localplt.data: ... here.
21284 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21285 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21286 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21288 ... here.
21289 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21291 ... here.
21292 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21293 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21294 ... here.
21295 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21297 ... here.
21298 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21300 ... here.
21301 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21302 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21303 ... here.
21304
21305 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21306
21307 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21308 PPC32 and PPC64 files.
21309 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21310 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21311
21312 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21313
21314 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21315 __makecontext_ret to ...
21316 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21317 ... here and call exit if uc_link is NULL. New file.
21318 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21319 __makecontext_ret.S.
21320 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21321 __makecontext_ret to ...
21322 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21323 ... here and call exit if uc_link is NULL. New file.
21324 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21325 __makecontext_ret.S.
21326
21327 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21328
21329 * elf/elf.h (R_390_IRELATIVE): New definition.
21330 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21331 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21332 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21333 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21334 (elf_machine_lazy_rel): Likewise.
21335 * sysdeps/s390/dl-irel.h: New file.
21336 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21337 * sysdeps/s390/s390-64/memset.S: New asm code.
21338 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21339 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21340 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21341 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21342 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21343 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21344 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21345 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21346 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21347 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21348 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21349 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21350 * sysdeps/s390/s390-32/memset.S: New asm code.
21351 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21352
21353 2012-07-17 Marek Polacek <polacek@redhat.com>
21354
21355 [BZ #14349]
21356 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21357 * sysdeps/s390/s390-64/configure.in: Likewise.
21358 * sysdeps/sparc/configure.in: Likewise.
21359 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21360 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21361 * sysdeps/i386/configure.in: Likewise.
21362 * sysdeps/x86_64/configure.in: Likewise.
21363 * sysdeps/sh/configure.in: Likewise.
21364 * sysdeps/s390/s390-32/configure: Regenerated.
21365 * sysdeps/s390/s390-64/configure: Likewise.
21366 * sysdeps/x86_64/configure: Likewise.
21367 * sysdeps/sh/configure: Likewise.
21368 * sysdeps/powerpc/powerpc64/configure: Likewise.
21369 * sysdeps/powerpc/powerpc32/configure: Likewise.
21370 * sysdeps/sparc/configure: Likwise.
21371 * sysdeps/i386/configure: Likewise.
21372
21373 * elf/dl-open.c: Comment fixes.
21374
21375 2012-07-17 Joseph Myers <joseph@codesourcery.com>
21376
21377 * Makefile [CXX] (check-data): Remove.
21378 [CXX] (c++-types.data): New vpath directive.
21379 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21380 vpath. Do not allow for C++ type data being missing.
21381 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21382 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21383 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21384 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21385 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21386 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21387 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21389 ... here.
21390 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21392 ... here.
21393 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21395 ... here.
21396 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21398 ... here.
21399 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21400 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21401 ... here.
21402 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21403 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21404 ... here.
21405 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21406 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21407 ... here.
21408 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21409 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21410
21411 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21412 definitions to architecture-specific files.
21413 (TLS_IE): Likewise.
21414 (TLS_LD): Likewise.
21415 (TLS_GD): Likewise.
21416 * sysdeps/i386/tls-macros.h: New file.
21417 * sysdeps/powerpc/tls-macros.h: Likewise.
21418 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21419 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21420 * sysdeps/sh/tls-macros.h: Likewise.
21421 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21422 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21423 * sysdeps/x86_64/tls-macros.h: Likewise.
21424
21425 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21426
21427 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21428 zero value for regular exit case.
21429
21430 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21431 (__start_context): Preserve zero value for regular exit case.
21432
21433 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21434 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21435
21436 * manual/setjmp.texi (setcontext): Clarify normal process
21437 termination when uc_link is the null pointer.
21438 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21439 exit call.
21440
21441 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21442
21443 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21444 preprocessor. Test for each exception mask separately.
21445
21446 2012-07-16 Andreas Jaeger <aj@suse.de>
21447
21448 * po/ru.po: Update from translation team.
21449
21450 2012-07-15 Joseph Myers <joseph@codesourcery.com>
21451
21452 * conform/data/string.h-data (NULL): Use macro-constant. Require
21453 equal to 0.
21454 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21455 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21456 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21457 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21458 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21459
21460 2012-07-13 Andreas Jaeger <aj@suse.de>
21461
21462 * po/fr.po: Update from translation team.
21463
21464 2012-07-12 Marek Polacek <polacek@redhat.com>
21465
21466 [BZ #14173]
21467 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21468 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21469 loop condition.
21470
21471 2012-07-12 Joseph Myers <joseph@codesourcery.com>
21472
21473 [BZ #13717]
21474 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21475 Change to 2.4.1 where previously 2.4.0.
21476 * sysdeps/unix/sysv/linux/configure: Regenerated.
21477 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21478 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21479 version.
21480 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21481 (__ASSUME_AT_CLKTCK): Remove.
21482 (__ASSUME_AT_PAGESIZE): Likewise.
21483 (__ASSUME_AT_XID): Likewise.
21484 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21485 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21486 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21487 unconditionally.
21488 (HAVE_AUX_PAGESIZE): Likewise.
21489 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21490 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21491 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21492
21493 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21494
21495 [BZ #14307]
21496 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21497 the temporary buffer used to invoke __gethostbyname2_r,
21498 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21499 host_data / struct gaih_addrtuple.
21500 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21501 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21502 header file nss/nsswitch.h.
21503 * nss/nsswitch.h (global scope): Add definition of implementation
21504 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21505 resolv/nss_dns/dns-host.c).
21506
21507 2012-07-11 Andreas Jaeger <aj@suse.de>
21508
21509 * po/fr.po: Update from translation team.
21510
21511 * po/sv.po: Update from translation team
21512 * po/fr.po: Another update from translation team.
21513
21514 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21515
21516 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21517 for subnormals or multiply small sinh result by itself.
21518 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21520
21521 2012-07-11 David S. Miller <davem@davemloft.net>
21522
21523 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21524
21525 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21526
21527 [BZ #14347]
21528 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21529 (INTERNAL_MARK): Shift it here.
21530
21531 2012-07-10 Marek Polacek <polacek@redhat.com>
21532
21533 [BZ #14151]
21534 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21535 libc_cv_asm_global_directive with .globl.
21536 * configure: Regenerated.
21537 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21538 with .globl.
21539 * sysdeps/i386/configure: Regenerated.
21540 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21541 with .globl.
21542 * sysdeps/x86_64/configure: Regenerated.
21543 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21544 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21545 * elf/tst-unique2mod2.c: Likewise.
21546 * elf/tst-unique2mod1.c: Likewise.
21547 * elf/tst-unique1mod2.c: Likewise.
21548 * elf/tst-unique1mod1.c: Likewise.
21549 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21550 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21551 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21552 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21553 * sysdeps/mach/sysdep.h: Likewise.
21554 * sysdeps/i386/sysdep.h: Likewise.
21555 * sysdeps/i386/i386-mcount.S: Likewise.
21556 * sysdeps/x86_64/_mcount.S: Likewise.
21557 * sysdeps/x86_64/sysdep.h: Likewise.
21558 * sysdeps/sh/_mcount.S: Likewise.
21559 * sysdeps/sh/sysdep.h: Likewise.
21560 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21561 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21562 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21563 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21564 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21565 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21566 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21567 * locale/localeinfo.h: Likewise.
21568 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21569 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21570
21571 2012-07-09 Roland McGrath <roland@hack.frob.com>
21572
21573 [BZ #14336]
21574 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21575 system".
21576 * manual/message.texi (The Uniforum approach): Likewise.
21577 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21578 (glibc iconv Implementation): Likewise.
21579
21580 2012-07-09 Joseph Myers <joseph@codesourcery.com>
21581
21582 [BZ #14337]
21583 * math/s_clog.c (__clog): Avoid scaling a value down where that
21584 could result in underflow.
21585 * math/s_clog10.c (__clog10): Likewise.
21586 * math/s_clog10f.c (__clog10f): Likewise.
21587 * math/s_clog10l.c (__clog10l): Likewise.
21588 * math/s_clogf.c (__clogf): Likewise.
21589 * math/s_clogl.c (__clogl): Likewise.
21590 * math/libm-test.inc (clog_test): Add more tests.
21591 (clog10_test): Likewise.
21592 * sysdeps/i386/fpu/libm-test-ulps: Update.
21593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21594
21595 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21596
21597 [BZ #14283]
21598 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21599 by 7 not 8 to examine high bit of fractional part.
21600
21601 [BZ #14042]
21602 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21603 for call to __mcount_internal.
21604 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21605 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21606 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21607
21608 2012-07-06 Joseph Myers <joseph@codesourcery.com>
21609
21610 [BZ #14154]
21611 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21612 approximation for values within 0x1p-13f of an odd multiple of
21613 pi/4.
21614 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21615 exception. Add more tests.
21616 * sysdeps/i386/fpu/libm-test-ulps: Update.
21617
21618 [BZ #6778]
21619 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21620 inputs and return -1 for them. Do not check for +Inf in case not
21621 reachable for +Inf.
21622 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21623 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21624 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21625 and return -1 for them. Do not check for +Inf in case not
21626 reachable for +Inf.
21627 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21628 define.
21629 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21630 and return -1 for them. Do not check for +Inf in case not
21631 reachable for +Inf.
21632 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21633 spurious underflow.
21634 * sysdeps/i386/fpu/libm-test-ulps: Update.
21635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21636
21637 2012-07-06 Mike Frysinger <vapier@gentoo.org>
21638
21639 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21640
21641 2012-07-05 Joseph Myers <joseph@codesourcery.com>
21642
21643 [BZ #14157]
21644 [BZ #14331]
21645 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21646 could result in spurious underflow. Scale down values above
21647 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21648 * math/s_csqrtf.c (__csqrtf): Likewise.
21649 * math/s_csqrtl.c (__csqrtl): Likewise.
21650 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21651 spurious underflow.
21652 * sysdeps/i386/fpu/libm-test-ulps: Update.
21653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21654
21655 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21656
21657 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21658 xopen-msg.sed.
21659 * catgets/xopen-msg.awk: New file.
21660 * catgets/xopen-msg.sed: Removed.
21661
21662 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21663 po2text.sed.
21664 * intl/po2test.awk: New file.
21665 * intl/po2test.sed: Removed.
21666
21667 2012-07-04 Joseph Myers <joseph@codesourcery.com>
21668
21669 [BZ #14328]
21670 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21671 or multiply small sinh result by itself.
21672 * math/s_ctanf.c (__ctanf): Likewise.
21673 * math/s_ctanh.c (__ctanh): Likewise.
21674 * math/s_ctanhf.c (__ctanhf): Likewise.
21675 * math/s_ctanhl.c (__ctanhl): Likewise.
21676 * math/s_ctanl.c (__ctanl): Likewise.
21677 * math/libm-test.inc (ctan_test_tonearest): New function.
21678 (ctan_test_towardzero): Likewise.
21679 (ctan_test_downward): Likewise.
21680 (ctan_test_upward): Likewise.
21681 (ctanh_test_tonearest): Likewise.
21682 (ctanh_test_towardzero): Likewise.
21683 (ctanh_test_downward): Likewise.
21684 (ctanh_test_upward): Likewise.
21685 (main): Call these new functions.
21686 * sysdeps/i386/fpu/libm-test-ulps: Update.
21687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21688
21689 2012-07-03 Mike Frysinger <vapier@gentoo.org>
21690
21691 * .gitignore: Delete /ports entry.
21692
21693 2012-07-03 Andreas Jaeger <aj@suse.de>
21694
21695 * po/bg.po: Update from translation team.
21696 * po/cs.po: Likewise.
21697 * po/de.po: Likewise.
21698 * po/hr.po: Likewise.
21699 * po/nl.pl: Likewise.
21700 * po/pl.po: Likewise.
21701 * po/vi.po: Likewise.
21702
21703 2012-07-03 Joseph Myers <joseph@codesourcery.com>
21704
21705 * Makeconfig [!+link] (+link-before-libc): New variable.
21706 [!+link] (+link-after-libc): Likewise.
21707 [!+link] (+link-tests): Likewise.
21708 [!+link] (+link): Define in terms of $(+link-before-libc) and
21709 $(+link-after-libc).
21710 [!+link-static] (+link-static-before-libc): New variable.
21711 [!+link-static] (+link-static-after-libc): Likewise.
21712 [!+link-static] (+link-static-tests): Likewise.
21713 [!+link-static] (+link-static): Define in terms of
21714 $(+link-static-before-libc) and $(+link-static-after-libc).
21715 [build-shared] (link-libc-before-gnulib): New variable.
21716 [build-shared] (link-libc-tests): Likewise.
21717 [build-shared] (link-libc): Define in terms of
21718 $(link-libc-before-gnulib).
21719 [!build-shared] (link-libc-tests): New variable.
21720 (link-libc-static-tests): New variable.
21721 [!gnulib] (gnulib-arch): New variable.
21722 [!gnulib] (gnulib-tests): Likewise.
21723 [!gnulib] (static-gnulib-arch): Likewise.
21724 [!gnulib] (static-gnulib-tests): Likewise.
21725 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21726 Define with "=" instead of ":=".
21727 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21728 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21729 * Rules (binaries-all-notests): New variable.
21730 (binaries-all-tests): Likewise.
21731 (binaries-static-notests): Likewise.
21732 (binaries-static-tests): Likewise.
21733 (binaries-all): Define using $(binaries-all-notests) and
21734 $(binaries-all-tests).
21735 (binaries-static): Define using $(binaries-static-notests) and
21736 $(binaries-static-tests).
21737 (binaries-shared-tests): New variable.
21738 (binaries-shared-notests): Likewise.
21739 (binaries-shared): Remove variable.
21740 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21741 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21742 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21743 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21744 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21745 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21746 * elf/Makefile (sln-modules): New variable.
21747 (extra-objs): Add $(sln-modules:=.o).
21748 (ldconfig-modules): Add static-stubs.
21749 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21750 * elf/static-stubs.c: New file.
21751
21752 [BZ #14283]
21753 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21754 by 7 not 8 to examine high bit of fractional part. Use volatile
21755 variables when splitting into final array of floats if
21756 __FLT_EVAL_METHOD__ != 0.
21757 * math/libm-test.inc (cos_test): Add another test.
21758 (sin_test): Likewise.
21759 * sysdeps/i386/fpu/libm-test-ulps: Update.
21760
21761 [BZ #14273]
21762 * math/libm-test.inc (cosh_test): Add more tests.
21763
21764 * version.h (RELEASE): Set to "development".
21765 (VERSION): Set to "2.16.90".
21766
21767 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
21768
21769 * NEWS: Update copyright. Remove last-updated date.
21770 Mention math library bug fixes and timezone data changes.
21771 * README: Mention GNU/Hurd, x32, and HPPA support status.
21772
21773 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
21774
21775 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21776
21777 2012-06-27 Andreas Jaeger <aj@suse.de>
21778
21779 * manual/contrib.texi (Contributors): Add Samuel Thibault.
21780
21781 2012-06-25 Andreas Jaeger <aj@suse.de>
21782
21783 * sysdeps/s390/fpu/libm-test-ulps: Update.
21784
21785 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
21786 Thomas Schwinge <thomas@codesourcery.com>
21787
21788 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21789 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21790 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21791 fanotify_mark.
21792
21793 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
21794
21795 * sysdeps/mach/start.c: Remove file.
21796 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
21797 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
21798 * sysdeps/sh/init-first.c: Likewise.
21799
21800 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
21801 registers for frame unwinding purposes, add CFI directives.
21802 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21803 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
21804 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
21805 Likewise.
21806
21807 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
21808 __fortify_fail returning.
21809 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
21810
21811 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
21812 sysdeps/sh/____longjmp_chk.S.
21813 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
21814 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
21815 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
21816 (gen-as-const-headers): Append sigaltstack-offsets.sym.
21817
21818 * sysdeps/sh/abort-instr.h: New file.
21819 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
21820 process in case exit returns.
21821
21822 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
21823 initialize the GOT register before use.
21824
21825 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
21826 calculation of ARGC > 4.
21827
21828 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
21829 meaningful names to some local labels.
21830
21831 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
21832 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21833
21834 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
21835 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
21836 (__arch_compare_and_exchange_val_16_acq): Likewise.
21837 (__arch_compare_and_exchange_val_32_acq): Likewise.
21838 (atomic_exchange_and_add): Fix gUSA sequence.
21839 (atomic_add): Likewise.
21840 (atomic_add_negative): Likewise.
21841 (atomic_add_zero): Likewise.
21842 (atomic_bit_test_set): Likewise.
21843
21844 2012-06-22 Andreas Schwab <schwab@redhat.com>
21845
21846 [BZ #13579]
21847 * include/link.h (struct link_map): Add l_free_initfini.
21848 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
21849 l_initfini.
21850 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
21851 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
21852 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
21853 set.
21854
21855 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
21856
21857 * configure.in: Use AC_LANG_SOURCE.
21858 * configure: Regenerate.
21859
21860 2012-06-22 Roland McGrath <roland@hack.frob.com>
21861
21862 * configure.in (libc_cv_localstatedir): New substituted variable.
21863 * configure: Regenerated.
21864 * config.make.in (localstatedir): New variable, substituted from
21865 libc_cv_localstatedir.
21866 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
21867 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
21868 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
21869 * sysdeps/gnu/configure: Regenerated.
21870
21871 2012-06-21 Jeff Law <law@redhat.com>
21872
21873 [BZ #14277]
21874 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
21875 free. Simplify list management for _LIBC case.
21876
21877 2012-06-21 Joseph Myers <joseph@codesourcery.com>
21878
21879 [BZ #14273]
21880 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21881 Clear sign bit of 64-bit integer value before comparing against
21882 overflow value.
21883
21884 * sysdeps/mach/configure: Regenerated.
21885
21886 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
21887
21888 [BZ #14278]
21889 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
21890
21891 2012-06-21 Jeff Law <law@redhat.com>
21892
21893 [BZ #13882]
21894 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
21895 uint16_t for elements in the "seen" array to avoid char overflows.
21896 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21897 * elf/dl-open.c (dl_open_worker): Likewise.
21898
21899 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
21900
21901 * scripts/list-sources.sh: Scan PORTS for translations.
21902 * po/libc.pot: Regenerated.
21903
21904 2012-06-21 Andreas Jaeger <aj@suse.de>
21905
21906 [BZ #12194]
21907 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
21908 warning.
21909 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
21910 * bits/byteswap-16.h (__bswap_16): Likewise.
21911 * bits/byteswap.h (__bswap_constant_16): Likewise.
21912
21913 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
21914
21915 [BZ #14117]
21916 * sysdeps/i386/fpu_control.h: Removed.
21917 * sysdeps/x86_64/fpu_control.h: Moved to ...
21918 * sysdeps/x86/fpu_control.h: Here.
21919
21920 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
21921 (_FPU_SETCW): Likewise.
21922
21923 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
21924
21925 [BZ #14117]
21926 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
21927 * sysdeps/x86/fpu/bits/mathinline.h: This.
21928 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
21929
21930 [BZ #14050]
21931 [BZ #14117]
21932 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
21933 functions if __x86_64__ is defined.
21934
21935 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
21936
21937 * string/endian.h: Add !__ASSEMBLER__ condition for including
21938 conversion interfaces.
21939
21940 2012-06-15 Joseph Myers <joseph@codesourcery.com>
21941
21942 [BZ #14241]
21943 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
21944 of ABS(x) in calculating zero to negative powers other than odd
21945 integers.
21946 * math/libm-test.inc (pow_test): Add more tests.
21947
21948 2012-06-15 Andreas Jaeger <aj@suse.de>
21949
21950 * manual/contrib.texi (Contributors): Update entry of Liubov
21951 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
21952 Machado Filho.
21953
21954 2012-06-15 Cyril Hrubis <metan@ucw.cz>
21955
21956 * string/string.h: Add __wur to GNU version of strerror_r.
21957
21958 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
21959
21960 [BZ #14229]
21961 * string/Makefile (tests): Add tst-strtok_r.
21962 * string/tst-strtok_r.c: New file.
21963 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
21964 RAX_LP/RDX_LP on SAVE_PTR.
21965
21966 2012-06-14 Roland McGrath <roland@hack.frob.com>
21967
21968 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
21969
21970 2012-06-14 Joseph Myers <joseph@codesourcery.com>
21971
21972 * libm_test.inc (csqrt_test): Allow more spurious underflow
21973 exceptions.
21974 (j0_test): Likewise.
21975 (j1_test): Likewise.
21976 (y0_test): Likewise.
21977 (y1_test): Likewise.
21978
21979 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
21980
21981 * po/Makefile (libc.pot): Use UTF-8 charset.
21982
21983 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
21984
21985 [BZ #14210]
21986 Suppress sign-conversion warning from FD_SET.
21987 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
21988 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
21989 not unsigned long int.
21990 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
21991
21992 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
21993
21994 [BZ #14050]
21995 [BZ #14117]
21996 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
21997 __extern_always_inline instead of __extern_inline.
21998 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
21999 (__signbit): Likewise.
22000 (__signbitl): Support C++ namespace.
22001 (lrintf): New inline function.
22002 (lrint): Likewise.
22003 (llrintf): Likewise.
22004 (llrint): Likewise.
22005 (fmaxf): Likewise.
22006 (fmax): Likewise.
22007 (fminf): Likewise.
22008 (fmin): Likewise.
22009 (rint): Likewise.
22010 (rintf): Likewise.
22011 (ceil): Likewise.
22012 (ceilf): Likewise.
22013 (floor): Likewise.
22014 (floorf): Likewise.
22015 (nearbyint): Likewise.
22016 (nearbyintf): Likewise.
22017
22018 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
22019
22020 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22021 non-default versions.
22022
22023 2012-06-11 Roland McGrath <roland@hack.frob.com>
22024
22025 [BZ #14218]
22026 * manual/argp.texi (Argp): Reword argp_parse description slightly.
22027
22028 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
22029
22030 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22031 (FE_UPWARD, FE_DOWNWARD): Don't define.
22032 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22033 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22034
22035 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22036 reading it.
22037 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22038 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22039
22040 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22041
22042 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22043 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22044 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22045 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22046
22047 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
22048
22049 [BZ #14117]
22050 * sysdeps/i386/fpu/bits/fenv.h: Removed.
22051 * sysdeps/i386/fpu/Implies: New file.
22052 * sysdeps/x86_64/fpu/Implies: Likewise.
22053 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22054 * sysdeps/x86/fpu/bits/fenv.h: This.
22055
22056 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22057 __SSE_MATH__.
22058
22059 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22060
22061 [BZ #14134]
22062 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22063 character 0xffff that matches the last element of the
22064 conversion table.
22065
22066 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22067
22068 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22069 fmodl commit.
22070
22071 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22072
22073 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22074 values higher than 25.6283.
22075
22076 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22077
22078 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22079 subnormal exponent extraction and add some __builtin_expect.
22080 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22081 Fix for subnormal mantissa calculation.
22082
22083 2012-06-04 Mike Frysinger <vapier@gentoo.org>
22084
22085 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22086 cpu2 is -1 and errno is not ENOSYS.
22087
22088 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
22089
22090 [BZ #14117]
22091 * sysdeps/i386/i486/bits/string.h: Renamed to ...
22092 * sysdeps/x86/bits/string.h: This.
22093 * sysdeps/x86_64/bits/string.h: Removed.
22094
22095 * sysdeps/i386/i486/bits/string.h: Define inline functions only
22096 if not compiling for x86-64, but compiling for >= i486.
22097
22098 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22099 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22100
22101 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22102 New macro from Linux kernel 3.4.0.
22103 (FP_XSTATE_MAGIC2): Likewise.
22104 (FP_XSTATE_MAGIC2_SIZE): Likewise.
22105 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22106 (struct _fpx_sw_bytes): New struct.
22107 (struct _xsave_hdr): Likewise.
22108 (struct _ymmh_state): Likewise.
22109 (struct _xstate): Likewise.
22110
22111 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22112 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22113 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22114 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22115 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22116 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22117
22118 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22119 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22120 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22121 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22122 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22123 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22124
22125 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22126
22127 [BZ #13743]
22128 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22129 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22130 (sysdep_headers): Include sys/platform/ppc.h.
22131 * sysdeps/powerpc/test-gettimebase.c: Test for
22132 __ppc_get_timebase() to catch future ISA opcode/insn changes.
22133 * manual/Makefile (appendices): Include platform.texi.
22134 * manual/contrib.texi (Contributors): Update @node pointers.
22135 * manual/maint.texi (Maintenance): Likewise.
22136 (Platform): New node.
22137 * manual/platform.texi: New file. Document the new features.
22138
22139 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22140 Jakub Jelinek <jakub@redhat.com>
22141
22142 [BZ #14188]
22143 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22144 where __builtin_expect is unavailable.
22145
22146 2012-06-03 David S. Miller <davem@davemloft.net>
22147
22148 * stdlib/longlong.h: Updated from GCC.
22149
22150 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
22151
22152 [BZ #14042]
22153 * sysdeps/powerpc/powerpc32/mcount.c: New file.
22154 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22155 __mcount_internal.
22156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22157 (GLIBC_2.16): Likewise.
22158
22159 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22160
22161 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22162
22163 2012-06-01 Joseph Myers <joseph@codesourcery.com>
22164
22165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22166 (default-abi): New variable.
22167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22168 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22169 variable.
22170 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22171 Likewise.
22172 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22173 Likewise.
22174 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22175 Likewise.
22176
22177 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22178 definition. Document in comment.
22179
22180 2012-06-01 David S. Miller <davem@davemloft.net>
22181
22182 * stdlib/longlong.h: Updated from GCC.
22183
22184 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22185
22186 [BZ #14117]
22187 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22188 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22189 sys/debugreg.h sys/io.h here.
22190 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22191 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22192 sys/io.h.
22193 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22194 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22195 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22196 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22197 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22198 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22199
22200 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22201 Define only if __x86_64__ is defined.
22202
22203 2012-06-01 Joseph Myers <joseph@codesourcery.com>
22204
22205 [BZ #14048]
22206 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22207 Use int64_t for variable i.
22208 * math/libm-test.inc (fmod_test): Add more tests.
22209
22210 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22211 z computation is not scheduled after fetestexcept.
22212 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22213 Use math_force_eval instead of asm to ensure calculation scheduled
22214 before exception test.
22215 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22216 Ensure a1 + u.d computation is not scheduled after fetestexcept.
22217
22218 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
22219
22220 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22221 computation is not scheduled after fetestexcept.
22222
22223 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22224
22225 [BZ #14117]
22226 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22227 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22228
22229 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22230
22231 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22232 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22233
22234 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22235
22236 [BZ #14117]
22237 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22238 <bits/wordsize.h>.
22239 (__WCHAR_MIN): Support __WORDSIZE == 64.
22240 (__WCHAR_MAX): Likewise.
22241
22242 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22243 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22244
22245 [BZ #14183]
22246 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22247 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22248
22249 [BZ #14117]
22250 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22251 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22252
22253 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22254 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22255
22256 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22257 Defined to 1 if __x86_64__ isn't defined.
22258 (_STAT_VER_LINUX_OLD): New.
22259 (st_atime): Remove duplicate.
22260 (st_mtime): Likewise.
22261 (st_ctime): Likewise.
22262
22263 2012-05-31 David S. Miller <davem@davemloft.net>
22264
22265 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22266 entries.
22267
22268 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22269
22270 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22271 gen-libm-test.pl.
22272
22273 [BZ #14132]
22274 * elf/dl-reloc.c: Include <_itoa.h>.
22275 (_dl_reloc_bad_type): Remove use of INTUSE.
22276 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22277 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22278 * stdio-common/psiginfo.c (psiginfo): Likewise.
22279 * stdio-common/psignal.c (psignal): Likewise.
22280 * string/strsignal.c (strsignal): Likewise.
22281 * include/signal.h (_sys_siglist): Declare hidden proto.
22282 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22283 INTVARDEF with libc_hidden_data_def.
22284 * stdio-common/itoa-udigits.c: Likewise.
22285 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22286 (_itoa_lower_digits_internal): Remove declaration.
22287 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22288 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22289 (_sys_sigabbrev_internal): Remove aliases.
22290 (_sys_siglist): Define hidden alias.
22291
22292 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22293
22294 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22295 bits/sysctl.h.
22296
22297 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22298
22299 [BZ #14117]
22300 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22301 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22302
22303 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22304 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22305 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22306 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22307 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22308 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22309
22310 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22311 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22312 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22313
22314 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22315 with __addr.
22316 (insw): Likewise.
22317 (insl): Likewise.
22318 (outsb): Likewise.
22319 (outsw): Likewise.
22320 (outsl): Likewise.
22321
22322 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22323 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22324 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22325
22326 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22327 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22328 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22329 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22330 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22331 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22332
22333 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22334 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22335
22336 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22337 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22338
22339 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22340 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22341 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22342
22343 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22344 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22345 to ...
22346 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22347
22348 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22349 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22350 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22351
22352 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22353 for x86-64.
22354 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22355
22356 2012-05-31 Joseph Myers <joseph@codesourcery.com>
22357
22358 * math/math.h (M_El): Use two more decimal places.
22359 (M_LOG2El): Likewise.
22360 (M_LOG10El): Likewise.
22361 (M_LN2l): Likewise.
22362 (M_LN10l): Likewise.
22363 (M_PIl): Likewise.
22364 (M_PI_2l): Likewise.
22365 (M_PI_4l): Likewise.
22366 (M_1_PIl): Likewise.
22367 (M_2_PIl): Likewise.
22368 (M_2_SQRTPIl): Likewise.
22369 (M_SQRT2l): Likewise.
22370 (M_SQRT1_2l): Likewise.
22371
22372 2012-05-31 David S. Miller <davem@davemloft.net>
22373
22374 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22375 values between float registers.
22376 * sysdeps/sparc/sparc64/memset.S: Likewise.
22377 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22378
22379 2012-05-31 Mike Frysinger <vapier@gentoo.org>
22380
22381 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22382 -D_FORTIFY_SOURCE=1.
22383 (CPPFLAGS-tst-longjmp_chk.c): Define.
22384 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22385 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22386 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22387 CFLAGS-tst-wchar-h.c.
22388
22389 2012-05-31 Marek Polacek <polacek@redhat.com>
22390
22391 [BZ #14132]
22392 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22393 __endmntent_internal): Remove declaration.
22394 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22395 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22396 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22397
22398 2012-05-30 David S. Miller <davem@davemloft.net>
22399
22400 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22401 (___Q_simulate_exceptions): Use real FP ops rather than writing
22402 into the %fsr.
22403 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22404 Likewise.
22405
22406 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22407
22408 [BZ #14117]
22409 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22410 * sysdeps/x86/bits/xtitypes.h: This.
22411
22412 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22413 * sysdeps/x86/bits/wordsize.h: This.
22414
22415 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22416 * sysdeps/x86/bits/huge_vall.h: This.
22417
22418 * sysdeps/i386/bits/select.h: Removed.
22419 * sysdeps/x86_64/bits/select.h: Renamed to ...
22420 * sysdeps/x86/bits/select.h: This.
22421
22422 * sysdeps/i386/bits/setjmp.h: Removed.
22423 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22424 * sysdeps/x86/bits/setjmp.h: This.
22425
22426 * sysdeps/i386/bits/mathdef.h: Removed.
22427 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22428 * sysdeps/x86/bits/mathdef.h: This.
22429
22430 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22431
22432 [BZ #14132]
22433 * include/sys/socket.h (__connect_internal)
22434 (__libc_sa_len_internal): Remove declaration.
22435 (__connect, __libc_sa_len): Declare hidden_proto.
22436 (SA_LEN): Remove use of INTUSE.
22437 * socket/connect.c: Add libc_hidden_def.
22438 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22439 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22440 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22441 alias.
22442 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22443 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22444 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22445 of adding _internal alias.
22446
22447 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22448
22449 [BZ #14117]
22450 * sysdeps/i386/bits/link.h: Removed.
22451 * sysdeps/i386/bits/linkmap.h: Likewise.
22452 * sysdeps/x86_64/bits/link.h: Renamed to ...
22453 * sysdeps/x86/bits/link.h: This.
22454 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22455 * sysdeps/x86/bits/linkmap.h: This.
22456
22457 * sysdeps/i386/bits/endian.h: Removed.
22458 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22459 * sysdeps/x86/bits/endian.h: This.
22460
22461 * sysdeps/i386/bits/byteswap.h: Removed.
22462 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22463 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22464 * sysdeps/x86/bits/byteswap.h: This.
22465 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22466 * sysdeps/x86/bits/byteswap-16.h: This.
22467 * sysdeps/i386/Implies: Add x86.
22468 * sysdeps/x86_64/Implies: Likewise.
22469
22470 2012-05-30 David S. Miller <davem@davemloft.net>
22471
22472 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22473 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22474 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22475 (FP_TRAPPING_EXCEPTIONS): Define.
22476 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22477 (FP_TRAPPING_EXCEPTIONS): Define.
22478 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22479 subnormals only when inexact has been signalled or underflow
22480 exceptions are enabled.
22481 (_FP_PACK_CANONICAL): Likewise.
22482
22483 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22484
22485 [BZ #14183]
22486 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22487 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22488
22489 2012-05-30 Richard Henderson <rth@twiddle.net>
22490
22491 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22492 with #ifndef NOT_IN_libc.
22493
22494 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22495 marked to avoid plt entry.
22496
22497 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22498
22499 [BZ #14112]
22500 * Makeconfig (default-abi): New macro.
22501 (abi-includes): Likewise.
22502 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22503 $(abi-$(default-abi)-lib-soname) for soname if defined.
22504 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22505 abi-variants.
22506 * Makefile (installed-stubs): Likewise.
22507 * include/stubs-biarch.h: Removed.
22508 * scripts/lib-names.awk: Only handle one library at a time.
22509 * scripts/soversions.awk: Remove WORDSIZE support.
22510 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22511 entries.
22512 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22513 Removed.
22514 (syscall-list-default-condition): Likewise.
22515 (syscall-list-default-condition): Likewise.
22516 (syscall-list-includes): Likewise.
22517 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22518 syscall-list-* with abi-*. Handle undefined abi-variants.
22519 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22520 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22521 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22522 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22523 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22524 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22525 Removed.
22526 (syscall-list-32-options): Likewise.
22527 (syscall-list-32-condition): Likewise.
22528 (syscall-list-64-options): Likewise.
22529 (syscall-list-64-condition): Likewise.
22530 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22531 macro.
22532 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22533 Renamed to ...
22534 (abi-*): This.
22535 (abi-64-ld-soname): New macro.
22536 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22537 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22538 Renamed to ...
22539 (abi-*): This.
22540 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22541 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22542
22543 2012-05-30 Joseph Myers <joseph@codesourcery.com>
22544
22545 * sysdeps/unix/sysv/linux/kernel-features.h
22546 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22547 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22548 include <kernel-features.h>.
22549 [!__NR_ftruncate64]: Remove conditional code.
22550 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22551 [__NR_ftruncate64]: Make code unconditional.
22552 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22553 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22554 include <kernel-features.h>.
22555 [!__NR_ftruncate64]: Remove conditional code.
22556 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22557 [__NR_ftruncate64]: Make code unconditional.
22558 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22560 include <kernel-features.h>.
22561 [!__NR_ftruncate64]: Remove conditional code.
22562 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22563 [__NR_ftruncate64]: Make code unconditional.
22564 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22566 include <kernel-features.h>.
22567 [!__NR_ftruncate64]: Remove conditional code.
22568 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22569 [__NR_ftruncate64]: Make code unconditional.
22570 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22571
22572 * configure.in (libc_cv_fpie): Weaken to a compile test using
22573 LIBC_TRY_CC_OPTION.
22574 * configure: Regenerated.
22575
22576 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22577
22578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22579 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22581 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22582 Refreshed.
22583 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22589 Refreshed.
22590
22591 2012-05-27 David S. Miller <davem@davemloft.net>
22592
22593 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22594 (___Q_zero): New.
22595 (__Q_simulate_exceptions): Return void. Change to simulate
22596 exceptions by writing into the %fsr.
22597 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22598 (__Qp_handle_exceptions): Likewise.
22599 (numbers): Delete.
22600 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22601 __Qp_handle_exceptions.
22602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22603 __Qp_handle_exceptions.
22604 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22605 as unused and give dummy FP_RND_NEAREST initializer.
22606 (FP_INHIBIT_RESULTS): Define.
22607 (___Q_simulate_exceptions): Update declaration.
22608 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22609 formatting.
22610 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22611 as unused and give dummy FP_RND_NEAREST initializer.
22612 (__Qp_handle_exceptions): Update declaration.
22613 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22614 formatting.
22615
22616 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22617
22618 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22619 the temporary FPU control word.
22620 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22621 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22622 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22623 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22624 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22625 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22626 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22627 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22628 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22629 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22630 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22631
22632 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22633
22634 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22635 fields.
22636
22637 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22638
22639 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22640 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22641 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22642 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22643 Likewise.
22644 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22645 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22646 Likewise.
22647
22648 2012-05-27 Ulrich Drepper <drepper@gmail.com>
22649
22650 * po/h.po: Update from translation team.
22651
22652 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22653
22654 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22655
22656 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22657 handling of denormals.
22658 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22659 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22660 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22661 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22662 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22663 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22664 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22665 Likewise.
22666
22667 2012-05-26 Marek Polacek <polacek@redhat.com>
22668
22669 [BZ #14152]
22670 * math/libm-test.inc (fma_test): Don't always expect underflow
22671 exception.
22672
22673 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22674
22675 [BZ #12416]
22676 * elf/tst-execstack.c: Include stackinfo.h.
22677 (do_test): Adjust test case to ensure that pthread_getattr_np
22678 behaviour remains the same after marking stack executable.
22679
22680 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22681
22682 * sysdeps/unix/sysv/linux/kernel-features.h
22683 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22684 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22685 kernel-features.h.
22686 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22687 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22688 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22689 kernel-features.h.
22690 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22691 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22692
22693 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22694
22695 * configure.in: Define the default includes to being none.
22696 * configure: Regenerated.
22697
22698 2012-05-25 Roland McGrath <roland@hack.frob.com>
22699
22700 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22701 * sysdeps/x86_64/setjmp.S: Likewise.
22702 * sysdeps/i386/bsd-setjmp.S: Likewise.
22703 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22704 * sysdeps/i386/setjmp.S: Likewise.
22705 * sysdeps/i386/__longjmp.S: Likewise.
22706 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22707 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22708
22709 * include/stap-probe.h: New file.
22710 * configure.in: Handle --enable-systemtap.
22711 * configure: Regenerated.
22712 * config.h.in (USE_STAP_PROBE): New #undef.
22713 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22714 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22715 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22716
22717 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22718
22719 [BZ #13717]
22720 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22721 to 2.4.0 where earlier.
22722 * sysdeps/unix/sysv/linux/configure: Regenerated.
22723 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22724 <kernel-features.h>.
22725 [__ASSUME_32BITUIDS]: Make code unconditional.
22726 [!__ASSUME_32BITUIDS]: Remove conditional code.
22727 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22728 <kernel-features.h>.
22729 [__ASSUME_32BITUIDS]: Make code unconditional.
22730 [!__ASSUME_32BITUIDS]: Remove conditional code.
22731 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22732 [__ASSUME_32BITUIDS]: Make code unconditional.
22733 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22734 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22735 <kernel-features.h>.
22736 [__ASSUME_32BITUIDS]: Make code unconditional.
22737 [!__ASSUME_32BITUIDS]: Remove conditional code.
22738 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22739 <kernel-features.h>.
22740 [__ASSUME_32BITUIDS]: Make code unconditional.
22741 [!__ASSUME_32BITUIDS]: Remove conditional code.
22742 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22743 <kernel-features.h>.
22744 [__ASSUME_32BITUIDS]: Make code unconditional.
22745 [!__ASSUME_32BITUIDS]: Remove conditional code.
22746 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22747 <kernel-features.h>.
22748 [__ASSUME_32BITUIDS]: Make code unconditional.
22749 [!__ASSUME_32BITUIDS]: Remove conditional code.
22750 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22751 <kernel-features.h>.
22752 [__ASSUME_32BITUIDS]: Make code unconditional.
22753 [!__ASSUME_32BITUIDS]: Remove conditional code.
22754 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22755 <kernel-features.h>.
22756 [__ASSUME_32BITUIDS]: Make code unconditional.
22757 [!__ASSUME_32BITUIDS]: Remove conditional code.
22758 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22759 <kernel-features.h>.
22760 [__ASSUME_32BITUIDS]: Make code unconditional.
22761 [!__ASSUME_32BITUIDS]: Remove conditional code.
22762 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22763 <kernel-features.h>.
22764 [__ASSUME_32BITUIDS]: Make code unconditional.
22765 [!__ASSUME_32BITUIDS]: Remove conditional code.
22766 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22767 <kernel-features.h>.
22768 [__ASSUME_32BITUIDS]: Make code unconditional.
22769 [!__ASSUME_32BITUIDS]: Remove conditional code.
22770 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22771 <kernel-features.h>.
22772 [__ASSUME_32BITUIDS]: Make code unconditional.
22773 [!__ASSUME_32BITUIDS]: Remove conditional code.
22774 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22775 <kernel-features.h>.
22776 [__NR_setresgid] (__setresgid): Do not declare.
22777 [__ASSUME_32BITUIDS]: Make code unconditional.
22778 [!__ASSUME_32BITUIDS]: Remove conditional code.
22779 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22780 <kernel-features.h>.
22781 [__NR_setresuid] (__setresuid): Do not declare.
22782 [__ASSUME_32BITUIDS]: Make code unconditional.
22783 [!__ASSUME_32BITUIDS]: Remove conditional code.
22784 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22785 <kernel-features.h>.
22786 [__ASSUME_32BITUIDS]: Make code unconditional.
22787 [!__ASSUME_32BITUIDS]: Remove conditional code.
22788 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22789 <kernel-features.h>.
22790 [__ASSUME_32BITUIDS]: Make code unconditional.
22791 [!__ASSUME_32BITUIDS]: Remove conditional code.
22792 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22793 <kernel-features.h>.
22794 [__ASSUME_32BITUIDS]: Make code unconditional.
22795 [!__ASSUME_32BITUIDS]: Remove conditional code.
22796 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
22797 <kernel-features.h>.
22798 [__ASSUME_32BITUIDS]: Make code unconditional.
22799 [!__ASSUME_32BITUIDS]: Remove conditional code.
22800 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
22801 <kernel-features.h>.
22802 [__ASSUME_32BITUIDS]: Make code unconditional.
22803 [!__ASSUME_32BITUIDS]: Remove conditional code.
22804 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
22805 <kernel-features.h>.
22806 [__ASSUME_32BITUIDS]: Make code unconditional.
22807 [!__ASSUME_32BITUIDS]: Remove conditional code.
22808 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
22809 <kernel-features.h>.
22810 [__ASSUME_32BITUIDS]: Make code unconditional.
22811 [!__ASSUME_32BITUIDS]: Remove conditional code.
22812 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
22813 <kernel-features.h>.
22814 [__ASSUME_32BITUIDS]: Make code unconditional.
22815 [!__ASSUME_32BITUIDS]: Remove conditional code.
22816 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
22817 <kernel-features.h>.
22818 [__ASSUME_32BITUIDS]: Make code unconditional.
22819 [!__ASSUME_32BITUIDS]: Remove conditional code.
22820 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
22821 <kernel-features.h>.
22822 [__ASSUME_32BITUIDS]: Make code unconditional.
22823 [!__ASSUME_32BITUIDS]: Remove conditional code.
22824 * sysdeps/unix/sysv/linux/kernel-features.h
22825 (__ASSUME_SETRESUID_SYSCALL): Remove.
22826 (__ASSUME_SETRESGID_SYSCALL): Likewise.
22827 (__ASSUME_32BITUIDS): Likewise.
22828 (__ASSUME_LDT_WORKS): Likewise.
22829 (__ASSUME_O_DIRECTORY): Likewise.
22830 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
22831 architecture but not kernel version.
22832 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
22833 (__ASSUME_MMAP2_SYSCALL): Likewise.
22834 (__ASSUME_STAT64_SYSCALL): Likewise.
22835 (__ASSUME_IPC64): Likewise.
22836 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
22837 <kernel-features.h>.
22838 [__ASSUME_32BITUIDS]: Make code unconditional.
22839 [!__ASSUME_32BITUIDS]: Remove conditional code.
22840 * sysdeps/unix/sysv/linux/opendir.c: Do not include
22841 <kernel-features.h>.
22842 [__ASSUME_O_DIRECTORY]: Make code unconditional.
22843 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
22844 132096]: Remove conditional code.
22845 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
22846 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22847 <kernel-features.h>.
22848 [__ASSUME_32BITUIDS]: Make code unconditional.
22849 [!__ASSUME_32BITUIDS]: Remove conditional code.
22850 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22851 <kernel-features.h>.
22852 [__ASSUME_32BITUIDS]: Make code unconditional.
22853 [!__ASSUME_32BITUIDS]: Remove conditional code.
22854 * sysdeps/unix/sysv/linux/setegid.c: Do not include
22855 <kernel-features.h>.
22856 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
22857 unconditional.
22858 (__setresgid): Do not declare.
22859 [__ASSUME_32BITUIDS]: Make code unconditional.
22860 [!__ASSUME_32BITUIDS]: Remove conditional code.
22861 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
22862 <kernel-features.h>.
22863 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
22864 unconditional.
22865 (__setresuid): Do not declare.
22866 [__ASSUME_32BITUIDS]: Make code unconditional.
22867 [!__ASSUME_32BITUIDS]: Remove conditional code.
22868 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22869 <kernel-features.h>.
22870 [__ASSUME_32BITUIDS]: Make code unconditional.
22871 [!__ASSUME_32BITUIDS]: Remove conditional code.
22872 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
22873 <kernel-features.h>.
22874 [__ASSUME_32BITUIDS]: Make code unconditional.
22875 [!__ASSUME_32BITUIDS]: Remove conditional code.
22876
22877 2012-05-25 Richard Henderson <rth@twiddle.net>
22878
22879 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
22880 dl_hwcap to ifunc resolver.
22881 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
22882 elf_ifunc_invoke.
22883 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
22884 dl_hwcap to ifunc resolver.
22885 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
22886
22887 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22888
22889 [BZ #14153]
22890 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
22891 for |x| <= 2**-26, not 2**-57.
22892 * math/libm-test.inc (acos_test): Do not allow spurious underflow
22893 exception.
22894
22895 2012-05-24 Jeff Law <law@redhat.com>
22896
22897 * stdio-common/Makefile (tests): Add bug25.
22898 * stdio-common/bug25.c: New test.
22899
22900 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
22901
22902 [BZ #13576]
22903 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
22904 multiple of MALLOC_ALIGNMENT in size.
22905 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
22906
22907 2012-05-24 Joseph Myers <joseph@codesourcery.com>
22908
22909 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
22910 Require >= 256.
22911 (FILENAME_MAX): Use macro-int-constant.
22912 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
22913 (_IOFBF): Use macro-int-constant.
22914 (_IOLBF): Likewise.
22915 (_IONBF): Likewise.
22916 (SEEK_CUR): Likewise.
22917 (SEEK_END): Likewise.
22918 (SEEK_SET): Likewise.
22919 (TMP_MAX): Likewise.
22920 (EOF): Use macro-int-constant. Require < 0.
22921 (NULL): Use macro-constant. Require == 0.
22922 (stdin): Require type to be FILE *.
22923 (stdout): Likewise.
22924 (stderr): Likewise.
22925 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
22926 macro-int-constant.
22927 (EXIT_SUCCESS): Likewise.
22928 (NULL): Use macro-constant. Require == 0.
22929 (RAND_MAX): Use macro-int-constant.
22930 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
22931 [C99-based standards] (strtof): Require function.
22932 [C99-based standards] (strtold): Likewise.
22933 [C99-based standards] (strtoll): Likewise.
22934 [C99-based standards] (strtoull): Likewise.
22935 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
22936 [ISO || ISO99 || ISO11] (limits.h): Likewise.
22937 [ISO || ISO99 || ISO11] (math.h): Likewise.
22938 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
22939 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
22940 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22941
22942 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
22943
22944 [BZ #14132]
22945 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
22946 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
22947 * intl/dgettext.c (DCGETTEXT): Likewise.
22948 * intl/gettext.c (DCGETTEXT): Likewise.
22949 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
22950 * posix/regex_internal.h (gettext): Likewise.
22951 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
22952 Remove declaration.
22953 * include/argz.h (__argz_count_internal)
22954 (__argz_stringify_internal): Remove declaration.
22955 (__argz_count, __argz_stringify): Declare hidden proto.
22956 * intl/dcgettext.c: Remove use of INTDEF.
22957 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
22958 * string/argz-stringify.c: Likewise.
22959 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22960 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22961 Declare hidden proto.
22962 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
22963 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
22964 Declare hidden proto.
22965 * include/stdio.h (__asprintf_internal): Don't declare.
22966 (__asprintf): Don't define as macro. Declare hidden proto.
22967 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
22968 (__fsetlocking): Declare hidden proto.
22969 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
22970 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
22971 hidden proto.
22972 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
22973 (_IO_setlinebuf): Remove use of INTUSE.
22974 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
22975 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
22976 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
22977 Remove declaration.
22978 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
22979 (_IO_do_flush): Remove use of INTUSE.
22980 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
22981 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
22982 (_IO_adjust_column, _IO_least_wmarker)
22983 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
22984 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
22985 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
22986 (_IO_default_doallocate, _IO_wdefault_doallocate)
22987 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
22988 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
22989 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
22990 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
22991 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
22992 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
22993 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
22994 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
22995 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
22996 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
22997 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
22998 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
22999 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23000 proto.
23001 (_IO_flush_all_internal, _IO_adjust_column_internal)
23002 (_IO_default_uflow_internal, _IO_default_finish_internal)
23003 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23004 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23005 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23006 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23007 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23008 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23009 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23010 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23011 (_IO_file_close_internal, _IO_file_close_it_internal)
23012 (_IO_file_underflow_internal, _IO_file_overflow_internal)
23013 (_IO_file_init_internal, _IO_file_attach_internal)
23014 (_IO_file_fopen_internal, _IO_file_read_internal)
23015 (_IO_file_sync_internal, _IO_file_seek_internal)
23016 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23017 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23018 (_IO_str_underflow_internal, _IO_str_overflow_internal)
23019 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23020 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23021 (_IO_list_all_internal, _IO_link_in_internal)
23022 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23023 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23024 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23025 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23026 (_IO_do_write_internal, _IO_padn_internal)
23027 (_IO_getline_info_internal, _IO_getline_internal)
23028 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23029 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23030 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23031 (_IO_vfscanf_internal, _IO_vfprintf_internal)
23032 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23033 (_IO_init_internal, _IO_un_link_internal): Don't declare.
23034 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23035 with libc_hidden_ver, remove use of INTUSE.
23036 * libio/genops.c: Likewise.
23037 * libio/freopen.c: Likewise.
23038 * libio/freopen64.c: Likewise.
23039 * libio/iofclose.c: Likewise.
23040 * libio/iofdopen.c: Likewise.
23041 * libio/iofflush.c: Likewise.
23042 * libio/iofflush_u.c: Likewise.
23043 * libio/iofgets.c: Likewise.
23044 * libio/iofgets_u.c: Likewise.
23045 * libio/iofopen.c: Likewise.
23046 * libio/iofopncook.c: Likewise.
23047 * libio/iofread.c: Likewise.
23048 * libio/iofread_u.c: Likewise.
23049 * libio/ioftell.c: Likewise.
23050 * libio/iofwrite.c: Likewise.
23051 * libio/iogetline.c: Likewise.
23052 * libio/iogets.c: Likewise.
23053 * libio/iogetwline.c: Likewise.
23054 * libio/iopadn.c: Likewise.
23055 * libio/iopopen.c: Likewise.
23056 * libio/ioseekoff.c: Likewise.
23057 * libio/ioseekpos.c: Likewise.
23058 * libio/iosetbuffer.c: Likewise.
23059 * libio/iosetvbuf.c: Likewise.
23060 * libio/ioungetc.c: Likewise.
23061 * libio/ioungetwc.c: Likewise.
23062 * libio/iovdprintf.c: Likewise.
23063 * libio/iovsprintf.c: Likewise.
23064 * libio/iovsscanf.c: Likewise.
23065 * libio/memstream.c: Likewise.
23066 * libio/obprintf.c: Likewise.
23067 * libio/oldfileops.c: Likewise.
23068 * libio/oldiofclose.c: Likewise.
23069 * libio/oldiofdopen.c: Likewise.
23070 * libio/oldiofopen.c: Likewise.
23071 * libio/oldiopopen.c: Likewise.
23072 * libio/oldstdfiles.c: Likewise.
23073 * libio/putc.c: Likewise.
23074 * libio/setbuf.c: Likewise.
23075 * libio/setlinebuf.c: Likewise.
23076 * libio/stdfiles.c: Likewise.
23077 * libio/strops.c: Likewise.
23078 * libio/vasprintf.c: Likewise.
23079 * libio/vscanf.c: Likewise.
23080 * libio/vsnprintf.c: Likewise.
23081 * libio/vswprintf.c: Likewise.
23082 * libio/wfiledoalloc.c: Likewise.
23083 * libio/wfileops.c: Likewise.
23084 * libio/wgenops.c: Likewise.
23085 * libio/wmemstream.c: Likewise.
23086 * libio/wstrops.c: Likewise.
23087 * libio/__fpurge.c: Likewise.
23088 * libio/__fsetlocking.c: Likewise.
23089 * assert/assert.c: Likewise.
23090 * debug/fgets_chk.c: Likewise.
23091 * debug/fgets_u_chk.c: Likewise.
23092 * debug/fread_chk.c: Likewise.
23093 * debug/fread_u_chk.c: Likewise.
23094 * debug/gets_chk.c: Likewise.
23095 * debug/obprintf_chk.c: Likewise.
23096 * debug/vasprintf_chk.c: Likewise.
23097 * debug/vdprintf_chk.c: Likewise.
23098 * debug/vsnprintf_chk.c: Likewise.
23099 * debug/vsprintf_chk.c: Likewise.
23100 * malloc/mtrace.c: Likewise.
23101 * misc/error.c: Likewise.
23102 * misc/syslog.c: Likewise.
23103 * stdio-common/asprintf.c: Likewise.
23104 * stdio-common/fxprintf.c: Likewise.
23105 * stdio-common/getw.c: Likewise.
23106 * stdio-common/isoc99_fscanf.c: Likewise.
23107 * stdio-common/isoc99_scanf.c: Likewise.
23108 * stdio-common/isoc99_vfscanf.c: Likewise.
23109 * stdio-common/isoc99_vscanf.c: Likewise.
23110 * stdio-common/isoc99_vsscanf.c: Likewise.
23111 * stdio-common/printf-prs.c: Likewise.
23112 * stdio-common/printf_fp.c: Likewise.
23113 * stdio-common/printf_fphex.c: Likewise.
23114 * stdio-common/printf_size.c: Likewise.
23115 * stdio-common/putw.c: Likewise.
23116 * stdio-common/scanf.c: Likewise.
23117 * stdio-common/sprintf.c: Likewise.
23118 * stdio-common/tmpfile.c: Likewise.
23119 * stdio-common/vfprintf.c: Likewise.
23120 * stdio-common/vfscanf.c: Likewise.
23121 * stdlib/strfmon_l.c: Likewise.
23122 * sunrpc/openchild.c: Likewise.
23123 * sunrpc/xdr_stdio.c: Likewise.
23124 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23125 * sysdeps/mach/hurd/tmpfile.c: Likewise.
23126
23127 2012-05-24 Roland McGrath <roland@hack.frob.com>
23128
23129 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23130
23131 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23132 in the third column, to generate for the shared library an IFUNC
23133 that uses _dl_vdso_vsym.
23134 * Makerules (COMPILE.c, compile-stdin.c): New variables.
23135 * Makeconfig (object-suffixes-noshared): New variable.
23136
23137 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23138 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23139 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23140 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23141
23142 [BZ #14132]
23143 * include/sys/time.h (__gettimeofday): Remove macro.
23144 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23145 * time/gettimeofday.c (__gettimeofday): Remove #undef.
23146 Remove INTDEF.
23147 (__gettimeofday): Add libc_hidden_def.
23148 (gettimeofday): Add libc_hidden_weak.
23149 * sysdeps/mach/gettimeofday.c: Likewise.
23150 * sysdeps/posix/gettimeofday.c: Likewise.
23151 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23152 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23153 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23154 (__gettimeofday_internal): Remove strong_alias.
23155 (__gettimeofday): Add libc_hidden_def.
23156 (gettimeofday): Add libc_hidden_weak.
23157 * sysdeps/unix/syscalls.list (gettimeofday):
23158 Remove __gettimeofday_internal alias.
23159
23160 2012-05-24 Daniel Jacobowitz <drow@false.org>
23161 H.J. Lu <hongjiu.lu@intel.com>
23162
23163 [BZ #12495]
23164 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23165 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23166 (largebin_index_32_big): New.
23167 (largebin_index): Use it for 16-byte alignment.
23168 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
23169 correction with front_misalign.
23170
23171 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23172
23173 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23175 Likewise.
23176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23177 Likewise.
23178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23179 Likewise.
23180 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23181 Likewise.
23182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23183 Likewise.
23184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23185 Likewise.
23186 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23187 Likewise.
23188 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23189 Likewise.
23190 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23191 Likewise.
23192 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23193 Likewise.
23194 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23195 Likewise.
23196 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23197 Likewise.
23198
23199 * scripts/data/c++-types-x32-linux-gnu.data: New file.
23200 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23201
23202 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23203
23204 [BZ #10846]
23205 [BZ #14036]
23206 * math/libm-test.inc (exp_test): Add test from bug 14036.
23207 (pow_test): Add test from bug 10846.
23208
23209 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23210 and other flags.
23211 (special_function): Do not include flags in test name.
23212 (parse_args): Likewise.
23213 * sysdeps/i386/fpu/libm-test-ulps: Update.
23214 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23215 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23216 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23218
23219 * math/gen-libm-test.pl (%beautify): Add entries for underflow
23220 exceptions.
23221 * math/libm-test.inc ("Philosophy"): Update comment about
23222 exception testing.
23223 (UNDERFLOW_EXCEPTION): New macro.
23224 (UNDERFLOW_EXCEPTION_OK): Likewise.
23225 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23226 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23227 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23228 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23229 (INVALID_EXCEPTION_OK): Update value.
23230 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23231 (OVERFLOW_EXCEPTION_OK): Likewise.
23232 (IGNORE_ZERO_INF_SIGN): Likewise.
23233 (test_exceptions): Handle underflow exceptions.
23234 (acos_test): Update for underflow exception expectations.
23235 (cexp_test): Likewise.
23236 (clog_test): Likewise.
23237 (clog10_test): Likewise.
23238 (csqrt_test): Likewise.
23239 (ctan_test): Likewise.
23240 (ctanh_test): Likewise.
23241 (exp_test): Likewise.
23242 (exp10_test): Likewise.
23243 (exp2_test): Likewise.
23244 (expm1_test): Likewise.
23245 (fma_test): Likewise.
23246 (j0_test): Likewise.
23247 (jn_test): Likewise.
23248 (nexttoward_test): Likewise.
23249 (pow_test): Likewise.
23250 (scalbn_test): Likewise.
23251 (scalbln_test): Likewise.
23252 (tan_test): Likewise.
23253 (y1_test): Likewise.
23254 * sysdeps/i386/fpu/libm-test-ulps: Update.
23255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23256
23257 2012-05-23 David S. Miller <davem@davemloft.net>
23258
23259 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23260 (__libc_sigaction): Remove unused local variables.
23261
23262 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23263
23264 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23265
23266 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23267
23268 mktime: avoid signed integer overflow
23269 * time/mktime.c (__mktime_internal): Do not mishandle the case
23270 where diff == INT_MIN.
23271
23272 mktime: simplify computation of average
23273 * time/mktime.c (ranged_convert): Use new time_t_avg function
23274 instead of rolling our own (probably-slower) code.
23275
23276 mktime: do not assume signed right shift propagates sign bit
23277 * time/mktime.c (isdst_differ): New static function.
23278 (__mktime_internal): No need to normalize tm_isdst now.
23279 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23280 tm_isdst values.
23281
23282 mktime: merge another wrapv change from gnulib
23283 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23284 from some compilers.
23285
23286 mktime: remove incorrect attempt at unusual arithmetics
23287 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23288 The code didn't really work on such machines anyway.
23289 (TYPE_MINIMUM): Assume two's complement.
23290 (twos_complement_arithmetic): Verify that long_int and time_t
23291 are two's complement (or unsigned, in the latter case).
23292
23293 mktime: check signed shifts on long_int and time_t, too
23294 * time/mktime.c (SHR): Check that shifts work as desired
23295 on the types long_int and time_t too, as SHR is used on
23296 such types.
23297
23298 mktime: do not assume 'long' is wide enough
23299 * time/mktime.c (verify): Move decl up.
23300 (long_int): New type.
23301 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23302 to remove assumption in the code that 'long' is wide enough to
23303 store year values. This assumption is not true on x32 and on
23304 some non-glibc platforms.
23305
23306 mktime: merge wrapv change from gnulib
23307 * time/mktime.c (WRAPV): New macro.
23308 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23309 (guess_time_tm, __mktime_internal): Do not assume that signed
23310 integer overflow wraps around; modern compilers generate code
23311 where this assumption is no longer valid.
23312
23313 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23314
23315 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23316 Replace "jmp L(pseudo_end)" with "ret".
23317 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23318 Likewise.
23319
23320 2012-05-23 Andreas Jaeger <aj@suse.de>
23321
23322 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23323 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23324
23325 2012-05-23 Andreas Jaeger <aj@suse.de>
23326 Maximilian Attems <max@stro.at>
23327
23328 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23329 New macros.
23330
23331 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23332
23333 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23334 code so that pseudo_end is just ret and the stack pointer is
23335 correct also for static library in error case.
23336
23337 2012-05-23 Joseph Myers <joseph@codesourcery.com>
23338
23339 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23340 move to syscalls.list.
23341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23345
23346 * manual/install.texi (Running make install): Do not mention Linux
23347 kernel version for which pt_chown is not needed.
23348 (Linux): Do not mention problems with nscd with 2.0 kernels.
23349 * INSTALL: Regenerated.
23350
23351 2012-05-23 Andreas Jaeger <aj@suse.de>
23352
23353 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23354 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23355 macro.
23356 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23357 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23358 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23359 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23360 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23361 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23362 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23363 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23364 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23365 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23366 * sysdeps/unix/sysv/linux/bits/in.h
23367 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23368
23369 2012-05-22 Roland McGrath <roland@hack.frob.com>
23370
23371 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23372 (PREPARE_VERSION): Just use assert instead, it will be elided
23373 under [NDEBUG] anyway.
23374
23375 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23376
23377 * sysdeps/unix/sysv/linux/Makefile: Include
23378 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23379 (sysdep_routines): Remove sysctl.
23380 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23381 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23382 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23383 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23384 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23385
23386 2012-05-22 Andreas Jaeger <aj@suse.de>
23387
23388 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23389 that pseudo_end is just ret and the stack pointer is correct also
23390 for static library in error case.
23391
23392 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23393
23394 [BZ #14122]
23395 * nss/nsswitch.c (defconfig_entries): New variable.
23396 (__nss_database_lookup): Don't leak defconfig entries.
23397 (nss_parse_service_list): Don't leak on error paths.
23398 (free_database_entries): New function.
23399 (free_defconfig): New function.
23400 (free_mem): Move common code to free_database_entries.
23401
23402 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23403
23404 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23405 Add arch_prctl.
23406 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23407
23408 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23409 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23410 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23411 New macro.
23412 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23413 (INTERNAL_SYSCALL_TYPES): Likewise.
23414 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23415 (LOAD_REGS_TYPES_[1-6]): Likewise.
23416 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23417 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23418
23419 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23420
23421 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23422 copysignl for GLIBC_2_0.
23423 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23424 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23425 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23426 logbl for GLIBC_2_0.
23427 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23428 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23429
23430 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23431
23432 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23433 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23434
23435 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23436 Use "neg %eax".
23437
23438 * time/mktime.c: Update copyright years.
23439
23440 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23441
23442 mktime: merge comment-quoting-style change from gnulib
23443 * time/mktime.c: Quote 'like this' in comments.
23444 The GNU coding standards suggest that we no longer quote `like this',
23445 as "`" and "'" are typically rendered asymmetrically nowadays.
23446 The typical gnulib style is to quote 'like this' when quoting
23447 code, and "like this" when quoting English.
23448
23449 * time/mktime.c (compile-command): Add "-I.".
23450
23451 mktime: merge mktime-internal.h change from gnulib
23452 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23453
23454 mktime: merge time_r change from gnulib
23455 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23456
23457 mktime: merge DEBUG change from gnulib
23458 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23459 case system <time.h> has a #define.
23460
23461 mktime: merge <sys/types.h> change from gnulib
23462 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23463 since <time.t> is now guaranteed to define time_t.
23464
23465 mktime: merge HAVE_CONFIG_H change from gnulib
23466 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23467
23468 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23469
23470 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23471 Use "neg %eax".
23472
23473 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23474 __rlim_t cast.
23475 (struct rusage): Use anonymous union to pad each field to
23476 __syscall_slong_t.
23477
23478 2012-05-21 David S. Miller <davem@davemloft.net>
23479
23480 * Makefules (o-iterator): Remove .s cases.
23481 (compile-command.s): Delete.
23482 (COMPILE.s): Delete.
23483 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23484
23485 2012-05-21 Joseph Myers <joseph@codesourcery.com>
23486
23487 * configure.in (libc_cv_predef_stack_protector): Only consider
23488 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23489 * configure: Regenerated.
23490
23491 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23492
23493 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23494 New macro. Use R*LP on int and pointer.
23495 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23496 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23497 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23498 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23499
23500 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23501 [__WORDSIZE_TIME64_COMPAT32] instead of
23502 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23503 (struct utmp): Likewise.
23504 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23505 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23506 Renamed to ...
23507 (__WORDSIZE_TIME64_COMPAT32): This.
23508 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23509 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23510 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23511 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23512 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23513 (__WORDSIZE_TIME64_COMPAT32): New macro.
23514
23515 2012-05-21 Andreas Jaeger <aj@suse.de>
23516
23517 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23518 only if [SHARED]. Add prototype for __wcschr_ia32.
23519
23520 2012-05-21 Roland McGrath <roland@hack.frob.com>
23521
23522 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23523 of %rbp unmolested in the jmp_buf while mangling the low bits.
23524 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23525 unmolested high bits of %rbp while demangling the low bits.
23526 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23527
23528 2012-05-21 Andreas Jaeger <aj@suse.de>
23529
23530 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23531 * sunrpc/svc_simple.c: Use it for registerrpc.
23532 * sunrpc/xcrypt.c: Use it for passwd2des.
23533
23534 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23535
23536 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23537
23538 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23539 Don't define if [__SYSCALL_WORDSIZE != 32].
23540 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23541 New macro.
23542
23543 2012-05-21 Bruno Haible <bruno@clisp.org>
23544 Andreas Jaeger <aj@suse.de>
23545
23546 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23547 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23548 inptr and inend for must_buffer_ch.
23549 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23550 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23551 * stdio-common/Makefile (tests): Remove bug15.
23552 (bug15-ENV): Remove macro.
23553 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23554 anymore.
23555
23556 2012-05-19 Andreas Jaeger <aj@suse.de>
23557 Roland McGrath <roland@hack.frob.com>
23558
23559 * manual/contrib.texi: Completely rewritten. It contains now an
23560 alphabetical list of contributors and their contributions.
23561
23562 2012-05-21 Richard Henderson <rth@twiddle.net>
23563
23564 * misc/getauxval.c (__getauxval): Use unsigned long int.
23565 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23566 (getauxval): Use unsigned long int.
23567
23568 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23569
23570 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23571
23572 2012-05-21 Roland McGrath <roland@hack.frob.com>
23573
23574 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23575 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23576 __alignof__ (long double).
23577
23578 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23579
23580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23581
23582 2012-05-20 Richard Henderson <rth@twiddle.net>
23583
23584 * misc/getauxval.c: New file.
23585 * misc/sys/auxv.h: New file.
23586 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23587 (routines): Add getauxval.
23588 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23589 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23590 * elf/dl-sysdep.c (_dl_auxv): Remove.
23591 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23592 * elf/dl-support.c (_dl_auxv): New variable.
23593 (_dl_aux_init): Initialize it.
23594 * manual/startup.texi (Auxiliary Vector): New node.
23595 * sysdeps/generic/bits/hwcap.h: New file.
23596 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23597 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23598 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23599 * sysdeps/sparc/sysdep.h: ... here. Include it.
23600 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23601 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23603 Update.
23604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23605 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23606 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23607 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23609 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23611 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23612
23613 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23614
23615 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23616
23617 2012-05-19 David S. Miller <davem@davemloft.net>
23618
23619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23620
23621 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23622
23623 [BZ #14123]
23624 * math/s_ccosh.c: Include <float.h>
23625 (__ccosh): Avoid internal overflow calculating sinh and cosh
23626 values before multiplying by sin and cos values.
23627 * math/s_ccoshf.c: Likewise.
23628 * math/s_ccoshl.c: Likewise.
23629 * math/s_csin.c: Likewise.
23630 * math/s_csinf.c: Likewise.
23631 * math/s_csinl.c: Likewise.
23632 * math/s_csinh.c: Likewise.
23633 * math/s_csinhf.c: Likewise.
23634 * math/s_csinhl.c: Likewise.
23635 * math/libm-test.inc (ccos_test): Add more tests.
23636 (ccosh_test): Likewise.
23637 (csin_test): Likewise.
23638 (csinh_test): Likewise.
23639 * sysdeps/i386/fpu/libm-test-ulps: Update.
23640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23641
23642 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23643
23644 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23645 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23646
23647 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23648
23649 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23650
23651 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23652 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23653 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23654 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23655 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23656 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23657 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23658 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23659 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23660 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23661 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23662 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23663 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23664 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23665 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23666 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23667 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23668 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23669 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23670 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23671 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23672 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23673 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23674 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23675 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23676 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23677 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23678 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23679 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23680 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23681 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23682
23683 2012-05-18 Andreas Jaeger <aj@suse.de>
23684
23685 * csu/.gitignore: Delete.
23686
23687 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23688
23689 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23690 (timex): Use __syscall_slong_t.
23691
23692 2012-05-18 Andreas Jaeger <aj@suse.de>
23693 Carlos O'Donell <carlos_odonell@mentor.com>
23694
23695 * manual/install.texi (Configuring and compiling): Update
23696 description about files modified in the source directory.
23697 * INSTALL: Regenerated.
23698
23699 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23700
23701 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23702 value. Use "or" to set return value to -1.
23703 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23704 negate return value.
23705
23706 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23707
23708 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23709 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23710 failure if the compiler has Graphite support disabled.
23711 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23712 Likewise.
23713 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23714 CFLAGS-memmove.c): Likewise.
23715 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23716 Likewise.
23717
23718 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23719
23720 * sysdeps/x86_64/x32/_itoa.h: New file.
23721
23722 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23723 getdents system call only if kernel and user dirents have the
23724 same d_ino and d_off.
23725
23726 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23727 LLONG_MAX != LONG_MAX.
23728 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23729 (_fitoa_word): Likewise.
23730
23731 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23732 years.
23733 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23734 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23735 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23736
23737 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23738 include <bits/wordsize.h>. Check __x86_64__ instead of
23739 __WORDSIZE.
23740 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23741 if __x86_64__ is defined. Use anonymous union on fpstate.
23742
23743 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23744 anonymous union.
23745
23746 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23747
23748 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23749 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23750 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23751 Refer to _rtld_local_ro instead of _rtld_global_ro.
23752 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23753 Likewise.
23754 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23755 Likewise.
23756 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23757 Likewise.
23758 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23759 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23760 of _rtld_global, and rtld_progname instead of _dl_argv[0].
23761
23762 * sysdeps/powerpc/powerpc32/dl-machine.c
23763 (__elf_machine_runtime_setup) [PROF]: Don't reference
23764 _dl_prof_resolve.
23765
23766 2012-05-18 Andreas Jaeger <aj@suse.de>
23767
23768 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23769 function only available for GCCs before 3.4 since GCC 3.4
23770 introduced a builtin.
23771 (lrint): Likewise.
23772 (llrintf): Likewise.
23773 (llrint): Likewise.
23774 (fmaxf): Likewise.
23775 (fmax): Likewise.
23776 (fminf): Likewise.
23777 (fmin): Likewise.
23778 (rint): Likewise.
23779 (rintf): Likewise.
23780 (nearbyint): Likewise.
23781 (nearbyintf): Likewise.
23782 (ceil): Likewise.
23783 (ceilf): Likewise.
23784 (floor): Likewise.
23785 (floorf): Likewise.
23786
23787 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23788
23789 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23790 on both fields and cast pointer to __syscall_ulong_t.
23791
23792 * bits/types.h (__fsword_t): New type.
23793 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23794 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23795 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23796 (__FSWORD_T_TYPE): Likewise.
23797 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23798 (__FSWORD_T_TYPE): Likewise.
23799 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23800 (__FSWORD_T_TYPE): Likewise.
23801 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
23802 (__FSWORD_T_TYPE): Likewise.
23803 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
23804 __SWORD_TYPE with __fsword_t.
23805 (statfs64): Likewise.
23806
23807 2012-05-17 David S. Miller <davem@davemloft.net>
23808
23809 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
23810
23811 2012-05-17 Andreas Jaeger <aj@suse.de>
23812
23813 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
23814 warning.
23815
23816 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23817
23818 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
23819
23820 2012-05-17 Andreas Jaeger <aj@suse.de>
23821
23822 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
23823 when it is used.
23824
23825 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23826
23827 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
23828
23829 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23830
23831 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
23832 * sysdeps/x86_64/tst-mallocalign1.c: New file.
23833
23834 2012-05-17 Andreas Jaeger <aj@suse.de>
23835 Carlos O'Donell <carlos_odonell@mentor.com>
23836
23837 [BZ #14059]
23838 * sysdeps/x86_64/multiarch/init-arch.h
23839 (bit_YMM_Usable): Rename to...
23840 (bit_AVX_Usable): ... this.
23841 (bit_FMA4_Usable): New macro.
23842 (bit_XMM_state): New macro.
23843 (bit_YMM_state): New macro.
23844 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
23845 [__ASSEMBLER__] (index_AVX_Usable): ... this.
23846 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
23847 (CPUID_OSXSAVE): New macro.
23848 (CPUID_AVX): New macro.
23849 (CPUID_FMA4): New macro.
23850 (index_YMM_Usable): Rename to...
23851 (index_AVX_Usable): ... this.
23852 (HAS_AVX): Use HAS_ARCH_FEATURE.
23853 (HAS_FMA4): Likewise.
23854 (HAS_YMM_USABLE): Remove.
23855 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23856 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
23857 are present.
23858 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
23859 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
23860 * sysdeps/x86_64/multiarch/Makefile: Likewise.
23861 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
23862 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
23863
23864 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
23865
23866 * math/libm-test.c: Support platforms without multiple rounding modes.
23867 * math/bug-nextafter.c: Support platforms without FP exceptions.
23868 * math/bug-nexttoward.c: Likewise.
23869 * math/test-fenv.c: Likewise.
23870 * math/test-misc.c: Likewise.
23871 * stdlib/bug-getcontext.c: Likewise.
23872
23873 2012-05-17 Andreas Jaeger <aj@suse.de>
23874
23875 * manual/examples/search.c (critter_cmp): Change signature to
23876 avoid warnings.
23877 * manual/string.texi (Collation Functions): Likewise.
23878
23879 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23880
23881 * bits/types.h: Fold copyright years.
23882 * bits/typesizes.h: Likewise.
23883 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
23884 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23885 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
23886 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
23887 * time/time.h: Likewise.
23888
23889 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
23890
23891 [BZ #208]
23892 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
23893 in instead of returning them. Return void.
23894 (__libc_mallinfo): Accumulate over all arenas.
23895 (__malloc_stats): Adjust for change in int_mallinfo interface.
23896
23897 2012-05-16 Roland McGrath <roland@hack.frob.com>
23898
23899 [BZ #10375]
23900 * configure.in (NM): Add AC_CHECK_TOOL for it.
23901 (libc_extra_cflags): New substituted variable.
23902 Check for -fstack-protector being used implicitly.
23903 * configure: Regenerated.
23904 * config.make.in (config-extra-cflags): New variable,
23905 gets @libc_extra_cflags@.
23906 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
23907
23908 [BZ #10375]
23909 * configure.in: Check for _FORTIFY_SOURCE being predefined.
23910 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
23911 * configure: Regenerated.
23912 * config.make.in (CPPUNDEFS): New substituted variable.
23913 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
23914 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
23915 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
23916
23917 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23918
23919 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
23920 (mq_attr): Use __syscall_slong_t.
23921
23922 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23923
23924 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
23925 Check __x86_64__ instead of __WORDSIZE.
23926 (_STAT_VER_LINUX): Likewise.
23927 (stat): Check __x86_64__ instead of __WORDSIZE. Use
23928 __syscall_ulong_t and __syscall_slong_t.
23929 (stat64): Likewise.
23930
23931 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23932
23933 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
23934
23935 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23936
23937 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
23938
23939 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23940
23941 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
23942 __syscall_ulong_t.
23943
23944 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
23945 include <bits/wordsize.h>. Check __x86_64__ instead of
23946 __WORDSIZE.
23947 (greg_t): Use "__extension__ long long int" if __x86_64__ is
23948 defined.
23949 (mcontext_t): Replace "unsigned long" with "unsigned long long".
23950
23951 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
23952 include <bits/wordsize.h>. Check __x86_64__ instead of
23953 __WORDSIZE.
23954 (user_regs_struct): Use "__extension__ unsigned long long"
23955 instead of "unsigned long" if __x86_64__ is defined.
23956 (user): Likewise. Pad after pointer field if __ILP32__ is
23957 defined.
23958
23959 2012-05-16 Joseph Myers <joseph@codesourcery.com>
23960
23961 * configure.in (makeinfo): Require version 4.5 or later. Allow
23962 versions 5 to 9.
23963 * configure: Regenerated.
23964 * manual/install.texi (texinfo): Increase version requirement to
23965 4.5 or later.
23966 * INSTALL: Regenerated.
23967
23968 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
23969
23970 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
23971
23972 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
23973
23974 * sysdeps/x86_64/x32/ffs.c: New file.
23975
23976 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
23977 __syscall_ulong_t.
23978 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
23979 defined. Use __syscall_ulong_t.
23980 (shminfo): Use __syscall_ulong_t.
23981 (shm_info): Likewise.
23982
23983 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
23984 __syscall_ulong_t.
23985
23986 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
23987 <bits/wordsize.h>.
23988 (msgqnum_t): Use __syscall_ulong_t.
23989 (msglen_t): Likewise.
23990 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
23991 __syscall_ulong_t.
23992
23993 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
23994 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23995
23996 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
23997
23998 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
23999 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24000
24001 * sysvipc/sys/msg.h (msgbuf): Replace long int with
24002 __syscall_slong_t.
24003
24004 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24005 include <bits/wordsize.h>. Check __x86_64__ instead of
24006 __WORDSIZE.
24007
24008 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24009 "unsigned long long int" if __x86_64__ is defined.
24010 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24011
24012 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24013 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24014 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24015
24016 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24017 <stdint.h>.
24018 (GET_PC): Cast to uintptr_t first.
24019 (GET_FRAME): Likewise.
24020 (GET_STACK): Likewise.
24021
24022 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24023 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24024 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24025 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24026 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24027 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24028 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24029 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24030 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24031 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24032 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24033 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24034 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24035 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24036 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24037 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24038 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24039 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24040 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24041 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24042 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24043 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24044 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24045 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24046 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24047 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24048 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24049 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24050 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24051
24052 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
24053
24054 * Makerules (+depfiles): Also collect depfiles from .oS in
24055 $(extra-objs).
24056 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24057 .oS, $(libnldbl-routines)).
24058
24059 * Makerules (native-compile-mkdep-flags): Define.
24060 * sunrpc/Makefile (extra-objs): Add $(addprefix
24061 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24062 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24063 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
24064 calling $(make-target-directory).
24065
24066 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24067
24068 * bits/types.h (__snseconds_t): Removed.
24069 * time/time.h (struct timespec): Replace __snseconds_t with
24070 __syscall_slong_t.
24071 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24072 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24073 Likewise.
24074 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24075 (__SNSECONDS_T_TYPE): Likewise.
24076 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24077 (__SNSECONDS_T_TYPE): Likewise.
24078 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24079 (__SNSECONDS_T_TYPE): Likewise.
24080
24081 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24082
24083 * sysdeps/mach/hurd/bits/typesizes.h
24084 (__SYSCALL_SLONG_TYPE): New macro.
24085 (__SYSCALL_ULONG_TYPE): Likewise.
24086
24087 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24088
24089 * bits/types.h (__syscall_slong_t): New type.
24090 (__syscall_ulong_t): Likewise.
24091
24092 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24093 (__SYSCALL_ULONG_TYPE): Likewise.
24094 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24095 (__SYSCALL_SLONG_TYPE): Likewise.
24096 (__SYSCALL_ULONG_TYPE): Likewise.
24097 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24098 (__SYSCALL_SLONG_TYPE): Likewise.
24099 (__SYSCALL_ULONG_TYPE): Likewise.
24100 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24101 (__SYSCALL_SLONG_TYPE): Likewise.
24102 (__SYSCALL_ULONG_TYPE): Likewise.
24103
24104 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24105
24106 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24107 Add sigaltstack-offsets.sym.
24108 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24109 <sigaltstack-offsets.h>.
24110 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
24111 longjmp_msg pointer.
24112 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
24113 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24114 signal stack.
24115 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24116
24117 2012-05-15 Joseph Myers <joseph@codesourcery.com>
24118
24119 * elf/stackguard-macros.h: Remove file.
24120 * sysdeps/generic/stackguard-macros.h: New file.
24121 * sysdeps/i386/stackguard-macros.h: Likewise.
24122 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24123 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24124 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24125 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24126 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24127 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24128 * sysdeps/x86_64/stackguard-macros.h: Likewise.
24129 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24130 <elf/stackguard-macros.h>.
24131
24132 [BZ #14109]
24133 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24134 __aligned__ in attribute.
24135 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24136 (gregset_t): Likewise.
24137
24138 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24139
24140 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24141 * sysdeps/x86_64/64/Implies-after: Here. New file.
24142 * sysdeps/x86_64/x32/Implies-after: New file.
24143
24144 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24145
24146 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24147 and access return value for _dl_profile_fixup. Use R10_LP to
24148 load frame size.
24149
24150 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24151
24152 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24153
24154 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24155
24156 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24157 * sysdeps/x86_64/x32/sysdep.h: New file.
24158
24159 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24160
24161 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24162 * sysdeps/x86_64/setjmp.S: Likewise.
24163
24164 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24165
24166 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24167 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24168 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24169 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24170 remove unused global constant.
24171
24172 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
24173
24174 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24175 include of <not-cancel.h>.
24176
24177 2012-05-15 Roland McGrath <roland@hack.frob.com>
24178
24179 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24180
24181 2012-05-15 Jeff Law <law@redhat.com>
24182 Andreas Jaeger <aj@suse.de>
24183
24184 [BZ #13594]
24185 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24186 out from...
24187 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24188 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24189 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24190 code changing __hst_map_handle.map.
24191
24192 2012-05-15 Roland McGrath <roland@hack.frob.com>
24193
24194 * configure.in (sysnames): Look for Implies-before and Implies-after
24195 files.
24196 * configure: Regenerated.
24197
24198 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24199
24200 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24201 8-byte data alignment with LP_SIZE alignment.
24202
24203 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24204
24205 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24206 into R10_LP.
24207
24208 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24209
24210 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24211
24212 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24213
24214 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24215 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24216 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24217 Likewise.
24218 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24219
24220 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24221
24222 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24223 (stackinfo_sub_sp): Likewise.
24224
24225 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24226
24227 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24228 RAX_LP.
24229
24230 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24231
24232 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24233 into R*_LP.
24234
24235 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24236
24237 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24238 sizes into R*_LP.
24239
24240 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24241
24242 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24243
24244 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24245
24246 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24247 into R11_LP and load __x86_64_shared_cache_size_half into
24248 R8_LP.
24249
24250 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24251
24252 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24253 R8_LP.
24254
24255 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24256
24257 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24258 logb for POWER7.
24259 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24260 logbf for POWER7.
24261 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24262 logbl for POWER7.
24263 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24264 powerpc32/power7/fpu/s_logb.c via #include.
24265 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24266 powerpc32/power7/fpu/s_logbf.c via #include.
24267 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24268 powerpc32/power7/fpu/s_logbl.c via #include.
24269
24270 2012-05-15 Joseph Myers <joseph@codesourcery.com>
24271
24272 * README.libm: Remove file.
24273
24274 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24275
24276 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24277 count for x32. Use R*_LP and omit operand-size suffix.
24278
24279 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24280
24281 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24282 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24283 * sysdeps/x86_64/x32/shlib-versions: New file.
24284
24285 2012-05-14 Roland McGrath <roland@hack.frob.com>
24286
24287 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24288 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24289 Use _dl_fatal_printf instead.
24290
24291 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24292
24293 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24294 set if not set by the user. Do not allow for being unset.
24295 * sysdeps/unix/sysv/linux/configure: Regenerated.
24296
24297 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24298
24299 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24300 the `q' suffix from lea and replace .quad with ASM_ADDR.
24301
24302 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24303
24304 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24305 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24306 instead of $17.
24307 (PTR_DEMANGLE): Likewise.
24308
24309 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24310
24311 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24312 (LP_OP): Likewise.
24313 (ASM_ADDR): Likewise.
24314 (RAX_LP): Likewise.
24315 (RBP_LP): Likewise.
24316 (RBX_LP): Likewise.
24317 (RCX_LP): Likewise.
24318 (RDI_LP): Likewise.
24319 (RSI_LP): Likewise.
24320 (RSP_LP): Likewise.
24321 (R8_LP): Likewise.
24322 (R9_LP): Likewise.
24323 (R10_LP): Likewise.
24324 (R10_LP): Likewise.
24325 (R11_LP): Likewise.
24326 (R12_LP): Likewise.
24327 (R13_LP): Likewise.
24328 (R14_LP): Likewise.
24329 (R15_LP): Likewise.
24330
24331 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24332
24333 * sysdeps/x86_64/x32/dl-machine.h: New file.
24334
24335 2012-05-14 Andreas Jaeger <aj@suse.de>
24336
24337 * manual/Makefile (subdir): Remove export of subdir.
24338 (all): Remove target.
24339 (.PHONY): Remove all from list.
24340 (mkinstalldirs): Remove.
24341 (.PHONY): Remove installdirs from list.
24342 ($(inst_infodir)/libc.info): Use make-target-directory.
24343 (installdirs): Remove.
24344 (subdir_%): Remove.
24345 (glibc-targets): Remove.
24346 (lib): Remove.
24347 (stubs): Remove.
24348 ($(objpfx)stubs ../po/manual.pot): Remove.
24349 ($(objpfx)stamp%): Remove.
24350 (make-target-directory): Remove.
24351 (subdir_install): Remove.
24352 (routines): Remove.
24353 (aux): Remove.
24354 (sources): Remove.
24355 (objects): Remove.
24356 (headers): Remove.
24357
24358 [BZ #13750]
24359 * manual/.gitignore: Remove, it's not needed anymore.
24360 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24361 all files in it.
24362 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24363 directory.
24364 (texis): Renamed to $(objpfx)texis.
24365 (texis-path): New, contains path to generated files.
24366 (chapters.%): Use texis-path for complete path, add extra argument
24367 libc-texinfo.sh.
24368 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24369 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24370 (summary,texi, stamp-summary): Use complete path of
24371 files. Generate files in build dir.
24372 (dir-add.texi): Build in build dir.
24373 (libm-err.texi,stamp-libm-err): Likewise.
24374 (version.texi, stamp-version): Likewise.
24375 (.%c.texi): Likewise.
24376 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24377 (mostlyclean): Remove target.
24378 (realclean): Remove target.
24379 (generated): Add new variable with contents from mostlyclean and
24380 realclean, remove entries duplicated in common-mostlyclean, add
24381 stamp-libm-err and stamp-version.
24382 (generated-dirs): Add libc directory.
24383 ($(inst_infodir)/libc.info): Install files from build dir.
24384
24385 * manual/install.texi (Configuring and compiling): Adjust since
24386 the info files are not part of the tar ball anymore.
24387
24388 2012-05-14 Andreas Jaeger <aj@suse.de>
24389
24390 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24391 variable.
24392
24393 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24394
24395 [BZ #13717]
24396 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24397 to 2.2.0 where earlier.
24398 * sysdeps/unix/sysv/linux/configure: Regenerated.
24399 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24400 Remove conditional code.
24401 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24402 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24403 Remove conditional code.
24404 [!__NR_lchown]: Likewise.
24405 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24406 [__NR_lchown]: Likewise.
24407 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24408 comment referencing __ASSUME_LCHOWN_SYSCALL.
24409 * sysdeps/unix/sysv/linux/i386/sigaction.c
24410 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24411 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24412 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24413 Remove conditional code.
24414 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24415 (__protocol_available): Remove #if 0 code.
24416 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24417 conditional code.
24418 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24419 * sysdeps/unix/sysv/linux/kernel-features.h
24420 (__ASSUME_GETCWD_SYSCALL): Don't define.
24421 (__ASSUME_REALTIME_SIGNALS): Likewise.
24422 (__ASSUME_PREAD_SYSCALL): Likewise.
24423 (__ASSUME_PWRITE_SYSCALL): Likewise.
24424 (__ASSUME_POLL_SYSCALL): Likewise.
24425 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24426 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24427 non-SPARC.
24428 (__ASSUME_SIOCGIFNAME): Don't define.
24429 (__ASSUME_MSG_NOSIGNAL): Likewise.
24430 (__ASSUME_SENDFILE): Define unconditionally.
24431 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24432 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24433 conditional code.
24434 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24435 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24436 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24437 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24438 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24439 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24440 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24442 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24443 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24445 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24446 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24448 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24449 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24451 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24452 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24454 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24455 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24457 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24458 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24460 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24461 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24463 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24464 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24465 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24466 Remove conditional code.
24467 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24468 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24469 Remove conditional code.
24470 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24471 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24472 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24473 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24474 Remove conditional code.
24475 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24476 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24477 Remove conditional code.
24478 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24479 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24480 Remove conditional code.
24481 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24482 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24483 Remove conditional code.
24484 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24485 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24486 Remove conditional code.
24487 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24488 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24489 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24490 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24491 * sysdeps/unix/sysv/linux/sigaction.c
24492 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24493 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24494 * sysdeps/unix/sysv/linux/sigpending.c
24495 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24496 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24497 * sysdeps/unix/sysv/linux/sigprocmask.c
24498 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24499 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24500 * sysdeps/unix/sysv/linux/sigsuspend.c
24501 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24502 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24503 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24504 (__libc_missing_rt_sigs): Remove.
24505 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24506 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24507 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24508 Remove conditional code.
24509 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24510 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24511 return 1.
24512 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24513 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24514 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24515 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24516
24517 2012-05-14 Andreas Jaeger <aj@suse.de>
24518
24519 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24520 it's not used in glibc.
24521 (__coshm1): Likewise.
24522 (__acosh1p): Likewise.
24523 (__sgn): Likewise.
24524
24525 * manual/string.texi (Copying and Concatenation): Add missing
24526 variable in concat example.
24527 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24528
24529 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24530
24531 [BZ #14103]
24532 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24533 __builtin_clzl with __builtin_clzll.
24534
24535 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24536
24537 [BZ #14104]
24538 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24539 libc_freeres_ptr.
24540
24541 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24542
24543 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24544 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24545 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24546 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24547
24548 2012-05-14 Mike Frysinger <vapier@gentoo.org>
24549
24550 * NEWS: Update ia64 info.
24551
24552 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24553
24554 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24555 used as bcopy.
24556
24557 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24558
24559 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24560 * sysdeps/unix/syscalls.list (dup3): Likewise.
24561 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24562 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24563
24564 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24565
24566 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24567 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24568
24569 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24570
24571 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24572 thread pointer.
24573 (TLS_IE): Use mov/add instead of movq/addq to load thread
24574 pointer.
24575 (TLS_GD_PREFIX): New.
24576 (TLS_GD): Use it.
24577
24578 2012-05-11 David S. Miller <davem@davemloft.net>
24579
24580 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24581 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24582 (_FPU_SETCW): Likewise.
24583
24584 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24585
24586 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24587 is 32-byte aligned.
24588
24589 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24590
24591 [BZ #11837]
24592 * iconvdata/gb18030.c: Update tables.
24593 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24594 characters specially.
24595 (BODY for TO_LOOP): Add encoding of missing ranges.
24596
24597 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24598
24599 [BZ #13673]
24600 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24601 * sysdeps/mach/hurd/dup3.c: Likewise.
24602 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24603 * sysdeps/powerpc/memmove.c:: Likewise.
24604
24605 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24606
24607 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24608 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24609
24610 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24611
24612 * elf/elf.h (R_X86_64_RELATIVE64): New.
24613 (R_X86_64_NUM): Updated.
24614 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24615 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24616 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24617 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24618 tst-quad1pie tst-quad2pie
24619 (modules-names): Add tst-quadmod1 tst-quadmod2.
24620 ($(objpfx)tst-quad1): New dependency.
24621 ($(objpfx)tst-quad2): Likewise.
24622 ($(objpfx)tst-quad1pie): Likewise.
24623 ($(objpfx)tst-quad2pie): Likewise.
24624 * sysdeps/x86_64/tst-quad1.c: New file.
24625 * sysdeps/x86_64/tst-quad1pie.c: New file.
24626 * sysdeps/x86_64/tst-quad2.c: Likewise.
24627 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24628 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24629 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24630 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24631 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24632
24633 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24634
24635 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24636 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24637 * streams/stropts.h (t_scalar_t): Define type.
24638
24639 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24640 (_PATH_PRESERVE): Set to "/var/lib".
24641 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24642
24643 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24644 instead of int.
24645
24646 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24647 if __dir_mkfile succeeded.
24648
24649 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24650 checking for _hurd_dtablesize. Unlock it right after having
24651 finished _hurd_dtable allocation.
24652
24653 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24654
24655 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24656 * sysdeps/mach/hurd/configure: Regenerated.
24657 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24658 special-casing to...
24659 * sysdeps/gnu/configure.in: ... this new file.
24660 * sysdeps/unix/sysv/linux/configure: Regenerated.
24661 * sysdeps/gnu/configure: New generated file.
24662
24663 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24664 for Linux: use nsec instead of usec, as well as:
24665 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24666 members of type struct timespec.
24667 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24668 New macros.
24669 (struct stat64): Likewise.
24670 (_STATBUF_ST_NSEC): New macro.
24671 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24672
24673 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24674 __strtoul_internal rather than strtoul.
24675
24676 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24677
24678 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24679 and reject them.
24680
24681 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24682
24683 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24684 which preserves existing values.
24685 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24686
24687 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24688
24689 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24690 TIMEOUT values. Return EINVAL for NFDS values either negative or
24691 greater than FD_SETSIZE.
24692
24693 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24694
24695 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24696 allocated, call __vm_protect to finish enabling the existing space, and
24697 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24698 allocate the remainder.
24699
24700 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24701
24702 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24703 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24704
24705 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24706
24707 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24708 sysdeps/mach/hurd/readlink.c.
24709
24710 * posix/tst-sysconf.c (posix_options): Only use
24711 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24712 _POSIX_SYNCHRONIZED_IO when they are defined
24713 * sysdeps/mach/hurd/bits/posix_opt.h:
24714 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24715 (_XOPEN_REALTIME): Undefine macro.
24716 (_XOPEN_REALTIME_THREADS): Undefine macro.
24717 (_XOPEN_SHM): Undefine macro.
24718 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24719 macro to -1.
24720 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24721 macro to -1.
24722 (_POSIX_ASYNC_IO): Undefine macro.
24723 (_POSIX_PRIORITIZED_IO): Undefine macro.
24724 (_POSIX_SPIN_LOCKS): Define macro to -1.
24725
24726 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24727 SA_NODEFER, SA_RESETHAND.
24728 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24729 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24730 F_DUPFD_CLOEXEC.
24731
24732 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24733
24734 * elf/Makefile (pldd-modules): Define unconditionally.
24735
24736 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24737
24738 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24739
24740 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24741
24742 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24743 Return ENOENT when name is empty.
24744 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24745
24746 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24747
24748 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24749
24750 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24751
24752 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24753
24754 Fix mlock in all cases except non-readable pages.
24755 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24756 instead of VM_PROT_ALL as parameter to __vm_wire function.
24757
24758 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24759 (__mkdir): When path is `/', just fail with EEXIST.
24760 * sysdeps/mach/hurd/mkdirat.c: Likewise.
24761
24762 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24763
24764 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24765 <sys/uio.h> (for writev).
24766 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24767 and <sys/param.h> (for MIN).
24768
24769 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24770
24771 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24772 REQUESTED_TIME. Properly set the remaining time and return EINTR
24773 if interrupted.
24774
24775 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24776
24777 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24778 Depend on against $(link-rpcuserlibs).
24779
24780 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24781
24782 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24783 (__libc_stack_end): Do not use attribute_relro.
24784 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24785 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
24786 to libthread-provided value.
24787 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24788 attribute_relro.
24789
24790 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24791
24792 [BZ #3748]
24793 * bits/libc-lock.h (__libc_once_get): New macro.
24794 * sysdeps/mach/bits/libc-lock.h: Likewise.
24795 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
24796 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
24797 instead of using implementation details.
24798
24799 * libio/fileops.c: Unconditionally include <kernel-features.h>.
24800 * libio/freopen.c: Likewise.
24801 * libio/freopen64.c: Likewise.
24802 * misc/syslog.c: Likewise.
24803 * nscd/connections.c: Likewise.
24804 * nscd/netgroupcache.c: Likewise.
24805 * sysdeps/posix/getcwd.c: Likewise.
24806
24807 2012-05-10 Roland McGrath <roland@hack.frob.com>
24808
24809 * math/w_ilogbf.c: Add #include <limits.h>.
24810
24811 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24812
24813 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
24814 path instead of returning without unlocking.
24815
24816 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
24817 immediate-write ioctls.
24818 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
24819
24820 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24821
24822 * sysdeps/mach/hurd/i386/init-first.c (init): Use
24823 __builtin_frame_address instead of making assumptions about the
24824 location of the return address relative to DATA. Force early load of
24825 the return address.
24826 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
24827 __builtin_frame_address.
24828
24829 dup3 for GNU Hurd.
24830 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
24831 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
24832 implement dup3 and do some further code clean-ups.
24833 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
24834 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
24835
24836 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24837
24838 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
24839
24840 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
24841 HURD_CRITICAL_END around holding _hurd_dtable_lock.
24842 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
24843 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
24844 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
24845 d->port.lock.
24846
24847 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
24848 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
24849 when handler == SIG_ERR, not when handler != SIG_ERR.
24850
24851 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24852
24853 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
24854 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
24855 definitions.
24856
24857 accept4 for GNU Hurd.
24858 * include/sys/socket.h (__libc_accept4): New prototype.
24859 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
24860 to implement __libc_accept4.
24861 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
24862 __libc_accept4.
24863 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
24864
24865 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
24866 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
24867 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
24868 signal-defines.sym.
24869
24870 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24871
24872 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
24873
24874 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24875
24876 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
24877 assertion on O_CLOEXEC flag.
24878 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
24879 * hurd/intern-fd.c: Likewise.
24880 * hurd/port2fd.c: Likewise.
24881
24882 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24883
24884 [BZ #3906]
24885 * bits/in.h (IPV6_PKTINFO): Define new macro.
24886 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
24887
24888 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24889
24890 [BZ #13954]
24891 [BZ #13955]
24892 [BZ #13956]
24893 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
24894 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24895 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
24896 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24897 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24898 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24899 * math/libm-test.inc (logb_test) : Additional logb tests.
24900
24901 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
24902 Andreas Jaeger <aj@suse.de>
24903
24904 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
24905 * configure: Regenerated.
24906 * config.h.in (LINK_OBSOLETE_RPC): New macro.
24907 * config.make.in (link-obsolete-rpc): New substituted variable.
24908 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
24909 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
24910 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24911 (shared-only-routines): Don't set it under [link-obsolete-rpc],
24912 so that libc.a contains the symbols.
24913 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
24914 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
24915 * sunrpc/auth_none.c: Likewise.
24916 * sunrpc/auth_unix.c: Likewise.
24917 * sunrpc/authdes_prot.c: Likewise.
24918 * sunrpc/authuxprot.c: Likewise.
24919 * sunrpc/clnt_gen.c: Likewise.
24920 * sunrpc/clnt_perr.c: Likewise.
24921 * sunrpc/clnt_raw.c: Likewise.
24922 * sunrpc/clnt_simp.c: Likewise.
24923 * sunrpc/clnt_tcp.c: Likewise.
24924 * sunrpc/clnt_udp.c: Likewise.
24925 * sunrpc/clnt_unix.c: Likewise.
24926 * sunrpc/des_crypt.c: Likewise.
24927 * sunrpc/des_soft.c: Likewise.
24928 * sunrpc/get_myaddr.c: Likewise.
24929 * sunrpc/key_call.c: Likewise.
24930 * sunrpc/key_prot.c: Likewise.
24931 * sunrpc/netname.c: Likewise.
24932 * sunrpc/pm_getmaps.c: Likewise.
24933 * sunrpc/pm_getport.c: Likewise.
24934 * sunrpc/pmap_clnt.c: Likewise.
24935 * sunrpc/pmap_prot.c: Likewise.
24936 * sunrpc/pmap_prot2.c: Likewise.
24937 * sunrpc/pmap_rmt.c: Likewise.
24938 * sunrpc/publickey.c: Likewise.
24939 * sunrpc/rpc_cmsg.c: Likewise.
24940 * sunrpc/rpc_common.c: Likewise.
24941 * sunrpc/rpc_dtable.c: Likewise.
24942 * sunrpc/rpc_prot.c: Likewise.
24943 * sunrpc/rpc_thread.c: Likewise.
24944 * sunrpc/rtime.c: Likewise.
24945 * sunrpc/svc.c: Likewise.
24946 * sunrpc/svc_auth.c: Likewise.
24947 * sunrpc/svc_raw.c: Likewise.
24948 * sunrpc/svc_run.c: Likewise.
24949 * sunrpc/svc_tcp.c: Likewise.
24950 * sunrpc/svc_udp.c: Likewise.
24951 * sunrpc/svc_unix.c: Likewise.
24952 * sunrpc/svcauth_des.c: Likewise.
24953 * sunrpc/xcrypt.c: Likewise.
24954 * sunrpc/xdr.c: Likewise.
24955 * sunrpc/xdr_array.c: Likewise.
24956 * sunrpc/xdr_float.c: Likewise.
24957 * sunrpc/xdr_intXX_t.c: Likewise.
24958 * sunrpc/xdr_mem.c: Likewise.
24959 * sunrpc/xdr_rec.c: Likewise.
24960 * sunrpc/xdr_ref.c: Likewise.
24961 * sunrpc/xdr_sizeof.c: Likewise.
24962 * sunrpc/xdr_stdio.c: Likewise.
24963
24964 2012-05-10 Roland McGrath <roland@hack.frob.com>
24965
24966 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
24967 change. Update copyright years.
24968
24969 2012-05-10 Joseph Myers <joseph@codesourcery.com>
24970
24971 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
24972
24973 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
24974 Joseph Myers <joseph@codesourcery.com>
24975 Paul Pluzhnikov <ppluzhnikov@google.com>
24976
24977 [BZ #14012]
24978 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
24979 requiring rpcgen.
24980 [cross-compiling] (extra-libs): Likewise.
24981 [cross-compiling] (extra-libs-others): Likewise.
24982 [cross-compiling] (librpcsvc-routines): Likewise.
24983 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
24984 [cross-compiling] (omit-deps): Likewise.
24985 (sunrpc-CPPFLAGS): New variable.
24986 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
24987 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
24988 (cross-rpcgen-objs): New variable.
24989 (extra-objs): Append $(cross-rpcgen-objs).
24990 ($(cross-rpcgen-objs)): New rule.
24991 ($(objpfx)cross-rpcgen): Likewise.
24992 (rpcgen-cmd): Define to use $(built-program-file). Expand
24993 comment.
24994 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
24995 ($(objpfx)x%.stmp): Likewise.
24996 * sunrpc/proto.h [IS_IN_build] (_): Define.
24997 [IS_IN_build] (_libc_intl_domainname): Likewise.
24998
24999 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25000
25001 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25002 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25003 and R_X86_64_TPOFF64.
25004
25005 2012-05-10 Joseph Myers <joseph@codesourcery.com>
25006
25007 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25008 sysdeps/unix/sysv/syscalls.list.
25009 (stime): Likewise.
25010 (utime): Likewise.
25011 * sysdeps/unix/sysv/syscalls.list: Remove file.
25012
25013 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
25014
25015 [BZ #3440]
25016 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25017 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25018 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25019 (__LC_IDENTIFICATION): Make these macros useful in #if
25020 expressions, as required by C99.
25021
25022 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
25023
25024 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25025 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
25026 after this.
25027
25028 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
25029
25030 * stdlib/longlong.h: Updated from GCC.
25031
25032 2012-05-09 Andreas Jaeger <aj@suse.de>
25033
25034 * nscd/nscd.c (run_modes): Make named enum, reorder so that
25035 default is first entry.
25036 (run_mode): Set type.
25037 (main): Remove informal message about syslog.
25038 (options): Fix typo.
25039
25040 [BZ #14053]
25041 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
25042 to asm.
25043 (lrint): Likewise.
25044 (llrintf): Likewise.
25045 (llrint): Likewise.
25046 (rint): Likewise.
25047 (rintf): Likewise.
25048 (nearbyint): Likewise.
25049 (nearbyintf): Likewise.
25050
25051 2012-05-09 Andreas Jaeger <aj@suse.de>
25052 Pedro Alves <palves@redhat.com>
25053
25054 * nscd/nscd.c (run_mode): Use enum.
25055 (main): Cleanup coding style issue.
25056
25057 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
25058 Andreas Jaeger <aj@suse.de>
25059
25060 * nscd/nscd.c (go_background): Replaced with...
25061 (run_mode): ... this.
25062 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
25063 (options): Add -F --foreground.
25064 (main): Implement it.
25065 (parse_opt): Parse it.
25066
25067 2012-05-09 Andreas Jaeger <aj@suse.de>
25068
25069 [BZ #14083]
25070 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25071 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25072 -Wconversion warning.
25073 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25074 Likewise.
25075
25076 2012-05-09 Joseph Myers <joseph@codesourcery.com>
25077
25078 * conform/data/locale.h-data (NULL): Use macro-constant. Require
25079 == 0.
25080 (LC_ALL): Use macro-int-constant.
25081 (LC_COLLATE): Likewise.
25082 (LC_CTYPE): Likewise.
25083 (LC_MESSAGES): Likewise.
25084 (LC_MONETARY): Likewise.
25085 (LC_NUMERIC): Likewise.
25086 (LC_TIME): Likewise.
25087 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25088 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25089 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25090 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25091 Specify type.
25092 [C99-based standards] (float_t): Expect type.
25093 [C99-based standards] (double_t): Expect type.
25094 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
25095 type.
25096 [C99-based standards] (HUGE_VALL): Likewise.
25097 [C99-based standards] (INFINITY): Likewise.
25098 [C99-based standards] (NAN): Likewise.
25099 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25100 [C99-based standards] (FP_NAN): Likewise.
25101 [C99-based standards] (FP_NORMAL): Likewise.
25102 [C99-based standards] (FP_SUBNORMAL): Likewise.
25103 [C99-based standards] (FP_ZERO): Likewise.
25104 [C99-based standards] (FP_FAST_FMA): Use
25105 optional-macro-int-constant. Specify type. Require == 1.
25106 [C99-based standards] (FP_FAST_FMAF): Likewise.
25107 [C99-based standards] (FP_FAST_FMAL): Likewise.
25108 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25109 [C99-based standards] (FP_ILOGBNAN): Likewise.
25110 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25111 Specify type.
25112 [C99-based standards] (MATH_ERREXCEPT): Likewise.
25113 [C99-based standards] (math_errhandling): Specify type.
25114 [ISO99 || ISO11] (signgam): Do not allow.
25115 [non-C99-based standards] (copysignf): Do not allow.
25116 [non-C99-based standards] (exp2f): Likewise.
25117 [non-C99-based standards] (log2f): Likewise.
25118 [non-C99-based standards] (modff): Allow.
25119 [non-C99-based standards] (erff): Do not allow.
25120 [non-C99-based standards] (erfcf): Likewise.
25121 [non-C99-based standards] (gammaf): Likewise.
25122 [non-C99-based standards] (hypotf): Likewise.
25123 [non-C99-based standards] (j0f): Likewise.
25124 [non-C99-based standards] (j1f): Likewise.
25125 [non-C99-based standards] (jnf): Likewise.
25126 [non-C99-based standards] (lgammaf): Likewise.
25127 [non-C99-based standards] (tgammaf): Likewise.
25128 [non-C99-based standards] (y0f): Likewise.
25129 [non-C99-based standards] (y1f): Likewise.
25130 [non-C99-based standards] (ynf): Likewise.
25131 [non-C99-based standards] (isnanf): Likewise.
25132 [non-C99-based standards] (acoshf): Likewise.
25133 [non-C99-based standards] (asinhf): Likewise.
25134 [non-C99-based standards] (atanhf): Likewise.
25135 [non-C99-based standards] (cbrtf): Likewise.
25136 [non-C99-based standards] (expm1f): Likewise.
25137 [non-C99-based standards] (ilogbf): Likewise.
25138 [non-C99-based standards] (log1pf): Likewise.
25139 [non-C99-based standards] (logbf): Likewise.
25140 [non-C99-based standards] (nextafterf): Likewise.
25141 [non-C99-based standards] (remainderf): Likewise.
25142 [non-C99-based standards] (rintf): Likewise.
25143 [non-C99-based standards] (scalbf): Likewise.
25144 [non-C99-based standards] (copysignl): Likewise.
25145 [non-C99-based standards] (exp2l): Likewise.
25146 [non-C99-based standards] (log2l): Likewise.
25147 [non-C99-based standards] (modfl): Allow.
25148 [non-C99-based standards] (erfl): Do not allow.
25149 [non-C99-based standards] (erfcl): Likewise.
25150 [non-C99-based standards] (gammal): Likewise.
25151 [non-C99-based standards] (hypotl): Likewise.
25152 [non-C99-based standards] (j0l): Likewise.
25153 [non-C99-based standards] (j1l): Likewise.
25154 [non-C99-based standards] (jnl): Likewise.
25155 [non-C99-based standards] (lgammal): Likewise.
25156 [non-C99-based standards] (tgammal): Likewise.
25157 [non-C99-based standards] (y0l): Likewise.
25158 [non-C99-based standards] (y1l): Likewise.
25159 [non-C99-based standards] (ynl): Likewise.
25160 [non-C99-based standards] (isnanl): Likewise.
25161 [non-C99-based standards] (acoshl): Likewise.
25162 [non-C99-based standards] (asinhl): Likewise.
25163 [non-C99-based standards] (atanhl): Likewise.
25164 [non-C99-based standards] (cbrtl): Likewise.
25165 [non-C99-based standards] (expm1l): Likewise.
25166 [non-C99-based standards] (ilogbl): Likewise.
25167 [non-C99-based standards] (log1pl): Likewise.
25168 [non-C99-based standards] (logbl): Likewise.
25169 [non-C99-based standards] (nextafterl): Likewise.
25170 [non-C99-based standards] (remainderl): Likewise.
25171 [non-C99-based standards] (rintl): Likewise.
25172 [non-C99-based standards] (scalbl): Likewise.
25173 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25174 [non-C99-based standards] (FP_*): Do not allow.
25175 [C99-based standards] (FP_*): Change to
25176 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25177 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25178 allow.
25179 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25180 (SIG_ERR): Likewise.
25181 [X/Open-based standards] (SIG_HOLD): Likewise.
25182 (SIG_IGN): Likewise.
25183 (SIGABRT): Use macro-int-constant. Specify type. Require
25184 positive value.
25185 (SIGFPE): Likewise.
25186 (SIGILL): Likewise.
25187 (SIGINT): Likewise.
25188 (SIGSEGV): Likewise.
25189 (SIGTER): Likewise.
25190 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25191 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25192 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25193 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25194 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25195 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25196 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25197 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25198 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25199 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25200 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25201 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25202 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25203 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25204 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25205 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25206 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25207 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25208 [X/Open-based standards] (SIGTRAP): Likewise.
25209 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25210 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25211 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25212 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25213 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25214 allow.
25215
25216 2012-05-08 Ian Wienand <ianw@vmware.com>
25217
25218 [BZ #14080]
25219 * time/tzset.c (__tzset_parse_tz): Update default rules for
25220 daylight time changes in the Energy Policy Act of 2005.
25221
25222 2012-05-09 Andreas Jaeger <aj@suse.de>
25223
25224 [BZ #13983]
25225 * elf/ldconfig.c (parse_conf): Change string to make clear that
25226 ldconfig only issued a warning if ld.so.conf does not exist.
25227
25228 2012-05-08 David S. Miller <davem@davemloft.net>
25229
25230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25231 movxtod instead of popping the value on the stack.
25232
25233 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25234
25235 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25236
25237 * config.h.in: Add HAVE_ARM_PCS_VFP.
25238
25239 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
25240
25241 [BZ #13979]
25242 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25243 checking but the checks are disabled for any reason.
25244
25245 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25246
25247 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25248 and ELF64_R_TYPE with ELFW(R_TYPE).
25249
25250 2012-05-08 Joseph Myers <joseph@codesourcery.com>
25251
25252 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25253 (ulimit): Likewise.
25254
25255 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25256 (settimeofday): Likewise.
25257
25258 2012-05-08 Mike Frysinger <vapier@gentoo.org>
25259
25260 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25261 a struct th_u2 inside the union, and move tu_block/tu_code into
25262 a new th_u3 union of tu_block/tu_code inside of that. Move
25263 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25264 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25265 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25266 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25267 (th_stuff): Change to th_u1.tu_stuff.
25268 (th_data): Define.
25269 (th_msg): Change to th_u1.th_u2.tu_data.
25270
25271 2012-05-07 David S. Miller <davem@davemloft.net>
25272
25273 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25274
25275 [BZ #14074]
25276 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25277 (SETUP_PIC_REG): Use it.
25278 (SETUP_PIC_REG_LEAF): Use it.
25279
25280 2012-05-07 Joseph Myers <joseph@codesourcery.com>
25281
25282 [BZ #13885]
25283 [BZ #13923]
25284 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25285 USE_AS_EXPM1L.
25286 (EXPL_FINITE): Likewise.
25287 (FLDLOG): Likewise.
25288 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25289 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25290 e_expl.S.
25291 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25292 USE_AS_EXPM1L.
25293 (EXPL_FINITE): Likewise.
25294 (FLDLOG): Likewise.
25295 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25296 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25297 e_expl.S.
25298 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25299 test of -max_value argument for long double.
25300 * sysdeps/i386/fpu/libm-test-ulps: Update.
25301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25302
25303 2012-05-06 David S. Miller <davem@davemloft.net>
25304
25305 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25306 quad soft-float symbols whose references which are compiler
25307 generated.
25308 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25309
25310 2012-05-06 Joseph Myers <joseph@codesourcery.com>
25311
25312 [BZ #13884]
25313 [BZ #13914]
25314 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25315 USE_AS_EXP10L.
25316 (EXPL_FINITE): Likewise.
25317 (FLDLOG): Likewise.
25318 (c0): Likewise.
25319 (c1): Likewise.
25320 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25321 Adjust comments for base varying.
25322 (__expl_finite): Change alias to EXPL_FINITE.
25323 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25324 e_expl.S.
25325 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25326 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25327 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25328 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25329 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25330 USE_AS_EXP10L.
25331 (EXPL_FINITE): Likewise.
25332 (FLDLOG): Likewise.
25333 (c0): Likewise.
25334 (c1): Likewise.
25335 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25336 Adjust comments for base varying.
25337 (__expl_finite): Change alias to EXPL_FINITE.
25338 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25339 tests for bugs.
25340 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25341
25342 [BZ #14064]
25343 * math/libm-test.inc (check_float_internal): Correct ulp
25344 calculation for subnormal expected results.
25345
25346 2012-05-06 Andreas Jaeger <aj@suse.de>
25347
25348 * Makeconfig (+math-flags): New, set to -frounding-math.
25349 (+cflags): Add +math-flags so that all of glibc gets compiled with
25350 it.
25351
25352 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25353
25354 2012-05-05 Joseph Myers <joseph@codesourcery.com>
25355
25356 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25357 Disable one test.
25358
25359 [BZ #13787]
25360 [BZ #13922]
25361 [BZ #14036]
25362 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25363 (__ieee754_expl): Allow for and saturate large arguments.
25364 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25365 (u_threshold): Likewise.
25366 (__exp): Call __ieee754_exp before checking for overflow and
25367 underflow.
25368 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25369 (u_threshold): Likewise.
25370 (__expf): Call __ieee754_expf before checking for overflow and
25371 underflow.
25372 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25373 (u_threshold): Likewise.
25374 (__expl): Call __ieee754_expl before checking for overflow and
25375 underflow.
25376 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25377 (__ieee754_expl): Allow for and saturate large arguments.
25378 * math/libm-test.inc (exp_test): Add another test. Do not allow
25379 missing overflow exception on overflow.
25380 (expm1_test): Do not allow missing overflow exception on overflow.
25381
25382 * sysdeps/i386/fpu/e_expl.c: Move to ...
25383 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25384 rather than using inline asm.
25385 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25386 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25387 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25388
25389 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25390 (nice): Likewise.
25391 (poll): Likewise.
25392 (signal): Likewise.
25393 (time): Likewise.
25394 (times): Likewise.
25395
25396 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25397
25398 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25399 sysdeps/unix/common/syscalls.list.
25400 (fchmod): Likewise.
25401 (fchown): Likewise.
25402 (ftruncate): Likewise.
25403 (getrusage): Likewise.
25404 (gettimeofday): Likewise.
25405 (setpgid): Likewise.
25406 (setregid): Likewise.
25407 (setreuid): Likewise.
25408 (sigaction): Likewise.
25409 (truncate): Likewise.
25410 (vhangup): Likewise.
25411 * sysdeps/unix/common/syscalls.list: Remove file.
25412 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25413 * sysdeps/unix/sysv/linux/Implies: Likewise.
25414
25415 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25416
25417 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25418 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25419 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25420 Moved to ...
25421 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25422 Here.
25423 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25424 to ...
25425 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25426 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25427 to ...
25428 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25429 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25430 to ...
25431 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25432 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25433 to ...
25434 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25435 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25436 to ...
25437 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25438 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25439 to ...
25440 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25441 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25442 to ...
25443 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25444 Here.
25445 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25446 to ...
25447 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25448 Here.
25449 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25450 to ...
25451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25452 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25453 Moved to ...
25454 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25455 Here.
25456 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25457 to ...
25458 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25459
25460 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25461
25462 * sysdeps/unix/common/bits/dirent.h: Remove file.
25463 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25464
25465 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25466 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25467 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25468 * sysdeps/unix/bsd/isatty.c: Likewise.
25469 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25470 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25471 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25472
25473 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25474
25475 [BZ #13563]
25476 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25477 long double comparison inaccuracies.
25478 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25479 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25480
25481 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25482
25483 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25484 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25485
25486 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25487
25488 [BZ #14049]
25489 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25490 nonzero digits before rounding a hex value.
25491 * stdlib/tst-strtod.c (tests): Add another test.
25492
25493 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25494
25495 * sysdeps/s390/fpu/libm-test-ulps: Update.
25496
25497 2012-05-03 Andreas Jaeger <aj@suse.de>
25498
25499 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25500 does not get optimized out.
25501 (malloc_opt_barrier): New.
25502
25503 2012-05-03 Andreas Jaeger <aj@suse.de>
25504 Roland McGrath <roland@hack.frob.com>
25505
25506 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25507 intermediate file deletion.
25508 (generated): Add .symlist files.
25509
25510 2012-05-03 Joseph Myers <joseph@codesourcery.com>
25511
25512 [BZ #13775]
25513 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25514 Redirect under this condition.
25515 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25516 [__USE_GNU] (__dprintf_chk): Not under this condition.
25517 [__USE_GNU] (__vdprintf_chk): Likewise.
25518 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25519 under this condition.
25520 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25521 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25522 [__USE_XOPEN2K8] (vdprintf): Likewise.
25523 [__USE_GNU] (__dprintf_chk): Not under this condition.
25524 [__USE_GNU] (__vdprintf_chk): Likewise.
25525 [__USE_GNU] (dprintf): Likewise.
25526 [__USE_GNU] (vdprintf): Likewise.
25527
25528 2012-05-03 Roland McGrath <roland@hack.frob.com>
25529
25530 * elf/Makefile (common-generated): Set this instead of generated for
25531 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25532 $(all-built-dso)-derived lists.
25533
25534 2012-05-03 Andreas Jaeger <aj@suse.de>
25535
25536 * sysdeps/i386/fpu/libm-test-ulps: Update.
25537
25538 * FAQ: Removed.
25539 * FAQ.in: Likewise.
25540 * scripts/gen-FAQ.pl: Likewise.
25541 * manual/install.texi (Installation): Point to online location of
25542 FAQ.
25543 * Makefile (files-for-dist): Remove FAQ.
25544 (FAQ): Remove.
25545
25546 2012-05-02 Allan McRae <allan@archlinux.org>
25547
25548 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25549 (LDFLAGS-reldepmod5.so): Likewise.
25550 (LDFLAGS-reldep6mod1.so): Likewise.
25551 (LDFLAGS-reldep6mod4.so): Likewise.
25552 (LDFLAGS-reldep8mod3.so): Likewise.
25553 (LDFLAGS-unload4mod1.so): Likewise.
25554 (LDFLAGS-unload4mod2.so): Likewise.
25555 (LDFLAGS-tst-initorder): Likewise.
25556 (LDFLAGS-tst-initordera2.so): Likewise.
25557 (LDFLAGS-tst-initordera3.so): Likewise.
25558 (LDFLAGS-tst-initordera4.so): Likewise.
25559 (LDFLAGS-tst-initorderb2.so): Likewise.
25560 (LDFLAGS-noload): Likewise.
25561 (LDFLAGS-next): Likewise.
25562 (LDFLAGS-order2mod1.so): Likewise.
25563 (LDFLAGS-order2mod2.so): Likewise.
25564 (LDFLAGS-tst-initorder2): Likewise.
25565 (LDFLAGS-tst-initorder2a.so): Likewise.
25566 (LDFLAGS-tst-initorder2b.so): Likewise.
25567 (LDFLAGS-tst-initorder2c.so): Likewise.
25568 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25569
25570 2012-05-02 David S. Miller <davem@davemloft.net>
25571
25572 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25573
25574 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25575
25576 [BZ #14055]
25577 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25578
25579 2012-05-02 Andreas Jaeger <aj@suse.de>
25580
25581 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25582 since we manipulate rounding mode.
25583 (CPPFLAGS-test-idouble.c): Likewise.
25584 (CPPFLAGS-test-ifloat.c): Likewise.
25585 (CFLAGS-test-ldouble.c): Likewise.
25586 (CFLAGS-test-double.c): Likewise.
25587 (CFLAGS-test-float.c): Likewise.
25588 (CFLAGS-test-misc.c): Likewise.
25589 (CFLAGS-test-test-fenv.c): Likewise.
25590
25591 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25592
25593 [BZ #2550]
25594 [BZ #2570]
25595 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25596 comparisons to determine direction to adjust input.
25597
25598 2012-05-01 Roland McGrath <roland@hack.frob.com>
25599
25600 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25601 output to the target.
25602
25603 * scripts/localplt.awk: New file.
25604 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25605 (check-localplt-CFLAGS): Variable removed.
25606 ($(all-built-dso:=.jmprel)): New static pattern rule.
25607 (generated): Add those targets.
25608 (localplt-built-dso): New variable.
25609 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25610
25611 * elf/check-localplt.c: File removed.
25612
25613 * scripts/check-execstack.awk: New file.
25614 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25615 (check-execstack-CFLAGS): Variable removed.
25616 ($(objpfx)check-execstack.h): Target removed.
25617 ($(objpfx)execstack-default): New target.
25618 (generated): Add that instead of check-execstack.h.
25619 ($(all-built-dso:=.phdr)): New static pattern rule.
25620 (generated): Add those targets.
25621 * elf/check-execstack.c: File removed.
25622
25623 * scripts/check-textrel.awk: New file.
25624 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25625 (check-textrel-CFLAGS): Variable removed.
25626 (all-built-dso): Use := to define.o
25627 ($(all-built-dso:=.dyn)): New static pattern rule.
25628 (generated): Add those targets.
25629 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25630 * config.make.in (READELF): New substituted variable.
25631 * elf/check-textrel.c: File removed.
25632
25633 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25634
25635 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25636 allow.
25637 * conform/data/ctype.h-data [C99-based standards] (isblank):
25638 Expect function.
25639 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25640 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25641 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25642 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25643 Specify type. Require positive value.
25644 (EILSEQ): Likewise.
25645 (ERANGE): Likewise.
25646 [ISO || POSIX] (EILSEQ): Do not expect.
25647 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25648 Specify type. Require positive value.
25649 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25650 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25651 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25652 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25653 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25654 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25655 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25656 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25657 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25658 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25659 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25660 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25661 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25662 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25663 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25664 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25665 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25666 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25667 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25668 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25669 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25670 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25671 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25672 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25673 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25674 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25675 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25676 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25677 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25678 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25679 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25680 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25681 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25682 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25683 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25684 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25685 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25686 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25687 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25688 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25689 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25690 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25691 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25692 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25693 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25694 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25695 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25696 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25697 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25698 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25699 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25700 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25701 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25702 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25703 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25704 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25705 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25706 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25707 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25708 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25709 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25710 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25711 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25712 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25713 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25714 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25715 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25716 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25717 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25718 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25719 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25720 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25721 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25722 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25723 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25724 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25725 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25726 Require >= 2.
25727 (FLT_ROUNDS): Expect as macro, not constant.
25728 (FLT_MANT_DIG): Use macro-int-constant.
25729 (DBL_MANT_DIG): Likewise.
25730 (LDBL_MANT_DIG): Likewise.
25731 (FLT_DIG): Likewise.
25732 (DBL_DIG): Likewise.
25733 (LDBL_DIG): Likewise.
25734 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25735 (DBL_MIN_EXP): Likewise.
25736 (LDBL_MIN_EXP): Likewise.
25737 (FLT_MAX_EXP): Use macro-int-constant.
25738 (DBL_MAX_EXP): Likewise.
25739 (LDBL_MAX_EXP): Likewise.
25740 (FLT_MAX_10_EXP): Likewise.
25741 (DBL_MAX_10_EXP): Likewise.
25742 (LDBL_MAX_10_EXP): Likewise.
25743 (FLT_MAX): Use macro-constant.
25744 (DBL_MAX): Likewise.
25745 (LDBL_MAX): Likewise.
25746 (FLT_EPSILON): Use macro-constant. Give upper bound.
25747 (DBL_EPSILON): Likewise.
25748 (LDBL_EPSILON): Likewise.
25749 (FLT_MIN): Likewise.
25750 (DBL_MIN): Likewise.
25751 (LDBL_MIN): Likewise.
25752 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25753 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25754 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25755 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25756 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25757 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25758 [ISO11] (FLT_DECIMAL_DIG): Likewise.
25759 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25760 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25761 [ISO11] (FLT_TRUE_MIN): Likewise.
25762 [ISO11] (LDBL_TRUE_MIN): Likewise.
25763 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25764 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25765 (SCHAR_MIN): Use macro-int-constant. Specify type.
25766 (SCHAR_MAX): Likewise.
25767 (UCHAR_MAX): Likewise.
25768 (CHAR_MIN): Likewise.
25769 (CHAR_MAX): Likewise.
25770 (MB_LEN_MAX): Use macro-int-constant.
25771 (SHRT_MIN): Use macro-int-constant. Specify type.
25772 (SHRT_MAX): Likewise.
25773 (USHRT_MAX): Likewise.
25774 (INT_MAX): Likewise.
25775 (INT_MIN): Use macro-int-constant. Specify type. Make upper
25776 bound negative.
25777 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
25778 bound with "U".
25779 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25780 bound with "L".
25781 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
25782 bound negative. Suffix upper bound with "L".
25783 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25784 bound with "UL".
25785 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25786 Specify type.
25787 [C99-based standards] (LLONG_MAX): Likewise.
25788 [C99-based standards] (ULLONG_MAX): Likewise.
25789 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
25790 == 0.
25791 [ISO11] (max_align_t): Require type.
25792 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25793
25794 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25795 from $CFLAGS, without defining away __attribute__ calls.
25796 (checknamespace): Use $CFLAGS_namespace.
25797
25798 * conform/conformtest.pl (@keywords): Only include C99 keywords
25799 for standards based on C99 or C11.
25800
25801 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
25802 Disable tests.
25803 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
25804 UNIX98]: Likewise.
25805
25806 * conform/conformtest.pl: Handle "macro-int-constant" and test for
25807 usability of symbols in #if.
25808
25809 * conform/conformtest.pl: If macro or constant types start
25810 "promoted:", expect the symbol to be of the following type
25811 promoted by the integer promotions.
25812
25813 * conform/conformtest.pl: Parse all "constant" and "macro" lines
25814 in one place. Also handle "macro-constant".
25815
25816 * conform/conformtest.pl: Only accept expected macro values with
25817 "==". Parse all "macro" lines in one place.
25818 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
25819
25820 * conform/conformtest.pl: Handle braced types on "constant" lines
25821 instead of handling "typed-constant".
25822 * conform/data/signal.h-data: Use "constant" instead of
25823 "typed-constant".
25824
25825 * conform/conformtest.pl: Handle "optional-" at start of lines in
25826 one place rather than duplicating several cases. Handle each
25827 format of "macro" line with initial "optional-".
25828
25829 * conform/conformtest.pl: Only accept expected constant or
25830 optional-constant values with "==". Parse all "constant" lines in
25831 one place. Parse all "optional-constant" lines in one place.
25832 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
25833 * conform/data/fmtmsg.h-data: Likewise.
25834 * conform/data/netinet/in.h-data: Likewise.
25835 * conform/data/tar.h-data: Likewise.
25836 * conform/data/limits.h-data: Use "==" form on "constant" and
25837 "optional-constant" lines.
25838
25839 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
25840 Use -std=c99 for XOPEN2K.
25841 (@knownproblems): Remove.
25842 (newtoken): Don't check %isknown.
25843
25844 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
25845 Do not expect macro.
25846 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
25847 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
25848 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
25849 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
25850 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
25851 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
25852 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
25853 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
25854 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
25855 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
25856 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
25857 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
25858 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
25859 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
25860 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
25861 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
25862 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
25863 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
25864 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
25865 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
25866 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
25867 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
25868 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
25869 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
25870 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
25871 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
25872 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
25873 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
25874 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
25875 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
25876 [XPG3] (acosh): Likewise.
25877 [XPG3] (asinh): Likewise.
25878 [XPG3] (atanh): Likewise.
25879 [XPG3] (cbrt): Likewise.
25880 [XPG3] (expm1): Likewise.
25881 [XPG3] (ilogb): Likewise.
25882 [XPG3] (log1p): Likewise.
25883 [XPG3] (logb): Likewise.
25884 [XPG3] (nextafter): Likewise.
25885 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
25886 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
25887 [XPG3] (remainder): Likewise.
25888 [XPG3] (rint): Likewise.
25889 [XPG3 || XPG4 || UNIX98] (round): Likewise.
25890 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
25891 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
25892 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
25893 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
25894 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
25895 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
25896 [UNIX98 || XOPEN2K] (scalb): Expect.
25897 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
25898 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
25899 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
25900 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
25901 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
25902 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
25903 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
25904 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
25905 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
25906 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
25907 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
25908 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
25909 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
25910 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
25911 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
25912 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
25913 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
25914 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
25915 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
25916 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
25917 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
25918 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
25919 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
25920 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
25921 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
25922 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
25923 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
25924 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
25925 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
25926 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
25927 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
25928 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
25929 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
25930 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
25931 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
25932 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
25933 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
25934 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
25935 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
25936 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
25937 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
25938 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
25939 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
25940 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
25941 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
25942 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
25943 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
25944 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
25945 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
25946 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
25947 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
25948 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
25949 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
25950 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
25951 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
25952 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
25953 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
25954 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
25955 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
25956 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
25957 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
25958 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
25959 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
25960 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
25961 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
25962 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
25963 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
25964 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
25965 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
25966 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
25967 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
25968 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
25969 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
25970 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
25971 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
25972 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
25973 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
25974 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
25975 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
25976 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
25977 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
25978 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
25979 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
25980 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
25981 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
25982 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
25983 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
25984 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
25985 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
25986 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
25987 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
25988 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
25989 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
25990 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
25991 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
25992 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
25993 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
25994 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
25995 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
25996 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
25997 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
25998 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
25999 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26000 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26001 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26002 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26003 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26004 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26005 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26006 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26007 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26008 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26009 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26010 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26011 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26012 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26013 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26014 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26015 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26016 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26017 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26018 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26019 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26020 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26021 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26022 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26023 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26024 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26025 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26026 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26027 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26028 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26029 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26030 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26031 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26032 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26033 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26034
26035 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26036 _XOPEN_SOURCE_EXTENDED for XPG4.
26037
26038 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26039
26040 * Makeconfig (localtime): Remove variable.
26041 (inst_localtime-file): Likewise.
26042
26043 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26044
26045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26046 Update.
26047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26048 Update.
26049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26050 Update.
26051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26052 Update.
26053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26054 Update.
26055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26056 Update.
26057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26058 Update.
26059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26060 Update.
26061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26062 Update.
26063
26064 2012-05-01 Joseph Myers <joseph@codesourcery.com>
26065
26066 [BZ #2550]
26067 [BZ #2570]
26068 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26069 comparisons to determine direction to adjust input.
26070 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26071 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26072 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26073 Likewise.
26074 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26075 Likewise.
26076 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26077 Likewise.
26078 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26079 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26080 Likewise.
26081 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26082 Likewise.
26083 * math/libm-test.inc (nexttoward_test): Add more tests.
26084
26085 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26086
26087 [BZ #14040]
26088 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26089 in version GLIBC_2.1, not GLIBC_2.0.
26090 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26091 Likewise.
26092
26093 2012-04-30 Joseph Myers <joseph@codesourcery.com>
26094
26095 [BZ #13942]
26096 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26097 (1 - x) * (1 + x).
26098 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26099 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26100 * math/libm-test.inc (acos_test): Add more tests.
26101 (asin_test): Likewise.
26102 * sysdeps/i386/fpu/libm-test-ulps: Update.
26103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26104
26105 [BZ #14034]
26106 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26107 of square root.
26108 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26109 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26110 * math/libm-test.inc (acos_test_tonearest): New function.
26111 (acos_test_towardzero): Likewise.
26112 (acos_test_downward): Likewise.
26113 (acos_test_upward): Likewise.
26114 (asin_test_tonearest): Likewise.
26115 (asin_test_towardzero): Likewise.
26116 (asin_test_downward): Likewise.
26117 (asin_test_upward): Likewise.
26118 (main): Call the new functions.
26119 * sysdeps/i386/fpu/libm-test-ulps: Update.
26120 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26121
26122 [BZ #13884]
26123 [BZ #13924]
26124 * math/e_exp10.c: Include <float.h>.
26125 (__ieee754_exp10): Handle underflow here rather than multiplying
26126 large negative argument by M_LN10.
26127 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26128 of __ieee754_expf.
26129 * math/e_exp10l.c: Include <float.h>.
26130 (__ieee754_exp10l): Handle underflow here rather than multiplying
26131 large negative argument by M_LN10l.
26132 * math/libm-test.inc (exp10_test): Add another test. Do not allow
26133 spurious overflow exception on underflow.
26134
26135 2012-04-29 Marek Polacek <polacek@redhat.com>
26136
26137 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26138 (__fortify_function): New macro.
26139 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26140 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26141 __extern_always_inline.
26142 * libio/bits/stdio2.h: Likewise.
26143 * libio/bits/stdio.h: Likewise.
26144 * string/string.h: Likewise.
26145 * string/bits/string3.h: Likewise.
26146 * include/stdio.h: Likewise.
26147 * stdlib/bits/stdlib.h: Likewise.
26148 * stdlib/stdlib.h: Likewise.
26149 * rt/bits/mqueue2.h: Likewise.
26150 * rt/mqueue.h: Likewise.
26151 * posix/bits/unistd.h: Likewise.
26152 * posix/unistd.h: Likewise.
26153 * io/bits/poll2.h: Likewise.
26154 * io/bits/fcntl2.h: Likewise.
26155 * io/fcntl.h: Likewise.
26156 * io/sys/poll.h: Likewise.
26157 * misc/bits/syslog.h: Likewise.
26158 * misc/bits/syslog-ldbl.h: Likewise.
26159 * misc/sys/syslog.h: Likewise.
26160 * socket/bits/socket2.h: Likewise.
26161 * socket/sys/socket.h: Likewise.
26162 * debug/tst-chk1.c: Likewise.
26163 * wcsmbs/bits/wchar2.h: Likewise.
26164 * wcsmbs/bits/wchar-ldbl.h: Likewise.
26165 * wcsmbs/wchar.h: Likewise.
26166
26167 2012-04-29 Andreas Jaeger <aj@suse.de>
26168
26169 * Makerules (tests): Remove enable-check-abi protection.
26170 (check-abi-warn): Remove.
26171 (check-abi-%): Remove check-abi-warn usage.
26172
26173 * configure.in: Remove check-abi configure option.
26174 * configure: Regenerated.
26175 * config.make.in (enable-check-abi): Remove.
26176
26177 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
26178
26179 [BZ #14033]
26180 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26181 double functions to double *_finite functions.
26182
26183 [BZ #13941]
26184 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26185 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26186 LDBL_MIN_EXP.
26187 * stdio-common/Makefile (tests): Add tst-sprintf3.
26188 * stdio-common/tst-sprintf3.c: New file.
26189
26190 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26191 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26192
26193 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26194
26195 * conform/conformtest.pl: Remove duplicate typed-constant
26196 handling.
26197
26198 2012-04-28 David S. Miller <davem@davemloft.net>
26199
26200 * Makerules (%.abilist): Add vpath on sysdep_dirs.
26201 (check-abi-%): Remove AWK script prerequisite and explicit
26202 abilist directory.
26203 (check-abi): Rewrite to just diff the symlist with the abilist.
26204 (config-tls, config-abi-config): Delete, no longer used.
26205 (update-abi-%): Remove AWK script and explicit abilist directory.
26206 (update-abi): Rewrite to simply compare and conditionally copy the
26207 symlist and the sysdep abilist file. Remove update-abi-config
26208 checks.
26209 * abilist/ld.abilist: Remove.
26210 * abilist/libBrokenLocale.abilist: Remove.
26211 * abilist/libanl.abilist: Remove.
26212 * abilist/libcrypt.abilist: Remove.
26213 * abilist/libdl.abilist: Remove.
26214 * abilist/librt.abilist: Remove.
26215 * abilist/libthread_db.abilist: Remove.
26216 * abilist/libutil.abilist: Remove.
26217 * scripts/extract-abilist.awk: Remove.
26218 * scripts/merge-abilist.awk: Remove.
26219 * sysdeps/generic/libcidn.abilist: New file.
26220 * sysdeps/generic/libnss_compat.abilist: New file.
26221 * sysdeps/generic/libnss_db.abilist: New file.
26222 * sysdeps/generic/libnss_dns.abilist: New file.
26223 * sysdeps/generic/libnss_files.abilist: New file.
26224 * sysdeps/generic/libnss_hesiod.abilist: New file.
26225 * sysdeps/generic/libnss_nis.abilist: New file.
26226 * sysdeps/generic/libnss_nisplus.abilist: New file.
26227 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26228 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26229 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26230 file.
26231 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26232 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26233 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26234 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26235 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26236 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26237 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26238 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26239 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26240 file.
26241 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26242 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26243 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26244 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26245 file.
26246 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26247 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26248 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26249 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26250 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26251 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26252 file.
26253 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26254 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26255 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26256 file.
26257 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26258 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26259 New file.
26260 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26261 New file.
26262 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26263 New file.
26264 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26265 New file.
26266 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26267 New file.
26268 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26269 New file.
26270 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26271 New file.
26272 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26273 New file.
26274 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26275 New file.
26276 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26277 New file.
26278 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26279 New file.
26280 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26281 New file.
26282 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26283 New file.
26284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26285 file.
26286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26287 New file.
26288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26289 New file.
26290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26291 file.
26292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26293 New file.
26294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26295 New file.
26296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26297 file.
26298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26299 New file.
26300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26301 New file.
26302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26303 New file.
26304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26305 New file.
26306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26307 New file.
26308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26309 New file.
26310 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26312 file.
26313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26314 New file.
26315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26316 file.
26317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26318 file.
26319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26320 file.
26321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26322 file.
26323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26324 file.
26325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26326 New file.
26327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26328 file.
26329 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26330 file.
26331 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26332 New file.
26333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26334 file.
26335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26336 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26337 file.
26338 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26339 New file.
26340 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26341 file.
26342 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26343 file.
26344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26345 file.
26346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26347 file.
26348 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26349 file.
26350 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26351 New file.
26352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26353 file.
26354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26355 file.
26356 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26357 New file.
26358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26359 file.
26360 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26361 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26362 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26363 file.
26364 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26365 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26366 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26367 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26368 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26369 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26370 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26371 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26372 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26373 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26374 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26375 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26376 file.
26377 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26378 New file.
26379 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26380 file.
26381 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26382 file.
26383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26384 file.
26385 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26386 file.
26387 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26388 file.
26389 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26390 New file.
26391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26392 New file.
26393 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26394 file.
26395 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26396 New file.
26397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26398 file.
26399 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26400 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26401 file.
26402 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26403 New file.
26404 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26405 file.
26406 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26407 file.
26408 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26409 file.
26410 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26411 file.
26412 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26413 file.
26414 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26415 New file.
26416 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26417 New file.
26418 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26419 file.
26420 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26421 New file.
26422 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26423 file.
26424
26425 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26426
26427 * conform/conformtest.pl: Fix typo in handling typed-constant from
26428 allow-header.
26429
26430 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26431
26432 * README: Cut down references to pre-2.6 Linux kernels and
26433 Linuxthreads. Update lists of configurations in libc and ports
26434 and sort alphabetically. Say "or newer" with Linux kernel version
26435 requirements.
26436
26437 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26438
26439 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26440
26441 [BZ #887]
26442 * math/libm-test.inc (logb_test_downward): New test to expose
26443 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26444 rounding mode.
26445
26446 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26447
26448 [BZ #14027]
26449 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26450 to be done.
26451 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26452 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26453
26454 2012-04-26 Joseph Myers <joseph@codesourcery.com>
26455
26456 * sysdeps/unix/i386/brk.S: Remove file.
26457 * sysdeps/unix/i386/dl-brk.S: Likewise.
26458 * sysdeps/unix/i386/pipe.S: Likewise.
26459 * sysdeps/unix/i386/sigreturn.S: Likewise.
26460 * sysdeps/unix/i386/syscall.S: Likewise.
26461 * sysdeps/unix/i386/vfork.S: Likewise.
26462 * sysdeps/unix/i386/wait.S: Likewise.
26463
26464 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26465 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26466
26467 * configure.in (arm*-none*): Do not allow without
26468 --enable-hacker-mode.
26469 (netbsd*): Remove case setting base_os.
26470 (386bsd*): Likewise.
26471 (freebsd*): Likewise.
26472 (bsdi*): Likewise.
26473 (osf*): Likewise.
26474 (sunos*): Likewise.
26475 (ultrix*): Likewise.
26476 (newsos*): Likewise.
26477 (dynix*): Likewise.
26478 (*bsd*): Likewise.
26479 (sysv*): Likewise.
26480 (isc*): Likewise.
26481 (esix*): Likewise.
26482 (sco*): Likewise.
26483 (minix*): Likewise.
26484 (irix4*): Likewise.
26485 (irix6*): Likewise.
26486 (solaris[2-9]*): Likewise.
26487 (none): Likewise.
26488 * configure: Regenerated.
26489
26490 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26491
26492 [BZ #11521]
26493 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26494 overflow or cancellation in calculating denominator.
26495 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26496 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26497 down expression to avoid unexpected rounding in newer GCCs.
26498 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26499
26500 2012-04-26 David S. Miller <davem@davemloft.net>
26501
26502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26503 long-double compat symbols.
26504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26517
26518 2012-04-25 David S. Miller <davem@davemloft.net>
26519
26520 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26521 HWCAP_* values only after the memory barriers have been defined.
26522 (atomic_full_barrier): Define.
26523 (atomic_read_barrier): Define.
26524 (atomic_write_barrier): Define.
26525
26526 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26527
26528 * shlib-versions: Add libgcc_s version information.
26529 * sysdeps/generic/libgcc_s.h: Remove.
26530 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26531 libgcc_s.h.
26532 * sysdeps/gnu/unwind-resume.c: Likewise.
26533 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26534
26535 2012-04-25 David S. Miller <davem@davemloft.net>
26536
26537 * sysdeps/unix/sparc/brk.S: Delete.
26538 * sysdeps/unix/sparc/dl-brk.S: Delete.
26539 * sysdeps/unix/sparc/pipe.S: Delete.
26540 * sysdeps/unix/sparc/sysdep.S: Delete.
26541 * sysdeps/unix/sparc/sysdep.h: Delete.
26542 * sysdeps/unix/sparc/vfork.S: Delete.
26543 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26544 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26545 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26546 ret_ERRVAL, r0, r1, MOVE): Define.
26547 (JUMPTARGET): Remove.
26548 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26549 sysdeps/unix/sparc/sysdep.h
26550 (ENTRY, END): Remove.
26551 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26552
26553 2012-04-25 Joseph Myers <joseph@codesourcery.com>
26554
26555 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26556 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26557 -DIS_IN_build.
26558
26559 * timezone/README: Update upstream location and email address for
26560 tzcode and tzdata.
26561 * timezone/zdump.c: Update from tzcode 2012b.
26562 * timezone/zic.c: Likewise.
26563
26564 * configure.in (libc_cv_as_needed): Remove test.
26565 * configure: Regenerated.
26566 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26567 conditional definition.
26568 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26569 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26570 * config.make.in (have-as-needed): Remove variable.
26571
26572 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26573 Paul Pluzhnikov <ppluzhnikov@google.com>
26574
26575 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26576 strings correctly.
26577
26578 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26579
26580 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26581 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26582 * sysdeps/sh/strlen.S: Likewise.
26583
26584 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26585
26586 * sysdeps/unix/fork.S: Remove file.
26587 * sysdeps/unix/i386/fork.S: Likewise.
26588 * sysdeps/unix/sparc/fork.S: Likewise.
26589
26590 * sysdeps/unix/system.c: Remove file.
26591 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26592
26593 * sysdeps/unix/getegid.S: Remove file.
26594 * sysdeps/unix/geteuid.S: Likewise.
26595
26596 2012-04-24 Roland McGrath <roland@hack.frob.com>
26597
26598 * scripts/check-localplt.awk: New file.
26599 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26600 of diff.
26601 * scripts/data/localplt-generic.data: Add a comment.
26602
26603 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26604 NODE when __dir_mkfile failed.
26605 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26606 Reported by Ludovic Courtès <ludo@gnu.org>.
26607
26608 2012-04-24 Andreas Jaeger <aj@suse.de>
26609
26610 * Makerules (common-clean): Also remove gen-as-const-headers
26611 files.
26612
26613 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26614
26615 * Makerules (native-compile): Do not change working directory for
26616 build. Use $(OUTPUT_OPTION) in command.
26617 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26618
26619 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26620
26621 [BZ #13886]
26622 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26623 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26624 * math/libm-test.inc (floor_test): Add more tests.
26625 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26626
26627 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26628
26629 * sysdeps/unix/getdents.c: Remove file.
26630 * sysdeps/unix/sysv/getdents.c: Likewise.
26631 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26632
26633 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26634 sysdeps/unix/mman/syscalls.list.
26635 (mmap): Likewise.
26636 (mprotect): Likewise.
26637 (msync): Likewise.
26638 (munmap): Likewise.
26639 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26640 * sysdeps/unix/mman/syscalls.list: Remove.
26641 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26642
26643 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26644 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26645 * configure: Regenerated.
26646 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26647 $(libgcc_s_suffix).
26648 * config.make.in (libgcc_s_suffix): Remove variable.
26649
26650 2012-04-23 Joseph Myers <joseph@codesourcery.com>
26651
26652 * sysdeps/unix/sysv/gethostname.c: Move to ...
26653 * sysdeps/posix/gethostname.c: ... here.
26654
26655 * sysdeps/unix/execve.S: Remove file.
26656
26657 * sysdeps/unix/_exit.S: Remove file.
26658
26659 2012-04-23 Andreas Jaeger <aj@suse.de>
26660
26661 [BZ #13739]
26662 * manual/Makefile: Remove make dist support, there's no
26663 need for a stand-alone documentation tar ball.
26664 (TEXI2DVI): Define always, it's not in Makeconfig.
26665 (dist): Removed.
26666 (tar-it): Removed.
26667 (edition): Removed.
26668 (glibc-doc-$(edition).tar): Removed
26669 (%.Z): Removed.
26670 (%.gz): Removed.
26671 (%.uu): Removed.
26672 (ETAGS): Remove, it's in Makeconfig.
26673 (move-if-change): Remove, it's in Makeconfig.
26674
26675 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
26676
26677 [BZ #13970]
26678 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26679 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26680 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26681 (strtod_l, strtof_l, strtold_l): Remove __wur.
26682 It is not necessarily an error to ignore strtol's return value.
26683 One can reliably look at the stored endptr to decide whether
26684 the number had valid syntax.
26685
26686 2012-04-21 Andreas Jaeger <aj@suse.de>
26687
26688 [BZ #13739]
26689 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26690
26691 2012-04-21 Joseph Myers <joseph@codesourcery.com>
26692
26693 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26694 * sysdeps/unix/sysv/Versions: Remove file.
26695
26696 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26697
26698 [BZ #13927]
26699 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26700
26701 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
26702
26703 [BZ #7064]
26704 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26705 version from __vm86.
26706
26707 2012-04-20 Joseph Myers <joseph@codesourcery.com>
26708
26709 * sysdeps/unix/common/lxstat.c: Remove file.
26710 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26711
26712 * sysdeps/unix/sysv/Makefile: Remove file.
26713
26714 * sysdeps/unix/sysv/direct.h: Remove file.
26715
26716 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26717 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26718 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26719 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26720 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26721 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26722 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26723
26724 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26725
26726 * sysdeps/unix/xmknod.c: Remove file.
26727 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26728
26729 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26730
26731 * sysdeps/unix/sysv/i386/time.S: Remove file.
26732
26733 * sysdeps/unix/fxstat.c: Remove file.
26734 * sysdeps/unix/xstat.c: Likewise.
26735 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26736
26737 * sysdeps/unix/sysv/sigaction.c: Remove file.
26738
26739 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26740 (sysdep_headers): Remove variable.
26741 [termio.h not in sysdep_headers] (generated): Likewise.
26742 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26743 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26744 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26745 * sysdeps/unix/sysv/tcflow.c: Likewise.
26746 * sysdeps/unix/sysv/tcflush.c: Likewise.
26747 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26748 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26749 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26750 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26751 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26752
26753 * sysdeps/unix/siglist.c: Remove file.
26754
26755 * sysdeps/unix/getppid.S: Remove file.
26756
26757 * sysdeps/unix/mkdir.c: Remove file.
26758 * sysdeps/unix/rmdir.c: Likewise.
26759
26760 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
26761
26762 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26763 ERR_MAX value.
26764 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26765 errlist-compat value.
26766
26767 2012-04-18 David S. Miller <davem@davemloft.net>
26768
26769 * sysdeps/generic/memcopy.h (reg_char): Delete.
26770 * debug/strcat_chk.c: Use char, not reg_char.
26771 * debug/strcpy_chk.c: Likewise.
26772 * debug/strncat_chk.c: Likewise.
26773 * debug/strncpy_chk.c: Likewise.
26774 * string/memchr.c: Likewise.
26775 * string/memrchr.c: Likewise.
26776 * string/rawmemchr.c: Likewise.
26777 * string/strcat.c: Likewise.
26778 * string/strchr.c: Likewise.
26779 * string/strchrnul.c: Likewise.
26780 * string/strcmp.c: Likewise.
26781 * string/strcpy.c: Likewise.
26782 * string/strncat.c: Likewise.
26783 * string/strncmp.c: Likewise.
26784 * string/strncpy.c: Likewise.
26785
26786 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26787
26788 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26789 __builtin_memcopy is called when src and dest ranges are known to not
26790 overlap.
26791
26792 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26793
26794 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26795 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
26796 fwd_align_merge macro call.
26797 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
26798 bwd_align_merge macro call.
26799 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26800
26801 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26802
26803 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
26804 bwd_align_merge macros.
26805 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
26806 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
26807 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26808
26809 2012-04-18 David S. Miller <davem@davemloft.net>
26810
26811 * sysdeps/sparc/sparc64/memcopy.h: Delete.
26812
26813 2012-04-18 Andreas Jaeger <aj@suse.de>
26814
26815 [BZ# 6794]
26816 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
26817 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
26818 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26819
26820 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
26821 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
26822 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26823
26824 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
26825 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26826 Adjust for changed ldbl-128 files.
26827
26828 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
26829 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
26830 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
26831
26832 2012-04-17 David S. Miller <davem@davemloft.net>
26833
26834 * sysdeps/sparc/sparc32/memcopy.h: Delete.
26835
26836 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
26837
26838 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
26839 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
26840 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
26841 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
26842 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26843 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
26844
26845 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26846
26847 [BZ #6794]
26848 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
26849 * math/libm-test.inc: Add ilogb errno and exception tests.
26850 * math/w_ilogb.c: New file: ilogb wrapper.
26851 * math/w_ilogbf.c: New file: ilogbf wrapper.
26852 * math/w_ilogbl.c: New file: ilogbl wrapper.
26853 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
26854 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
26855 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
26856 exception being thrown with 0.0 as argument.
26857 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
26858 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
26859 exception being thrown with 0.0 as argument.
26860 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
26861 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26862 exception being thrown with 0.0 as argument.
26863 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
26864 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
26865 exception being thrown with 0.0 as argument.
26866 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
26867 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
26868 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
26869 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
26870 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
26871 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
26872 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
26873 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
26874 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
26875
26876 2012-04-17 Petr Baudis <pasky@ucw.cz>
26877
26878 * include/sys/uio.h: Change __vector to __iovec to avoid clash
26879 with altivec.
26880
26881 2012-04-16 Marek Polacek <polacek@redhat.com>
26882
26883 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
26884
26885 2012-04-16 Marek Polacek <polacek@redhat.com>
26886
26887 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
26888 operands of fdivp instruction.
26889
26890 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26891
26892 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
26893 * elf/tst-auditmod3b.c: Likewise.
26894 * elf/tst-auditmod4b.c: Likewise.
26895 * elf/tst-auditmod5b.c: Likewise.
26896 * elf/tst-auditmod6b.c: Likewise.
26897 * elf/tst-auditmod6c.c: Likewise.
26898 * elf/tst-auditmod7b.c: Likewise.
26899 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
26900 * sysdeps/x86_64/preconfigure.in: Likewise.
26901 * sysdeps/x86_64/preconfigure: Regenerated.
26902
26903 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
26904
26905 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
26906 __ILP32__.
26907
26908 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
26909
26910 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26911 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
26912
26913 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
26914
26915 [BZ #13973]
26916 * locale/iso-639.def: Fix gl language name. Spotted by
26917 Yaron Shahrabani.
26918
26919 2012-04-12 Roland McGrath <roland@hack.frob.com>
26920
26921 [BZ #2074]
26922 * libio/libio.h (__io_write_fn): Update comment.
26923
26924 2012-04-12 Petr Baudis <pasky@ucw.cz>
26925
26926 [BZ #2074]
26927 * stdio.texi (Hook Functions): The user provided writer function
26928 is not allowed to return -1.
26929
26930 2012-04-11 David S. Miller <davem@davemloft.net>
26931
26932 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26933
26934 2012-04-11 Mike Frysinger <vapier@gentoo.org>
26935
26936 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
26937 Add a leading slash to rtkaio.
26938
26939 2012-04-11 Jim Meyering <meyering@redhat.com>
26940
26941 [BZ #11959]
26942 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
26943 It is not necessarily an error to ignore fwrite's return
26944 value. One can reliably use ferror to test for errors after
26945 the fact.
26946
26947 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26948
26949 * bits/types.h (__snseconds_t): New type.
26950 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
26951
26952 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
26953 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26954 (__SNSECONDS_T_TYPE): Likewise.
26955 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26956 (__SNSECONDS_T_TYPE): Likewise.
26957 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26958 (__SNSECONDS_T_TYPE): Likewise.
26959
26960 2012-04-10 Andreas Jaeger <aj@suse.de>
26961
26962 [BZ #2636]
26963 * manual/time.texi (Processor Time): Return type of times is
26964 elapsed real time since an arbitrary point in the past.
26965 (CPU Time): Move CLK_TCK from here...
26966 (Processor Time): ...to here. Correct description.
26967 * manual/conf.texi (Constants for Sysconf): Correct description of
26968 _SC_CLK_TCK.
26969
26970 2012-04-10 David S. Miller <davem@davemloft.net>
26971
26972 [BZ #13967]
26973 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
26974 where the is a gap between DT_REL(A) and DT_JMPREL.
26975
26976 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
26977
26978 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
26979 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
26980 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
26981
26982 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26983
26984 * elf/dl-support.c (_dl_inhibit_cache): New variable.
26985 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
26986 (dl_main): Handle --inhibit-cache.
26987 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
26988 _dl_inhibit_cache.
26989 * elf/dl-load.c (_dl_map_object): Use it.
26990 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
26991
26992 2012-04-09 Joseph Myers <joseph@codesourcery.com>
26993
26994 [BZ #13872]
26995 * sysdeps/i386/fpu/e_powl.S (p78): New object.
26996 (__ieee754_powl): Saturate large exponents rather than testing for
26997 overflow of y*log2(x).
26998 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26999 * math/libm-test.inc (pow_test): Do not permit spurious overflow
27000 exceptions.
27001
27002 [BZ #11521]
27003 * math/s_ctan.c: Include <float.h>.
27004 (__ctan): Avoid internal overflow or cancellation in calculating
27005 denominator.
27006 * math/s_ctanf.c: Likewise.
27007 * math/s_ctanl.c: Likewise.
27008 * math/s_ctanh.c: Likewise.
27009 * math/s_ctanhf.c: Likewise.
27010 * math/s_ctanhl.c: Likewise.
27011 * math/libm-test.inc (ctan_test): Add more tests.
27012 (ctanh_test): Likewise.
27013 * sysdeps/i386/fpu/libm-test-ulps: Update.
27014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27015
27016 2012-04-09 Andreas Jaeger <aj@suse.de>
27017
27018 [BZ #6894]
27019 * manual/filesys.texi (Directory Entries): Mention that d_namlen
27020 is an optional BSD extension.
27021
27022 [BZ #10254]
27023 * manual/stdio.texi (Opening Streams): Document additional fopen
27024 parameters.
27025
27026 2012-04-09 Roland McGrath <roland@hack.frob.com>
27027
27028 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27029 %eax without telling the compiler.
27030
27031 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
27032
27033 [BZ # 13963]
27034 * manual/install.texi: Use sourceware.org.
27035
27036 2012-04-09 Joseph Myers <joseph@codesourcery.com>
27037
27038 [BZ #13873]
27039 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27040 (__ieee754_pow): Generate overflow and underflow using huge*huge
27041 and tiny*tiny rather than just returning constant infinity or zero
27042 for large exponents.
27043 * math/libm-test.inc (pow_test): Require overflow exceptions for
27044 applicable cases of large exponents.
27045
27046 [BZ #706]
27047 * sysdeps/i386/fpu/e_pow.S (p10): New object.
27048 (__ieee754_pow): Use iterative multiplication algorithm only for
27049 integer exponents with absolute value below 1024. Check for odd
27050 integer exponents when using algorithm for real exponents.
27051 * math/libm-test.inc (pow_test): Add more tests.
27052 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27053
27054 2012-04-08 Joseph Myers <joseph@codesourcery.com>
27055
27056 [BZ #13705]
27057 * math/libm-test.inc (exp_test): Do not allow overflow exception
27058 on underflow test.
27059
27060 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
27061
27062 [BZ #13705]
27063 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27064 instead of __kernel_standard_f.
27065
27066 2012-04-08 Mike Frysinger <vapier@gentoo.org>
27067
27068 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27069 * sysdeps/x86_64/memset_chk.S: Likewise.
27070
27071 2012-04-08 Andreas Jaeger <aj@suse.de>
27072
27073 [BZ #10153]
27074 * manual/startup.texi (Environment Access): Describe return value
27075 for putenv and setenv.
27076
27077 [BZ #6895]
27078 * manual/filesys.texi (Directory Entries): Add description for
27079 DT_LNK.
27080
27081 [BZ #6890]
27082 * manual/filesys.texi (Directory Entries): Clarify that it's file
27083 system not operating system in the description of DT_UNKNOWN.
27084
27085 [BZ #6578]
27086 * manual/syslog.texi (closelog): Fix reference, it's openlog.
27087
27088 2012-04-08 Stephen Compall <s11@member.fsf.org>
27089
27090 [BZ #6649]
27091 * manual/llio.texi (Opening and Closing Files): Add cross
27092 reference to explain mode argument.
27093
27094 2012-04-07 Mike Frysinger <vapier@gentoo.org>
27095
27096 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27097 * sysdeps/x86_64/memset_chk.S: Likewise.
27098
27099 2012-04-07 David S. Miller <davem@davemloft.net>
27100
27101 * elf/elf.h (R_SPARC_WDISP10): Define.
27102 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27103 R_SPARC_SIZE32.
27104 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27105 R_SPARC_SIZE64 and R_SPARC_H34.
27106
27107 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
27108
27109 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27110 conditions and remove no longer applicable assertion.
27111
27112 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27113
27114 * bits/byteswap.h: Include <features.h>.
27115 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27116 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27117
27118 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27119
27120 * bits/byteswap.h (__bswap_16): Removed.
27121 Include <bits/byteswap-16.h> to get __bswap_16.
27122 * sysdeps/i386/bits/byteswap.h: Likewise.
27123 * sysdeps/s390/bits/byteswap.h: Likewise.
27124 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27125 * bits/byteswap-16.h: New file.
27126 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27127 * sysdeps/s390/bits/byteswap-16.h: Likewise.
27128 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27129 * string/Makefile (headers): Add bits/byteswap-16.h.
27130
27131 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27132
27133 [BZ #13895]
27134 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27135 extra indirection.
27136 * nss/Makefile (tests-static, tests): Add tst-nss-static.
27137 * nss/tst-nss-static.c: New.
27138
27139 2012-04-06 Robert Millan <rmh@gnu.org>
27140
27141 [BZ #6486]
27142 * manual/llio.texi (File Position Primitive): lseek
27143 refers to WHENCE when it really means OFFSET.
27144
27145 2012-04-06 Andreas Jaeger <aj@suse.de>
27146
27147 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27148 strncmp declarations.
27149
27150 * abilist/libc.abilist: Add __poll and __ppoll.
27151
27152 2012-04-05 David S. Miller <davem@davemloft.net>
27153
27154 * scripts/check-local-headers.sh: Accept a host triplet in the
27155 path matched by the exclude regexp.
27156
27157 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27158 definition.
27159 * sysdeps/powerpc/powerpc32/dl-machine.h
27160 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27161 * sysdeps/s390/s390-32/dl-machine.h
27162 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27163 * sysdeps/sparc/sparc32/dl-machine.h
27164 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27165 * sysdeps/sparc/sparc64/dl-machine.h
27166 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27167
27168 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27169 lazy binding.
27170 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
27171 undefined symbol errors.
27172
27173 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
27174 DT_NEEDED entries.
27175
27176 2012-04-05 Michael Matz <matz@suse.de>
27177
27178 [BZ #13592]
27179 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27180
27181 2012-04-05 Andreas Jaeger <aj@suse.de>
27182
27183 [BZ #13908]
27184 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27185 comment.
27186
27187 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27188
27189 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27190 which ROUND is no valid rounding mode.
27191
27192 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27193
27194 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27195 read again.
27196 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27197
27198 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27199
27200 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27201 an exception using FPU order intentionally.
27202
27203 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27204
27205 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27206 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27207 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27208 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27209
27210 2012-04-05 Simon Josefsson <simon@josefsson.org>
27211
27212 [BZ #12340]
27213 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27214 EINVAL when BUFLEN is too smal.
27215
27216 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
27217
27218 [BZ #13553]
27219 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27220 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27221
27222 2012-04-03 Andreas Jaeger <aj@suse.de>
27223
27224 [BZ #13938]
27225 * manual/setjmp.texi (System V contexts): Fix sentence.
27226
27227 [BZ #13926]
27228 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27229 New macro for this case.
27230 [!__GNUC__] (__bswap_64): New inline function for this case.
27231 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27232 * bits/byteswap.h: Likewise.
27233 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27234 ull, guard with __GLIBC_HAVE_LONG_LONG.
27235
27236 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27237 __GLIBC_HAVE_LONG_LONG.
27238
27239 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27240 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27241
27242 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27243
27244 [BZ #13691]
27245 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27246 inptr and inend, rather than using last_ch.
27247
27248 2012-04-02 David S. Miller <davem@davemloft.net>
27249
27250 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27251 * stdio-common/printf-parse.h (read_int): Change return type to
27252 'int', return -1 on INT_MAX overflow.
27253 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27254 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27255 overflows INT_MAX. Check for overflow of in-format-string precision
27256 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27257 SIZE_MAX not INT_MAX for integer overflow test.
27258 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27259 skip the construct in the format string but do not record anything.
27260 * stdio-common/bug22.c: Adjust to test both width/prevision
27261 INT_MAX overflow as well as total length INT_MAX overflow. Check
27262 explicitly for proper errno values.
27263
27264 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27265
27266 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27267 CHAR_MAX.
27268 * string/test-strcmp.c [! WIDE]: Likewise.
27269 * time/tst-mktime2.c: Likewise for INT_MAX.
27270 * string/test-string.h: #include <sys/param.h> for MIN.
27271
27272 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27273 * sysdeps/i386/init-first.c (init): Likewise.
27274 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27275 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27276 * sysdeps/sh/init-first.c (init): Likewise.
27277
27278 2012-04-01 Ulrich Drepper <drepper@gmail.com>
27279
27280 * po/ru.po: Update from translation team.
27281 * po/vi.po: Likewise.
27282
27283 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27284
27285 * resolv/nss_dns/dns-host.c: Merge copyright years.
27286
27287 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27288
27289 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27290 Optimize memcpy with prefetch if
27291 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27292 src, dst pointers have unequal 16 byte alignments.
27293
27294 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27295
27296 [BZ #13928]
27297 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27298 from a CNAME entry and return the minimum ttl for the query.
27299 (gaih_getanswer_slice): Likewise.
27300
27301 2012-03-30 Jeff Law <law@redhat.com>
27302
27303 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27304 due to long keys.
27305 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27306 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27307
27308 * resolv/nss_dns/dns-host.c: Update copyright year.
27309
27310 2012-03-30 Ulrich Drepper <drepper@gmail.com>
27311
27312 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
27313 requests to save a system call. Fix check that all bytes are sent.
27314
27315 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27316 comments for sendmmsg.
27317
27318 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27319
27320 [BZ #13691]
27321 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27322 with only 1 character between 0x0041 and 0x01b0.
27323 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27324 * wcsmbs/tst-mbsnrtowcs.c: New file.
27325
27326 2012-03-29 David S. Miller <davem@davemloft.net>
27327
27328 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27329 small copies by hand.
27330
27331 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27332
27333 [BZ #13761]
27334 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27335 _nss_compat_initgroups_dyn): Fall back to malloc/free
27336 for large group memberships.
27337
27338 2012-03-28 David S. Miller <davem@davemloft.net>
27339
27340 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27341 that branches into memcpy.
27342 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27343 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27344 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27345 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27346 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27347 bits.
27348 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27349 implementation too.
27350 * sysdeps/sparc/mempcpy.S: New file.
27351
27352 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27353 the IFUNC routine in the libc case.
27354 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27355
27356 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27357 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27358 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27359 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27360 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27361 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27362 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27363 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27364
27365 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27366 loop to 256 bytes instead of 64 bytes and fix test signedness.
27367
27368 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27369 * sysdeps/sparc/sparc32/Makefile: rather than here...
27370 * sysdeps/sparc/sparc64/Makefile: and here.
27371
27372 2012-03-28 Ulrich Drepper <drepper@gmail.com>
27373
27374 * malloc/mallocbug.c: Avoid warnings about unused variables.
27375
27376 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27377
27378 [BZ #13760]
27379 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27380 in the right place. Discard and retry query if response is
27381 larger than input buffer size.
27382
27383 2012-03-28 Joseph Myers <joseph@codesourcery.com>
27384
27385 [BZ #369]
27386 [BZ #2678]
27387 [BZ #3866]
27388 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27389 x for large integer exponent.
27390 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27391 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27392 sign of result as needed afterwards.
27393 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27394 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27395 result for underflowing pow the same as for overflow.
27396 (__kernel_standard_l): Handle powl overflow and underflow here
27397 rather than calling __kernel_standard.
27398 * math/libm-test.inc (pow_test): Add more tests.
27399
27400 [BZ #3868]
27401 [BZ #13879]
27402 [BZ #13910]
27403 [BZ #13911]
27404 [BZ #13912]
27405 [BZ #13913]
27406 [BZ #13915]
27407 [BZ #13916]
27408 [BZ #13917]
27409 [BZ #13918]
27410 [BZ #13919]
27411 [BZ #13920]
27412 [BZ #13921]
27413 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27414 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27415 (__kernel_standard_l): New function.
27416 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27417 __kernel_standard.
27418 * math/w_acosl.c (__acosl): Likewise.
27419 * math/w_asinl.c (__asinl): Likewise.
27420 * math/w_atan2l.c (__atan2l): Likewise.
27421 * math/w_atanhl.c (__atanhl): Likewise.
27422 * math/w_coshl.c (__coshl): Likewise.
27423 * math/w_exp10l.c (__exp10l): Likewise.
27424 * math/w_exp2l.c (__exp2l): Likewise.
27425 * math/w_fmodl.c (__fmodl): Likewise.
27426 * math/w_hypotl.c (__hypotl): Likewise.
27427 * math/w_j0l.c (__j0l, __y0l): Likewise.
27428 * math/w_j1l.c (__j1l, __y1l): Likewise.
27429 * math/w_jnl.c (__jnl, __ynl): Likewise.
27430 * math/w_lgammal.c (__lgammal): Likewise.
27431 * math/w_log10l.c (__log10l): Likewise.
27432 * math/w_log2l.c (__log2l): Likewise.
27433 * math/w_logl.c (__logl): Likewise.
27434 * math/w_powl.c (__powl): Likewise.
27435 * math/w_remainderl.c (__remainderl): Likewise.
27436 * math/w_scalbl.c (sysv_scalbl): Likewise.
27437 * math/w_sinhl.c (__sinhl): Likewise.
27438 * math/w_sqrtl.c (__sqrtl): Likewise.
27439 * math/w_tgammal.c (__tgammal): Likewise.
27440 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27441 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27442 * math/libm-test.inc (acos_test): Add more tests.
27443 (acosh_test): Likewise.
27444 (asin_test): Likewise.
27445 (atanh_test): Likewise.
27446 (exp_test): Likewise.
27447 (exp10_test): Likewise.
27448 (exp2_test): Likewise.
27449 (expm1_test): Likewise.
27450 (lgamma_test): Likewise.
27451 (log_test): Likewise.
27452 (log10_test): Likewise.
27453 (log1p_test): Likewise.
27454 (log2_test): Likewise.
27455 (pow_test): Do not allow some spurious overflow exceptions.
27456 (sqrt_test): Add more tests.
27457 (tgamma_test): Likewise.
27458 (y0_test): Likewise.
27459 (y1_test): Likewise.
27460 (yn_test): Likewise.
27461
27462 2012-03-27 Anton Blanchard <anton@samba.org>
27463
27464 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27465 MAP_HUGETLB.
27466 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27467 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27468 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27469
27470 2012-03-27 David S. Miller <davem@davemloft.net>
27471
27472 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27473
27474 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27475 have-as-vis3 check.
27476
27477 2012-03-27 Andreas Jaeger <aj@suse.de>
27478
27479 * sysdeps/x86_64/elf/configure.in: Moved to ...
27480 * sysdeps/x86_64/configure.in: ... here.
27481 * sysdeps/x86_64/elf/start.S: Moved to ...
27482 * sysdeps/x86_64/start.S: ... here.
27483 * sysdeps/x86_64/elf/configure: Delete.
27484
27485 * sysdeps/x86_64/configure.in: Merge contents from
27486 sysdeps/i386/configure.in (without i686 check).
27487
27488 * sysdeps/i386/elf/Versions: Merge into ...
27489 * sysdeps/i386/Versions: ... this.
27490 * sysdeps/i386/elf/Versions: Delete file.
27491 * sysdeps/i386/elf/start.S: Moved to ...
27492 * sysdeps/i386/start.S: ...here.
27493 * sysdeps/i386/elf/configure.in: Merge into...
27494 * sysdeps/i386/configure.in: ...here.
27495 * sysdeps/i386/elf/configure.in: Delete file.
27496 * sysdeps/i386/elf/configure: Delete file.
27497
27498 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27499 * debug/backtracesyms.c: ... here.
27500 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27501 * debug/backtracesymsfd.c: ... here.
27502 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27503 * sysdeps/generic/ifunc-sel.h: ... here.
27504
27505 * sysdeps/unix/i386/start.c: Delete file.
27506 * sysdeps/unix/sparc/start.c: Delete file.
27507 * sysdeps/unix/start.c: Delete file.
27508
27509 * sysdeps/sh/elf/configure.in: Moved to ...
27510 * sysdeps/sh/configure.in: ... here.
27511 * sysdeps/sh/elf/start.S: Moved to ...
27512 * sysdeps/sh/start.S: ... here.
27513 * sysdeps/sh/elf/configure: Delete file.
27514
27515 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27516 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27517 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27518 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27519 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27520 * sysdeps/powerpc/powerpc64/start.S: here.
27521 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27522 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27523 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27524 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27525 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27526
27527 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27528 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27529 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27530 * sysdeps/powerpc/powerpc32/start.S: ... here.
27531 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27532 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27533 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27534
27535 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27536 * sysdeps/powerpc/ifunc-sel.h: ... here.
27537 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27538 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27539
27540 * sysdeps/sparc/elf/configure.in: Moved to ...
27541 * sysdeps/sparc/configure.in: ... here.
27542 * sysdeps/sparc/elf/configure: Delete file.
27543 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27544 * sysdeps/sparc/sparc32/start.S: ... here.
27545 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27546 * sysdeps/sparc/sparc64/start.S: ... here.
27547 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27548 * sysdeps/sparc/sparc32/Makefile: ... this.
27549 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27550 * sysdeps/sparc/sparc64/Makefile: ... this.
27551
27552 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27553 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27554 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27555 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27556 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27557 * sysdeps/s390/s390-32/setjmp.S: ... here.
27558 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27559 * sysdeps/s390/s390-32/configure.in: ... here.
27560 * sysdeps/s390/s390-32/elf/configure: Delete file.
27561 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27562 * sysdeps/s390/s390-32/start.S: ... here.
27563
27564 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27565 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27566 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27567 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27568 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27569 * sysdeps/s390/s390-64/setjmp.S: ... here.
27570 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27571 * sysdeps/s390/s390-64/configure.in: ... here
27572 * sysdeps/s390/s390-64/elf/configure: Delete file.
27573 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27574 * sysdeps/s390/s390-64/start.S: ... here.
27575 * sysdeps/s390/s390-64/elf/configure: Delete.
27576
27577 * configure.in: Remove support for elf directories in sysdeps.
27578
27579 * configure: Regenerated.
27580 * sysdeps/i386/configure: Regenerated.
27581 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27582 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27583 * sysdeps/s390/s390-32/configure: Regenerated.
27584 * sysdeps/s390/s390-64/configure: Regenerated.
27585 * sysdeps/sh/configure: Regenerated.
27586 * sysdeps/sparc/configure: Regenerated.
27587 * sysdeps/x86_64/configure: Regenerated.
27588
27589 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27590
27591 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27592
27593 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27594 denormal result into account.
27595
27596 2012-03-25 Roland McGrath <roland@hack.frob.com>
27597
27598 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27599 Reported by Allan McRae <allan@archlinux.org>.
27600
27601 2012-03-23 Jeff Law <law@redhat.com>
27602
27603 * nss/getnssent.c (__nss_getent): Fix typo.
27604
27605 2012-03-23 David S. Miller <davem@davemloft.net>
27606
27607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27608
27609 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27610
27611 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27612 to pad to uint64_t for each field.
27613 (dl_tls_index): Replace unsigned long with uint64_t.
27614
27615 2012-03-23 Daniel Jacobowitz <dmj@google.com>
27616 Paul Pluzhnikov <ppluzhnikov@google.com>
27617
27618 [BZ #6528]
27619 * grp/Makefile (otherlibs): Don't set it.
27620 * inet/Makefile (otherlibs): Likewise.
27621 * login/Makefile (otherlibs): Likewise.
27622 * nscd/Makefile (otherlibs): Likewise.
27623 * posix/Makefile (otherlibs): Likewise.
27624 * pwd/Makefile (otherlibs): Likewise.
27625 * rt/Makefile (otherlibs): Likewise.
27626 * sunrpc/Makefile (otherlibs): Likewise.
27627 * nss/Makefile (otherlibs): Likewise.
27628 Add libnss_files to routines and static-only-routines.
27629 ($(objpfx)getent): Remove rule.
27630 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27631 static-only-routines.
27632
27633 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27634
27635 [BZ #13892]
27636 * math/s_cexp.c: Include <float.h>.
27637 (__cexp): Handle exp result overflowing not necessarily
27638 overflowing both real and imaginary parts of result.
27639 * math/s_cexpf.c: Likewise.
27640 * math/s_cexpl.c: Likewise.
27641 * math/libm-test.inc (cexp_test): Add more tests.
27642 * sysdeps/i386/fpu/libm-test-ulps: Update.
27643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27644
27645 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27646
27647 * include/link.h (ELFW): New macro.
27648 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27649 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27650
27651 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27652
27653 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27654 with uint64_t.
27655
27656 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27657
27658 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27659 declaration.
27660 (struct La_x32_retval): Likewise.
27661
27662 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27663
27664 * sysdeps/x86_64/preconfigure.in: New file.
27665 * sysdeps/x86_64/preconfigure: New generated file.
27666
27667 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27668
27669 [BZ #13824]
27670 * math/e_exp2l.c: Include <float.h>.
27671 (__ieee754_exp2l): Handle overflow and underflow cases
27672 separately. Only pass fractional part of argument to
27673 __ieee754_expl.
27674 * math/libm-test.inc (exp2_test): Add more tests.
27675
27676 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27677 negating x to take absolute value.
27678 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27679 Likewise.
27680 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27681 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27682 Likewise.
27683 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27684 computing low part if x was negated.
27685 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27686
27687 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27688
27689 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27690 la_x32_gnu_pltexit.
27691 (pltexit): Cast int_retval to ptrdiff_t.
27692 * elf/tst-auditmod3b.c: Likewise.
27693 * elf/tst-auditmod4b.c: Likewise.
27694 * elf/tst-auditmod5b.c: Likewise.
27695 * elf/tst-auditmod6b.c: Likewise.
27696 * elf/tst-auditmod6c.c: Likewise.
27697 * elf/tst-auditmod7b.c: Likewise.
27698
27699 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27700 and x32_gnu_pltexit.
27701
27702 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27703 __ELF_NATIVE_CLASS.
27704 (La_x32_regs): New macro.
27705 (La_x32_retval): Likewise.
27706 (la_x32_gnu_pltenter): New function prototype.
27707 (la_x32_gnu_pltexit): Likewise.
27708
27709 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27710
27711 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27712 exponent.
27713
27714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27715
27716 * configure.in (libc_cv_cc_nofma): Check for option to disable
27717 generation of FMA instructions.
27718 * configure: Regenerate.
27719 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27720 * sysdeps/ieee754/dbl-64/Makefile: New file.
27721 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27722 Remove brandred-fma4.
27723 (CFLAGS-brandred-fma4.c): Remove.
27724 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27725 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27726 define.
27727 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27728 define.
27729
27730 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27731
27732 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27733 LLONG_MAX != LONG_MAX.
27734 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27735 (_fitoa_word): Likewise.
27736 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27737 LLONG_MAX != LONG_MAX.
27738 * stdio-common/_itowa.h: Include <_itoa.h>.
27739 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27740 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27741 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27742 only if not defined.
27743 (_ITOA_WORD_TYPE): Likewise.
27744 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27745 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27746
27747 2012-03-21 David S. Miller <davem@davemloft.net>
27748
27749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27750
27751 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27752
27753 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27754 of x86_64 when setting libc_cv_slibdir, libdir and
27755 libc_cv_localedir.
27756 * sysdeps/unix/sysv/linux/configure: Regenerated.
27757
27758 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27759
27760 * manual/lang.texi (Old Varargs): Remove section.
27761 (How Variadic): Update menu.
27762 (va_start): Do not mention varargs.h.
27763
27764 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27765 Joseph Myers <joseph@codesourcery.com>
27766
27767 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27768 link test.
27769 * configure: Regenerated.
27770
27771 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27772
27773 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27774 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27775 conformtest.pl
27776
27777 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27778
27779 * NOTES: Remove.
27780 * Makefile (files-for-dist): Remove NOTES.
27781 (NOTES): Remove rule.
27782 * README: Don't refer to NOTES.
27783 * manual/creature.texi: Don't include macros.texi.
27784 * manual/intro.texi (creature.texi): Remove comment referring to
27785 NOTES.
27786
27787 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27788 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27789 * configure: Regenerated.
27790 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27791 LIBC_TRY_CC_OPTION.
27792 (libc_cv_as_i686): Likewise.
27793 (libc_cv_cc_avx): Likewise.
27794 (libc_cv_cc_sse2avx): Likewise.
27795 (libc_cv_cc_fma4): Likewise.
27796 (libc_cv_cc_novzeroupper): Likewise.
27797 * sysdeps/i386/configure: Regenerated.
27798
27799 [BZ #13883]
27800 * sysdeps/i386/fpu/s_cexp.S: Remove.
27801 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27802 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27803 * math/libm-test.inc (cexp_test): Add more tests.
27804 * sysdeps/i386/fpu/libm-test-ulps: Update.
27805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27806
27807 2012-03-21 Allan McRae <allan@archlinux.org>
27808
27809 * timezone/Makefile: Do not install iso3166.tab and zone.tab
27810
27811 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27812
27813 [BZ #13871]
27814 * math/w_exp2.c: Do not include <float.h>.
27815 (o_threshold, u_threshold): Remove.
27816 (__exp2): Calculate result before checking finiteness and calling
27817 __kernel_standard.
27818 * math/w_exp2f.c: Likewise.
27819 * math/w_exp2l.c: Likewise.
27820 * math/libm-test.inc (exp2_test): Require overflow exception for
27821 1e6 input.
27822
27823 [BZ #3866]
27824 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
27825 range of signed 64-bit integers before using fistpll. Remove
27826 checks for whether integers fit in mantissa bits.
27827 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
27828 the range of signed 32-bit integers before using fistpl. Remove
27829 checks for whether integers fit in mantissa bits.
27830 * sysdeps/i386/fpu/e_powl.S (p64): New object.
27831 (__ieee754_powl): Test for y outside the range of signed 64-bit
27832 integers before using fistpll. Reduce 64-bit values to 63-bit
27833 ones as needed.
27834 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
27835 divide-by-zero is raised for zero to large negative powers.
27836 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
27837 (__ieee754_powl): Test for y outside the range of signed 64-bit
27838 integers before using fistpll. Reduce 64-bit values to 63-bit
27839 ones as needed.
27840 * math/libm-test.inc (pow_test): Add more tests.
27841
27842 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27843
27844 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
27845 <stdio-common/_itoa.h>.
27846 * debug/segfault.c: Likewise.
27847 * elf/dl-cache.c: Likewise.
27848 * elf/dl-minimal.c: Likewise.
27849 * elf/dl-misc.c: Likewise.
27850 * elf/dl-sysdep.c: Likewise.
27851 * elf/dl-version.c: Likewise.
27852 * elf/rtld.c: Likewise.
27853 * hurd/hurdsock.c: Likewise.
27854 * hurd/lookup-retry.c: Likewise.
27855 * malloc/malloc.c: Likewise.
27856 * malloc/mtrace.c: Likewise.
27857 * nscd/nscd_getgr_r.c: Likewise.
27858 * nscd/nscd_getpw_r.c: Likewise.
27859 * nscd/nscd_getserv_r.c: Likewise.
27860 * posix/getopt_init.c: Likewise.
27861 * posix/wordexp.c: Likewise.
27862 * stdio-common/_itoa.c: Likewise.
27863 * stdio-common/printf_fphex.c: Likewise.
27864 * stdio-common/vfprintf.c: Likewise.
27865 * string/_strerror.c: Likewise.
27866 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
27867 * sysdeps/i386/i686/hp-timing.h: Likewise.
27868 * sysdeps/mach/_strerror.c: Likewise.
27869 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
27870 * sysdeps/mach/hurd/sethostid.c: Likewise.
27871 * sysdeps/mach/hurd/xmknodat.c: Likewise.
27872 * sysdeps/mach/xpg-strerror.c: Likewise.
27873 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27874 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27875 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
27876 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
27877 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27878 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
27879 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27880 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27881 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
27882 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
27883 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
27884 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27885 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
27886 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27887 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27888 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
27889 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
27890 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
27891 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
27892 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
27893 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
27894
27895 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
27896
27897 * stdio-common/_itoa.h: Moved to ...
27898 * sysdeps/generic/_itoa.h: Here.
27899
27900 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
27901
27902 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
27903 instead of "_itoa.h" and "_itowa.h".
27904 * stdio-common/vfprintf.: Likewise.
27905
27906 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27907
27908 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
27909 <bits/wordsize.h>.
27910 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
27911 (__signbit): Likwise.
27912 (llrintf): Likwise.
27913 (llrint): Likwise.
27914
27915 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
27916
27917 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
27918 __WORDSIZE != 64.
27919
27920 2012-03-20 Joseph Myers <joseph@codesourcery.com>
27921
27922 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
27923 OVERFLOW_EXCEPTION_OK.
27924 * math/libm-test.inc ("Philosophy"): Update comment about
27925 exception testing.
27926 (OVERFLOW_EXCEPTION): Define.
27927 (OVERFLOW_EXCEPTION_OK): Likewise.
27928 (INVALID_EXCEPTION_OK): Renumber.
27929 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27930 (IGNORE_ZERO_INF_SIGN): Likewise.
27931 (test_exceptions): Handle FE_OVERFLOW.
27932 (exp10_test): Expect overflow exceptions.
27933 (exp2_test): Likewise.
27934 (expm1_test): Likewise.
27935 (nextafter_test): Likewise.
27936 (pow_test): Likewise.
27937 (scalbn_test): Likewise.
27938 (scalbln_test): Likewise.
27939
27940 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27941
27942 * sysdeps/x86_64/bits/atomic.h
27943 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
27944 64bit integer.
27945 (atomic_exchange_acq): Likewise.
27946 (__arch_exchange_and_add_body): Likewise.
27947 (__arch_add_body): Likewise.
27948 (atomic_add_negative): Likewise.
27949 (atomic_add_zero): Likewise.
27950
27951 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27952
27953 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
27954 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
27955
27956 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27957
27958 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
27959 Check __x86_64__ instead of __WORDSIZE.
27960
27961 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27962
27963 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
27964
27965 2012-03-19 David S. Miller <davem@davemloft.net>
27966
27967 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27968
27969 * sysdeps/sparc/fpu/fenv_private.h: New file.
27970 * sysdeps/sparc/fpu/math_private.h: Use it.
27971 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
27972 Remove.
27973 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
27974 (libc_feholdexcept_setroundl): Remove.
27975 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
27976 Remove.
27977 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
27978 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
27979
27980 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27981
27982 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
27983 int64_t instead of long int.
27984 (INSERT_WORDS64): Likwise.
27985
27986 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
27987
27988 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
27989 _Unwind_GetCFA return to _Unwind_Ptr first.
27990
27991 2012-03-19 Joseph Myers <joseph@codesourcery.com>
27992
27993 [BZ #13629]
27994 * math/s_clog.c: Include <float.h>.
27995 (__clog): Scale large or subnormal inputs.
27996 * math/s_clogf.c: Likewise.
27997 * math/s_clogl.c: Likewise.
27998 * math/s_clog10.c: Include <float.h>.
27999 (M_LOG10_2): Define.
28000 (__clog10): Scale large or subnormal inputs.
28001 * math/s_clog10f.c: Likewise.
28002 * math/s_clog10l.c: Likewise.
28003 * math/libm-test.inc (clog_test): Add more tests.
28004 (clog10_test): Likewise.
28005 * sysdeps/i386/fpu/libm-test-ulps: Update.
28006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28007
28008 [BZ #11451]
28009 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28010 x and y.
28011 * math/libm-test.inc (atan2_test): Add another test.
28012
28013 * Makerules (common-objdir-compile): Remove.
28014 * sysdeps/unix/Makefile (config-generated): Do not add
28015 $(unix-generated) to variable.
28016 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28017 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28018 Remove rule.
28019 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28020 Likewise.
28021 [generic bits/local_lim.h] (before-compile): Do not append to
28022 variable.
28023 [generic bits/local_lim.h] (common-generated): Likewise.
28024 [generic sys/param.h] (before-compile): Do not append to variable.
28025 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28026 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28027 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28028 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28029 include.
28030 [generic sys/param.h] (sys/param.h-includes): Remove variable.
28031 [generic sys/param.h] (sys/param.h-includes): Remove rule.
28032 [generic sys/param.h] ($(addprefix
28033 $(common-objpfx),$(sys/param.h-includes))): Likewise.
28034 [generic sys/param.h] (common-generated): Do not append to
28035 variable.
28036 [generic sys/param.h] (sysdep_headers): Likewise.
28037 [generic bits/errno.h] (before-compile): Do not append to
28038 variable.
28039 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28040 rule.
28041 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28042 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28043 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28044 [generic bits/errno.h] (common-generated): Do not append to
28045 variable.
28046 [generic bits/ioctls.h] (before-compile): Do not append to
28047 variable.
28048 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28049 rule.
28050 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28051 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28052 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28053 rule.
28054 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28055 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28056 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28057 [generic bits/ioctls.h] (common-generated): Do not append to
28058 variable.
28059 [generic sys/syscall.h] (syscall.h): Remove variable.
28060 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28061 rule.
28062 [generic sys/syscall.h] (before-compile): Do not append to
28063 variable.
28064 [generic sys/syscall.h] (common-generated): Likewise.
28065 * sysdeps/unix/errnos-tmpl.c: Remove file.
28066 * sysdeps/unix/errnos.awk: Likewise.
28067 * sysdeps/unix/ioctls-tmpl.c: Likewise.
28068 * sysdeps/unix/ioctls.awk: Likewise.
28069 * sysdeps/unix/mk-local_lim.c: Likewise.
28070 * sysdeps/unix/snarf-ioctls: Likewise.
28071
28072 2012-03-19 Richard Henderson <rth@twiddle.net>
28073
28074 * sysdeps/i386/fpu/fenv_private.h: New file.
28075 * sysdeps/i386/fpu/math_private.h: Use it.
28076 (math_opt_barrier, math_force_eval): Remove.
28077 (libc_feholdexcept_setround_53bit): Remove.
28078 (libc_feupdateenv_53bit): Remove.
28079 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28080 (math_opt_barrier, math_force_eval): Remove.
28081 (libc_feholdexcept): Remove.
28082 (libc_feholdexcept_setround): Remove.
28083 (libc_fetestexcept, libc_fesetenv): Remove.
28084 (libc_feupdateenv_test): Remove.
28085 (libc_feupdateenv, libc_feholdsetround): Remove.
28086 (libc_feresetround): Remove.
28087
28088 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28089 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28090
28091 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28092 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28093 (libc_feupdateenv_testl): New.
28094 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28095 (libc_feupdateenv_testf): New.
28096 (libc_feupdateenv): Use libc_feupdateenv_test.
28097 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28098 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28099
28100 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28101 (libc_feholdsetroundf, libc_feholdsetroundl): New.
28102 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28103 (libc_feresetround_noex): New.
28104 (libc_feresetround_noexf): New.
28105 (libc_feresetround_noexl): New.
28106 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28107 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28108 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28109 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28110 SET_RESTORE_ROUND.
28111 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28112 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28113 (__cos): Likewise.
28114 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28115 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28116 SET_RESTORE_ROUND_NOEX.
28117 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28118 SET_RESTORE_ROUND_NOEXF.
28119 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28120 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28121 (libc_feholdsetroundf): New.
28122 (libc_feresetround, libc_feresetroundf): New.
28123
28124 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28125 (libc_feholdexcept_setround_53bit): Convert from macro to function.
28126 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
28127
28128 * sysdeps/generic/math_private.h: Include <fenv.h>.
28129 (default_libc_feholdexcept): New.
28130 (default_libc_feholdexcept_setround): New.
28131 (default_libc_fesetenv, default_libc_feupdateenv): New.
28132 (libc_feholdexcept): Only define if undefined.
28133 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28134 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28135 (libc_feholdexcept_setroundl): Likewise.
28136 (libc_feholdexcept_setround_53bit): Likewise.
28137 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28138 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28139 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28140 (libc_feupdateenv_53bit): Likewise.
28141 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28142 (libc_feholdexcept): Convert from macro to inline function.
28143 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28144 (libc_fesetenv, libc_feupdateenv): Likewise.
28145
28146 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28147 not previously defined.
28148 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28149 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28150 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28151 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28152 * sysdeps/ieee754/flt-32/math_private.h: New file.
28153 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28154 math_private.h below SET_FLOAT_WORD.
28155 (__isnan, __isinf_ns, __finite): Remove.
28156 (__isnanf, __isinf_nsf, __finitef): Remove.
28157
28158 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
28159
28160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28161
28162 2012-03-17 David S. Miller <davem@davemloft.net>
28163
28164 [BZ #6471]
28165 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28166 for 2.16.
28167
28168 2012-03-16 David S. Miller <davem@davemloft.net>
28169
28170 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28171 warnings.
28172
28173 [BZ #6471]
28174 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28175 properly.
28176 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28177 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28178 sysdep_routines when subdir is sysvipc.
28179 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28180 __getshmlba helper.
28181
28182 * sysdeps/sparc/fpu/libm-test/ulps: Update.
28183
28184 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28185
28186 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28187 [__LP64__].
28188
28189 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28190
28191 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28192 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28193 (__lround): Renamed to ...
28194 (__llround): This. Replace long int with long long int.
28195 Define lround functions as aliases of llround functions.
28196 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28197
28198 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28199
28200 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28201 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
28202 adresses to uintptr_t. Replace "long int" and "unsigned long
28203 int" with "greg_t" on va_arg.
28204
28205 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28206
28207 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28208 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28209
28210 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28211 Move e_machine check before EI_CLASS check. Handle x32
28212 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28213 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28214 SKIP_EM_IA_64 and include
28215 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28216
28217 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28218 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28219 (add_system_dir): New macro.
28220
28221 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28222 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28223
28224 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28225
28226 [BZ #2551]
28227 [BZ #2552]
28228 [BZ #2553]
28229 [BZ #2554]
28230 [BZ #2562]
28231 [BZ #2563]
28232 [BZ #2565]
28233 [BZ #2566]
28234 [BZ #2576]
28235 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28236 (y0): Likewise.
28237 * math/w_j0f.c (j0f): Likewise.
28238 (y0f): Likewise.
28239 * math/w_j0l.c (__j0l): Likewise.
28240 (__y0l): Likewise.
28241 * math/w_j1.c (j1): Likewise.
28242 (y1): Likewise.
28243 * math/w_j1f.c (j1f): Likewise.
28244 (y1f): Likewise.
28245 * math/w_j1l.c (__j1l): Likewise.
28246 (__y1l): Likewise.
28247 * math/w_jn.c (jn): Likewise.
28248 (yn): Likewise.
28249 * math/w_jnf.c (jnf): Likewise.
28250 (ynf): Likewise.
28251 * math/w_jnl.c (__jnl): Likewise.
28252 (__ynl): Likewise.
28253 * math/libm-test.inc (j0_test): Add more tests.
28254 (j1_test): Likewise.
28255 (jn_test): Likewise. Add trailing semicolon to existing test.
28256 (y0_test): Likewise.
28257 (y1_test): Likewise.
28258 * sysdeps/i386/fpu/libm-test-ulps: Update.
28259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28260
28261 [BZ #13851]
28262 [BZ #13854]
28263 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28264 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28265 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28266 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28267 (__tanl): Set errno for infinite argument.
28268 * sysdeps/i386/fpu/mptan.c: Remove.
28269 * sysdeps/i386/fpu/s_tan.S: Likewise.
28270 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28271 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28272 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28273 * math/libm-test.inc (tan_test): Add more tests and enable more
28274 tests for double and long double.
28275 * sysdeps/i386/fpu/libm-test-ulps: Update.
28276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28277
28278 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28279
28280 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28281 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28282
28283 2012-03-16 Roland McGrath <roland@hack.frob.com>
28284
28285 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28286 * configure.in: Use it for both main tree and add-ons.
28287 * configure: Regenerated.
28288
28289 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28290
28291 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28292
28293 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28294
28295 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28296 in comment.
28297
28298 [BZ #13851]
28299 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28300 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28301 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28302 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28303 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28304 infinite argument.
28305 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28306 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28307 != 0 for prec == 2.
28308 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28309 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28310 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28311 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28312 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28313 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28314 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28315 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28316 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28317 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28318 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28319 * math/libm-test.inc (cos_test): Add more tests and enable more
28320 tests for long double.
28321 (sin_test): Likewise.
28322 (sincos_test): Likewise.
28323 * sysdeps/i386/fpu/libm-test-ulps: Update.
28324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28325
28326 2012-03-16 David S. Miller <davem@davemloft.net>
28327
28328 * sysdeps/sparc/fpu/math_private.h: New file.
28329
28330 2012-03-15 David S. Miller <davem@davemloft.net>
28331
28332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28333 file.
28334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28336 file.
28337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28338 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28339 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28340 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28341 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28342 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28343 sysdep routines.
28344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28345
28346 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28347 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28348
28349 * sysdeps/sparc/sparc-ifunc.h: New file.
28350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28351 sparc-ifunc.h
28352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28354 Likewise.
28355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28356 Likewise.
28357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28361 Likewise.
28362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28367 Likewise.
28368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28369 Likewise.
28370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28374 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28375 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28376 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28377 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28378 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28379 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28380 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28381 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28382 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28383 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28384 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28385 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28386 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28387 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28388 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28389 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28390 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28391 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28392 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28393 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28394
28395 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28396
28397 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28398 scaling.
28399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28400
28401 2012-03-15 Andreas Jaeger <aj@suse.de>
28402
28403 [BZ #13852]
28404 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28405 ieee754/flt-32 implementation for sin, cos and sincos.
28406 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28407 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28408 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28409 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28410 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28411 ieee754/flt-32 implementation for tan.
28412
28413 * math/libm-test.inc (cos_test): Enable some large input tests for
28414 float as well
28415 (sin_test): Likewise.
28416 (sincos_test): Likewise.
28417 (tan_test): Add tests for large input.
28418
28419 * sysdeps/i386/fpu/libm-test-ulps: Update.
28420
28421 2012-03-15 Andreas Jaeger <aj@suse.de>
28422
28423 [BZ #13658]
28424 * math/libm-test.inc (cos_test): Add more test cases.
28425 (sin_test): Likewise.
28426 (sincos_test): Likewise.
28427
28428 2012-03-15 Andreas Jaeger <aj@suse.de>
28429
28430 [BZ #13837]
28431 * math/libm-test.inc (cos_test): Add a test case for large input
28432 value.
28433 (sin_test): Likewise.
28434 (sincos_test): Likewise.
28435
28436 2012-03-15 Andreas Jaeger <aj@suse.de>,
28437 Joseph Myers <joseph@codesourcery.com>
28438
28439 [BZ #13658]
28440 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28441 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28442 * sysdeps/i386/fpu/branred.c: Likewise.
28443 * sysdeps/i386/fpu/dosincos.c: Likewise.
28444 * sysdeps/i386/fpu/mpa.c: Likewise.
28445 * sysdeps/i386/fpu/s_cos.S: Likewise.
28446 * sysdeps/i386/fpu/s_sin.S: Likewise.
28447 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28448 * sysdeps/i386/fpu/sincos32.c: Likewise.
28449
28450 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28451 Define.
28452 (libc_feupdateenv_53bit): Define.
28453 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28454 Define.
28455 (libc_feupdateenv_53bit): Define.
28456
28457 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28458 53 bit (without extend i386 double precision).
28459
28460 * math/libm-test.inc (sincos_test): Add tests for large input.
28461 (sin): Likewise.
28462 (cos): Likewise.
28463
28464 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28465
28466 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28467
28468 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28469
28470 2012-03-15 David S. Miller <davem@davemloft.net>
28471
28472 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28473 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28474 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28475 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28480 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28481 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28482 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28483 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28484 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28485 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28486 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28488 file.
28489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28491 file.
28492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28494 file.
28495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28497 file.
28498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28499 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28500 fmin/fmax sysdep routines.
28501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28502
28503 2012-03-14 David S. Miller <davem@davemloft.net>
28504
28505 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28506 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28507 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28508 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28509 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28510 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28511 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28512 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28513 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28514 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28515 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28516 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28517 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28518 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28519 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28520 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28521 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28522 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28523 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28524 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28525 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28526 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28527 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28528 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28529 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28530 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28531 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28532 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28533 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28534 routines.
28535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28536 file.
28537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28539 file.
28540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28542 file.
28543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28545 file.
28546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28548 file.
28549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28551 file.
28552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28553 file.
28554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28555 file.
28556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28557 file.
28558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28559 New file.
28560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28561 file.
28562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28563 file.
28564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28566 file.
28567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28569 file.
28570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28572 file.
28573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28575 VIS3 routines.
28576
28577 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28578 New file.
28579
28580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28581
28582 * sysdeps/sparc/configure.in: New file.
28583 * sysdeps/sparc/configure: Generate.
28584 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28585 * configure: Regenerate.
28586 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28587 * config.make.in (have-as-vis3): New.
28588 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28589 available use -Av9d instead of -Av9a.
28590 * sysdeps/sparc/sparc64/Makefile: Likewise.
28591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28593 New file.
28594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28595 file.
28596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28597 New file.
28598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28599 file.
28600 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28601 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28602 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28603 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28604 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28605
28606 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28607 fzeros/fnegs to load 0x80000000 into a float register instead of
28608 using the stack.
28609 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28610
28611 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28612
28613 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28614 bits/syscall.h.
28615 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28616 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28617 ($(inst_includedir)/bits/syscall.h): Remove rule.
28618 ($(objpfx)bits/syscall.d): Include instead of
28619 $(objpfx)syscall-list.d.
28620 (generated): Change syscall-list.h and syscall-list.d to
28621 bits/syscall.h and bits/syscall.d.
28622
28623 2012-03-14 Roland McGrath <roland@hack.frob.com>
28624
28625 [BZ #13846]
28626 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28627
28628 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28629
28630 [BZ #13841]
28631 * math/s_csqrt.c: Include <float.h>.
28632 (__csqrt): Scale large or subnormal inputs.
28633 * math/s_csqrtf.c: Likewise.
28634 * math/s_csqrtl.c: Likewise.
28635 * math/libm-test.inc (csqrt_test): Add more tests.
28636 * sysdeps/i386/fpu/libm-test-ulps: Update.
28637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28638
28639 [BZ #13840]
28640 * math/libm-test.inc (hypot_test): Add more tests.
28641
28642 2012-03-13 David S. Miller <davem@davemloft.net>
28643
28644 [BZ #13840]
28645 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28646 double-precision for the calculation instead of scaling.
28647
28648 2012-03-13 Joseph Myers <joseph@codesourcery.com>
28649
28650 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28651 manipulate bits before adding and subtracting TWO52[sx].
28652 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28653 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28654 Likewise.
28655 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28656
28657 2012-03-13 David S. Miller <davem@davemloft.net>
28658
28659 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28660 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28661 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28662 rtld-global-offsets.h
28663 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28664
28665 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28666 large parameters.
28667
28668 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28669
28670 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28671 'err' in the ifdef scope in which it is actually used.
28672
28673 * nss/nss_db/db-init.c: Include string.h
28674
28675 2012-03-12 David S. Miller <davem@davemloft.net>
28676
28677 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28678 masking out of the most significant byte of random value used.
28679 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28680 Fix coding style in previous change.
28681
28682 * sysdeps/unix/sysv/linux/kernel-features.h
28683 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28684 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28685 expression.
28686 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28687 later.
28688
28689 2012-03-11 David S. Miller <davem@davemloft.net>
28690
28691 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28692 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28693 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28694 for 'resultvar' otherwise things get truncated on 64-bit.
28695
28696 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28697 Fix masking out of the most significant byte of random value used.
28698
28699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28700
28701 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28702
28703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28704
28705 2012-03-09 David S. Miller <davem@davemloft.net>
28706
28707 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28708 variables with appropriate CPP guards.
28709 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28710 frame pointer, not the stack pointer. Correct layout comments. Fix test
28711 on resulting framesize and the management of the outregs buffer for pltexit.
28712 Preserve floating point return values across _dl_call_pltexit call.
28713 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28714 framesize and the management of the outregs buffer for pltexit.
28715 Preserve floating point return values across _dl_call_pltexit
28716 call.
28717 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28718 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28719 (print_exit): Fix format string for return register value.
28720
28721 2012-03-10 Joseph Myers <joseph@codesourcery.com>
28722
28723 * sunrpc/Makefile (others): Add rpcgen.
28724 ($(objpfx)rpcgen): Remove special build rule and dependency on
28725 libc.
28726 * sunrpc/rpcgen.c: New file.
28727
28728 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28729
28730 [BZ #13673]
28731 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28732 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28733 * sysdeps/i386/crti.S: Likewise.
28734 * sysdeps/i386/crtn.S: Likewise.
28735 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28736 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28737 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28738 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28739 * sysdeps/sh/crti.S: Likewise.
28740 * sysdeps/sh/crtn.S: Likewise.
28741 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28742
28743 [BZ #13673]
28744 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28745 with URL.
28746 * locale/programs/locfile-kw.gperf: Likewise.
28747 * locale/programs/charmap-kw.h: Regenerated.
28748 * locale/programs/locfile-kw.h: Likewise.
28749
28750 [BZ #13673]
28751 * intl/plural.y: Replace FSF snail mail address with URL.
28752 * intl/plural.c: Regenerated.
28753
28754 2012-03-09 Richard Henderson <rth@twiddle.net>
28755
28756 * include/math_private.h: Remove file.
28757 * math/math_private.h: Move file ...
28758 * sysdeps/generic/math_private.h: ... here.
28759
28760 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28761 * sysdeps/powerpc/fpu/math_private.h: Likewise.
28762 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28763
28764 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
28765 and <math_private.h>.
28766 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28767 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28768 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28769 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28770 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28771 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28772 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28773 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28774 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28775 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28776 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28777 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28778 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28779 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28780 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28781 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28782 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28783 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28784 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28785 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28786 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28787 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28788 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28789 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28790 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28791 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28792 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28793 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28794 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28795 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28796 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28797 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28798 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
28799 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28800 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28801 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28802 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28803 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28804 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28805 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28806 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
28807 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28808 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28809 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
28810 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
28811 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28812 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
28813 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
28814 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28815 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28816 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
28817 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
28818 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
28819 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28820 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
28821 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28822 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28823 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
28824 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
28825 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
28826 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28827 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
28828 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28829 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28830 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
28831 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28832 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28833 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28834 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
28835 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
28836 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28837 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28838 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28839 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28840 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
28841 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
28842 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
28843 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28844 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
28845 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
28846 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28847 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
28848 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28849 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28850 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28851 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
28852 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
28853 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
28854 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28855 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28856 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28857 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28858 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28859 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28860 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28861 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28862 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28863 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28864 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28865 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28866 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28867 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28868 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28869 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28870 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28871 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28872 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28873 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28874 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28875 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28876 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28877 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28878 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28879 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28880 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
28881 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28882 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28883 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28884 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28885 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28886 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28887 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28888 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28889 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
28890 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28891 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28892 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28893 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
28894 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28895 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
28896 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
28897 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28898 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28899 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
28900 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
28901 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28902 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28903 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28904 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
28905 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28906 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28907 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28908 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28909 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
28910 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
28911 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28912 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28913 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28914 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
28915 * sysdeps/ieee754/k_standard.c: Likewise.
28916 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28917 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28918 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28919 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28920 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28921 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28922 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28923 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28924 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28925 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28926 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28927 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28928 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28929 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28930 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28931 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28932 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
28933 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28934 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28935 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
28936 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
28937 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
28938 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28939 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28940 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
28941 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
28942 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28943 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28944 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28945 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28946 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
28947 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28948 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28949 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28950 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
28951 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28952 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28953 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
28954 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
28955 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28956 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
28957 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
28958 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
28959 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28960 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
28961 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
28962 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28963 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28964 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28965 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28966 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28967 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
28968 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28969 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
28970 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28971 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28972 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
28973 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
28974 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28975 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28976 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28977 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
28978 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28979 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28980 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28981 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28982 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28983 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28984 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28985 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28986 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28987 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28988 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28989 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28990 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28991 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28992 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
28993 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28994 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28995 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
28996 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
28997 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
28998 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28999 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29000 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29001 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29002 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29003 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29004 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29005 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29006 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29007 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29008 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29009 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29010 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29011 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29012 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29013 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29014 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29015 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29016 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29017 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29018 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29019 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29020 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29021 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29022 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29023 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29024 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29025 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29026 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29027 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29028 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29029 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29030 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29031 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29032 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29033 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29034 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29035 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29036 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29037 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29038 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29039 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29040 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29041 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29042 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29043 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29044 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29045 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29046 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29047 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29048 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29049 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29050 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29051 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29052 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29053 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29054 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29055 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29056 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29057 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29058 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29059 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29060 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29061 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29062 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29063 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29064 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29065 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29066 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29067 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29068 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29069 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29070 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29071 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29072 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29073 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29074 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29075 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29076 * sysdeps/ieee754/s_lib_version.c: Likewise.
29077 * sysdeps/ieee754/s_matherr.c: Likewise.
29078 * sysdeps/ieee754/s_signgam.c: Likewise.
29079 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29080 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29081 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29082 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29083 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29084 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29085 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29086 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29087 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29088 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29089 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29090 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29091 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29092 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29093 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29094 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29095 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29096 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29097 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29098 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29099 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29100
29101 2012-03-09 Joseph Myers <joseph@codesourcery.com>
29102
29103 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29104 * sunrpc/rpc_main.c: Likewise.
29105 * sunrpc/rpc_svcout.c: Likewise.
29106
29107 2012-03-09 David S. Miller <davem@davemloft.net>
29108
29109 * include/math_private.h: New file.
29110
29111 2012-03-09 Joseph Myers <joseph@codesourcery.com>
29112
29113 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29114 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29115 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29116 from <bits/socket_type.h>.
29117 (enum __socket_type): Don't define here.
29118 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29119 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29120 bits/socket_type.h.
29121
29122 [BZ #13566]
29123 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29124 checking __USE_GNU.
29125
29126 * Makerules ($(inst_includedir)/%.h): New rule.
29127 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29128 (install-others): Remove variable setting.
29129 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29130
29131 2012-03-08 Richard Henderson <rth@twiddle.net>
29132
29133 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29134 from macro to inline function; merge with the
29135 !__LIBC_INTERNAL_MATH_INLINES version.
29136 (__ieee754_sqrtf): Likewise.
29137
29138 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29139 to inline function.
29140 (__rintf, __floor, __floorf): Likewise.
29141
29142 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29143 macro to inline function.
29144 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29145
29146 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29147 not <math/math_private.h>.
29148
29149 2012-03-08 David S. Miller <davem@davemloft.net>
29150
29151 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29152 copyright year.
29153 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29154
29155 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
29156
29157 * resolv/gai_misc.c (handle_requests): Fix struct timespec
29158 normalization.
29159 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29160 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29161
29162 2012-03-08 Ulrich Drepper <drepper@gmail.com>
29163
29164 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
29165 be defined individually, they must be defined as a block. Define
29166 S for printing a string instead of hidint the different by using a
29167 macro for adding the 'l'.
29168 * stdio-common/tst-fphex-wide.c: Adjust.
29169
29170 2012-03-07 Marek Polacek <polacek@redhat.com>
29171
29172 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29173
29174 2012-03-08 Marek Polacek <polacek@redhat.com>
29175
29176 [BZ #13806]
29177 * stdio-common/Makefile (tests): Add tst-fphex-wide.
29178 * stdio-common/tst-fphex.c: Define a few macros to make the
29179 test reusable. Use them.
29180 * stdio-common/tst-fphex-wide.c: New file.
29181
29182 2012-03-08 Joseph Myers <joseph@codesourcery.com>
29183
29184 [BZ #6911]
29185 * manual/macros.texi (gnusystems): New macro.
29186 (nongnusystems): Likewise.
29187 (gnulinuxhurdsystems): Likewise.
29188 (gnuhurdsystems): Likewise..
29189 (gnulinuxsystems): Likewise.
29190 * manual/charset.texi: Use new macros or @theglibc{} to refer to
29191 variants of the GNU system, not "GNU system".
29192 * manual/conf.texi: Likewise.
29193 * manual/errno.texi: Likewise. Update example of errno macro
29194 expansion.
29195 * manual/filesys.texi: Likewise.
29196 (getumask): Document as specific to GNU/Hurd.
29197 * manual/install.texi: Likewise. Reword some references to
29198 GNU/Linux.
29199 * manual/intro.texi: Likewise.
29200 * manual/io.texi: Likewise.
29201 (File Name Portability): Detail which constraints are inapplicable
29202 to all GNU systems and which are only inapplicable to GNU/Hurd.
29203 * manual/job.texi: Likewise.
29204 * manual/llio.texi: Likewise.
29205 (O_NOCTTY): Document as present on GNU/Linux.
29206 * manual/maint.texi: Likewise.
29207 * manual/memory.texi: Likewise.
29208 * manual/pattern.texi: Likewise.
29209 * manual/pipe.texi: Likewise.
29210 * manual/process.texi: Likewise.
29211 * manual/resource.texi: Likewise.
29212 (RUSAGE_CHILDREN): Remove statement about specifying a particular
29213 child on GNU/Hurd.
29214 * manual/setjmp.texi: Likewise.
29215 * manual/signal.texi: Likewise.
29216 * manual/startup.texi: Likewise.
29217 * manual/stdio.texi: Likewise.
29218 * manual/terminal.texi: Likewise.
29219 (ONLCR): Document as POSIX.
29220 (OXTABS): Document availability on GNU/Linux as XTABS.
29221 (ONOEOT): Document availability separately from other bits.
29222 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29223 * manual/time.texi: Likewise.
29224 * manual/users.texi: Likewise.
29225 * INSTALL: Regenerated.
29226 * sysdeps/gnu/errlist.c: Regenerated.
29227
29228 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29229 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29230 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
29231 puts.
29232 * configure: Regenerated.
29233
29234 2012-03-07 Joseph Myers <joseph@codesourcery.com>
29235
29236 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29237 default includes instead of AC_HEADER_CHECK.
29238 * sysdeps/i386/configure: Regenerated.
29239
29240 [BZ #10716]
29241 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29242 * math/s_cacoshf.c (__cacoshf): Likewise.
29243 * math/s_cacoshl.c (__cacoshl): Likewise.
29244 * math/s_casinh.c (__casinh): Set signs of result from argument.
29245 * math/s_casinhf.c (__casinhf): Likewise.
29246 * math/s_casinhl.c (__casinhl): Likewise.
29247 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29248 (casinh_test): Add more tests.
29249 * sysdeps/i386/fpu/libm-test-ulps: Update.
29250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29251
29252 2012-03-07 Ulrich Drepper <drepper@gmail.com>
29253
29254 * po/zh_TW.po: Update from translation team.
29255
29256 * login/Makefile (distribute): Remove variable.
29257 * catgets/Makefile: Likewise.
29258 * mach/Makefile: Likewise.
29259 * malloc/Makefile: Likewise.
29260 * misc/Makefile: Likewise.
29261 * iconv/Makefile: Likewise.
29262 * nscd/Makefile: Likewise.
29263 * hurd/Makefile: Likewise.
29264 * manual/Makefile: Likewise.
29265 * locale/Makefile: Likewise.
29266 * intl/Makefile: Likewise.
29267 * conform/Makefile: Likewise.
29268 * nss/Makefile: Likewise.
29269 * time/Makefile: Likewise.
29270 * soft-fp/Makefile: Likewise.
29271 * dirent/Makefile: Likewise.
29272 * gmon/Makefile: Likewise.
29273 * po/Makefile: Likewise.
29274 * rt/Makefile: Likewise.
29275 * socket/Makefile: Likewise.
29276 * math/Makefile: Likewise.
29277 * signal/Makefile: Likewise.
29278 * debug/Makefile: Likewise.
29279 * elf/Makefile: Likewise.
29280 * timezone/Makefile: Likewise.
29281 * stdlib/Makefile: Likewise.
29282 * iconvdata/Makefile: Likewise.
29283 * sunrpc/Makefile: Likewise.
29284 * io/Makefile: Likewise.
29285 * argp/Makefile: Likewise.
29286 * inet/Makefile: Likewise.
29287 * hesiod/Makefile: Likewise.
29288 * grp/Makefile: Likewise.
29289 * csu/Makefile: Likewise.
29290 * wctype/Makefile: Likewise.
29291 * crypt/Makefile: Likewise.
29292 * libio/Makefile: Likewise.
29293 * string/Makefile: Likewise.
29294 * nis/Makefile: Likewise.
29295 * resolv/Makefile: Likewise.
29296 * stdio-common/Makefile: Likewise.
29297 * wcsmbs/Makefile: Likewise.
29298 * dlfcn/Makefile: Likewise.
29299 * posix/Makefile: Likewise.
29300
29301 [BZ #6959]
29302 * timezone/Makefile: Don't install timezone files, just the programs
29303 and scripts.
29304
29305 2012-03-06 Ulrich Drepper <drepper@gmail.com>
29306
29307 * nss/databases.def: Add missing gshadow entry.
29308
29309 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29310
29311 2012-03-06 Marek Polacek <polacek@redhat.com>
29312
29313 [BZ #13726]
29314 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29315 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29316 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29317 * stdio-common/tst-long-dbl-fphex.c: New file.
29318
29319 2012-03-06 David S. Miller <davem@davemloft.net>
29320
29321 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29322 (set_obp_int): New function.
29323 (get_obp_int): New function.
29324 (__get_clockfreq_via_dev_openprom): Likewise.
29325 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29326 Avoid unused variable warnings on 'val' and use builtin_expect.
29327 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29328 __builtin_expect.
29329 (INLINE_CLONE_SYSCALL): Likewise.
29330
29331 2012-03-05 David S. Miller <davem@davemloft.net>
29332
29333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29334
29335 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29336
29337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29338
29339 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29340 only for |x| >= 40.
29341 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29342
29343 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
29344
29345 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29346 Replace gettimeofday with __vdso_gettimeofday.
29347
29348 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29349 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29350 __vdso_clock_gettime and __vdso_getcpu.
29351
29352 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29353 time with __vdso_time.
29354
29355 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29356
29357 * manual/lang.texi (size_t): Note types to which size_t may be
29358 equivalent with the GNU C Library, but do not describe when
29359 differences between them are significant.
29360
29361 2012-03-05 Andreas Jaeger <aj@suse.de>
29362
29363 * sysdeps/i386/fpu/libm-test-ulps: Update.
29364
29365 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29366
29367 [BZ #3976]
29368 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29369 (__ieee754_pow): Save and restore rounding mode and use
29370 round-to-nearest for main computations.
29371 * math/libm-test.inc (pow_test_tonearest): New function.
29372 (pow_test_towardzero): Likewise.
29373 (pow_test_downward): Likewise.
29374 (pow_test_upward): Likewise.
29375 (main): Call the new functions.
29376 * sysdeps/i386/fpu/libm-test-ulps: Update.
29377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29378
29379 [BZ #3976]
29380 * math/libm-test.inc (cosh_test_tonearest): New function.
29381 (cosh_test_towardzero): Likewise.
29382 (cosh_test_downward): Likewise.
29383 (cosh_test_upward): Likewise.
29384 (sinh_test_tonearest): Likewise.
29385 (sinh_test_towardzero): Likewise.
29386 (sinh_test_downward): Likewise.
29387 (sinh_test_upward): Likewise.
29388 (main): Call the new functions.
29389 * sysdeps/i386/fpu/libm-test-ulps: Update.
29390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29391
29392 2012-03-05 Tom de Vries <tom@codesourcery.com>
29393
29394 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29395 default stack guard is set in last bytes.
29396 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29397
29398 2012-03-05 Kees Cook <keescook@chromium.org>
29399
29400 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29401
29402 [BZ #13656]
29403 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29404 possibly allocate from heap instead of stack.
29405 * stdio-common/bug-vfprintf-nargs.c: New file.
29406 * stdio-common/Makefile (tests): Add nargs overflow test.
29407
29408 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29409
29410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29411
29412 2012-03-03 Marek Polacek <polacek@redhat.com>
29413
29414 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29415 * math/math_private.h: Likewise.
29416 * stdlib/tst-strtod.c: Likewise.
29417 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29418 * sysdeps/x86_64/bits/atomic.h: Likewise.
29419
29420 2012-03-02 David S. Miller <davem@davemloft.net>
29421
29422 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29423 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29424 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29425 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29426 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29427 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29428 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29429 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29430
29431 2012-03-02 Roland McGrath <roland@hack.frob.com>
29432
29433 [BZ #13792]
29434 * manual/examples/README: New file, says the example source files
29435 can be used under GPL>=2.
29436 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29437 line containing just "*/".
29438 * manual/examples/add.c: Add copyright header (GPL>=2).
29439 * manual/examples/argp-ex1.c: Likewise.
29440 * manual/examples/argp-ex2.c: Likewise.
29441 * manual/examples/argp-ex3.c: Likewise.
29442 * manual/examples/argp-ex4.c: Likewise.
29443 * manual/examples/atexit.c: Likewise.
29444 * manual/examples/db.c: Likewise.
29445 * manual/examples/dir.c: Likewise.
29446 * manual/examples/dir2.c: Likewise.
29447 * manual/examples/execinfo.c: Likewise.
29448 * manual/examples/filecli.c: Likewise.
29449 * manual/examples/filesrv.c: Likewise.
29450 * manual/examples/fmtmsgexpl.c: Likewise.
29451 * manual/examples/genpass.c: Likewise.
29452 * manual/examples/inetcli.c: Likewise.
29453 * manual/examples/inetsrv.c: Likewise.
29454 * manual/examples/isockad.c: Likewise.
29455 * manual/examples/longopt.c: Likewise.
29456 * manual/examples/memopen.c: Likewise.
29457 * manual/examples/memstrm.c: Likewise.
29458 * manual/examples/mkfsock.c: Likewise.
29459 * manual/examples/mkisock.c: Likewise.
29460 * manual/examples/mygetpass.c: Likewise.
29461 * manual/examples/pipe.c: Likewise.
29462 * manual/examples/popen.c: Likewise.
29463 * manual/examples/rprintf.c: Likewise.
29464 * manual/examples/search.c: Likewise.
29465 * manual/examples/select.c: Likewise.
29466 * manual/examples/setjmp.c: Likewise.
29467 * manual/examples/sigh1.c: Likewise.
29468 * manual/examples/sigusr.c: Likewise.
29469 * manual/examples/stpcpy.c: Likewise.
29470 * manual/examples/strdupa.c: Likewise.
29471 * manual/examples/strftim.c: Likewise.
29472 * manual/examples/strncat.c: Likewise.
29473 * manual/examples/subopt.c: Likewise.
29474 * manual/examples/swapcontext.c: Likewise.
29475 * manual/examples/termios.c: Likewise.
29476 * manual/examples/testopt.c: Likewise.
29477 * manual/examples/testpass.c: Likewise.
29478 * manual/examples/timeval_subtract.c: Likewise.
29479
29480 [BZ #13792]
29481 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29482 function to ...
29483 * manual/timeval_subtract.c.texi: ... here, new file.
29484
29485 2012-03-02 David S. Miller <davem@davemloft.net>
29486
29487 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29488
29489 2012-03-02 Joseph Myers <joseph@codesourcery.com>
29490
29491 [BZ #3976]
29492 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29493 (__sin): Save and restore rounding mode and use round-to-nearest
29494 for all computations.
29495 (__cos): Save and restore rounding mode and use round-to-nearest
29496 for all computations.
29497 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29498 <fenv.h>.
29499 (tan): Save and restore rounding mode and use round-to-nearest for
29500 all computations.
29501 * math/libm-test.inc (cos_test_tonearest): New function.
29502 (cos_test_towardzero): Likewise.
29503 (cos_test_downward): Likewise.
29504 (cos_test_upward): Likewise.
29505 (sin_test_tonearest): Likewise.
29506 (sin_test_towardzero): Likewise.
29507 (sin_test_downward): Likewise.
29508 (sin_test_upward): Likewise.
29509 (tan_test_tonearest): Likewise.
29510 (tan_test_towardzero): Likewise.
29511 (tan_test_downward): Likewise.
29512 (tan_test_upward): Likewise.
29513 (main): Call the new functions.
29514 * sysdeps/i386/fpu/libm-test-ulps: Update.
29515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29516
29517 [BZ #10135]
29518 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29519 small n, then large n, before computing and testing k+n.
29520 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29521 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29522 Likewise.
29523 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29524 Likewise.
29525 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29526 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29527 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29528 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29529 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29530 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29531 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29532 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29533 * math/libm-test.inc (scalbn_test): Add more tests.
29534 (scalbln_test): Likewise.
29535
29536 * manual/filesys.texi (mode_t): Describe constraints on size and
29537 signedness, not exact equivalence to a particular type.
29538 (ino_t): Likewise.
29539 (ino64_t): Likewise.
29540 (dev_t): Likewise.
29541 (nlink_t): Likewise.
29542 (blkcnt_t): Likewise.
29543 (blkcnt64_t): Likewise.
29544 * manual/llio.texi (off_t): Likewise.
29545
29546 [BZ #3976]
29547 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29548 (__ieee754_exp): Save and restore rounding mode and use
29549 round-to-nearest for all computations.
29550 * math/libm-test.inc (exp_test_tonearest): New function.
29551 (exp_test_towardzero): Likewise.
29552 (exp_test_downward): Likewise.
29553 (exp_test_upward): Likewise.
29554 (main): Call the new functions.
29555 * sysdeps/i386/fpu/libm-test-ulps: Update.
29556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29557
29558 2012-03-01 Chris Demetriou <cgd@google.com>
29559
29560 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29561 have predictable order.
29562
29563 2012-03-01 David S. Miller <davem@davemloft.net>
29564
29565 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29566
29567 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29568 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29569 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29570 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29571
29572 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29573 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29574 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29576 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29577 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29578 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29579 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29580 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29581
29582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29583
29584 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29585 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29586 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29587
29588 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29589 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29590 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29591 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29592 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29593 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29594 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29595 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29596 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29597 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29598 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29599 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29600 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29601 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29602 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29603 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29604 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29605 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29606 * sysdeps/sparc/elf/configure: Regenerated.
29607
29608 2012-03-01 Joseph Myers <joseph@codesourcery.com>
29609
29610 * configure.in (AS, LD): Require binutils 2.20 or later.
29611 * configure: Regenerated.
29612 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29613 as required minimum version.
29614 * INSTALL: Regenerated.
29615
29616 [BZ #2541]
29617 [BZ #4108]
29618 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29619 before squaring exponent.
29620 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29621 bottom long double and 27 bits of top long double before squaring
29622 exponent.
29623 * math/libm-test.inc (erfc_test): Add more tests.
29624 * sysdeps/i386/fpu/libm-test-ulps: Update.
29625 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29627
29628 2012-03-01 Kai Tietz <ktietz@redhat.com>
29629
29630 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29631 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29632 containing bit-fields.
29633 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29634 * soft-fp/single.h (_FP_UNION_S): Likewise.
29635 * soft-fp/double.h (_FP_UNION_D): Likewise.
29636
29637 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29638
29639 [BZ #13786]
29640 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29641 not include ../strcmp.S.
29642 [USE_AS_STRNCASECMP_L]: Likewise.
29643 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29644 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29645 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29646 (__strncasecmp_l_ia32): Define as alias to
29647 __strncasecmp_l_nonascii.
29648
29649 [BZ #5794]
29650 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29651 * sysdeps/i386/fpu/libm-test-ulps: Update.
29652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29653
29654 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29656
29657 2012-02-29 Jeff Law <law@redhat.com>
29658
29659 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29660 out of bounds read.
29661
29662 2012-02-29 Marek Polacek <polacek@redhat.com>
29663
29664 [BZ #13706]
29665 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29666 * elf/Makefile: Add rules to run tst-unused-dep.out.
29667
29668 2012-02-28 David S. Miller <davem@davemloft.net>
29669
29670 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29671 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29672 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29673 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29674 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29675 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29676
29677 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29678
29679 * math/libm-test.inc (llround_test): Move one test from
29680 lround_test. Use TEST_f_L in moved test.
29681 (lround_test): Move misplaced test to llround_test. Add testcase
29682 from bug 2561.
29683
29684 2012-02-28 Ulrich Drepper <drepper@gmail.com>
29685
29686 * sysdeps/x86_64/fpu/e_expf.S: New file.
29687 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29688
29689 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29690
29691 [BZ #13637]
29692 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29693 of remain_len that may cause incomplete multi-byte character and
29694 false match.
29695 * posix/bug-regex33.c: New file.
29696 * posix/Makefile (tests): Add bug-regex33.
29697
29698 2012-02-28 Joseph Myers <joseph@codesourcery.com>
29699
29700 * manual/macros.texi: New file.
29701 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29702 * manual/libc.texinfo: Include macros.texi.
29703 * manual/creatute.texi: Likewise.
29704 * manual/install.texi: Likewise.
29705 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29706 @glibcadj{} in references to the GNU C Library.
29707 * manual/charset.texi: Likewise.
29708 * manual/conf.texi: Likewise.
29709 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29710 when not using those macros.
29711 * manual/creature.texi: Likewise.
29712 * manual/crypt.texi: Likewise.
29713 * manual/errno.texi: Likewise.
29714 * manual/filesys.texi: Likewise.
29715 * manual/header.texi: Likewise.
29716 * manual/install.texi: Likewise.
29717 * manual/intro.texi: Likewise.
29718 * manual/io.texi: Likewise.
29719 * manual/job.texi: Likewise.
29720 * manual/lang.texi: Likewise.
29721 * manual/libc.texiinfo: Likewise.
29722 * manual/llio.texi: Likewise.
29723 * manual/locale.texi: Likewise.
29724 * manual/maint.texi: Likewise.
29725 * manual/math.texi: Likewise.
29726 * manual/memory.texi: Likewise.
29727 * manual/message.texi: Likewise.
29728 * manual/nss.texi: Likewise.
29729 * manual/pattern.texi: Likewise.
29730 * manual/process.texi: Likewise.
29731 * manual/resource.texi: Likewise.
29732 * manual/search.texi: Likewise.
29733 * manual/setjmp.texi: Likewise.
29734 * manual/signal.texi: Likewise.
29735 * manual/socket.texi: Likewise.
29736 * manual/startup.texi: Likewise.
29737 * manual/stdio.texi: Likewise.
29738 * manual/string.texi: Likewise.
29739 * manual/sysinfo.texi: Likewise.
29740 * manual/syslog.texi: Likewise.
29741 * manual/terminal.texi: Likewise.
29742 * manual/time.texi: Likewise.
29743 * manual/users.texi: Likewise.
29744 * INSTALL: Regenerated.
29745 * NOTES: Regenerated.
29746 * sysdeps/gnu/errlist.c: Regenerated.
29747
29748 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29749
29750 * include/dirent.h: Include <dirstream.h> before
29751 <dirent/dirent.h>.
29752
29753 2012-02-28 David S. Miller <davem@davemloft.net>
29754
29755 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29756 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29757 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29758 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29759
29760 2012-02-27 David S. Miller <davem@davemloft.net>
29761
29762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29764 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29765 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29766
29767 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29768 frame pointer instead of stack pointer relative arg slot.
29769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29770 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29771 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29772
29773 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
29774
29775 [BZ #3992]
29776 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29777
29778 2012-02-27 David S. Miller <davem@davemloft.net>
29779
29780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29784 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29785 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29786 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29787 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29788
29789 2012-02-27 Joseph Myers <joseph@codesourcery.com>
29790
29791 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29792 later. Allow versions 5-9.
29793 * configure: Regenerated.
29794 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29795 required minimum version and 4.6 as recommended version. Do not
29796 mention bugs in GCC 2.7 and 2.8.
29797 * INSTALL: Regenerated.
29798
29799 2012-02-27 David S. Miller <davem@davemloft.net>
29800
29801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
29802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
29803 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
29804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
29805 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
29806 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
29807 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
29808 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
29809
29810 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
29811 manipulate bits before adding and subtracting TWO112[sx].
29812 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29813
29814 2012-02-27 Roland McGrath <roland@hack.frob.com>
29815
29816 [BZ #13775]
29817 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
29818 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
29819 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
29820 being in POSIX, because they are in 1003.1-2008.
29821
29822 * rt/tst-aio.c: Include <fcntl.h>.
29823 * rt/tst-aio7.c: Likewise.
29824 * rt/tst-aio64.c: Likewise.
29825
29826 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
29827
29828 2012-02-27 Joseph Myers <joseph@codesourcery.com>
29829
29830 * manual/install.texi (--with-headers): Describe headers as
29831 interface headers, not private headers.
29832 (Specific advice for GNU/Linux systems): Describe use of headers
29833 from "make headers_install", not private headers from older
29834 kernels.
29835 * INSTALL: Regenerated.
29836 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
29837 Change to 2.6.19.
29838 * sysdeps/unix/sysv/linux/configure: Regenerated.
29839
29840 * manual/llio.texi (fclean): Remove documentation.
29841
29842 * manual/Makefile (libc-texi-generated): New variable. Include
29843 version.texi.
29844 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
29845 $(libc-texi-generated), not duplicated list of files.
29846 (version.texi, stamp-version): New rules.
29847 (realclean): Remove $(libc-texi-generated), not individual files
29848 from that list. Do not remove dir-add.texinfo.
29849 * manual/libc.texinfo: Comment out uses of edition numbers and
29850 references to printed manual. Remove last-updated dates.
29851 (EDITION): Comment out.
29852 (ISBN): Likewise.
29853 (VERSION, UPDATED): Remove.
29854 (version.texi): Include.
29855
29856 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
29857
29858 * sysdeps/posix/spawni.c: Include <signal.h>.
29859 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
29860 * sysdeps/pthread/aio_fsync.c: Likewise.
29861
29862 2012-02-26 Ulrich Drepper <drepper@gmail.com>
29863
29864 * conform/Makefile (tests): Run only when not cross-compiling and
29865 when fast-check is not defined.
29866
29867 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
29868 * conform/data/limits.h-data: Fixes for POSIX2008.
29869 * conform/run-conformtest.sh: Run all tests.
29870 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
29871 headers.
29872 * include/bits/dlfcn.h: Likewise.
29873 * include/langinfo.h: Likewise.
29874 * include/monetary.h: Likewise.
29875 * include/sys/poll.h: Likewise.
29876
29877 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
29878 for __USE_GNU.
29879 * posix/spawn.h: Define __need_sigset_t.
29880 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
29881 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
29882 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
29883 to get sigevent_t only.
29884 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
29885 only for __USE_GNU.
29886 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29887 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29888 process_vm_writev only for __USE_GNU.
29889 * termios/termios.h: Declare tcgetsid also for POSIX2008.
29890
29891 * conform/Makefile: For now ignore errors from run-conformtest.
29892 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
29893 POSIX to avoid namespace pollution. Don't prepend headers.
29894 * conform/data/aio.h-data: Fixes for POSIX testing.
29895 * conform/data/fcntl.h-data: Likewise.
29896 * conform/data/glob.h-data: Likewise.
29897 * conform/data/grp.h-data: Likewise.
29898 * conform/data/pthread.h-data: Likewise.
29899 * conform/data/pwd.h-data: Likewise.
29900 * conform/data/signal.h-data: Likewise.
29901 * conform/data/spawn.h-data: Likewise.
29902 * conform/data/stdio.h-data: Likewise.
29903 * conform/data/stdlib.h-data: Likewise.
29904 * conform/data/stropts.h-data: Likewise.
29905 * conform/data/sys/mman.h-data: Likewise.
29906 * conform/data/sys/stat.h-data: Likewise.
29907 * conform/data/sys/types.h-data: Likewise.
29908 * conform/data/sys/wait.h-data: Likewise.
29909 * conform/data/time.h-data: Likewise.
29910 * conform/data/unistd.h-data: Likewise.
29911 * conform/data/utime.h-data: Likewise.
29912
29913 * io/sys/stat.h: fchmod was always in POSIX.
29914 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
29915 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
29916 * rt/aio.h: Define __need_timespec before including <time.h>.
29917 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
29918 struct. Add forward declaration of pthread_attr_t and use it in
29919 sigevent.
29920 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29921 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29922 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
29923 always remove CLK_TCK definition.
29924
29925 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
29926
29927 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
29928
29929 2012-02-25 Ulrich Drepper <drepper@gmail.com>
29930
29931 * conform/run-conformtest.sh: New file.
29932 * conform/Makefile: Run run-conformtest for tests.
29933 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
29934 support.
29935
29936 * conform/data/uchar.h-data: New file.
29937 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
29938 * conform/data/arpa/inet.h-data: Likewise.
29939 * conform/data/assert.h-data: Likewise.
29940 * conform/data/complex.h-data: Likewise.
29941 * conform/data/cpio.h-data: Likewise.
29942 * conform/data/ctype.h-data: Likewise.
29943 * conform/data/dirent.h-data: Likewise.
29944 * conform/data/dlfcn.h-data: Likewise.
29945 * conform/data/errno.h-data: Likewise.
29946 * conform/data/fcntl.h-data: Likewise.
29947 * conform/data/float.h-data: Likewise.
29948 * conform/data/fmtmsg.h-data: Likewise.
29949 * conform/data/fnmatch.h-data: Likewise.
29950 * conform/data/ftw.h-data: Likewise.
29951 * conform/data/glob.h-data: Likewise.
29952 * conform/data/grp.h-data: Likewise.
29953 * conform/data/iconv.h-data: Likewise.
29954 * conform/data/inttypes.h-data: Likewise.
29955 * conform/data/langinfo.h-data: Likewise.
29956 * conform/data/libgen.h-data: Likewise.
29957 * conform/data/limits.h-data: Likewise.
29958 * conform/data/locale.h-data: Likewise.
29959 * conform/data/math.h-data: Likewise.
29960 * conform/data/monetary.h-data: Likewise.
29961 * conform/data/mqueue.h-data: Likewise.
29962 * conform/data/ndbm.h-data: Likewise.
29963 * conform/data/net/if.h-data: Likewise.
29964 * conform/data/netdb.h-data: Likewise.
29965 * conform/data/netinet/in.h-data: Likewise.
29966 * conform/data/nl_types.h-data: Likewise.
29967 * conform/data/poll.h-data: Likewise.
29968 * conform/data/pthread.h-data: Likewise.
29969 * conform/data/pwd.h-data: Likewise.
29970 * conform/data/regex.h-data: Likewise.
29971 * conform/data/sched.h-data: Likewise.
29972 * conform/data/search.h-data: Likewise.
29973 * conform/data/semaphore.h-data: Likewise.
29974 * conform/data/setjmp.h-data: Likewise.
29975 * conform/data/signal.h-data: Likewise.
29976 * conform/data/spawn.h-data: Likewise.
29977 * conform/data/stdarg.h-data: Likewise.
29978 * conform/data/stdio.h-data: Likewise.
29979 * conform/data/stdlib.h-data: Likewise.
29980 * conform/data/string.h-data: Likewise.
29981 * conform/data/strings.h-data: Likewise.
29982 * conform/data/stropts.h-data: Likewise.
29983 * conform/data/sys/ipc.h-data: Likewise.
29984 * conform/data/sys/mman.h-data: Likewise.
29985 * conform/data/sys/msg.h-data: Likewise.
29986 * conform/data/sys/resource.h-data: Likewise.
29987 * conform/data/sys/select.h-data: Likewise.
29988 * conform/data/sys/sem.h-data: Likewise.
29989 * conform/data/sys/shm.h-data: Likewise.
29990 * conform/data/sys/socket.h-data: Likewise.
29991 * conform/data/sys/stat.h-data: Likewise.
29992 * conform/data/sys/statvfs.h-data: Likewise.
29993 * conform/data/sys/time.h-data: Likewise.
29994 * conform/data/sys/timeb.h-data: Likewise.
29995 * conform/data/sys/times.h-data: Likewise.
29996 * conform/data/sys/types.h-data: Likewise.
29997 * conform/data/sys/uio.h-data: Likewise.
29998 * conform/data/sys/un.h-data: Likewise.
29999 * conform/data/sys/utsname.h-data: Likewise.
30000 * conform/data/sys/wait.h-data: Likewise.
30001 * conform/data/syslog.h-data: Likewise.
30002 * conform/data/tar.h-data: Likewise.
30003 * conform/data/termios.h-data: Likewise.
30004 * conform/data/utime.h-data: Likewise.
30005 * conform/data/utmpx.h-data: Likewise.
30006 * conform/data/varargs.h-data: Likewise.
30007 * conform/data/wchar.h-data: Likewise.
30008 * conform/data/wctype.h-data: Likewise.
30009 * conform/data/wordexp.h-data: Likewise.
30010
30011 * include/stropts.h: New file.
30012 * include/uchar.h: New file.
30013 * include/aio.h: Changes to allow conformtest.pl to use the headers.
30014 * include/assert.h: Likewise.
30015 * include/ctype.h: Likewise.
30016 * include/dirent.h: Likewise.
30017 * include/dlfcn.h: Likewise.
30018 * include/fcntl.h: Likewise.
30019 * include/fnmatch.h: Likewise.
30020 * include/glob.h: Likewise.
30021 * include/grp.h: Likewise.
30022 * include/libio.h: Likewise.
30023 * include/locale.h: Likewise.
30024 * include/math.h: Likewise.
30025 * include/net/if.h: Likewise.
30026 * include/netdb.h: Likewise.
30027 * include/netinet/in.h: Likewise.
30028 * include/pthread.h: Likewise.
30029 * include/pwd.h: Likewise.
30030 * include/regex.h: Likewise.
30031 * include/sched.h: Likewise.
30032 * include/search.h: Likewise.
30033 * include/setjmp.h: Likewise.
30034 * include/signal.h: Likewise.
30035 * include/stdio.h: Likewise.
30036 * include/stdlib.h: Likewise.
30037 * include/string.h: Likewise.
30038 * include/sys/cdefs.h: Likewise.
30039 * include/sys/mman.h: Likewise.
30040 * include/sys/msg.h: Likewise.
30041 * include/sys/resource.h: Likewise.
30042 * include/sys/select.h: Likewise.
30043 * include/sys/socket.h: Likewise.
30044 * include/sys/stat.h: Likewise.
30045 * include/sys/statvfs.h: Likewise.
30046 * include/sys/time.h: Likewise.
30047 * include/sys/times.h: Likewise.
30048 * include/sys/uio.h: Likewise.
30049 * include/sys/utsname.h: Likewise.
30050 * include/sys/wait.h: Likewise.
30051 * include/termios.h: Likewise.
30052 * include/time.h: Likewise.
30053 * include/ulimit.h: Likewise.
30054 * include/unistd.h: Likewise.
30055 * include/utime.h: Likewise.
30056 * include/wchar.h: Likewise.
30057 * include/wctype.h: Likewise.
30058 * include/wordexp.h: Likewise.
30059
30060 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30061
30062 * time/time.h: TIME_UTC must be a macro.
30063 Make timespec_get available for ISO C11 only as well.
30064
30065 2012-02-24 Ulrich Drepper <drepper@gmail.com>
30066
30067 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30068 Reported by Peng Haitao <penght@cn.fujitsu.com>.
30069
30070 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30071
30072 * configure.in: Use -o not -a in test for unsupported multi-arch.
30073
30074 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30075
30076 * manual/texinfo.tex: Update to version 2012-01-19.16.
30077
30078 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30079
30080 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30081
30082 2012-02-24 Roland McGrath <roland@hack.frob.com>
30083
30084 [BZ #13738]
30085 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30086 * manual/fdl-1.3.texi: New file.
30087 * manual/fdl-1.1.texi: File removed.
30088
30089 [BZ #13738]
30090 * manual/libc.texinfo (FDL_VERSION): New @set.
30091 Use it for mention of FDL in cover text.
30092 (Documentation License): Use it in @include file name.
30093
30094 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30095 Roland McGrath <roland@hack.frob.com>
30096
30097 [BZ #5461]
30098 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30099 not LONG_LONG_MAX and LONG_LONG_MIN.
30100 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30101 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
30102 name.
30103 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30104
30105 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30106
30107 [BZ #2547]
30108 [BZ #11365]
30109 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30110 manipulate bits before adding and subtracting TWO23[sx].
30111 * math/libm-test.inc (nearbyint_test): Add more tests.
30112
30113 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30114
30115 [BZ #2548]
30116 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30117 bits before adding and subtracting TWO23[sx].
30118 * math/libm-test.inc (rint_test): Add more tests.
30119 (rint_test_tonearest): Likewise.
30120 (rint_test_towardzero): Likewise.
30121 (rint_test_downward): Likewise.
30122 (rint_test_upward: Likewise.
30123
30124 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30125
30126 [BZ #10110]
30127 * include/stdc-predef.h: New file. Extracted from features.h.
30128 * include/features.h: Include stdc-predef.h.
30129 * Makefile (headers): Add stdc-predef.h.
30130 * CONFORMANCE (Compiler limitations): Update.
30131
30132 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30133
30134 * manual/libc.texinfo (VERSION, UPDATED): Revert.
30135
30136 2012-02-21 David S. Miller <davem@davemloft.net>
30137
30138 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30139 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30140
30141 2012-02-20 David S. Miller <davem@davemloft.net>
30142
30143 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30144 using a normal save/restore sequence, rather than allocating a
30145 dummy stack frame just to store a frame pointer and restore.
30146 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30147
30148 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30149
30150 * manual/install.texi: Fix stray word in line-wrapped comment.
30151
30152 2012-02-20 David S. Miller <davem@davemloft.net>
30153
30154 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30155 both binutils and gcc support GOTDATA.
30156
30157 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30158 "rd %pc" in the PIC register setup sequences.
30159
30160 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30161 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30162 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30163 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30164 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30165 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30166 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30167 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30168 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30169 (SYSCALL_ERROR_HANDLER): Likewise.
30170 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30171 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30172 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30173 (SYSCALL_ERROR_HANDLER): Likewise.
30174
30175 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30176 (HAVE_GCC_GOTDATA): New.
30177 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30178 relocation support in both binutils and gcc.
30179 * sysdeps/sparc/elf/configure: Regenerate.
30180
30181 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30182 * sysdeps/sparc/sparc32/elf/configure: Delete.
30183 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30184 * sysdeps/sparc/sparc64/elf/configure: Delete.
30185 * sysdeps/sparc/elf/configure.in: New file.
30186 * sysdeps/sparc/elf/configure: Generate.
30187
30188 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30189 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30190 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30191 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30192 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30193
30194 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30195
30196 * manual/install.texi: Do not mention specific glibc version
30197 numbers.
30198 * manual/libc.texinfo (VERSION, UPDATED): Update.
30199 (@copying): Use @copyright{} and range of years.
30200
30201 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30202
30203 [BZ #13695]
30204 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30205 [crti.S not in sysdirs] (generated): Do not append.
30206 [crti.S not in sysdirs] (omit-deps): Likewise.
30207 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30208 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30209 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30210 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30211 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30212 Likewise.
30213 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30214 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30215 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30216 * csu/defs.awk: Remove file.
30217 * sysdeps/generic/initfini.c: Likewise.
30218 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30219 variable.
30220 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30221 Likewise.
30222
30223 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30224
30225 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30226 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30227 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30228 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30229 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30230 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30231 <bits/epoll.h>.
30232 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30233 (__EPOLL_PACKED): Define to empty if not defined by
30234 <bits/epoll.h>.
30235 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30236 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30237 bits/epoll.h.
30238
30239 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30240
30241 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30242 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30243 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30244 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30245 <bits/timerfd.h>.
30246 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30247 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30248 bits/timerfd.h.
30249
30250 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30251
30252 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30253 in C locale.
30254 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30255 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30256 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30258
30259 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30260
30261 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30262 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30263
30264 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30265
30266 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30267 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30268 defined.
30269 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30270 Likewise.
30271 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30272 entry for 2.16.
30273
30274 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30275
30276 * math/w_acos.c: Use non-signaling floating-point comparisons.
30277 * math/w_acosf.c: Likewise.
30278 * math/w_acosh.c: Likewise.
30279 * math/w_acoshf.c: Likewise.
30280 * math/w_acoshl.c: Likewise.
30281 * math/w_acosl.c: Likewise.
30282 * math/w_asin.c: Likewise.
30283 * math/w_asinf.c: Likewise.
30284 * math/w_asinl.c: Likewise.
30285 * math/w_atanh.c: Likewise.
30286 * math/w_atanhf.c: Likewise.
30287 * math/w_atanhl.c: Likewise.
30288 * math/w_exp2.c: Likewise.
30289 * math/w_exp2f.c: Likewise.
30290 * math/w_exp2l.c: Likewise.
30291 * math/w_j0.c: Likewise.
30292 * math/w_j0f.c: Likewise.
30293 * math/w_j0l.c: Likewise.
30294 * math/w_j1.c: Likewise.
30295 * math/w_j1f.c: Likewise.
30296 * math/w_j1l.c: Likewise.
30297 * math/w_jn.c: Likewise.
30298 * math/w_jnf.c: Likewise.
30299 * math/w_log.c: Likewise.
30300 * math/w_log10.c: Likewise.
30301 * math/w_log10f.c: Likewise.
30302 * math/w_log10l.c: Likewise.
30303 * math/w_log2.c: Likewise.
30304 * math/w_log2f.c: Likewise.
30305 * math/w_log2l.c: Likewise.
30306 * math/w_logf.c: Likewise.
30307 * math/w_logl.c: Likewise.
30308 * math/w_sqrt.c: Likewise.
30309 * math/w_sqrtf.c: Likewise.
30310 * math/w_sqrtl.c: Likewise.
30311 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30312 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30313 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30314 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30315 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30316
30317 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30318
30319 [BZ #9739]
30320 * manual/string.texi (strnlen): Use correct parameter name in
30321 equivalent expression.
30322
30323 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30324
30325 [BZ #11174]
30326 * manual/users.texi (seteuid): Consistently use neweuid for
30327 argument name.
30328
30329 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30330
30331 [BZ #13704]
30332 * manual/nss.texi (Services in the NSS configuration): Correct
30333 list of services in example configuration file.
30334
30335 2012-02-19 Nick Bowler <nbowler@draconx.ca>
30336
30337 [BZ #11322]
30338 * manual/arith.texi: Remove statements about negative zero
30339 behaving identically to zero.
30340
30341 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30342
30343 [BZ #5993]
30344 * manual/install.texi: Do not document upgrading from libc5.
30345
30346 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30347
30348 [BZ #4596]
30349 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30350
30351 2012-02-18 David S. Miller <davem@davemloft.net>
30352
30353 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30354 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30355 %o7 across the call.
30356 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30357 instead.
30358 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30359 SETUP_PIC_REG_LEAF.
30360 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30361 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30362 * sysdeps/sparc/crtn.S: Likewise.
30363
30364 2012-02-17 Ulrich Drepper <drepper@gmail.com>
30365
30366 * aout/Makefile: Remove.
30367
30368 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30369
30370 [BZ #13058]
30371 * manual/examples/argp-ex1.c (main): Format definition in GNU
30372 style.
30373 * manual/examples/argp-ex2.c (main): Likewise.
30374 * manual/examples/argp-ex3.c (main): Likewise.
30375 * manual/examples/argp-ex4.c (main): Likewise.
30376 * manual/examples/longopt.c (main): Use new-style prototype
30377 definition.
30378 * manual/examples/strncat.c (main): Specify return type and use
30379 (void) for arguments.
30380 * manual/examples/subopt.c (main): Use char **argv argument.
30381
30382 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30383
30384 [BZ #5077]
30385 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30386 rounding modes.
30387
30388 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30389
30390 [BZ #6907]
30391 * manual/string.texi (strchr): Change when strchrnul is
30392 recommended.
30393
30394 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30395
30396 [BZ #174]
30397 * manual/locale.texi (setlocale): Document LOCPATH.
30398
30399 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30400
30401 [BZ #10210]
30402 * manual/process.texi (execle): Move @dots{} before last argument.
30403
30404 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
30405
30406 [BZ #12047]
30407 * manual/charset.texi (Generic Charset Conversion): Fix typo
30408 (LC_TYPE -> LC_CTYPE).
30409
30410 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30411
30412 [BZ #5805]
30413 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30414 (scalbnf): Likewise.
30415 (scalbnl): Likewise.
30416 (scalbln): Likewise.
30417 (scalblnf): Likewise.
30418 (scalblnl): Likewise.
30419 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30420 (vwarnx): Likewise.
30421 (verr): Likewise.
30422 (verrx): Likewise.
30423 * manual/filesys.texi (telldir): Use braces around return type.
30424 * manual/llio.texi (mmap): Add space after comma.
30425 (mmap64): Likewise.
30426 * manual/math.texi (jn): Use @var{} on parameter names.
30427 (jnf): Likewise.
30428 (jnl): Likewise.
30429 (yn): Likewise.
30430 (ynf): Likewise.
30431 (ynl): Likewise.
30432 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30433 line.
30434 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30435 "...".
30436 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30437 (sched_get_priority_max): Likewise.
30438 * manual/signal.texi (sigvec): Add space after comma.
30439 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30440 names.
30441 (if_indextoname): Likewise.
30442 (if_freenameindex): Likewise.
30443 (sendto): Use ',' instead of '.' in prototype.
30444 * manual/startup.texi (syscall): Use @dots{} instead of literal
30445 "...".
30446 * manual/stdio.texi (__fpending): Separate initial words of
30447 paragraph from @deftypefun line.
30448 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30449 "...".
30450 (vsyslog): Use @var{} on parameter names.
30451 * manual/terminal.texi (stty): Use @var{} on parameter names.
30452 * manual/users.texi (getutmp): Use @var{} on parameter names.
30453 (getutmpx): Likewise.
30454
30455 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30456
30457 [BZ #6884]
30458 * manual/stdio.texi (fopen): Fix typos in description of
30459 ",ccs=STRING".
30460
30461 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30462
30463 [BZ #4026]
30464 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30465 get clock_id definition.
30466
30467 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
30468
30469 [BZ #4822]
30470 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30471 (madvise): Cast every argument to void on its own.
30472
30473 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30474
30475 [BZ #9902]
30476 * manual/startup.texi (Exit Status): Fix typo.
30477
30478 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30479
30480 [BZ #10140]
30481 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30482 * manual/examples/argp-ex2.c: Likewise.
30483 * manual/examples/argp-ex3.c: Likewise.
30484
30485 2012-02-16 Richard Henderson <rth@redhat.com>
30486
30487 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30488 * sysdeps/s390/s390-32/initfini.c: Remove.
30489 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30490 * sysdeps/s390/s390-64/initfini.c: Remove.
30491
30492 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30493
30494 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30495 compiler output for sysdeps/generic/initfini.c.
30496 * sysdeps/sh/elf/initfini.c: Remove file.
30497
30498 2012-02-16 David S. Miller <davem@davemloft.net>
30499
30500 [BZ #11494]
30501 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30502
30503 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30504 * sysdeps/sparc/crti.S: New file.
30505 * sysdeps/sparc/crtn.S: New file.
30506 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30507 * sysdeps/sparc/sparc64/Makefile: Likewise.
30508
30509 2012-02-15 Mike Frysinger <vapier@gentoo.org>
30510
30511 [BZ #3335]
30512 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30513
30514 2012-02-15 Roland McGrath <roland@hack.frob.com>
30515
30516 [BZ #4822]
30517 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30518
30519 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30520 (write, read, close): Likewise.
30521 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30522
30523 2012-02-15 Joseph Myers <joseph@codesourcery.com>
30524
30525 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30526 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30527 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30528 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30529 <bits/signalfd.h>.
30530 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30531 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30532 bits/signalfd.h.
30533
30534 2012-02-14 Marek Polacek <polacek@redhat.com>
30535
30536 * sysdeps/x86_64/crti.S: New file.
30537 * sysdeps/x86_64/crtn.S: New file.
30538 * sysdeps/x86_64/elf/initfini.c: Remove file.
30539
30540 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30541
30542 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30543 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30544 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30545 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30546 <bits/inotify.h>.
30547 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30548 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30549 bits/inotify.h.
30550
30551 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30552
30553 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30554 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30555 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30556 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30557 <bits/eventfd.h>.
30558 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30559 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30560 bits/eventfd.h.
30561
30562 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30563
30564 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30565 __feraiseexcept instead of feraiseexcept.
30566
30567 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30568 nanosleep invocations.
30569 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30570 strings, and add error checking for a nanosleep invocations.
30571
30572 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30573
30574 Replace FSF snail mail address with URLs, as per GNU coding standards.
30575 Most of the snail mail addresses were wrong anyway, and omitting
30576 them makes the source code easier to maintain. Almost all of the
30577 changes are to license notices and to locale LC_IDENTIFICATION
30578 addresses, except for this one:
30579 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30580 not its snail mail address.
30581
30582 2012-02-09 Richard Henderson <rth@twiddle.net>
30583
30584 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30585 of kernel-features.h.
30586
30587 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30588
30589 2012-02-08 Marek Polacek <polacek@redhat.com>
30590
30591 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30592 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30593 * sysdeps/gnu/_G_config.h: Likewise.
30594 * sysdeps/generic/_G_config.h: Likewise.
30595
30596 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30597
30598 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30599 tests.
30600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30601
30602 * sysdeps/powerpc/powerpc32/crti.S: New file.
30603 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30604 * sysdeps/powerpc/powerpc64/crti.S: New file.
30605 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30606
30607 * Makeconfig (have-initfini): Don't set.
30608 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30609 * configure.in (nopic_initfini): Don't substitute.
30610 * config.h.in (HAVE_INITFINI): Don't #undef.
30611 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30612 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30613
30614 2012-02-08 Joseph Myers <joseph@codesourcery.com>
30615
30616 Support crti.S and crtn.S provided directly by architectures.
30617 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30618 [crti.S in sysdirs] (omit-deps): Likewise.
30619 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30620 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30621 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30622 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30623 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30624 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30625 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30626 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30627 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30628 compiler output for sysdeps/generic/initfini.c.
30629 * sysdeps/i386/elf/Makefile: Remove file.
30630 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30631
30632 2012-02-07 Marek Polacek <polacek@redhat.com>
30633
30634 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30635 * sysdeps/gnu/_G_config.h: Likewise.
30636 * sysdeps/mach/hurd/_G_config.h: Likewise.
30637
30638 2012-02-07 Marek Polacek <polacek@redhat.com>
30639
30640 * math/Makefile (tests): Add tst-CMPLX2.
30641 * math/tst-CMPLX2.c: New file.
30642
30643 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30644
30645 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30646
30647 * math/libm-test.inc (jn_test): Add missing L suffix.
30648
30649 2012-02-06 Marek Polacek <polacek@redhat.com>
30650
30651 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30652 * sysdeps/i386/fpu/e_powf.S: Likewise.
30653 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30654 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30655 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30656 * sysdeps/i386/fpu/e_pow.S: Likewise.
30657 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30658 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30659 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30660 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30661 * sysdeps/i386/fpu/e_log2.S: Likewise.
30662 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30663 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30664 * sysdeps/i386/fpu/e_powl.S: Likewise.
30665 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30666 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30667 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30668 * sysdeps/i386/fpu/e_logl.S: Likewise.
30669 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30670 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30671 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30672 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30673 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30674 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30675 * sysdeps/i386/fpu/e_log.S: Likewise.
30676 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30677 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30678 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30679 * sysdeps/i386/fpu/e_logf.S: Likewise.
30680 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30681 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30682 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30683 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30684 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30685 * sysdeps/i386/fpu/e_log10.S: Likewise.
30686 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30687 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30688 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30689 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30690 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30691 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30692 * sysdeps/i386/asm-syntax.h: Likewise.
30693 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30694 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30695 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30696 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30697 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30698 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30699 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30700 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30701 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30702 * sysdeps/powerpc/sysdep.h: Likewise.
30703 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30704 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30705
30706 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30707
30708 [BZ #411]
30709 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30710
30711 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30712
30713 * sysdeps/i386/sysdep.h: Include <features.h>.
30714 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30715 version.
30716
30717 2012-02-05 Joseph Myers <joseph@codesourcery.com>
30718
30719 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30720 Define.
30721 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30722 LOAD_PIC_REG_STR.
30723
30724 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30725
30726 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30727 (SETUP_PIC_REG): Use GET_PC_THUNK.
30728 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30729 macro.
30730
30731 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30732
30733 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30734 for non-PIC compilation.
30735 (SETUP_PIC_REG): Add .p2align directive.
30736 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30737 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30738 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30739 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30740 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30741 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30742 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30743 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30744 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30745 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30746 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30747 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30748 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30749 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30750 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30751 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30752 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30753 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30754 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30755 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30756 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30757 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30758 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30759 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30760 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30761 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30762 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30763 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30764 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30765 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30766 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30767 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30768 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30769 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30770 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30771 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30772 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30773 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30774 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30775 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30776 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30777
30778 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30779
30780 * math/tst-CMPLX.c: Include <stdio.h>.
30781
30782 2012-01-31 Joseph Myers <joseph@codesourcery.com>
30783
30784 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30785 float.
30786 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30787 * sysdeps/sparc/bits/mathdef.h: Likewise.
30788
30789 2012-01-31 Marek Polacek <polacek@redhat.com>
30790
30791 * libio/libio.h: Don't define _PARAMS.
30792 * locale/programs/config.h: Don't define PARAMS.
30793 * stdlib/strtol_l.c: Likewise.
30794 (__strtol_l): Remove PARAMS from the prototype.
30795
30796 2012-01-31 Ulrich Drepper <drepper@gmail.com>
30797
30798 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
30799 names. Just use the correct names. Remove unnecessary wrapper
30800 functions.
30801 * malloc/arena.c: Likewise.
30802 * malloc/hooks.c: Likewise.
30803
30804 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
30805 ARENA_TEST says not to. Simplify test for creation of a new arena.
30806 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
30807
30808 2012-01-30 Ulrich Drepper <drepper@gmail.com>
30809
30810 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
30811 into tail calls.
30812 (update_get_addr): New function.
30813 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
30814 GET_ADDR_MODULE parameter.
30815
30816 2012-01-30 Joseph Myers <joseph@codesourcery.com>
30817
30818 * crypt/cert.c: Remove __STDC__ conditionals.
30819 * crypt/crypt-entry.c: Likewise.
30820 * crypt/crypt_util.c: Likewise.
30821 * libio/filedoalloc.c: Likewise.
30822 * libio/fileops.c: Likewise.
30823 * libio/genops.c: Likewise.
30824 * libio/iofclose.c: Likewise.
30825 * libio/iofdopen.c: Likewise.
30826 * libio/iofopen.c: Likewise.
30827 * libio/iofopen64.c: Likewise.
30828 * libio/iogetdelim.c: Likewise.
30829 * libio/iopopen.c: Likewise.
30830 * libio/obprintf.c: Likewise.
30831 * libio/oldfileops.c: Likewise.
30832 * libio/oldiofclose.c: Likewise.
30833 * libio/oldiofdopen.c: Likewise.
30834 * libio/oldiofopen.c: Likewise.
30835 * libio/oldiopopen.c: Likewise.
30836 * libio/wfiledoalloc.c: Likewise.
30837 * libio/wgenops.c: Likewise.
30838 * locale/programs/xmalloc.c: Likewise.
30839 * misc/syslog.c: Likewise.
30840 * stdio-common/xbug.c: Likewise.
30841 * string/memchr.c: Likewise.
30842 * string/memcmp.c: Likewise.
30843 * string/memrchr.c: Likewise.
30844 * string/rawmemchr.c: Likewise.
30845 * sysdeps/posix/getcwd.c: Likewise.
30846 * time/strftime_l.c: Likewise.
30847
30848 2012-01-30 Joseph Myers <joseph@codesourcery.com>
30849
30850 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
30851 * config.make.in (config-cflags-sse2avx): Define.
30852 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
30853 Fix typo.
30854
30855 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
30856
30857 * scripts/config.guess: Update from upstream config git repository.
30858 * scripts/config.sub: Likewise.
30859
30860 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
30861
30862 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
30863 (EM_NUM): Update.
30864 (R_TILEPRO_*, R_TILEGX_*): New macros.
30865
30866 * scripts/firstversions.awk: Fix bug in version range handling.
30867
30868 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
30869
30870 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
30871
30872 * include/sys/epoll.h: New file.
30873 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
30874 libc_hidden_def.
30875
30876 2012-01-28 Ulrich Drepper <drepper@gmail.com>
30877
30878 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
30879 Avoid unnecessary __WORDSIZE == 64 test.
30880 (fmaxf): Use VEX format if possible.
30881 (fmax): Likewise.
30882 (fminf): Likewise.
30883 (fmin): Likewise.
30884
30885 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
30886 * math/math_private.h: Remove libc_fegetround* and
30887 libc_fesetround*.
30888 * sysdeps/i386/configure.in: Check for -msse2avx.
30889 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
30890 also if SSE2AVX is defined.
30891 Remove libc_fegetround* and libc_fesetround*.
30892 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
30893 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
30894 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
30895 of HAS_YMM_USABLE.
30896 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30897 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30898 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30899 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30900 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30901
30902 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
30903
30904 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30905
30906 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
30907 size is not set.
30908 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30909
30910 2012-01-27 Ulrich Drepper <drepper@gmail.com>
30911
30912 [BZ #13618]
30913 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
30914 relocation.
30915 * Makeconfig (libm): Define.
30916 * elf/Makefile: Add rules to build and run tst-relsort1.
30917 * elf/tst-relsort1.c: New file.
30918 * elf/tst-relsort1mod1.c: New file.
30919 * elf/tst-relsort1mod2.c: New file.
30920
30921 2012-01-27 Joseph Myers <joseph@codesourcery.com>
30922
30923 * math/s_ldexp.c: Remove __STDC__ conditionals.
30924 * math/s_ldexpf.c: Likewise.
30925 * math/s_ldexpl.c: Likewise.
30926 * math/s_nextafter.c: Likewise.
30927 * math/s_nexttowardf.c: Likewise.
30928 * math/s_significand.c: Likewise.
30929 * math/s_significandf.c: Likewise.
30930 * math/s_significandl.c: Likewise.
30931 * math/w_jnl.c: Likewise.
30932 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30933 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30934 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30935 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30936 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30937 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30938 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
30939 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30940 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30941 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30942 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30943 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30944 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30945 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30946 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30947 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30948 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30949 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30950 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30951 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30952 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30953 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30954 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30955 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30956 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30957 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30958 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30959 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30960 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30961 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30962 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30963 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30964 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30965 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30966 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30967 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30968 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30969 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30970 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30971 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30972 * sysdeps/ieee754/k_standard.c: Likewise.
30973 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30974 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30975 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30976 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30977 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30978 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
30979 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30980 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
30981 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
30982 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
30983 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
30984 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
30985 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
30986 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
30987 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
30988 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
30989 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
30990 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30991 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30992 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
30993 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30994 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30995 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
30996 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
30997 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30998 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30999 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31000 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31001 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31002 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31003 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31004 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31005 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31006 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31007 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31008 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31009 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31010 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31011 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31012 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31013 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31014 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31015 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31016 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31017 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31018 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31019 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31020 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31021 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31022 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31023 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31024 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31025 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31026 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31027 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31028 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31029 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31030 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31031 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31032 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31033 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31034 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31035 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31036 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31037 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31038 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31039 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31040 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31041 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31042 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31043 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31044 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31045 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31046 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31047 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31048 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31049 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31050 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31051 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31052 * sysdeps/ieee754/s_matherr.c: Likewise.
31053 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31054 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31055 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31056 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31057
31058 2012-01-26 Joseph Myers <joseph@codesourcery.com>
31059
31060 * crypt/md5.h: Remove __STDC__ conditionals.
31061 * libio/libioP.h: Likewise.
31062 * locale/programs/config.h: Likewise.
31063 * sysdeps/generic/sysdep.h: Likewise.
31064 * sysdeps/i386/asm-syntax.h: Likewise.
31065 * sysdeps/s390/asm-syntax.h: Likewise.
31066 * sysdeps/unix/sysdep.h: Likewise.
31067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31069
31070 2012-01-26 Joseph Myers <joseph@codesourcery.com>
31071
31072 * libio/libio.h: Remove __STDC__ conditionals.
31073 * malloc/obstack.h: Likewise.
31074 * math/complex.h: Likewise.
31075 * math/math.h: Likewise.
31076 * sysdeps/generic/_G_config.h: Likewise.
31077 * sysdeps/gnu/_G_config.h: Likewise.
31078 * sysdeps/mach/hurd/_G_config.h: Likewise.
31079 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31080 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31081 * sysdeps/sparc/bits/mathdef.h: Likewise.
31082
31083 2012-01-26 Ulrich Drepper <drepper@gmail.com>
31084
31085 [BZ #13583]
31086 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
31087 Clean up HAS_* macros.
31088 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
31089 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31090 possible.
31091 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31092 HAS_AVX.
31093 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31094 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31095 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31096 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31097 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31098
31099 2012-01-25 Joseph Myers <joseph@codesourcery.com>
31100
31101 * elf/tst-unique3.cc (gets): Remove declaration.
31102 * elf/tst-unique3lib.cc (gets): Likewise.
31103 * elf/tst-unique3lib2.cc (gets): Likewise.
31104 * elf/tst-unique4.cc (gets): Likewise.
31105
31106 2012-01-24 Ulrich Drepper <drepper@gmail.com>
31107
31108 * include/stdio.h: Add C++ protection. Add gets declarations and
31109 definitions.
31110 * debug/tst-chk1.c: Don't declare gets here.
31111 * stdio-common/tst-gets.c: Likewise.
31112
31113 2012-01-24 Joseph Myers <joseph@codesourcery.com>
31114
31115 * posix/glob: Remove directory.
31116
31117 2012-01-24 Joseph Myers <joseph@codesourcery.com>
31118
31119 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31120
31121 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
31122
31123 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31124 of the non-standard EPFNOSUPPORT.
31125
31126 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
31127
31128 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31129 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31130 ANYWHERE set to 1 only on KERN_NO_SPACE error.
31131
31132 2012-01-21 Ulrich Drepper <drepper@gmail.com>
31133
31134 * wcsmbs/uchar.h: Test __STDC_VERSION__.
31135
31136 2012-01-20 Ulrich Drepper <drepper@gmail.com>
31137
31138 * nscd/aicache.c (addhstaiX): Do not cache negative results of
31139 transient errors.
31140 * nscd/grpcache.c (cache_addgr): Likewise.
31141 * nscd/hstcache.c (cache_addhst): Likewise.
31142 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31143 * nscd/pwdcache.c (cache_addpw): Likewise.
31144 * nscd/servicescache.c (cache_addserv): Likewise.
31145
31146 2012-01-16 Ulrich Drepper <drepper@gmail.com>
31147
31148 * malloc/malloc.c: Various cleanups.
31149 * malloc/hooks.c: Likewise.
31150
31151 * stdlib/Makefile (tests): Add bug-fmtmsg1.
31152 * stdlib/bug-fmtmsg1.c: New file.
31153
31154 * stdlib/fmtmsg.c (init): Add missing unlock.
31155 Patch by Peng Haitao <penght@cn.fujitsu.com>.
31156
31157 2012-01-12 Marek Polacek <polacek@redhat.com>
31158
31159 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31160 and _GNU_SOURCE.
31161
31162 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31163
31164 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31165 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31166 macro to ensure uniqueness of label name.
31167 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31168 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31169
31170 2012-01-11 Ulrich Drepper <drepper@gmail.com>
31171
31172 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31173
31174 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31175 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31176 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31177 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31178
31179 2012-01-10 Ulrich Drepper <drepper@gmail.com>
31180
31181 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31182
31183 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31184 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31185 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31186
31187 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31188
31189 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
31190 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31191 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31192 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
31193
31194 * math/bits/math-finite.h: Add ldexp support.
31195
31196 2012-01-10 Marek Polacek <polacek@redhat.com>
31197
31198 * locale/programs/localedef.h (show_archive_content): Add noreturn
31199 attribute.
31200
31201 2012-01-09 Ulrich Drepper <drepper@gmail.com>
31202
31203 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31204
31205 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31206
31207 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31208
31209 * io/Makefile (headers): Add bits/poll2.h.
31210
31211 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
31212
31213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31214 typo #include statement.
31215
31216 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31217
31218 * include/sys/cdefs.h: Define __attribute_alloc_size.
31219 * catgets/gencat.c: Add alloc_size attribute and apply consistently
31220 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31221 * elf/pldd.c: Likewise.
31222 * iconv/iconv_charmap.c: Likewise.
31223 * iconv/iconvconfig.c: Likewise.
31224 * iconv/strtab.c: Likewise.
31225 * locale/programs/locale.c: Likewise.
31226 * locale/programs/localedef.h: Likewise.
31227 * locale/programs/simple-hash.c: Likewise.
31228 * nscd/nscd.h: Likewise.
31229 * nss/makedb.c: Likewise.
31230 * sysdeps/generic/ldconfig.h: Likewise.
31231 * locale/programs/localedef.c: Remove xmalloc prototype.
31232 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31233
31234 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31235
31236 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31237 appropriate.
31238
31239 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31240
31241 * math/Makefile (tests): Add tst-CMPLX.
31242 * math/tst-CMPLX.c: New file.
31243
31244 * math/complex.h (CMPLXL): Fix typo.
31245
31246 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31247 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31248 GLIBC_2.16.
31249 * debug/tst-chk1.c: Add poll and ppoll tests.
31250 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31251 * include/sys/poll.h: Add hidden proto for ppoll.
31252 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31253 * sysdeps/mach/hurd/ppoll.c: Likewise.
31254 * io/ppoll.c: Likewise.
31255 * debug/poll_chk.c: New file.
31256 * debug/ppoll_chk.c: New file.
31257 * include/bits/poll2.h: New file.
31258 * io/bits/poll2.h: New file.
31259
31260 [BZ #1350]
31261 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31262
31263 * configure.in: static is always set to yes. Remove.
31264 * config.make.in: Don't set build-static.
31265 * Makeconfig: Remove use of build-static.
31266 * dlfcn/Makefile: Likewise.
31267 * elf/Makefile: Likewise.
31268 * math/Makefile: Likewise.
31269 * misc/Makefile: Likewise.
31270 * nptl/Makefile: Likewise.
31271 * sysdeps/mach/hurd/Makefile: Likewise.
31272
31273 * configure.in: PWD_P is not used anymore.
31274 * config.make.in: Remove PWD_P entry.
31275
31276 * configure.in: Remove last remnants of RANLIB.
31277 No need to check for signed size_t anymore.
31278 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31279 and IA-64.
31280 Remove __builtin_expect test because we require at least gcc 3.4.
31281 * aclocal.m4: Likewise.
31282
31283 * wcsmbs/mbrtoc16.c: Implement using towc function.
31284 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31285 * wcsmbs/wcsmbsload.c: Likewise.
31286 * iconv/gconv_simple.c: Likewise.
31287 * iconv/gconv_int.h: Likewise.
31288 * iconv/gconv_builtin.h: Likewise.
31289 * iconv/iconv_prog.c: Remove CHAR16 handling.
31290
31291 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31292
31293 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31294
31295 * configure.in: Remove --with-elf and --enable-bounded options.
31296 Dont set base_machine for ia64. More non-ELF conditions removed.
31297 Remove testing and setting of leading underscore information.
31298 * config.make.in (build-bounded): Set to no.
31299 * config.h.in: Remove NO_UNDERSCORES entry.
31300 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31301 them.
31302 * csu/start.c: Remove !NO_UNDERSCORE code.
31303 * locale/localeinfo.h: Likewise.
31304 * sysdeps/generic/machine-gmon.h: Likewise.
31305 * sysdeps/generic/sysdep.h: Likewise.
31306 * sysdeps/i386/sysdep.h: Likewise.
31307 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31308 * sysdeps/mach/sysdep.h: Likewise.
31309 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31310 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31311 * sysdeps/sh/sysdep.h: Likewise.
31312 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31313 * sysdeps/unix/i386/sysdep.S: Likewise.
31314 * sysdeps/unix/sparc/start.c: Likewise.
31315 * sysdeps/unix/sparc/sysdep.S: Likewise.
31316 * sysdeps/unix/sparc/sysdep.h: Likewise.
31317 * sysdeps/unix/start.c: Likewise.
31318 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31319 * sysdeps/x86_64/sysdep.h: Likewise.
31320
31321 2012-01-07 Ulrich Drepper <drepper@gmail.com>
31322
31323 [BZ #13553]
31324 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31325 for non-gcc.
31326 * argp/argp-fmtstream.h: Use const instead __const.
31327 * argp/argp.h: Likewise.
31328 * assert/assert.h: Likewise.
31329 * bits/fenv.h: Likewise.
31330 * bits/sched.h: Likewise.
31331 * bits/sigset.h: Likewise.
31332 * bits/sigthread.h: Likewise.
31333 * catgets/nl_types.h: Likewise.
31334 * conform/data/pthread.h-data: Likewise.
31335 * crypt/crypt-private.h: Likewise.
31336 * crypt/crypt.h: Likewise.
31337 * crypt/crypt_util.c: Likewise.
31338 * ctype/ctype.h: Likewise.
31339 * debug/execinfo.h: Likewise.
31340 * debug/mbsnrtowcs_chk.c: Likewise.
31341 * debug/mbsrtowcs_chk.c: Likewise.
31342 * debug/wcsnrtombs_chk.c: Likewise.
31343 * debug/wcsrtombs_chk.c: Likewise.
31344 * debug/wcstombs_chk.c: Likewise.
31345 * dirent/dirent.h: Likewise.
31346 * dlfcn/dlfcn.h: Likewise.
31347 * elf/neededtest4.c: Likewise.
31348 * grp/grp.h: Likewise.
31349 * gshadow/gshadow.h: Likewise.
31350 * iconv/gconv.h: Likewise.
31351 * iconv/gconv_int.h: Likewise.
31352 * iconv/gconv_simple.c: Likewise.
31353 * iconv/iconv.h: Likewise.
31354 * iconv/loop.c: Likewise.
31355 * iconv/skeleton.c: Likewise.
31356 * include/aio.h: Likewise.
31357 * include/aliases.h: Likewise.
31358 * include/argz.h: Likewise.
31359 * include/arpa/inet.h: Likewise.
31360 * include/assert.h: Likewise.
31361 * include/dirent.h: Likewise.
31362 * include/dlfcn.h: Likewise.
31363 * include/execinfo.h: Likewise.
31364 * include/fcntl.h: Likewise.
31365 * include/fenv.h: Likewise.
31366 * include/glob.h: Likewise.
31367 * include/grp.h: Likewise.
31368 * include/libintl.h: Likewise.
31369 * include/mntent.h: Likewise.
31370 * include/netdb.h: Likewise.
31371 * include/pwd.h: Likewise.
31372 * include/rpc/netdb.h: Likewise.
31373 * include/sched.h: Likewise.
31374 * include/search.h: Likewise.
31375 * include/shadow.h: Likewise.
31376 * include/signal.h: Likewise.
31377 * include/stdio.h: Likewise.
31378 * include/stdlib.h: Likewise.
31379 * include/string.h: Likewise.
31380 * include/sys/socket.h: Likewise.
31381 * include/sys/stat.h: Likewise.
31382 * include/sys/statfs.h: Likewise.
31383 * include/sys/statvfs.h: Likewise.
31384 * include/sys/syslog.h: Likewise.
31385 * include/sys/time.h: Likewise.
31386 * include/sys/uio.h: Likewise.
31387 * include/time.h: Likewise.
31388 * include/unistd.h: Likewise.
31389 * include/utmp.h: Likewise.
31390 * include/wchar.h: Likewise.
31391 * include/wctype.h: Likewise.
31392 * inet/aliases.h: Likewise.
31393 * inet/arpa/inet.h: Likewise.
31394 * inet/netinet/ether.h: Likewise.
31395 * inet/netinet/in.h: Likewise.
31396 * intl/libintl.h: Likewise.
31397 * io/bits/fcntl2.h: Likewise.
31398 * io/fcntl.h: Likewise.
31399 * io/ftw.h: Likewise.
31400 * io/sys/poll.h: Likewise.
31401 * io/sys/stat.h: Likewise.
31402 * io/sys/statfs.h: Likewise.
31403 * io/sys/statvfs.h: Likewise.
31404 * io/utime.h: Likewise.
31405 * libio/bits/stdio.h: Likewise.
31406 * libio/bits/stdio2.h: Likewise.
31407 * libio/libio.h: Likewise.
31408 * libio/libioP.h: Likewise.
31409 * libio/stdio.h: Likewise.
31410 * locale/lc-ctype.c: Likewise.
31411 * locale/locale.h: Likewise.
31412 * login/utmp.h: Likewise.
31413 * malloc/arena.c: Likewise.
31414 * malloc/malloc.c: Likewise.
31415 * malloc/malloc.h: Likewise.
31416 * malloc/mcheck.c: Likewise.
31417 * malloc/mtrace.c: Likewise.
31418 * math/bits/mathcalls.h: Likewise.
31419 * math/fenv.h: Likewise.
31420 * math/math_private.h: Likewise.
31421 * misc/bits/error.h: Likewise.
31422 * misc/bits/syslog.h: Likewise.
31423 * misc/err.h: Likewise.
31424 * misc/error.h: Likewise.
31425 * misc/fstab.h: Likewise.
31426 * misc/mntent.h: Likewise.
31427 * misc/regexp.h: Likewise.
31428 * misc/search.h: Likewise.
31429 * misc/sgtty.h: Likewise.
31430 * misc/sys/mman.h: Likewise.
31431 * misc/sys/syslog.h: Likewise.
31432 * misc/sys/uio.h: Likewise.
31433 * misc/sys/xattr.h: Likewise.
31434 * misc/ttyent.h: Likewise.
31435 * nis/rpcsvc/ypclnt.h: Likewise.
31436 * nss/nss.h: Likewise.
31437 * posix/bits/unistd.h: Likewise.
31438 * posix/fnmatch.h: Likewise.
31439 * posix/glob.h: Likewise.
31440 * posix/sched.h: Likewise.
31441 * posix/spawn.h: Likewise.
31442 * posix/sys/wait.h: Likewise.
31443 * posix/unistd.h: Likewise.
31444 * posix/wordexp.h: Likewise.
31445 * pwd/pwd.h: Likewise.
31446 * resolv/netdb.h: Likewise.
31447 * resource/sys/resource.h: Likewise.
31448 * rt/aio.h: Likewise.
31449 * rt/bits/mqueue2.h: Likewise.
31450 * rt/mqueue.h: Likewise.
31451 * shadow/shadow.h: Likewise.
31452 * signal/signal.h: Likewise.
31453 * socket/send.c: Likewise.
31454 * socket/sendto.c: Likewise.
31455 * socket/sys/socket.h: Likewise.
31456 * stdio-common/printf.h: Likewise.
31457 * stdlib/bits/stdlib.h: Likewise.
31458 * stdlib/fmtmsg.h: Likewise.
31459 * stdlib/monetary.h: Likewise.
31460 * stdlib/stdlib.h: Likewise.
31461 * stdlib/ucontext.h: Likewise.
31462 * streams/stropts.h: Likewise.
31463 * string/argz.h: Likewise.
31464 * string/bits/string2.h: Likewise.
31465 * string/string.h: Likewise.
31466 * string/strings.h: Likewise.
31467 * sunrpc/rpc/auth.h: Likewise.
31468 * sunrpc/rpc/auth_des.h: Likewise.
31469 * sunrpc/rpc/clnt.h: Likewise.
31470 * sunrpc/rpc/netdb.h: Likewise.
31471 * sunrpc/rpc/pmap_clnt.h: Likewise.
31472 * sunrpc/rpc/xdr.h: Likewise.
31473 * sysdeps/generic/inttypes.h: Likewise.
31474 * sysdeps/generic/net/if.h: Likewise.
31475 * sysdeps/generic/sys/swap.h: Likewise.
31476 * sysdeps/gnu/net/if.h: Likewise.
31477 * sysdeps/gnu/utmpx.h: Likewise.
31478 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31479 * sysdeps/i386/i486/bits/string.h: Likewise.
31480 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31481 * sysdeps/s390/bits/string.h: Likewise.
31482 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31483 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31484 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31485 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31486 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31487 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31488 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31489 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31490 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31491 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31492 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31493 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31494 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31495 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31496 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31497 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31498 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31499 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31500 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31501 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31502 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31503 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31504 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31505 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31506 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31507 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31508 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31509 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31510 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31511 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31512 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31513 * sysvipc/sys/ipc.h: Likewise.
31514 * sysvipc/sys/msg.h: Likewise.
31515 * sysvipc/sys/sem.h: Likewise.
31516 * sysvipc/sys/shm.h: Likewise.
31517 * termios/termios.h: Likewise.
31518 * time/sys/time.h: Likewise.
31519 * time/time.h: Likewise.
31520 * wcsmbs/bits/wchar2.h: Likewise.
31521 * wcsmbs/uchar.h: Likewise.
31522 * wcsmbs/wchar.h: Likewise.
31523 * wctype/wctype.h: Likewise.
31524
31525 [BZ #13551]
31526 * Makeconfig: Remove all but ELF support including AIX support.
31527 * Makerules: Likewise.
31528 * config.h.in: Likewise.
31529 * config.make.in: Likewise.
31530 * configure: Likewise.
31531 * configure.in: Likewise.
31532 * csu/Makefile: Likewise.
31533 * csu/version.c: Likewise.
31534 * debug/Makefile: Likewise.
31535 * dlfcn/Makefile: Likewise.
31536 * elf/Makefile: Likewise.
31537 * extra-lib.mk: Likewise.
31538 * iconv/Makefile: Likewise.
31539 * include/libc-symbols.h: Likewise.
31540 * include/shlib-compat.h: Likewise.
31541 * resolv/Makefile: Likewise.
31542 * resolv/res_libc.c: Likewise.
31543 * rt/Makefile: Likewise.
31544 * sysdeps/i386/asm-syntax.h: Likewise.
31545 * sysdeps/i386/sysdep.h: Likewise.
31546 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31547 * sysdeps/mach/sysdep.h: Likewise.
31548 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31549 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31550 * sysdeps/s390/asm-syntax.h: Likewise.
31551 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31552 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31553 * sysdeps/sh/sysdep.h: Likewise.
31554 * sysdeps/unix/sparc/sysdep.h: Likewise.
31555 * sysdeps/wordsize-32/divdi3.c: Likewise.
31556 * sysdeps/x86_64/sysdep.h: Likewise.
31557
31558 * argp/Versions: Remove _argp_unlock_xxx.
31559
31560 [BZ #13559]
31561 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31562 * abilist/libBrokenLocale.abilist: Likewise.
31563 * abilist/libanl.abilist: Likewise.
31564 * abilist/libc.abilist: Likewise.
31565 * abilist/libcrypt.abilist: Likewise.
31566 * abilist/libdl.abilist: Likewise.
31567 * abilist/libm.abilist: Likewise.
31568 * abilist/libnsl.abilist: Likewise.
31569 * abilist/libpthread.abilist: Likewise.
31570 * abilist/libresolv.abilist: Likewise.
31571 * abilist/librt.abilist: Likewise.
31572 * abilist/libthread_db.abilist: Likewise.
31573 * abilist/libutil.abilist: Likewise.
31574 * abilist/libnss_db.abilist: New file.
31575
31576 * scripts/abilist.awk: Add support for indirect functions.
31577
31578 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31579
31580 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31581
31582 * shlib-versions: Remove entries for ports architectures.
31583
31584 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31585 files in ports.
31586 * elf/stackguard-macros.h: Remove support for IA-64.
31587 * elf/tst-auditmod1.c: Likewise.
31588 * sysdeps/generic/ldsodefs.h: Likewise.
31589
31590 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31591 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31592 configure files.
31593
31594 [BZ #13552]
31595 * configure.in: Remove --enable-omitfp support.
31596 * FAQ.in: Adjust.
31597 * config.make.in: Likewise.
31598 * Makeconfig: Likewise.
31599 * manual/install.texi: Likewise.
31600
31601 In case anyone cares, the IA-64 architecture could move to ports.
31602 * sysdeps/ia64/*: Removed.
31603 * sysdeps/unix/sysv/linux/ia64/*: Removed.
31604 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31605
31606 [BZ #13555]
31607 * configure.in: Remove entries for unsupported architectures.
31608
31609 [BZ #13533]
31610 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31611 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31612 routines.
31613 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31614 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31615 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31616 fall back to using wcrtomb.
31617 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31618 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31619 renaming.
31620 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31621 * wcsmbs/tst-c16c32-1.c: New file.
31622
31623 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31624 local variable.
31625
31626 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31627
31628 * elf/tst-unique3.cc: Add explicit declaration of gets.
31629 * elf/tst-unique3lib.cc: Likewise.
31630 * elf/tst-unique3lib2.cc: Likewise.
31631 * elf/tst-unique4.cc: Likewise.
31632
31633 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31634
31635 2012-01-06 Joseph Myers <joseph@codesourcery.com>
31636
31637 [BZ #13566]
31638 * assert/assert.h (static_assert): Don't define for C++.
31639 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31640 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31641
31642 2012-01-03 Ulrich Drepper <drepper@gmail.com>
31643
31644 * iconv/loop.c (single loop): Fix assertion in storing of
31645 remaining bytes.
31646
31647 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31648
31649 2012-01-01 Ulrich Drepper <drepper@gmail.com>
31650
31651 * posix/getconf.c: Update copyright year.
31652 * nss/getent.c: Likewise.
31653 * nss/makedb.c: Likewise.
31654 * iconv/iconvconfig.c: Likewise.
31655 * iconv/iconv_prog.c: Likewise.
31656 * elf/ldconfig.c: Likewise.
31657 * elf/pldd.c: Likewise.
31658 * elf/sotruss.ksh: Likewise.
31659 * catgets/gencat.c: Likewise.
31660 * csu/version.c: Likewise.
31661 * elf/ldd.bash.in: Likewise.
31662 * elf/sprof.c (print_version): Likewise.
31663 * locale/programs/locale.c: Likewise.
31664 * locale/programs/localedef.c: Likewise.
31665 * login/programs/pt_chown.c: Likewise.
31666 * nscd/nscd.c (print_version): Likewise.
31667 * debug/xtrace.sh: Likewise.
31668 * malloc/memusage.sh: Likewise.
31669 * malloc/mtrace.pl: Likewise.
31670 * debug/catchsegv.sh: Likewise.
31671
31672 2011-12-30 Jakub Jelinek <jakub@redhat.com>
31673
31674 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31675 pure attribute.
31676
31677 2011-12-24 Ulrich Drepper <drepper@gmail.com>
31678
31679 [BZ #13533]
31680 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31681 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31682 transformations.
31683 * iconv/gconv_int.h: Likewise.
31684 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31685 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31686 from libc for GLIBC_2.16.
31687 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31688 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31689 * wcsmbs/uchar.h: Really define mbstate_t.
31690 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31691 * wcsmbs/c16rtomb.c: New file.
31692 * wcsmbs/mbrtoc16.c: New file.
31693 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31694 for C/POSIX locale.
31695 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31696 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31697
31698 * wcsmbs/wchar.h: Add missing __restrict.
31699
31700 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31701
31702 [BZ #13532]
31703 * time/Makefile (routines): Add timespec_get.
31704 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31705 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31706 timespec for ISO C11.
31707 * time/timespec_get.c: New file.
31708 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31709 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31710
31711 [BZ #13531]
31712 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31713 * stdlib/stdlib.h: Declare aligned_alloc.
31714 * Versions.def: Add GLIBC_2.16 for libc.
31715 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31716
31717 [BZ 13527]
31718 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31719 ISO C11.
31720
31721 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31722 code.
31723
31724 [BZ #13528]
31725 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31726
31727 [BZ #13529]
31728 * assert/assert.h (static_assert): Define.
31729
31730 * version.h: Update for 2.16 development version.
31731
31732 [BZ #13526]
31733 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31734 _ISOC11_SOURCE.
31735
31736 * version.h (RELEASE): Bump for 2.15 release.
31737 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31738
31739 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31740 Patch by Marek Polacek <mpolacek@redhat.com>.
31741
31742 * bits/byteswap.h: Protect long long constants with __extension__.
31743 * sysdeps/i386/bits/byteswap.h: Likewise.
31744 * sysdeps/ia64/bits/byteswap.h: Likewise.
31745 * sysdeps/s390/bits/byteswap.h: Likewise.
31746 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31747
31748 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31749
31750 [BZ #13540]
31751 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31752 destination buffer.
31753 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31754
31755 2011-12-23 Marek Polacek <polacek@redhat.com>
31756
31757 * elf/dl-addr.c (determine_info): Add inline keyword.
31758 * elf/tst-auditmod4b.c (check_avx): Likewise.
31759 * elf/tst-auditmod6b.c (check_avx): Likewise.
31760 * elf/tst-auditmod6c.c (check_avx): Likewise.
31761 * elf/tst-auditmod7b.c (check_avx): Likewise.
31762
31763 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31764
31765 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31766 !__SSE_MATH__.
31767
31768 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31769
31770 [BZ #13540]
31771 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31772 processing for last bytes.
31773
31774 2011-08-06 Bruno Haible <bruno@clisp.org>
31775
31776 [BZ #13061]
31777 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31778 U+0385, not to U+1FEE.
31779
31780 [BZ #13062]
31781 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31782 entry for U+00A5 U+0301.
31783
31784 2011-12-22 Ulrich Drepper <drepper@gmail.com>
31785
31786 [BZ #13166]
31787 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31788 buffer for the output is too small.
31789
31790 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31791 optimization.
31792
31793 [BZ #13185]
31794 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31795 SSE flags if possible.
31796
31797 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31798
31799 [BZ #13540]
31800 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
31801 processing for last bytes.
31802
31803 2011-12-22 Joseph Myers <joseph@codesourcery.com>
31804
31805 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
31806 (syscall-list-default-options, syscall-list-default-condition)
31807 (syscall-list-includes): Define.
31808 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
31809 list of ABIs and options and #if conditions for each ABI. Do not
31810 handle common syscalls between ABIs specially.
31811 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
31812 Remove.
31813 (syscall-list-variants, syscall-list-32bit-options)
31814 (syscall-list-32bit-condition, syscall-list-64bit-options)
31815 (syscall-list-64bit-condition): Define.
31816 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
31817 (syscall-list-variants, syscall-list-32bit-options)
31818 (syscall-list-32bit-condition, syscall-list-64bit-options)
31819 (syscall-list-64bit-condition): Define.
31820 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
31821 Remove.
31822 (syscall-list-variants, syscall-list-32bit-options)
31823 (syscall-list-32bit-condition, syscall-list-64bit-options)
31824 (syscall-list-64bit-condition): Define.
31825 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
31826 Remove.
31827 (syscall-list-variants, syscall-list-32bit-options)
31828 (syscall-list-32bit-condition, syscall-list-64bit-options)
31829 (syscall-list-64bit-condition): Define.
31830
31831 2011-12-22 Ulrich Drepper <drepper@gmail.com>
31832
31833 * locale/iso-639.def: Add brx entry.
31834
31835 [BZ #13328]
31836 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
31837 Proposed by Mariusz_Cukr <marcukr@op.pl>.
31838
31839 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
31840 __feraiseexcept_renamed.
31841
31842 2011-12-21 Ulrich Drepper <drepper@gmail.com>
31843
31844 [BZ #13538]
31845 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
31846 EPOLLET with unsigned values.
31847 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31848 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31849
31850 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
31851 to large cancellation.
31852 * math/s_cacoshf.c: Likewise.
31853 * math/s_cacoshl.c: Likewise.
31854
31855 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
31856
31857 [BZ #13305]
31858 [BZ #12786]
31859 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
31860 * math/s_cacoshf.c: Likewise.
31861 * math/s_cacoshl.c: Likewise.
31862
31863 2011-12-21 Ulrich Drepper <drepper@gmail.com>
31864
31865 [BZ #13439]
31866 * iconv/gconv.h: Define __GCONV_SWAP.
31867 * iconvdata/unicode.c: The swap bit must be stored in __flags.
31868 * iconvdata/utf-16.c: Likewise.
31869 * iconvdata/utf-32.c: Likewise.
31870
31871 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
31872
31873 [BZ #13524]
31874 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
31875 numerator after shifting it by one limb.
31876
31877 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
31878
31879 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
31880 under [__USE_EXTERN_INLINES].
31881
31882 2011-12-17 Ulrich Drepper <drepper@gmail.com>
31883
31884 [BZ #13446]
31885 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
31886
31887 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31888
31889 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
31890 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
31891 optimized code.
31892 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
31893 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
31894 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
31895 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
31896 for strncasecmp/strncasecmp_l compilation.
31897 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
31898 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
31899
31900 2011-12-08 Marek Polacek <mpolacek@redhat.com>
31901
31902 [BZ #13484]
31903 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
31904 of __asm__.
31905
31906 2011-12-17 Ulrich Drepper <drepper@gmail.com>
31907
31908 [BZ #13506]
31909 * time/tzfile.c (__tzfile_read): Check values from file header.
31910
31911 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31912
31913 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
31914 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
31915 * powerpc/powerpc32/dl-start.S: Likewise.
31916 * powerpc/powerpc32/elf/start.S: Likewise.
31917 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
31918 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
31919 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
31920 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
31921 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31922 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
31923 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
31924 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31925 * powerpc/powerpc32/fpu/s_round.S: Likewise.
31926 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31927 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31928 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31929 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
31930 * powerpc/powerpc32/memset.S: Likewise.
31931 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31932 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31933 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31934 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31935 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31936 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31937 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31938 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31939 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
31940 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
31941 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
31942 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31943 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31944
31945 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31946
31947 * math/libm-test.inc: Added more nearbyint tests.
31948 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
31949 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
31950 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
31951 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
31952
31953 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
31954
31955 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
31956 FD_CLOEXEC.
31957
31958 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31959
31960 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
31961 Add wcscpy-ssse3 wcscpy-c.
31962 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
31963 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
31964 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
31965 * sysdeps/x86_64/wcschr.S: New file.
31966 * sysdeps/x86_64/wcsrchr.S: New file.
31967 * string/test-strcmp.c: Remove checking of wcscmp function for
31968 wrong alignments.
31969 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
31970 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
31971 wcsrchr-sse2 wcsrchr-c.
31972 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
31973 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
31974 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
31975 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
31976 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
31977 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
31978 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
31979 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
31980 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
31981 * wcsmbc/wcschr.c (WCSCHR): New macro.
31982
31983 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31984
31985 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
31986 * wcsmbs/test-wcsrchr.c: New file.
31987 * string/test-strrchr.c: Add wcsrchr support.
31988 (WIDE): New macro.
31989 * wcsmbs/test-wcscpy.c: New file.
31990 * string/test-strcpy.c: Add wcscpy support.
31991 (WIDE): New macro.
31992
31993 2011-12-10 Ulrich Drepper <drepper@gmail.com>
31994
31995 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
31996 the inner loop.
31997
31998 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
31999
32000 [BZ #13472]
32001 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32002
32003 2011-12-04 Ulrich Drepper <drepper@gmail.com>
32004
32005 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
32006 Minor optimizations.
32007
32008 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32009 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32010 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32011
32012 2011-12-03 Ulrich Drepper <drepper@gmail.com>
32013
32014 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32015 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32016 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32017 for gcc to avoid warnings.
32018 * inet/Makefile (tests): Add tst-checks.
32019 * inet/tst-checks.c: New file.
32020
32021 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32022 warning.
32023
32024 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32025 __wmemcmp_sse2.
32026
32027 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32028 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32029
32030 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32031
32032 2011-12-02 Ulrich Drepper <drepper@gmail.com>
32033
32034 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32035 problem.
32036
32037 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32038
32039 2011-11-29 Joseph Myers <joseph@codesourcery.com>
32040
32041 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32042 conditional on GCC version.
32043 (__arch_compare_and_exchange_val_8_acq)
32044 (__arch_compare_and_exchange_val_16_acq)
32045 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32046 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32047 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32048
32049 2011-12-02 Joseph Myers <joseph@codesourcery.com>
32050
32051 * sysdeps/sh/backtrace.c: New file.
32052
32053 2011-12-02 Andreas Schwab <schwab@redhat.com>
32054
32055 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
32056 parenthesis.
32057
32058 2011-12-01 Andreas Schwab <schwab@redhat.com>
32059
32060 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32061 falling back to utime.
32062
32063 2011-11-30 Andreas Schwab <schwab@redhat.com>
32064
32065 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32066 expectations for float.
32067
32068 2011-11-29 Andreas Schwab <schwab@redhat.com>
32069
32070 * locale/weight.h (findidx): Add parameter len.
32071 * locale/weightwc.h (findidx): Likewise.
32072 * posix/fnmatch_loop.c (FCT): Adjust caller.
32073 * posix/regcomp.c (build_equiv_class): Likewise.
32074 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32075 * posix/regexec.c (check_node_accept_bytes): Likewise.
32076 * string/strcoll_l.c (STRCOLL): Likewise.
32077 * string/strxfrm_l.c (STRXFRM): Likewise.
32078
32079 2011-11-17 Ulrich Drepper <drepper@gmail.com>
32080
32081 * Makefile.in: Remove CVSOPT handling.
32082 * configure.in: Remove use of AC_REVISION.
32083 * iconvdata/Makefile (distribute): No need to filter out CVS.
32084 * scripts/list-sources.sh: Remove CVS, subversion and monotone
32085 handling.
32086
32087 2011-11-16 Andreas Schwab <schwab@redhat.com>
32088
32089 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32090 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32091 [USE_AS_STRNCASECMP_L]: Likewise.
32092 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32093 NO_TLS_DIRECT_SEG_REFS.
32094 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32095 Fix argument offsets for non-PIC.
32096 [USE_AS_STRNCASECMP_L]: Likewise.
32097 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32098 NO_TLS_DIRECT_SEG_REFS.
32099
32100 2011-11-15 Ulrich Drepper <drepper@gmail.com>
32101
32102 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
32103 O_CLOEXEC.
32104 * locale/loadlocale.c (_nl_load_locale): Likewise.
32105
32106 2011-11-15 Andreas Schwab <schwab@redhat.com>
32107
32108 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32109 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32110 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32111 (SYSCALL_GETTIME): Set errno on error.
32112
32113 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32114 count references to noai6ai_cached.
32115
32116 2011-11-15 Ulrich Drepper <drepper@gmail.com>
32117
32118 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32119
32120 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32121 FD_CLOEXEC for /proc/self/maps.
32122
32123 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32124 FD_CLOEXEC for /proc/meminfo.
32125
32126 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32127 gai.conf.
32128
32129 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
32130 FD_CLOEXEC for given file.
32131
32132 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32133
32134 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32135 FD_CLOEXEC for /etc/hosts.
32136 (_gethtent): Likewise.
32137
32138 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32139
32140 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32141 cancellation and set FD_CLOEXEC for /etc/netgroup.
32142
32143 * nss/nss_files/files-key.c (search): Don't allow cancellation when
32144 reading /etc/publickey.
32145
32146 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32147 allow cancellation when reading /etc/group.
32148
32149 * nss/nss_files/files-alias.c (internal_setent): Don't allow
32150 cancellation.
32151 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
32152
32153 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32154 when using data file.
32155
32156 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32157
32158 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32159 (write_nis_obj): Use "c" and "e" in fopen.
32160
32161 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32162
32163 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32164
32165 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32166
32167 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32168
32169 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32170 locale.alias.
32171
32172 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32173
32174 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32175
32176 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32177
32178 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32179 file parsing and set FD_CLOEXEC.
32180
32181 2011-11-14 Ulrich Drepper <drepper@gmail.com>
32182
32183 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32184
32185 2011-11-14 Andreas Schwab <schwab@redhat.com>
32186
32187 * malloc/arena.c (arena_get2): Don't call reused_arena when
32188 _int_new_arena failed.
32189
32190 2011-11-14 Ulrich Drepper <drepper@gmail.com>
32191
32192 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32193 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32194 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32195 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32196 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32197 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32198 to compile strcasecmp and strncasecmp.
32199 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32200 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32201
32202 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32203
32204 2011-11-13 Ulrich Drepper <drepper@gmail.com>
32205
32206 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32207 locale-defines.sym to gen-as-const-headers.
32208 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32209 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32210 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32211 to compile strcasecmp and strncasecmp.
32212 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32213 strcasecmp_l and strncasecmp_l.
32214 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32215 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32216 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32217 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32218 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32219 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32220 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32221 * sysdeps/i386/i686/multiarch/strncase.S: New file.
32222 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32223 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32224 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32225
32226 2011-11-12 Ulrich Drepper <drepper@gmail.com>
32227
32228 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32229 result of SYSDEP_GETTIME_CPU to retval.
32230 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32231 parameter list to macro. Remove trailing semicolon. Adjust users.
32232
32233 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32234 variable.
32235
32236 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32237 mantissa words.
32238 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32239
32240 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32241 from unused variable.
32242
32243 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32244 DWARF definitions.
32245 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32246 for assembling.
32247
32248 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32249 over namespaces.
32250
32251 * sunrpc/rpc_prot.c (rejected): Fix case value.
32252
32253 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32254 unsigned long long int to avoid warnings in shift.
32255
32256 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32257 of use of trans.
32258 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32259 variable tmp.
32260
32261 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32262 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32263 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32264
32265 * nis/nis_table.c (nis_list): Use variable of correct type for
32266 result of __follow_path call.
32267
32268 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32269
32270 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32271 of math functions ceil, trunc, floor, round, and sqrt, when
32272 avaliable on the platform.
32273 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32274 name clash.
32275 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32276 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32277 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32278
32279 2011-10-30 Marek Polacek <mpolacek@redhat.com>
32280
32281 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32282 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32283
32284 2011-11-11 Roland McGrath <roland@hack.frob.com>
32285
32286 * include/unistd.h: Fix __readlink return type.
32287 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32288
32289 2011-11-11 Ulrich Drepper <drepper@gmail.com>
32290
32291 * stdlib/ucontext.h: Undo last change for makecontext.
32292
32293 2011-11-11 Andreas Schwab <schwab@redhat.com>
32294
32295 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32296
32297 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32298 * setjmp/setjmp.h: Mark functions as non-leaf.
32299 * setjmp/bits/setjmp2.h: Likewise.
32300 * stdlib/ucontext.h: Likewise.
32301
32302 2011-11-10 Andreas Schwab <schwab@redhat.com>
32303
32304 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32305 (reused_arena): Don't check arena limit.
32306 (arena_get2): Atomically check arena limit.
32307
32308 2011-11-08 Ulrich Drepper <drepper@gmail.com>
32309
32310 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32311 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32312
32313 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32314 instructions.
32315
32316 2011-11-07 Andreas Schwab <schwab@redhat.com>
32317
32318 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32319 handler when locking.
32320
32321 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32322 Fix size of allocated buffer.
32323
32324 2011-11-04 Andreas Schwab <schwab@redhat.com>
32325
32326 [BZ #10103]
32327 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32328 declarations for long double functions.
32329 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32330
32331 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32332
32333 2011-11-03 Andreas Schwab <schwab@redhat.com>
32334
32335 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32336 installed.
32337
32338 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32339 is disabled.
32340
32341 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32342
32343 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32344
32345 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32346
32347 * include/alloca.h (stackinfo_alloca_round): Define.
32348 (extend_alloca): Use it.
32349 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32350 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32351 here.
32352
32353 * scripts/check-local-headers.sh: Ignore libaudit.h.
32354
32355 * nscd/Makefile (extra-objs): Make recursively expanded.
32356
32357 2011-11-01 Ulrich Drepper <drepper@gmail.com>
32358
32359 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32360 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32361
32362 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32363 * posix/tst-rfc3484-2.c: Likewise.
32364 * posix/tst-rfc3484-3.c: Likewise.
32365
32366 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32367 process_vm_writev.
32368 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32369 process_vm_writev.
32370 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32371 process_vm_writev from libc using GLIBC_2.15 version.
32372
32373 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32374
32375 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32376
32377 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32378 stack usage.
32379
32380 2011-10-31 Ulrich Drepper <drepper@gmail.com>
32381
32382 [BZ #13367]
32383 * nss/getent.c (initgroups_keys): Show error message in case no group
32384 names are given.
32385
32386 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32387 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32388 __bump_nl_timestamp.
32389 * nscd/connections (nscd_init): When host database is served open
32390 netlink socket and request notification about configuration changes.
32391 (main_loop_poll): Track netlink file descriptor and bump timestamp
32392 in case data becomes available.
32393 (main_loop_epoll): Likewise.
32394 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32395 (database_pers_head): Add extra_data fileds.
32396 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32397 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32398 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32399 Adjust caller.
32400 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32401 in6ai data, call __free_in6ai.
32402 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32403 Add -DHAVE_NETLINK.
32404 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32405 interface information. Reuse previous data if netlink timestamp
32406 is not changed.
32407 (__bump_nl_timestamp): New function.
32408 (__free_in6ai): New function.
32409
32410 2011-10-30 Ulrich Drepper <drepper@gmail.com>
32411
32412 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32413 close_not_cancel_no_status here.
32414 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32415
32416 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32417
32418 [BZ #13276]
32419 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32420 return value.
32421
32422 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32423 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32424 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32425
32426 2011-07-03 Andreas Jaeger <aj@suse.de>
32427
32428 [BZ #10709]
32429 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32430 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32431 * math/libm-test.inc (sin_test): Add test case.
32432
32433 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32434
32435 [BZ #13337]
32436 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32437 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32438
32439 * elf/chroot_canon.c (chroot_canon): Cleanups.
32440
32441 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32442
32443 [BZ #13335]
32444 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32445 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32446
32447 * string/test-strchr.c: Make usable for strchrnul testing.
32448 * string/test-strchrnul.c: New file.
32449 * string/Makefile (strop-tests): Add strchrnul.
32450
32451 * po/it.po: Update from translation team.
32452 * po/es.po: Likewise.
32453
32454 2011-10-28 Ulrich Drepper <drepper@gmail.com>
32455
32456 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32457 the three constants needed as parameters. Drop the others.
32458 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32459 __m128i_strloadu_tolower.
32460 Create and initialize variable zero and use it in all the places
32461 where _mm_setzero_si128 was used.
32462
32463 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32464 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32465 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32466 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32467 anymore.
32468 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32469 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32470 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32471 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32472 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32473 __mpranred, __mptan.
32474 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32475 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32476 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32477 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32478 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32479 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32480 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32481 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32482 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32483
32484 2011-10-28 Andreas Schwab <schwab@redhat.com>
32485
32486 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32487 redefine if SHARED.
32488 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32489
32490 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32491 wide char related routines to wcsmbs subdir.
32492
32493 2011-10-27 Andreas Schwab <schwab@redhat.com>
32494
32495 [BZ #13344]
32496 * misc/sys/cdefs.h (__THROWNL): Define.
32497 * posix/unistd.h: Use __THREADNL instead of __THREAD
32498 for memory synchronization functions.
32499
32500 2011-10-26 Roland McGrath <roland@hack.frob.com>
32501
32502 [BZ #13349]
32503 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32504 doesn't exist.
32505 * manual/stdio.texi (Obstack Streams): Node removed.
32506
32507 2011-10-26 Andreas Schwab <schwab@redhat.com>
32508
32509 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32510 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32511 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32512
32513 * math/math_private.h (math_force_eval): Allow non-addressable
32514 arguments.
32515 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32516
32517 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32518
32519 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32520 file is not needed.
32521
32522 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32523 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32524 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32525 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32526 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32527 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32528 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32529 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32530 Add AVX variants.
32531 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32532 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32533 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32534 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32535 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32536 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32537 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32538 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32539 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32540 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32541 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32542 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32543 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32544 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32545 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32546 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32547 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32548 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32549 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32550
32551 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32552 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32553
32554 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32555 place. Use VEX encoding when compiling for AVX.
32556
32557 2011-10-25 Andreas Schwab <schwab@redhat.com>
32558
32559 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32560 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32561
32562 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32563
32564 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32565
32566 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32567 useless if() expression.
32568 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32569 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32570 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32571 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32572 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32573 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32574 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32575 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32576 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32577 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32578 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32579 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32580 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32581 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32582 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32583 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32584 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32585 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32586 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32587
32588 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32589
32590 2011-10-25 Andreas Schwab <schwab@redhat.com>
32591
32592 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32593 condition.
32594 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32595
32596 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32597
32598 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32599 .text section. Avoid duplicate constants.
32600 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32601 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32602 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32603 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32604 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32605 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32606 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32607 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32608 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32609 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32610 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32611 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32612 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32613 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32614 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32615 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32616 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32617 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32618 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32619 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32620 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32621 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32622 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32623 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32624 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32625 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32626 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32627 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32628 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32629 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32630 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32631 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32632 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32633 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32634 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32635 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32636 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32637 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32638 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32639 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32640 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32641 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32642 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32643 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32644 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32645
32646 2011-10-24 Ulrich Drepper <drepper@gmail.com>
32647
32648 * sysdeps/x86_64/dla.h: Move to ...
32649 * sysdeps/x86_64/fpu/dla.h: ...here.
32650 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32651 situations. Use __builtin_fma only for gcc 4.6 and up.
32652
32653 * config.make.in: Add have-mfma4 entry.
32654 * configure.in: Substitute libc_cv_cc_fma4.
32655 * math/Makefile (dbl-only-routines): Add sincostab.
32656 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32657 Use __sincostab not sincos.
32658 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32659 name is a macro.
32660 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32661 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32662 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32663 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32664 using __copysign.
32665 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32666 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32667 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32668 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32669 and __inv.
32670 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32671 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32672 __copysign.
32673 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32674 define aliases when function name is a macro.
32675 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32676 sysdeps/ieee754/dbl-64/sincos.tbl.
32677 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32678 fma4-enabled routines.
32679 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32680 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32681 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32682 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32683 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32684 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32685 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32686 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32687 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32688 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32689 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32690 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32691 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32692 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32693 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32694 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32695 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32696 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32697 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32698 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32699 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32700 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32701 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32702 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32703 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32704 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32705 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32706 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32707 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32708 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32709
32710 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32711 rename.
32712 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32713 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32714 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32715 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32716 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32717 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32718 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32719 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32720
32721 2011-10-24 Andreas Schwab <schwab@redhat.com>
32722
32723 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32724
32725 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32726
32727 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32728
32729 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32730 prediction.
32731 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32732
32733 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32734 Remove unused variable magic_bits.
32735 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32736
32737 * string/strnlen.c: Define and use STRNLEN macro.
32738 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32739 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32740 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32741 * wcsmbs/wcslen.c: Define and use WCSLEN.
32742 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32743 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32744 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32745 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32746 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32747 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32748 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32749
32750 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32751
32752 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32753 strnlen-sse2-no-bsf.
32754 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32755 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32756 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32757 Add strnlen support.
32758 (USE_AS_STRNLEN): New macro.
32759 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32760 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32761 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32762 * sysdeps/x86_64/wcslen.S: New file.
32763
32764 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
32765
32766 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32767 XMM-moves are used for copying on small sizes.
32768
32769 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32770
32771 * wcsmbs/Makefile (strop-tests): Add wcschr.
32772 * wcsmbs/test-wcschr.c: New file.
32773 * string/test-strchr.c: Update.
32774 Add wcschr support.
32775 (WIDE): New macro.
32776
32777 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32778
32779 * wcsmbs/Makefile (strop-tests): Add wcslen.
32780 * wcsmbs/test-wcslen.c: New file.
32781 * string/test-strlen.c: Update.
32782 Add wcslen support.
32783 (WIDE): New macro.
32784
32785 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32786
32787 * po/it.po: Update from translation team.
32788
32789 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32790
32791 * sysdeps/x86_64/wcscmp.S: Update.
32792 Fix wrong comparison semantics.
32793 wcscmp shall use signed comparison not unsigned.
32794 Don't use substraction to avoid overflow bug.
32795 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32796 * wcsmbc/wcscmp.c: Likewise.
32797 * string/test-strcmp.c: Likewise.
32798 Add new tests to check cases with negative values.
32799
32800 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32801
32802 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
32803 * sysdeps/x86_64/dla.h: ...here. New file.
32804 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
32805 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32806 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32807 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32808 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32809 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32810 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32811 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32812 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32813
32814 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
32815
32816 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
32817 __ynl_finite aliases.
32818
32819 2011-10-22 Ulrich Drepper <drepper@gmail.com>
32820
32821 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32822
32823 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
32824 define DLA_FMA.
32825 [DLA_FMA] (EMULV): Use DLA_FMA.
32826 [DLA_FMA] (MUL12): Use EMULV.
32827 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
32828 that are not needed.
32829 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32830 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32831 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32832 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32833 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32834 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32835 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32836
32837 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
32838
32839 * math/s_nan.c: Undef __nan.
32840 * math/s_nanf.c: Undef __nanf.
32841 * math/s_nanl.c: Undef __nanl.
32842 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
32843 "math_private.h".
32844
32845 2011-10-22 Ulrich Drepper <drepper@gmail.com>
32846
32847 * math/s_catan.c: Add branch predictions.
32848 * math/s_catanf.c: Likewise.
32849 * math/s_catanh.c: Likewise.
32850 * math/s_catanhf.c: Likewise.
32851 * math/s_catanhl.c: Likewise.
32852 * math/s_catanl.c: Likewise.
32853 * math/s_cexp.c: Likewise.
32854 * math/s_cexpf.c: Likewise.
32855 * math/s_cexpl.c: Likewise.
32856 * math/s_clog.c: Likewise.
32857 * math/s_clog10.c: Likewise.
32858 * math/s_clog10f.c: Likewise.
32859 * math/s_clog10l.c: Likewise.
32860 * math/s_clogf.c: Likewise.
32861 * math/s_clogl.c: Likewise.
32862 * math/s_csqrt.c: Likewise.
32863 * math/s_csqrtf.c: Likewise.
32864 * math/s_csqrtl.c: Likewise.
32865 * math/s_ctanf.c: Likewise.
32866 * math/s_ctanh.c: Likewise.
32867 * math/s_ctanhf.c: Likewise.
32868 * math/s_ctanhl.c: Likewise.
32869 * math/s_ctanl.c: Likewise.
32870
32871 * math/math_private.h: Define __nan, __nanf, __nanl.
32872 * math/s_cacosh.c: Include <math_private.h>.
32873 * math/s_cacoshl.c: Likewise.
32874 * math/s_casinh.c: Likewise.
32875 * math/s_casinhf.c: Likewise.
32876 * math/s_casinhl.c: Likewise.
32877 * math/s_ccos.c: Rely entire on ccosh.
32878 * math/s_ccosf.c: Rely entire on ccoshf.
32879 * math/s_ccosl.c: Rely entirely on ccoshl.
32880 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
32881 Remove tests for FE_INVALID.
32882 * math/s_ccoshf.c: Likewise.
32883 * math/s_ccoshl.c: Likewise.
32884 * math/s_csin.c: Likewise.
32885 * math/s_csinf.c: Likewise.
32886 * math/s_csinh.c Likewise.
32887 * math/s_csinhf.c: Likewise.
32888 * math/s_csinhl.c: Likewise.
32889 * math/s_csinl.c: Likewise.
32890 * math/s_ctan.c: Likewise.
32891 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
32892 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
32893 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
32894
32895 2011-10-21 Ulrich Drepper <drepper@gmail.com>
32896
32897 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
32898 compilation problems.
32899
32900 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
32901 __builtin_expect.
32902
32903 2011-10-20 Ulrich Drepper <drepper@gmail.com>
32904
32905 * sysdeps/i386/configure.in: Test for -mfma4 option.
32906 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
32907 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
32908 COMMON_CPUID_INDEX_80000001.
32909 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
32910 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
32911 use it if FMA3 is not supported.
32912 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32913
32914 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
32915 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32916
32917 2011-10-20 Andreas Schwab <schwab@redhat.com>
32918
32919 [BZ #12892]
32920 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
32921 it would create a cycle with a link time dependency.
32922
32923 2011-10-19 Ulrich Drepper <drepper@gmail.com>
32924
32925 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
32926 instruction.
32927 * string/Makefile (strop-tests): Add rawmemchr.
32928 * string/test-rawmemchr.c: New file.
32929
32930 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
32931 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
32932 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
32933 when compiling str{,n}casecmp and when AVX is available. Hook up
32934 new optimized code in initializers.
32935
32936 2011-10-19 Andreas Schwab <schwab@redhat.com>
32937
32938 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
32939 __feraiseexcept instead of feraiseexcept.
32940
32941 2011-10-18 Ulrich Drepper <drepper@gmail.com>
32942
32943 * math/math_private.h: Define defaults for libc_fetestexcept and
32944 libc_feupdateenv.
32945 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
32946 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
32947 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
32948 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
32949 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32950 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32951 libc_fetestexcept and libc_feupdateenv.
32952
32953 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
32954 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
32955 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
32956 * sysdeps/x86_64/fpu/math_private.h: Define special version of
32957 libc_feholdexcept_setround.
32958
32959 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
32960 Add s_nearbyint-c and s_nearbyintf-c.
32961 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
32962 nearbyintf inlines.
32963 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
32964 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
32965 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
32966 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
32967
32968 * math/math_private.h: Define defaults for libc_fegetround,
32969 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
32970 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
32971 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
32972 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
32973 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
32974 standard functions.
32975 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32976 Remove comments and hacks for old compiler versions.
32977 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
32978 libc_fegetround, libc_fesetround, libc_feholdexcept, and
32979 libc_feholdexceptl.
32980
32981 2011-10-18 Andreas Schwab <schwab@redhat.com>
32982
32983 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
32984 (__feraiseexcept_renamed): Add __NTH.
32985 (feraiseexcept): Add __NTH. Rename local variables to fix
32986 namespace violations.
32987
32988 2011-10-17 Ulrich Drepper <drepper@gmail.com>
32989
32990 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
32991
32992 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
32993
32994 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
32995 recently added interfaces.
32996 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
32997
32998 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
32999 about macro parameter expansion.
33000
33001 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33002 __NO_MATH_INLINES is defined. Cleanups.
33003
33004 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33005 and __floorf is target has SSE4.1.
33006 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33007 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33008 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33009 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33010
33011 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33012 name.
33013 (floorf): Likewise.
33014
33015 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33016
33017 2011-10-17 Andreas Schwab <schwab@redhat.com>
33018
33019 * misc/sys/cdefs.h: Fix last change.
33020
33021 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33022 database lookup.
33023
33024 2011-10-16 Ulrich Drepper <drepper@gmail.com>
33025
33026 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33027
33028 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33029 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33030 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33031 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33032 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33033 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33034 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33035 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33036 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33037 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33038 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33039 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33040 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33041 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33042 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33043 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33044 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33045 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33046 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33047 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33048 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33049 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33050
33051 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33052 ceil, ceilf, floor, floorf.
33053
33054 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33055 Perform IRELATIVE relocations last.
33056
33057 * elf/do-rel.h: Add another parameter nrelative, replacing the
33058 local variable with the same name. Change name of the function
33059 to end in Rel or Rela (uppercase).
33060 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33061 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
33062 elf_dynamic_do_##reloc function.
33063
33064 2011-10-15 Ulrich Drepper <drepper@gmail.com>
33065
33066 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33067 is sufficient, at least on modern CPUs.
33068
33069 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33070
33071 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33072 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33073
33074 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33075 __expl_finite.
33076 * math/bits/math-finite.h: Add entries for exp.
33077 * math/e_expl.c: Add __*_finite alias.
33078 * sysdeps/i386/fpu/e_exp.S: Likewise.
33079 * sysdeps/i386/fpu/e_expf.S: Likewise.
33080 * sysdeps/i386/fpu/e_expl.c: Likewise.
33081 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33082 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33083 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33084 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33085 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33086 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33087 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33088
33089 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33090 is sufficient, at least on modern CPUs.
33091
33092 * ctype/ctype-info.c (__ctype_init): Define.
33093 * include/ctype.h (__ctype_init): Declare.
33094 (__ctype_b_loc): The variable is always initialized.
33095 (__ctype_toupper_loc): Likewise.
33096 (__ctype_tolower_loc): Likewise.
33097 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33098 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33099
33100 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
33101
33102 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33103
33104 * configure.in: Also look in $cxxmachine/include for C++ system
33105 headers.
33106
33107 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33108
33109 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33110 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33111 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33112 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
33113 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33114 (USE_AS_WMEMCMP): New macro.
33115 Fixing indents.
33116 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33117 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33118 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33119 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33120 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33121 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33122 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33123 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33124 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33125 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33126 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33127 (USE_AS_WMEMCMP): New macro.
33128 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33129 * sysdeps/string/test-memcmp.c: Update.
33130 Fix simple_wmemcmp.
33131 Add new tests.
33132 * wcsmbs/wmemcmp.c: Update.
33133 (WMEMCMP): New macro.
33134 Fix overflow bug.
33135
33136 2011-10-12 Andreas Jaeger <aj@suse.de>
33137
33138 [BZ #13268]
33139 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33140
33141 2011-10-15 Ulrich Drepper <drepper@gmail.com>
33142
33143 * libio/iofwide.c (do_length): Avoid warning.
33144
33145 * ctype/ctype.h (__isctype_f): Add missing __THROW.
33146
33147 2011-10-14 Ulrich Drepper <drepper@gmail.com>
33148
33149 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33150
33151 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33152 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33153 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33154 * sysdeps/i386/i686/fpu/e_log.S: New file.
33155 * sysdeps/i386/i686/fpu/e_logf.S: New file.
33156 * sysdeps/i386/i686/fpu/e_logl.S: New file.
33157
33158 * ctype/ctype.h: Add support for inlined isXXX functions when
33159 compiling C++ code.
33160
33161 2011-10-14 Andreas Schwab <schwab@redhat.com>
33162
33163 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33164
33165 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33166
33167 2011-10-13 Roland McGrath <roland@hack.frob.com>
33168
33169 [BZ #13291]
33170 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33171
33172 2011-10-13 Andreas Schwab <schwab@redhat.com>
33173
33174 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33175 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33176 feraiseexcept.
33177
33178 * sysdeps/x86_64/memrchr.S: Check for zero size.
33179
33180 * string/stratcliff.c: Add memrchr tests.
33181
33182 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33183
33184 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33185 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33186 rawmemchr-sse2 rawmemchr-sse2-bsf.
33187 * sysdeps/i386/i686/multiarch/memchr.S: New file.
33188 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33189 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33190 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33191 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33192 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33193 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33194 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33195 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33196 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33197 * string/memrchr.c (MEMRCHR): New macro.
33198
33199 2011-10-12 Ulrich Drepper <drepper@gmail.com>
33200
33201 Add integration with gcc's -ffinite-math-only and optimize wrapper
33202 functions in libm.
33203 * Versions.def: Define GLIBC_2.15 version for libm.
33204 * math/Makefile (headers): Add bits/math-finite.h.
33205 * math/bits/math-finite.h: New file.
33206 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33207 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33208 * math/e_acoshl.c: Add __*_finite alias.
33209 * math/e_acosl.c: Likewise.
33210 * math/e_asinl.c: Likewise.
33211 * math/e_atan2l.c: Likewise.
33212 * math/e_atanhl.c: Likewise.
33213 * math/e_coshl.c: Likewise.
33214 * math/e_exp10.c: Likewise.
33215 * math/e_exp10f.c: Likewise.
33216 * math/e_exp10l.c: Likewise.
33217 * math/e_exp2l.c: Likewise.
33218 * math/e_fmodl.c: Likewise.
33219 * math/e_gammal_r.c: Likewise.
33220 * math/e_hypotl.c: Likewise.
33221 * math/e_j0l.c: Likewise.
33222 * math/e_j1l.c: Likewise.
33223 * math/e_jnl.c: Likewise.
33224 * math/e_lgammal_r.c: Likewise.
33225 * math/e_log10l.c: Likewise.
33226 * math/e_log2l.c: Likewise.
33227 * math/e_logl.c: Likewise.
33228 * math/e_powl.c: Likewise.
33229 * math/e_sinhl.c: Likewise.
33230 * math/e_sqrtl.c: Likewise.
33231 * math/e_scalb.c: Completely rewritten and optimized.
33232 * math/e_scalbf.c: Likewise.
33233 * math/e_scalbl.c: Likewise.
33234 * math/w_acos.c: Likewise.
33235 * math/w_acosf.c: Likewise.
33236 * math/w_acosl.c: Likewise.
33237 * math/w_acosh.c: Likewise.
33238 * math/w_acoshf.c: Likewise.
33239 * math/w_acoshl.c: Likewise.
33240 * math/w_asin.c: Likewise.
33241 * math/w_asinf.c: Likewise.
33242 * math/w_asinl.c: Likewise.
33243 * math/w_atan2.c: Likewise.
33244 * math/w_atan2f.c: Likewise.
33245 * math/w_atan2l.c: Likewise.
33246 * math/w_atanh.c: Likewise.
33247 * math/w_atanhf.c: Likewise.
33248 * math/w_atanhl.c: Likewise.
33249 * math/w_exp10.c: Likewise.
33250 * math/w_exp10f.c: Likewise.
33251 * math/w_exp10l.c: Likewise.
33252 * math/w_fmod.c: Likewise.
33253 * math/w_fmodf.c: Likewise.
33254 * math/w_fmodl.c: Likewise.
33255 * math/w_j0.c: Likewise.
33256 * math/w_j0f.c: Likewise.
33257 * math/w_j0l.c: Likewise.
33258 * math/w_j1.c: Likewise.
33259 * math/w_j1f.c: Likewise.
33260 * math/w_j1l.c: Likewise.
33261 * math/w_jn.c: Likewise.
33262 * math/w_jnf.c: Likewise.
33263 * math/w_log.c: Likewise.
33264 * math/w_logf.c: Likewise.
33265 * math/w_logl.c: Likewise.
33266 * math/w_log10.c: Likewise.
33267 * math/w_log10f.c: Likewise.
33268 * math/w_log10l.c: Likewise.
33269 * math/w_log2.c: Likewise.
33270 * math/w_log2f.c: Likewise.
33271 * math/w_log2l.c: Likewise.
33272 * math/w_pow.c: Likewise.
33273 * math/w_powf.c: Likewise.
33274 * math/w_powl.c: Likewise.
33275 * math/w_remainder.c: Likewise.
33276 * math/w_remainderf.c: Likewise.
33277 * math/w_remainderl.c: Likewise.
33278 * math/w_scalb.c: Likewise.
33279 * math/w_scalbf.c: Likewise.
33280 * math/w_scalbl.c: Likewise.
33281 * math/w_sqrt.c: Likewise.
33282 * math/w_sqrtf.c: Likewise.
33283 * math/w_sqrtl.c: Likewise.
33284 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33285 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33286 used.
33287 * math/math_private.h: Declare __kernel_standard_f.
33288 * math/w_cosh.c: Remove cruft and optimize a bit.
33289 * math/w_coshf.c: Likewise.
33290 * math/w_coshl.c: Likewise.
33291 * math/w_exp2.c: Likewise.
33292 * math/w_exp2f.c: Likewise.
33293 * math/w_exp2l.c: Likewise.
33294 * math/w_hypot.c: Likewise.
33295 * math/w_hypotf.c: Likewise.
33296 * math/w_hypotl.c: Likewise.
33297 * math/w_lgamma.c: Likewise.
33298 * math/w_lgamma_r.c: Likewise.
33299 * math/w_lgammaf.c: Likewise.
33300 * math/w_lgammaf_r.c: Likewise.
33301 * math/w_lgammal.c: Likewise.
33302 * math/w_lgammal_r.c: Likewise.
33303 * math/w_sinh.c: Likewise.
33304 * math/w_sinhf.c: Likewise.
33305 * math/w_sinhl.c: Likewise.
33306 * math/w_tgamma.c: Likewise.
33307 * math/w_tgammaf.c: Likewise.
33308 * math/w_tgammal.c: Likewise.
33309 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33310 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33311 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33312 Minor optimizations. Pretty printing. Remove cruft.
33313 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33314 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33315 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33316 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33317 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33318 * sysdeps/i386/fpu/e_asin.S: Likewise.
33319 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33320 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33321 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33322 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33323 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33324 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33325 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33326 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33327 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33328 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33329 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33330 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33331 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33332 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33333 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33334 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33335 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33336 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33337 * sysdeps/i386/fpu/e_log.S: Likewise.
33338 * sysdeps/i386/fpu/e_log10.S: Likewise.
33339 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33340 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33341 * sysdeps/i386/fpu/e_log2.S: Likewise.
33342 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33343 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33344 * sysdeps/i386/fpu/e_logf.S: Likewise.
33345 * sysdeps/i386/fpu/e_logl.S: Likewise.
33346 * sysdeps/i386/fpu/e_pow.S: Likewise.
33347 * sysdeps/i386/fpu/e_powf.S: Likewise.
33348 * sysdeps/i386/fpu/e_powl.S: Likewise.
33349 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33350 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33351 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33352 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33353 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33354 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33355 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33356 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33357 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33358 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33359 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33360 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33361 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33362 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33363 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33364 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33365 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33366 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33367 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33368 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33369 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33370 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33371 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33372 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33373 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33374 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33375 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33376 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33377 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33378 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33379 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33380 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33381 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33382 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33383 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33384 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33385 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33386 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33387 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33388 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33389 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33390 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33391 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33392 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33393 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33394 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33395 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33396 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33397 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33398 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33399 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33400 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33401 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33402 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33403 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33404 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33405 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33406 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33407 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33408 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33409 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33410 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33411 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33412 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33413 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33414 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33415 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33416 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33417 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33418 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33419 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33420 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33421 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33422 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33423 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33424 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33425 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33426 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33427 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33428 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33429 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33430 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33431 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33432 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33433 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33434 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33435 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33436 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33437 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33438 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33439 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33440 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33441 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33442 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33443 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33444 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33445 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33446 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33447 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33448 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33449 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33450 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33451 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33452 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33453 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33454 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33455 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33456 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33457 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33458 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33459 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33460 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33461 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33462 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33463 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33464 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33465 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33466 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33467 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33468 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33469 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33470 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33471 (__isnanf): Likewise.
33472 (__isinf_ns): Likewise.
33473 (__isinf_nsf): Likewise.
33474 (__finite): Likewise.
33475 (__finitef): Likewise.
33476 (__ieee754_sqrt): Define as macro.
33477 (__ieee754_sqrtf): Define as macro.
33478 (__ieee754_sqrtl): Define as macro.
33479 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33480 inlined copy.
33481 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33482 __FINITE_MATH_ONLY__ consistent.
33483 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33484
33485 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33486
33487 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33488 of rawmemchr.
33489
33490 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33491
33492 2011-10-09 Ulrich Drepper <drepper@gmail.com>
33493
33494 * po/ja.po: Update from translation team.
33495
33496 2011-10-08 Roland McGrath <roland@hack.frob.com>
33497
33498 * locale/programs/locarchive.c (prepare_address_space): New function.
33499 (create_archive, enlarge_archive, open_archive): Use it.
33500
33501 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33502 inside [SHARED], where it is used.
33503
33504 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33505
33506 * nss/getent.c (netgroup_keys): Remove unused variable.
33507 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33508
33509 2011-10-08 Ulrich Drepper <drepper@gmail.com>
33510
33511 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33512 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33513 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33514 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33515 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33516 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33517 * math/Makefile (libm-calls): Add s_isinf_ns.
33518 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33519 * math/multc3.c: Likewise.
33520 * math/s_casin.c: Likewise.
33521 * math/s_casinf.c: Likewise.
33522 * math/s_casinl.c: Likewise.
33523 * math/s_ccos.c: Likewise.
33524 * math/s_ccosf.c: Likewise.
33525 * math/s_ccosl.c: Likewise.
33526 * math/s_ctan.c: Likewise.
33527 * math/s_ctanf.c: Likewise.
33528 * math/s_ctanh.c: Likewise.
33529 * math/s_ctanhf.c: Likewise.
33530 * math/s_ctanhl.c: Likewise.
33531 * math/s_ctanl.c: Likewise.
33532 * math/w_fmod.c: Likewise.
33533 * math/w_fmodf.c: Likewise.
33534 * math/w_fmodl.c: Likewise.
33535 * math/w_remainder.c: Likewise.
33536 * math/w_remainderf.c: Likewise.
33537 * math/w_remainderl.c: Likewise.
33538 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33539 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33540 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33541 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33542 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33543 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33544 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33545 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33546
33547 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33548 of the number.
33549 * stdio-common/printf_fphex.c: Likewise.
33550 * stdio-common/printf_size.c: Likewise.
33551
33552 * math/e_exp10.c: Include math_private.h using <...> not "...".
33553 * math/e_exp10f.c: Likewise.
33554 * math/e_exp10l.c: Likewise.
33555 * math/e_exp2l.c: Likewise.
33556 * math/e_j0l.c: Likewise.
33557 * math/e_j1l.c: Likewise.
33558 * math/e_jnl.c: Likewise.
33559 * math/e_lgammal_r.c: Likewise.
33560 * math/e_rem_pio2l.c: Likewise.
33561 * math/e_scalb.c: Likewise.
33562 * math/e_scalbf.c: Likewise.
33563 * math/e_scalbl.c: Likewise.
33564 * math/k_cosl.c: Likewise.
33565 * math/k_sinl.c: Likewise.
33566 * math/k_tanl.c: Likewise.
33567 * math/s_cacoshf.c: Likewise.
33568 * math/s_catan.c: Likewise.
33569 * math/s_catanf.c: Likewise.
33570 * math/s_catanh.c: Likewise.
33571 * math/s_catanhf.c: Likewise.
33572 * math/s_catanhl.c: Likewise.
33573 * math/s_catanl.c: Likewise.
33574 * math/s_ccosh.c: Likewise.
33575 * math/s_ccoshf.c: Likewise.
33576 * math/s_ccoshl.c: Likewise.
33577 * math/s_cexp.c: Likewise.
33578 * math/s_cexpf.c: Likewise.
33579 * math/s_cexpl.c: Likewise.
33580 * math/s_clog.c: Likewise.
33581 * math/s_clog10.c: Likewise.
33582 * math/s_clog10f.c: Likewise.
33583 * math/s_clog10l.c: Likewise.
33584 * math/s_clogf.c: Likewise.
33585 * math/s_clogl.c: Likewise.
33586 * math/s_csin.c: Likewise.
33587 * math/s_csinf.c: Likewise.
33588 * math/s_csinh.c: Likewise.
33589 * math/s_csinhf.c: Likewise.
33590 * math/s_csinhl.c: Likewise.
33591 * math/s_csinl.c: Likewise.
33592 * math/s_csqrt.c: Likewise.
33593 * math/s_csqrtf.c: Likewise.
33594 * math/s_csqrtl.c: Likewise.
33595 * math/s_ctan.c: Likewise.
33596 * math/s_ctanf.c: Likewise.
33597 * math/s_ctanh.c: Likewise.
33598 * math/s_ctanhf.c: Likewise.
33599 * math/s_ctanhl.c: Likewise.
33600 * math/s_ctanl.c: Likewise.
33601 * math/s_ldexp.c: Likewise.
33602 * math/s_ldexpf.c: Likewise.
33603 * math/s_ldexpl.c: Likewise.
33604 * math/s_significand.c: Likewise.
33605 * math/s_significandf.c: Likewise.
33606 * math/s_significandl.c: Likewise.
33607 * math/w_acos.c: Likewise.
33608 * math/w_acosf.c: Likewise.
33609 * math/w_acosh.c: Likewise.
33610 * math/w_acoshf.c: Likewise.
33611 * math/w_acoshl.c: Likewise.
33612 * math/w_acosl.c: Likewise.
33613 * math/w_asin.c: Likewise.
33614 * math/w_asinf.c: Likewise.
33615 * math/w_asinl.c: Likewise.
33616 * math/w_atan2.c: Likewise.
33617 * math/w_atan2f.c: Likewise.
33618 * math/w_atan2l.c: Likewise.
33619 * math/w_atanh.c: Likewise.
33620 * math/w_atanhf.c: Likewise.
33621 * math/w_atanhl.c: Likewise.
33622 * math/w_cosh.c: Likewise.
33623 * math/w_coshf.c: Likewise.
33624 * math/w_coshl.c: Likewise.
33625 * math/w_dremf.c: Likewise.
33626 * math/w_exp10.c: Likewise.
33627 * math/w_exp10f.c: Likewise.
33628 * math/w_exp10l.c: Likewise.
33629 * math/w_exp2.c: Likewise.
33630 * math/w_exp2f.c: Likewise.
33631 * math/w_fmod.c: Likewise.
33632 * math/w_fmodf.c: Likewise.
33633 * math/w_fmodl.c: Likewise.
33634 * math/w_hypot.c: Likewise.
33635 * math/w_hypotf.c: Likewise.
33636 * math/w_hypotl.c: Likewise.
33637 * math/w_j0.c: Likewise.
33638 * math/w_j0f.c: Likewise.
33639 * math/w_j0l.c: Likewise.
33640 * math/w_j1.c: Likewise.
33641 * math/w_j1f.c: Likewise.
33642 * math/w_j1l.c: Likewise.
33643 * math/w_jn.c: Likewise.
33644 * math/w_jnf.c: Likewise.
33645 * math/w_jnl.c: Likewise.
33646 * math/w_lgamma.c: Likewise.
33647 * math/w_lgamma_r.c: Likewise.
33648 * math/w_lgammaf.c: Likewise.
33649 * math/w_lgammaf_r.c: Likewise.
33650 * math/w_lgammal.c: Likewise.
33651 * math/w_lgammal_r.c: Likewise.
33652 * math/w_log.c: Likewise.
33653 * math/w_log10.c: Likewise.
33654 * math/w_log10f.c: Likewise.
33655 * math/w_log10l.c: Likewise.
33656 * math/w_log2.c: Likewise.
33657 * math/w_log2f.c: Likewise.
33658 * math/w_log2l.c: Likewise.
33659 * math/w_logf.c: Likewise.
33660 * math/w_logl.c: Likewise.
33661 * math/w_pow.c: Likewise.
33662 * math/w_powf.c: Likewise.
33663 * math/w_powl.c: Likewise.
33664 * math/w_remainder.c: Likewise.
33665 * math/w_remainderf.c: Likewise.
33666 * math/w_remainderl.c: Likewise.
33667 * math/w_scalb.c: Likewise.
33668 * math/w_scalbf.c: Likewise.
33669 * math/w_scalbl.c: Likewise.
33670 * math/w_sinh.c: Likewise.
33671 * math/w_sinhf.c: Likewise.
33672 * math/w_sinhl.c: Likewise.
33673 * math/w_sqrt.c: Likewise.
33674 * math/w_sqrtf.c: Likewise.
33675 * math/w_sqrtl.c: Likewise.
33676 * math/w_tgamma.c: Likewise.
33677 * math/w_tgammaf.c: Likewise.
33678 * math/w_tgammal.c: Likewise.
33679
33680 * po/ja.po: Update from translation team.
33681
33682 2011-09-29 Andreas Jaeger <aj@suse.de>
33683
33684 [BZ #13179]
33685 * sunrpc/netname.c (netname2host): Fix logic.
33686
33687 [BZ #6779]
33688 [BZ #6783]
33689 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33690 correctly.
33691 * math/w_remainder.c (__remainder): Likewise.
33692 * math/w_remainderf.c (__remainderf): Likewise.
33693 * math/libm-test.inc (remainder_test): Add test cases.
33694
33695 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33696
33697 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33698 sdiv_qrnnd.
33699
33700 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33701
33702 * string/test-memcmp.c: Avoid unncessary #defines.
33703 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33704
33705 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33706
33707 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33708 Use new sse2 version for core i3 - i7 as it's faster
33709 than sse42 version.
33710 (bit_Prefer_PMINUB_for_stringop): New.
33711 * sysdeps/x86_64/rawmemchr.S: Update.
33712 Replace with faster SSE2 version.
33713 * sysdeps/x86_64/memrchr.S: New file.
33714 * sysdeps/x86_64/memchr.S: Update.
33715 Replace with faster SSE2 version.
33716
33717 2011-09-12 Marek Polacek <mpolacek@redhat.com>
33718
33719 * elf/dl-load.c (lose): Add cast to avoid warning.
33720
33721 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33722
33723 * po/ca.po: Update from translation team.
33724
33725 * inet/getnetgrent_r.c: Hook up nscd.
33726 * nscd/Makefile (routines): Add nscd_netgroup.
33727 (nscd-modules): Add netgroupcache.
33728 (CFLAGS-netgroupcache.c): Define.
33729 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33730 (cache_search): Add const to second parameter.
33731 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33732 INNETGR.
33733 (dbs): Add netgrdb entry.
33734 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33735 (verify_persistent_db): Handle netgrdb.
33736 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33737 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33738 GETFDNETGR.
33739 (netgroup_response_header): Define.
33740 (innetgroup_response_header): Define.
33741 (datahead): Add netgroup_response_header and innetgroup_response_header
33742 elements.
33743 * nscd/nscd.conf: Add entries for netgroup cache.
33744 * nscd/nscd.h (dbtype): Add netgrdb.
33745 (_PATH_NSCD_NETGROUP_DB): Define.
33746 (netgroup_iov_disabled): Declare.
33747 (xmalloc, xcalloc, xrealloc): Move declarations here.
33748 (cache_search): Adjust prototype.
33749 Add netgroup-related prototypes.
33750 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33751 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33752 (__nscd_innetgr): Declare.
33753 * nscd/selinux.c (perms): Use access_vector_t as element type and
33754 add netgroup-related initializers.
33755 * nscd/netgroupcache.c: New file.
33756 * nscd/nscd_netgroup.c: New file.
33757 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33758 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33759 For four parameters use innetgr.
33760 * nss/nss_files/files-init.c: Add definition and callback for netgr.
33761 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33762 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33763 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33764
33765 * nscd/connections.c (register_traced_file): Don't register file
33766 for disabled databases.
33767
33768 2011-10-06 Ulrich Drepper <drepper@gmail.com>
33769
33770 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33771
33772 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33773 from tree and freeing node.
33774
33775 2011-09-25 Jiri Olsa <jolsa@redhat.com>
33776
33777 * nss/nsswitch.c (__nss_database_lookup): Handle
33778 nss_parse_service_list out of memory case.
33779
33780 2011-09-15 Jiri Olsa <jolsa@redhat.com>
33781
33782 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33783 out of memory case.
33784
33785 2011-10-04 Andreas Schwab <schwab@redhat.com>
33786
33787 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33788 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33789 pass it down.
33790 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33791 elf_machine_rela, elf_machine_lazy_rel.
33792 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33793 (ELF_DYNAMIC_DO_REL): Likewise.
33794 (ELF_DYNAMIC_DO_RELA): Likewise.
33795 (ELF_DYNAMIC_RELOCATE): Likewise.
33796 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
33797 to ELF_DYNAMIC_DO_REL.
33798 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
33799 (dl_main): In trace mode always set __RTLD_NOIFUNC.
33800 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
33801 elf_machine_rela.
33802 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
33803 skip_ifunc, don't call ifunc function if non-zero.
33804 (elf_machine_rela): Likewise.
33805 (elf_machine_lazy_rel): Likewise.
33806 (elf_machine_lazy_rela): Likewise.
33807 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
33808 (elf_machine_lazy_rel): Likewise.
33809 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
33810 Likewise.
33811 (elf_machine_lazy_rel): Likewise.
33812 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33813 Likewise.
33814 (elf_machine_lazy_rel): Likewise.
33815 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
33816 (elf_machine_lazy_rel): Likewise.
33817 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
33818 (elf_machine_lazy_rel): Likewise.
33819 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
33820 (elf_machine_lazy_rel): Likewise.
33821 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
33822 (elf_machine_lazy_rel): Likewise.
33823 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
33824 (elf_machine_lazy_rel): Likewise.
33825 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
33826 (elf_machine_lazy_rel): Likewise.
33827
33828 2011-09-28 Ulrich Drepper <drepper@gmail.com>
33829
33830 * nss/nss_files/files-init.c (_nss_files_init): Use static
33831 initialization for all the *_traced_file variables.
33832
33833 2011-09-28 Andreas Schwab <schwab@redhat.com>
33834
33835 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33836
33837 2011-09-27 Roland McGrath <roland@hack.frob.com>
33838
33839 [BZ #13226]
33840 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
33841
33842 2011-09-27 Andreas Schwab <schwab@redhat.com>
33843
33844 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
33845 Reread the line before reparsing it.
33846
33847 2011-09-26 Andreas Schwab <schwab@redhat.com>
33848
33849 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
33850
33851 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
33852 Maxim Kuvyrkov <maxim@codesourcery.com>
33853 Joseph Myers <joseph@codesourcery.com>
33854
33855 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
33856 if needed for __stack_chk_guard.
33857
33858 2011-09-19 Roland McGrath <roland@hack.frob.com>
33859
33860 * sysdeps/posix/spawni.c (script_execute): Always define it.
33861 It will be optimized away if unused.
33862 (maybe_script_execute): New function.
33863 (__spawni): Call it.
33864
33865 * Makerules: Don't include tls.make.
33866 (config-tls): Always set to thread.
33867 * tls.make.c: File removed.
33868
33869 2011-09-19 Mike Frysinger <vapier@gentoo.org>
33870
33871 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
33872 * config.make.in (CPPFLAGS-config): New substituted variable.
33873
33874 2011-09-15 Ulrich Drepper <drepper@gmail.com>
33875
33876 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
33877
33878 [BZ #13192]
33879 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
33880 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
33881
33882 2011-09-15 Roland McGrath <roland@hack.frob.com>
33883
33884 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
33885 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
33886 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33887 (CALL_FAIL): Likewise.
33888 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
33889 (CALL_FAIL): Macro removed.
33890 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
33891
33892 2011-09-15 Ulrich Drepper <drepper@gmail.com>
33893
33894 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
33895 for __FINITE_MATH_ONLY__ == 1.
33896
33897 2011-09-15 Andreas Schwab <schwab@redhat.com>
33898
33899 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
33900 __ieee754_sqrt instead of sqrt.
33901 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
33902 __ieee754_sqrtf instead of sqrtf.
33903 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
33904 __floorf instead of floorf.
33905 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
33906 __floorf, __truncf instead of floorf, truncf.
33907
33908 2011-09-14 Ulrich Drepper <drepper@gmail.com>
33909
33910 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
33911
33912 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
33913 __extern_always_inline.
33914 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
33915 32-bit.
33916
33917 2011-09-14 Andreas Schwab <schwab@redhat.com>
33918
33919 * elf/rtld.c (dl_main): Also relocate in dependency order when
33920 doing symbol dependency testing.
33921
33922 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
33923
33924 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33925 Always define `refsym'.
33926
33927 2011-09-13 Andreas Schwab <schwab@redhat.com>
33928
33929 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
33930 (__FD_ELT): Renamed from __FDELT.
33931 * misc/bits/select2.h (__FD_ELT): Likewise.
33932 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
33933 __FD_MASK instead of __FDELT, __FDMASK.
33934 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33935 Likewise.
33936 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
33937 Likewise.
33938
33939 * elf/Makefile (gen-ldd): Fix pattern.
33940
33941 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
33942 (init_tls): Likewise.
33943
33944 2011-09-12 Ulrich Drepper <drepper@gmail.com>
33945
33946 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
33947
33948 2011-09-12 Andreas Schwab <schwab@redhat.com>
33949
33950 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
33951 `struct cmsghdr *' instead of `void *'.
33952 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
33953 Likewise.
33954
33955 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
33956
33957 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
33958 if non-absolute.
33959 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
33960 ldd_rewrite_script.
33961
33962 2011-09-11 Ulrich Drepper <drepper@gmail.com>
33963
33964 * configure.in: Remove --with-tls option.
33965 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
33966 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
33967 out in case it is missing.
33968 * sysdeps/ia64/elf/configure.in: Likewise.
33969 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
33970 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
33971 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
33972 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
33973 * sysdeps/sh/elf/configure.in: Likewise.
33974 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
33975 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33976 * sysdeps/x86_64/elf/configure.in: Likewise.
33977 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
33978 * sysdeps/mach/hurd/tls.h: Likewise.
33979
33980 [BZ #13067]
33981 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
33982
33983 [BZ #13090]
33984 * configure.in: Fix use of AC_INIT.
33985
33986 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
33987
33988 2011-09-10 Ulrich Drepper <drepper@gmail.com>
33989
33990 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
33991 __set_errno.
33992 * malloc/hooks.c: Likewise.
33993
33994 [BZ #11929]
33995 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
33996 variables statically.
33997 (narenas): Initialize.
33998 (list_lock): Initialize.
33999 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
34000 initializtion of main_arena and list_lock. Small cleanups.
34001 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34002 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
34003 Add initializers to main_arena and mp_.
34004 (malloc_state): Remove pagesize member. Change all users to use
34005 GLRO(dl_pagesize).
34006
34007 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34008 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
34009 is always initialized.
34010
34011 * malloc/malloc.c: Removed unused configurations and dead code.
34012 * malloc/arena.c: Likewise.
34013 * malloc/hooks.c: Likewise.
34014 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
34015
34016 * include/tls.h: Removed. USE___THREAD must always be defined.
34017 * bits/libc-tsd.h: Don't handle !USE___THREAD.
34018 * elf/dl-libc.c: Likewise.
34019 * elf/dl-tsd.c: Likewise.
34020 * include/errno.h: Likewise.
34021 * include/netdb.h: Likewise.
34022 * include/resolv.h: Likewise.
34023 * inet/herrno-loc.c: Likewise.
34024 * inet/herrno.c: Likewise.
34025 * malloc/arena.c: Likewise.
34026 * malloc/hooks.c: Likewise.
34027 * malloc/malloc.c: Likewise.
34028 * resolv/res-state.c: Likewise.
34029 * resolv/res_libc.c: Likewise.
34030 * sysdeps/i386/dl-machine.h: Likewise.
34031 * sysdeps/ia64/dl-machine.h: Likewise.
34032 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34033 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34034 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34035 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34036 * sysdeps/sh/dl-machine.h: Likewise.
34037 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34038 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34039 * sysdeps/unix/i386/sysdep.S: Likewise.
34040 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34041 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34042 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34043 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34044 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34045 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34046 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34047 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34048 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34049 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34050 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34051 * sysdeps/x86_64/dl-machine.h: Likewise.
34052 * tls.make.c: Likewise.
34053
34054 * configure.in: Remove --with-__thread option. Make tests for
34055 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34056 tls_model attribute fail if no support is available. Remove
34057 USE_IN_LIBIO.
34058 * Makeconfig: Adjust for dropped configure option. All features are
34059 now mandatory.
34060 * Makerules: Likewise.
34061 * Versions.def: Likewise.
34062 * argp/argp-fmtstream.c: Likewise.
34063 * argp/argp-fmtstream.h: Likewise.
34064 * argp/argp-help.c: Likewise.
34065 * assert/assert.c: Likewise.
34066 * config.h.in: Likewise.
34067 * config.make.in: Likewise.
34068 * configure: Likewise.
34069 * configure.in: Likewise.
34070 * csu/Versions: Likewise.
34071 * csu/init.c: Likewise.
34072 * elf/tst-audit2.c: Likewise.
34073 * elf/tst-tls10.c: Likewise.
34074 * elf/tst-tls10.h: Likewise.
34075 * elf/tst-tls11.c: Likewise.
34076 * elf/tst-tls12.c: Likewise.
34077 * elf/tst-tls14.c: Likewise.
34078 * elf/tst-tlsmod11.c: Likewise.
34079 * elf/tst-tlsmod12.c: Likewise.
34080 * elf/tst-tlsmod13.c: Likewise.
34081 * elf/tst-tlsmod13a.c: Likewise.
34082 * elf/tst-tlsmod14a.c: Likewise.
34083 * elf/tst-tlsmod15b.c: Likewise.
34084 * elf/tst-tlsmod16a.c: Likewise.
34085 * elf/tst-tlsmod16b.c: Likewise.
34086 * elf/tst-tlsmod7.c: Likewise.
34087 * elf/tst-tlsmod8.c: Likewise.
34088 * elf/tst-tlsmod9.c: Likewise.
34089 * gmon/gmon.c: Likewise.
34090 * grp/fgetgrent_r.c: Likewise.
34091 * grp/putgrent.c: Likewise.
34092 * hurd/fopenport.c: Likewise.
34093 * include/libc-symbols.h: Likewise.
34094 * include/tls.h: Likewise.
34095 * intl/gettextP.h: Likewise.
34096 * intl/loadinfo.h: Likewise.
34097 * locale/global-locale.c: Likewise.
34098 * locale/localeinfo.h: Likewise.
34099 * mach/devstream.c: Likewise.
34100 * malloc/arena.c: Likewise.
34101 * malloc/set-freeres.c: Likewise.
34102 * misc/err.c: Likewise.
34103 * misc/getttyent.c: Likewise.
34104 * misc/mntent_r.c: Likewise.
34105 * posix/getopt.c: Likewise.
34106 * posix/wordexp.c: Likewise.
34107 * pwd/fgetpwent_r.c: Likewise.
34108 * resolv/Versions: Likewise.
34109 * resolv/res_hconf.c: Likewise.
34110 * shadow/fgetspent_r.c: Likewise.
34111 * shadow/putspent.c: Likewise.
34112 * stdio-common/printf_fphex.c: Likewise.
34113 * stdio-common/tmpfile.c: Likewise.
34114 * stdlib/abort.c: Likewise.
34115 * stdlib/fmtmsg.c: Likewise.
34116 * sunrpc/auth_unix.c: Likewise.
34117 * sunrpc/clnt_perr.c: Likewise.
34118 * sunrpc/clnt_tcp.c: Likewise.
34119 * sunrpc/clnt_udp.c: Likewise.
34120 * sunrpc/clnt_unix.c: Likewise.
34121 * sunrpc/openchild.c: Likewise.
34122 * sunrpc/svc_simple.c: Likewise.
34123 * sunrpc/svc_tcp.c: Likewise.
34124 * sunrpc/svc_udp.c: Likewise.
34125 * sunrpc/svc_unix.c: Likewise.
34126 * sunrpc/xdr.c: Likewise.
34127 * sunrpc/xdr_array.c: Likewise.
34128 * sunrpc/xdr_rec.c: Likewise.
34129 * sunrpc/xdr_ref.c: Likewise.
34130 * sunrpc/xdr_stdio.c: Likewise.
34131
34132 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34133
34134 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34135
34136 2011-07-03 Andreas Jaeger <aj@suse.de>
34137
34138 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34139 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34140 regenerate with gen-libm-tests.pl.
34141
34142 2010-05-12 Petr Baudis <pasky@suse.cz>
34143
34144 [BZ #11589]
34145 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34146 around j0() zero points by switching to j1().
34147 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34148 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34149 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34150 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34151
34152 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34153
34154 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34155 instead of 0.
34156 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
34157 instead of 0.
34158 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34159 Patch in part by Pavel Roskin <proski@gnu.org>.
34160
34161 [BZ #13138]
34162 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34163 realloc.
34164 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
34165 Free memory block if necessary.
34166
34167 [BZ #12847]
34168 * libio/genops.c (INTDEF): For string streams the _lock pointer can
34169 be NULL. Don't lock in this case.
34170
34171 2011-09-09 Roland McGrath <roland@hack.frob.com>
34172
34173 * elf/elf.h (ELFOSABI_GNU): New macro.
34174 (ELFOSABI_LINUX): Define to that.
34175
34176 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
34177
34178 * string/strncat.c (strncat): Undef the symbol in case it has been
34179 defined in bits/string.h.
34180
34181 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34182
34183 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34184
34185 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
34186 link map.
34187
34188 2011-08-17 Andreas Jaeger <aj@suse.de>
34189
34190 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34191
34192 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
34193 Ian Lance Taylor <iant@google.com>
34194
34195 * math/libm-test.inc (lround_test): New testcase.
34196 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34197
34198 2011-09-08 Ulrich Drepper <drepper@gmail.com>
34199
34200 * Makefile: Remove support for automatic cvs check-ins.
34201 * Makerules: Likewise.
34202 * config.make.in: Likewise.
34203 * configure.in: Likewise.
34204 * intl/Makefile: Likewise.
34205 * locale/Makefile: Likewise.
34206 * po/Makefile: Likewise.
34207 * posix/Makefile: Likewise.
34208 * sysdeps/gnu/Makefile: Likewise.
34209 * sysdeps/mach/hurd/Makefile: Likewise.
34210 * sysdeps/sparc/sparc32/Makefile: Likewise.
34211
34212 [BZ #13118]
34213 * posix/Makefile (bug-regex32-ENV): Define.
34214 Patch by John Stanley <jpsinthemix@verizon.net>.
34215
34216 * misc/Makefile (headers): Add bits/select2.h.
34217 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34218 * misc/bits/select2.h: New file.
34219 * include/bits/select2.h: New file.
34220 * debug/Makefile (routines): Add fdelt_chk.
34221 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34222 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34223 FD_ISSET.
34224 * debug/fdelt_chk.c: New file.
34225
34226 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
34227 * wcsmbs/test-wmemcmp.c: Likewise.
34228 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
34229 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
34230
34231 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34232
34233 * string/Makefile (strop-tests): Add memcmp.
34234 * string/test-wmemcmp.c: New file.
34235 * string/test-memcmp.c: Add wmemcmp support.
34236
34237 2011-09-08 Roland McGrath <roland@hack.frob.com>
34238
34239 [BZ #13153]
34240 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34241 2011-07-19 change.
34242
34243 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34244 garbage value in a __mach_port_mod_refs call in the cases of the
34245 task-self and thread-self ports.
34246
34247 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34248
34249 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34250
34251 2011-09-08 Andreas Schwab <schwab@redhat.com>
34252
34253 * elf/dl-load.c (lose): Check for non-null L.
34254
34255 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34256
34257 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34258
34259 * elf/dl-libc.c (dlerror_run): Pass back error code from
34260 dl_catch_error.
34261
34262 [BZ #13123]
34263 * elf/dl-load.c (lose): Free l_origin if it is valid.
34264
34265 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34266 names.
34267 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34268 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34269 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34270 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34271 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34272 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34273
34274 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34275
34276 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34277 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34278 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34279 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34280 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34281 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34282 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34283 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34284 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34285 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34286
34287 2011-08-15 Alan Modra <amodra@gmail.com>
34288
34289 [BZ #13092]
34290 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34291 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34292 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34293 ppc_mcount to static-only-routines.
34294 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34295 __mcount_internal.
34296 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34297 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34298
34299 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34300
34301 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34302 for finite and infinity parameters.
34303
34304 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34305
34306 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34307 and add nop instructions for throughput optimization.
34308 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34309
34310 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34311
34312 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34313 aligned copy for power7 with vector-scalar instructions.
34314 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34315
34316 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34317
34318 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34319 AVX check.
34320
34321 2011-09-07 Andreas Schwab <schwab@redhat.com>
34322
34323 [BZ #13144]
34324 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34325 last change.
34326
34327 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34328
34329 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34330 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34331 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34332 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34333 clock_gettime.
34334
34335 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34336
34337 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34338 Forgot to demangle the pointer.
34339
34340 * sysdeps/i386/sysdep.h: Define atom_text_section.
34341 * sysdeps/x86_64/sysdep.h: Likewise.
34342 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34343 section with atom_text_section.
34344 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34345 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34346 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34347 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34348 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34349
34350 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34351 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34352 already be defined. Change to take two parameters and don't assign
34353 result to variable. Adjust all users.
34354 Define INTERNAL_GETTIME if not already defined.
34355 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34356 call.
34357 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34358 HAVE_CLOCK_GETTIME_VSYSCALL.
34359 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34360
34361 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34362 gettimeofday vsyscall, just use time.
34363
34364 2011-09-06 Andreas Schwab <schwab@redhat.com>
34365
34366 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34367 <errno.h>.
34368
34369 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34370
34371 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34372 syscall on x86-64.
34373 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34374 syscall.
34375 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34376 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34377 syscall if possible.
34378
34379 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34380
34381 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34382 e_ident. Don't pass to find_mapsXX.
34383 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34384
34385 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34386
34387 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34388 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34389 * sysdeps/x86_64/multiarch/strchr.S: Update.
34390 Check bit_slow_BSF bit.
34391 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34392 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34393 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34394
34395 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34396
34397 [BZ #13134]
34398 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34399 before glibc 2.15.
34400 (tryshell): Define.
34401 (__spawni): Change last parameter to be flag. Test
34402 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34403 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34404 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34405 * posix/spawni.c: Likewise.
34406 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34407 * posix/spawnp.c: Likewise. Change normal version to use
34408 SPAWN_XFLAGS_USE_PATH.
34409 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34410 SPAWN_XFLAGS_TRY_SHELL.
34411
34412 [BZ #13150]
34413 * posix/glob.h: Remove gcc 1.x support.
34414
34415 [BZ #13068]
34416 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34417
34418 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34419
34420 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34421 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34422 strrchr-sse2-bsf
34423 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34424 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34425 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34426 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34427 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34428 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34429
34430 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34431
34432 * sysdeps/x86_64/wcscmp.S: New file.
34433
34434 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34435 wcscmp-c wcscmp-sse2
34436 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34437 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34438 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34439 * wcsmbs/wcscmp.c: Allow renaming.
34440
34441 2011-09-05 David S. Miller <davem@davemloft.net>
34442
34443 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34444 stack slot, rather than the struct return pointer slot.
34445 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34446 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34448 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34449
34450 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34451
34452 * po/ja.po: Update from translation team.
34453
34454 [BZ #13144]
34455 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34456 kernel in 64-bit binaries.
34457
34458 2011-09-01 David S. Miller <davem@davemloft.net>
34459
34460 * elf/elf.h (HWCAP_SPARC_*): Move to..
34461 * sysdeps/sparc/sysdep.h: this new file and add new values.
34462 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34463 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34464 _DL_HWCAP_COUNT to 24.
34465 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34466 entries.
34467 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34468 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34469 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34470 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34471 instead of magic constants.
34472 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34473
34474 2011-08-31 David S. Miller <davem@davemloft.net>
34475
34476 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34477 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34478 Reimplement to do errno handling inline.
34479 (SYSCALL_ERROR_HANDLER): New macro.
34480 (__SYSCALL_STRING): Do not do errno handling in asm.
34481 (__CLONE_SYSCALL_STRING): Delete.
34482 (__INTERNAL_SYSCALL_STRING): Delete.
34483 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34484 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34485 (PSEUDO): Reimplement to do errno handling inline.
34486 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34487 (SYSCALL_ERROR_HANDLER): New macro.
34488 (__SYSCALL_STRING): Do not do errno handling in asm.
34489 (__CLONE_SYSCALL_STRING): Delete.
34490 (__INTERNAL_SYSCALL_STRING): Delete.
34491 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34492 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34493 i386.
34494 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34495 (inline_syscall*): Add 'err' argument.
34496 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34497 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34498 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34499 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34500
34501 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34502 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34503
34504 2011-08-30 Andreas Schwab <schwab@redhat.com>
34505
34506 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34507
34508 2011-08-29 Jiri Olsa <jolsa@redhat.com>
34509
34510 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34511 directive.
34512
34513 2011-08-24 David S. Miller <davem@davemloft.net>
34514
34515 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34516
34517 2011-08-24 Andreas Schwab <schwab@redhat.com>
34518
34519 * elf/Makefile: Add rules to build and run unload8 test.
34520 * elf/unload8.c: New file.
34521 * elf/unload8mod1.c: New file.
34522 * elf/unload8mod1x.c: New file.
34523 * elf/unload8mod2.c: New file.
34524 * elf/unload8mod3.c: New file.
34525
34526 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34527 it wasn't used.
34528
34529 2011-08-23 David S. Miller <davem@davemloft.net>
34530
34531 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34532 subtract stack bias.
34533 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34534 %sp not %fp in calculations.
34535 (_JMPBUF_UNWINDS_ADJ): Likewise.
34536
34537 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34538 (aio_suspend): Call it to force an exception region around the
34539 AIO_MISC_WAIT() invocation.
34540
34541 2011-08-23 Andreas Schwab <schwab@redhat.com>
34542
34543 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34544 backslash.
34545
34546 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34547
34548 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34549 protection macro.
34550 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34551 and <dl-machine.h>.
34552 (Elf64_FuncDesc): Remove.
34553
34554 2011-08-22 David S. Miller <davem@davemloft.net>
34555
34556 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34557 sigaltstack check, add missing cfi directives.
34558 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34559 missing cfi directives, and sigaltstack handling.
34560
34561 2011-08-16 Andreas Schwab <schwab@redhat.com>
34562
34563 [BZ #11724]
34564 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34565 object is seen twice.
34566 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34567
34568 * elf/Makefile (distribute): Add tst-initorder2.c.
34569 (tests): Add tst-initorder2.
34570 (modules-names): Add tst-initorder2a tst-initorder2b
34571 tst-initorder2c tst-initorder2d. Add rules to build them.
34572 ($(objpfx)tst-initorder2.out): New rule.
34573 * elf/tst-initorder2.c: New file.
34574 * elf/tst-initorder2.exp: New file.
34575
34576 2011-08-22 Andreas Schwab <schwab@redhat.com>
34577
34578 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34579
34580 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34581 dependencies back to end of function.
34582
34583 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34584 $(elfobjdir)/ld.so.
34585
34586 2011-08-21 Ulrich Drepper <drepper@gmail.com>
34587
34588 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34589 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34590 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34591 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34592 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34593 of __vdso_gettimeofday.
34594 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34595 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34596 attribute_hidden.
34597 (_libc_vdso_platform_setup): Remove initialization of
34598 __vdso_gettimeofday and __vdso_time.
34599
34600 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34601
34602 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34603 and fgetc_unlocked.
34604 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34605 getc_unlocked.
34606
34607 * elf/dl-open.c (add_to_global): Report additions to the global scope
34608 for LD_DEBUG=scopes.
34609 (dl_open_worker): Also print scope of newly loaded dependencies.
34610 (_dl_show_scope): Indicate if there is no scope.
34611
34612 [BZ #13114]
34613 * stdio-common/Makefile (tests): Add bug24.
34614 * stdio-common/bug24.c: New file.
34615
34616 2011-08-19 Andreas Jaeger <aj@suse.de>
34617
34618 [BZ #13114]
34619 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34620 non-existant file when using close-on-exec mode.
34621
34622 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34623
34624 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34625 the very first instruction.
34626
34627 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34628 the CFI state in the end.
34629 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34630 inclusion of dl-trampoline.h.
34631 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34632
34633 2011-08-19 Andreas Schwab <schwab@redhat.com>
34634
34635 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34636 expectations for long double.
34637
34638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34639 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34640
34641 2011-08-14 David S. Miller <davem@davemloft.net>
34642
34643 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34644 artificual limit depends upon the system page size.
34645
34646 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34647
34648 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34649 * resolv/Makefile: Define CFLAGS-libresolv.
34650
34651 2011-08-17 Andreas Schwab <schwab@redhat.com>
34652
34653 * nss/makedb.c (compute_tables): Make variables used in nested
34654 function static.
34655
34656 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34657
34658 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34659 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34660 if buffer was too small.
34661
34662 * elf/pldd.c (main): Attach to all threads in the process.
34663 Rewrite /proc handling to use *at functions.
34664
34665 2011-08-16 Ulrich Drepper <drepper@gmail.com>
34666
34667 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34668 specifies first scope to show.
34669 (dl_open_worker): Update callers. Move printing scope of new
34670 object to before the relocation.
34671 * elf/rtld.c (dl_main): Update _dl_show_scope call.
34672 * sysdeps/generic/ldsodefs.h: Update declaration.
34673
34674 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34675 string for the scope number.
34676
34677 2011-08-14 Ulrich Drepper <drepper@gmail.com>
34678
34679 * nscd/servicescache.c (cache_addserv): Make sure written is always
34680 initialized.
34681
34682 2011-08-14 Roland McGrath <roland@hack.frob.com>
34683
34684 * sysdeps/i386/i486/bits/atomic.h
34685 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34686 statement expression, so as to suppress "set but not used" warning.
34687 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34688
34689 * string/strncat.c (STRNCAT): Use prototype definition.
34690
34691 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34692 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34693 -Iprograms here.
34694 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34695 (localedef-modules): Add localedef.
34696 (locale-modules): Add locale.
34697
34698 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34699 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34700 to avoid a warning.
34701
34702 2011-08-14 David S. Miller <davem@davemloft.net>
34703
34704 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34705 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34706
34707 2011-08-13 Ulrich Drepper <drepper@gmail.com>
34708
34709 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34710 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34711 * elf/rtld.c (dl_main): Set l_name of vDSO.
34712 Call _dl_show_scope when DL_DEBUG_SCOPES.
34713 (process_dl_debug): Recognize scopes flag and also set it for all.
34714 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34715 Declare _dl_show_scope.
34716
34717 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34718 (do_dlopen): Pass caller_dlopen to dl_open.
34719 (__libc_dlopen_mode): Initialize caller_dlopen.
34720
34721 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34722 of libc. Make tolower call locale-independent. Optimize a bit by
34723 using isdigit instead of isalnum.
34724 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34725
34726 2011-08-12 Ulrich Drepper <drepper@gmail.com>
34727
34728 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34729 was a dependency or dynamically loaded.
34730
34731 2011-08-11 Ulrich Drepper <drepper@gmail.com>
34732
34733 * intl/l10nflist.c: Allow architecture-specific pop function.
34734 * sysdeps/x86_64/l10nflist.c: New file.
34735
34736 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34737 classification.
34738
34739 2011-08-10 Andreas Schwab <schwab@redhat.com>
34740
34741 * include/dirent.h: Add libc_hidden_proto for scandirat and
34742 scandirat64. Don't declare __scandirat64.
34743 * dirent/scandirat.c: Add libc_hidden_def.
34744 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34745 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34746
34747 2011-08-10 David S. Miller <davem@davemloft.net>
34748
34749 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34750 enum.
34751 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34752 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34753 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34754
34755 2011-08-09 Ulrich Drepper <drepper@gmail.com>
34756
34757 * Versions.def [libc]: Add GLIBC_2.15.
34758 * dirent/Makefile (routines): Add scandirat and scandirat64.
34759 * dirent/Versions [libc]: Export scandirat and scandirat64 for
34760 GLIBC_2.15.
34761 * dirent/dirent.h: Declare scandirat and scandirat64.
34762 * dirent/scandirat.c: New file.
34763 * dirent/scandirat64.c: New file.
34764 * sysdeps/wordsize-64/scandirat.c: New file.
34765 * sysdeps/wordsize-64/scandirat64.c: New file.
34766 * dirent/opendir.c: Define opendirat.
34767 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
34768 using scandirat.
34769 * dirent/scandir64.c: Adjust for scandir.c change.
34770 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
34771 __scandirat64, and __scandir_cancel_handler.
34772 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
34773 additional parameter and use openat instead of open (outside of ld.so).
34774 Add new __opendir as wrapper around __opendirat.
34775 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34776 here without requiring old scandirat implementation.
34777
34778 2011-08-08 Ulrich Drepper <drepper@gmail.com>
34779
34780 * dirent/scandir.c (cancel_handler): Renamed to
34781 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
34782 defined. Adjust users.
34783 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34784 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34785
34786 2011-08-04 Ulrich Drepper <drepper@gmail.com>
34787
34788 * string/test-string.h (IMPL): Use __STRING to expand name and then
34789 stringify it.
34790
34791 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
34792 of cleanups.
34793
34794 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34795
34796 * string/Makefile: Update.
34797 (strop-tests): Append strncat.
34798 * string/test-wcscmp.c: New file.
34799 New comprehensive test for wcscmp.
34800 * string/test-strcmp.c: Update.
34801 (WIDE): New define.
34802
34803 2011-07-22 Andreas Schwab <schwab@redhat.com>
34804
34805 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
34806 line.
34807
34808 2011-07-26 Andreas Schwab <schwab@redhat.com>
34809
34810 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34811 encoding to ACE if AI_IDN.
34812
34813 2011-08-01 Jakub Jelinek <jakub@redhat.com>
34814
34815 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
34816 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
34817
34818 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34819
34820 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
34821 Fix overflow bug in strncat.
34822 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
34823
34824 * string/test-strncat.c: Update.
34825 Add new tests for checking overflow bugs.
34826
34827 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34828
34829 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34830 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
34831 * sysdeps/i386/i686/multiarch/strcat.S: New file.
34832 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
34833 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
34834 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
34835 * sysdeps/i386/i686/multiarch/strncat.S: New file.
34836 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
34837 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
34838
34839 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
34840 (USE_AS_STRCAT): Define.
34841 Add strcat and strncat support.
34842 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34843
34844 2011-07-25 Andreas Schwab <schwab@redhat.com>
34845
34846 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
34847 __n bigger than INT_MAX+1.
34848 (__strncmp_g): Likewise.
34849
34850 2011-07-23 Ulrich Drepper <drepper@gmail.com>
34851
34852 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
34853 * libio/stido.h: Likewise.
34854
34855 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
34856 (AF_NFC): Define.
34857 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
34858 (AF_NFC): Define.
34859
34860 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
34861 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34862 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34863 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34864 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34865
34866 [BZ #13021]
34867 * scripts/test-installation.pl: Don't expect libnss_test1 to be
34868 installed.
34869
34870 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
34871 typo.
34872 (_dl_x86_64_save_sse): Likewise.
34873
34874 2011-07-22 Ulrich Drepper <drepper@gmail.com>
34875
34876 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
34877 OSXSAVE.
34878 (_dl_x86_64_save_sse): Likewise.
34879
34880 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
34881
34882 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
34883
34884 2011-07-21 Andreas Schwab <schwab@redhat.com>
34885
34886 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
34887 change.
34888 (_dl_x86_64_save_sse): Use correct AVX check.
34889
34890 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34891
34892 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
34893 bug in strncpy/strncat.
34894 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
34895
34896 2011-07-21 Ulrich Drepper <drepper@gmail.com>
34897
34898 * string/tester.c (test_strcat): Add tests for different alignments
34899 of source and destination.
34900 (test_strncat): Likewise.
34901
34902 2011-07-20 Ulrich Drepper <drepper@gmail.com>
34903
34904 [BZ #12852]
34905 * posix/glob.c (glob): Check passed in values before using them in
34906 expressions to avoid some overflows.
34907 (glob_in_dir): Likewise.
34908
34909 [BZ #13007]
34910 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
34911 check for AVX enablement so that we don't crash with old kernels and
34912 new hardware.
34913 * elf/tst-audit4.c: Add same checks here.
34914 * elf/tst-audit6.c: Likewise.
34915
34916 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
34917
34918 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
34919
34920 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
34921
34922 2011-07-20 Ulrich Drepper <drepper@gmail.com>
34923
34924 * po/cs.po: Update from translation team.
34925 * po/bg.po: Likewise.
34926
34927 2011-07-12 Marek Polacek <mpolacek@redhat.com>
34928
34929 * misc/sys/cdefs.h: Add support for const attribute.
34930 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
34931 to gnu_dev_{major,minor,makedev} functions.
34932
34933 2011-07-20 Marek Polacek <mpolacek@redhat.com>
34934
34935 * intl/dcigettext.c (get_output_charset): Add missing bracket.
34936
34937 2011-07-20 Andreas Schwab <schwab@redhat.com>
34938
34939 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
34940 strlen results.
34941
34942 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34943
34944 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
34945 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
34946 register in order to avoid conflicts with the soft frame pointer
34947 being held in r11 when necessary.
34948 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
34949 (INTERNAL_VSYSCALL_NCS): Likewise.
34950
34951 2011-07-14 Marek Polacek <mpolacek@redhat.com>
34952
34953 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
34954 * elf/dl-fini.c (_dl_fini): Adjust caller.
34955 * elf/dl-close.c (_dl_close_worker): Likewise.
34956 * sysdeps/generic/ldsodefs.h: Adjust declaration.
34957
34958 2011-07-15 Marek Polacek <mpolacek@redhat.com>
34959
34960 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
34961 "aux_cache->nlibs < 0".
34962
34963 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
34964 in the reload-count case.
34965
34966 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34967
34968 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34969 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
34970 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
34971 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
34972 * sysdeps/x86_64/multiarch/strcat.S: New file.
34973 * sysdeps/x86_64/multiarch/strncat.S: New file.
34974 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
34975 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
34976 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
34977 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
34978 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
34979 (USE_AS_STRCAT): Define.
34980 Add strcat and strncat support.
34981 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34982 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34983 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
34984 * string/strncat.c: Update.
34985 (USE_AS_STRNCAT): Define.
34986 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34987 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
34988 and i7.
34989 * sysdeps/x86_64/multiarch/init-arch.h
34990 (bit_Prefer_PMINUB_for_stringop): New.
34991 (index_Prefer_PMINUB_for_stringop): Likewise.
34992 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
34993 bit_Prefer_PMINUB_for_stringop.
34994
34995 2011-07-19 Ulrich Drepper <drepper@gmail.com>
34996
34997 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
34998 buffer64.
34999 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35000 of casting of buffer.
35001 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35002 buffer32 and buffer64.
35003 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35004 writes instead of casting of buffer.
35005 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35006 buffer32.
35007 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35008 casting of buffer.
35009
35010 2011-07-19 Andreas Schwab <schwab@redhat.com>
35011
35012 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35013
35014 2011-07-19 Ulrich Drepper <drepper@gmail.com>
35015
35016 * nscd/nscd.c (termination_handler): Don't do anything for a database
35017 if it has not yet been initialized.
35018
35019 2011-07-18 Ulrich Drepper <drepper@gmail.com>
35020
35021 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35022
35023 2011-07-15 Marek Polacek <mpolacek@redhat.com>
35024
35025 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35026
35027 2011-07-18 Ulrich Drepper <drepper@gmail.com>
35028
35029 * po/nl.po: Update from translation team.
35030 * po/sv.po: Likewise.
35031
35032 2011-07-16 Roland McGrath <roland@hack.frob.com>
35033
35034 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35035 now disallowed by GCC.
35036
35037 * configure.in (use-default-link): Default to yes if a test -shared
35038 link meets our qualifications.
35039 * configure: Regenerated.
35040
35041 * config.make.in (output-format): New variable.
35042 * configure.in: Check for ld --print-output-format support.
35043 * configure: Regenerated.
35044 * Makerules ($(common-objpfx)format.lds)
35045 [$(output-format) != unknown]: Just use $(output-format),
35046 instead of the linker-script munging.
35047
35048 2011-07-14 Roland McGrath <roland@hack.frob.com>
35049
35050 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35051 of $(common-objpfx)shlib.lds.
35052 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35053
35054 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35055 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35056
35057 * configure.in (-z relro check): Adjust test code to add a large
35058 writable data section after it.
35059 * configure: Regenerated.
35060
35061 2011-07-11 Roland McGrath <roland@hack.frob.com>
35062
35063 * configure.in (-z relro check): Fix test code to make the variable
35064 truly const.
35065 * configure: Regenerated.
35066
35067 2011-07-11 Ulrich Drepper <drepper@gmail.com>
35068
35069 * nscd/nscd.h (struct traced_file): Define.
35070 (struct database_dyn): Remove inotify_descr, reset_res, and filename
35071 elements. Add traced_files.
35072 (inotify_fd): Declare.
35073 (register_traced_file): Declare.
35074 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35075 (inotify_fd): Export.
35076 (resolv_conf_descr): Remove.
35077 (nscd_init): Move inotify descriptor creation to main.
35078 Don't register files for notification here.
35079 (register_traced_file): New function.
35080 (invalidate_cache): Don't use reset_res to determine whether to call
35081 res_init, go through the list of registered files.
35082 (main_loop_poll): The inotify descriptors are now stored in the
35083 structures for the traced files.
35084 (main_loop_epoll): Likewise
35085 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
35086 to __nss_disable_nscd.
35087 * nscd/cache.c (prune_cache): There is no single inotify descriptor
35088 for a database anymore. Check the records for all the registered
35089 files instead.
35090 * nss/Makefile (libnss_files-routines): Add files-init.
35091 (libnss_db-routines): Add db-init.
35092 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35093 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35094 * nss/nss_db/db-init.c: New file.
35095 * nss/nss_files/files-init.c: New file.
35096 * nss/nsswitch.c (nss_load_library): New function. Broken out of
35097 __nss_lookup_function.
35098 (__nss_lookup_function): Call nss_load_library.
35099 (nss_load_all_libraries): New function.
35100 (__nss_disable_nscd): Take parameter with callback function for files
35101 to register. Set is_nscd. Load all the DSOs for the NSS modules
35102 used for the cached services.
35103 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35104 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35105 options for features to all the files in nscd.
35106
35107 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35108
35109 2011-07-10 Roland McGrath <roland@hack.frob.com>
35110
35111 * csu/elf-init.c (__libc_csu_init): Comment typo.
35112
35113 2011-07-09 Ulrich Drepper <drepper@gmail.com>
35114
35115 * po/pl.po: Update from translation team.
35116 * po/ja.po: Likewise.
35117 * po/ru.po: Likewise.
35118 * po/ko.po: Likewise.
35119 * po/fr.po: Likewise.
35120
35121 2011-07-09 Roland McGrath <roland@hack.frob.com>
35122
35123 * configure.in (.ctors/.dtors header and trailer check):
35124 Use an empirical test on a built program.
35125 * configure: Regenerated.
35126
35127 * configure.in (-z relro check): Use an empirical test on a built DSO.
35128 Detect, but do not require, on ia64.
35129 * configure: Regenerated.
35130
35131 * configure.in (READELF): Find it with AC_CHECK_TOOL.
35132 Update tests that use readelf to use $READELF instead.
35133 * configure: Regenerated.
35134
35135 2011-07-08 Ulrich Drepper <drepper@gmail.com>
35136
35137 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35138 if the result is not used.
35139
35140 2011-07-05 Andreas Jaeger <aj@suse.de>
35141
35142 [BZ#9696]
35143 * stdlib/tst-strtod.c: Add testcase.
35144
35145 2011-07-07 Ulrich Drepper <drepper@gmail.com>
35146
35147 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
35148 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
35149 The latter has a higher limit. Take additional parameter to pass to
35150 the new function.
35151 (__pathconf): Pass file to __statfs_link_max.
35152 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35153 __statfs_link_max.
35154 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35155 __statfs_link_max.
35156
35157 [BZ #12868]
35158 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35159 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35160 Handle Lustre.
35161 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35162 (__statfs_filesize_max): Likewise.
35163 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35164
35165 2011-07-05 Andreas Jaeger <aj@suse.de>
35166
35167 * resolv/res_comp.c (dn_skipname): Remove unused variable.
35168
35169 2011-07-06 Marek Polacek <mpolacek@redhat.com>
35170
35171 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35172 `status' variable.
35173 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35174 Likewise.
35175
35176 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
35177
35178 * Makefile (strop-tests): Add strncat.
35179 * string/test-strncat.c: New file.
35180
35181 2011-06-30 Marek Polacek <mpolacek@redhat.com>
35182
35183 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35184
35185 2011-06-21 Andreas Jaeger <aj@suse.de>
35186
35187 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35188 Copy rule from iconvdata/Makefile.
35189
35190 2011-07-06 Ulrich Drepper <drepper@gmail.com>
35191
35192 [BZ #12922]
35193 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35194 but no long options are defined, just return 'W'.
35195
35196 2011-06-22 Marek Polacek <mpolacek@redhat.com>
35197
35198 [BZ #9696]
35199 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35200
35201 2011-07-06 Ulrich Drepper <drepper@gmail.com>
35202
35203 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35204 netgroups to read.
35205 (innetgr): Likewise.
35206
35207 2011-07-05 Roland McGrath <roland@hack.frob.com>
35208
35209 * config.make.in (install_root): Default to $(DESTDIR).
35210
35211 2011-07-05 Ulrich Drepper <drepper@gmail.com>
35212
35213 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35214
35215 2011-07-02 Roland McGrath <roland@hack.frob.com>
35216
35217 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35218
35219 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35220 containing directory rather than embedding absolute directory names.
35221
35222 * scripts/check-local-headers.sh: Rewritten using awk.
35223 Match by word, not by line. Print error messages for matches.
35224 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35225
35226 * Makerules [shlib-lds-flags empty]:
35227 ($(common-objpfx)libc_pic.opts): New target.
35228 ($(common-objpfx)libc_pic.os.clean): New target.
35229 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35230
35231 * config.make.in (OBJCOPY): New variable.
35232 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35233 * configure: Regenerated.
35234
35235 * config.make.in (use-default-link): New variable.
35236 * configure.in (use_default_link): Grok --with-default-link to set it.
35237 * configure: Regenerated.
35238 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35239 (shlib-lds, shlib-lds-flags): Define to empty.
35240
35241 * Makerules (shlib-lds): New variable.
35242 (shlib-lds-flags): New variable.
35243 (build-shlib, build-moduile, build-module-asneeded): Use it.
35244 ($(common-objpfx)libc.so): Use $(shlib-lds).
35245 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35246 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35247
35248 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35249 DT_FLAGS/DT_FLAGS_1 with zero flags.
35250
35251 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35252 linker script munging.
35253
35254 2011-07-02 Ulrich Drepper <drepper@gmail.com>
35255
35256 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35257 as 128-bit value.
35258 * crypt/sha512.c (sha512_process_block): Perform total addition using
35259 128-bit if possible.
35260 (__sha512_finish_ctx): Likewise.
35261 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35262 as 64-bit value.
35263 * crypt/sha256.c (SWAP64): Define.
35264 (sha256_process_block): Perform total addition using 64-bit if
35265 possible.
35266 (__sha256_finish_ctx): Likewise.
35267
35268 2011-07-01 Ulrich Drepper <drepper@gmail.com>
35269
35270 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35271 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35272 * nscd/hstcache.c (cache_addhst): Likewise.
35273 * nscd/grpcache.c (cache_addgr): Likewise.
35274 * nscd/aicache.c (addhstaiX): Likewise
35275 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35276
35277 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
35278
35279 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35280 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35281 * nscd/hstcache.c (cache_addhst): Likewise.
35282 * nscd/grpcache.c (cache_addgr): Likewise.
35283 * nscd/aicache.c (addhstaiX): Likewise
35284
35285 2011-07-01 Andreas Schwab <schwab@redhat.com>
35286
35287 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35288 domain only when needed.
35289
35290 2011-06-30 Andreas Schwab <schwab@redhat.com>
35291
35292 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35293 is always restored.
35294
35295 2011-06-29 Ulrich Drepper <drepper@gmail.com>
35296
35297 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35298 are re-adding the entry.
35299 * nscd/servicescache.c (cache_addserv): Likewise.
35300
35301 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35302
35303 * sysdeps/generic/dl-irel.h: fix protection against multiple
35304 inclusions.
35305 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35306
35307 2011-06-28 Ulrich Drepper <drepper@gmail.com>
35308
35309 [BZ #12935]
35310 * malloc/memusage.sh: Fix quoting in message.
35311 * debug/xtrace.sh: Likewise.
35312
35313 * configure.in: Remove support for --experimental-malloc option, make
35314 it the default.
35315 * config.make.in: Likewise.
35316 * malloc/Makefile: Likewise.
35317
35318 2011-06-27 Andreas Schwab <schwab@redhat.com>
35319
35320 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35321 two-byte characters.
35322
35323 2011-06-27 Roland McGrath <roland@hack.frob.com>
35324
35325 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35326 AC_CACHE_CHECK invocation.
35327 * configure: Regenerated.
35328
35329 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35330
35331 2011-06-27 Ulrich Drepper <drepper@gmail.com>
35332
35333 [BZ #12350]
35334 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35335 bit from old_res_options.
35336
35337 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35338
35339 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35340 value type for setfct.
35341
35342 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35343
35344 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35345 __gettimeofday instead of gettimeofday.
35346
35347 2011-06-26 Ulrich Drepper <drepper@gmail.com>
35348
35349 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35350
35351 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35352
35353 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35354
35355 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35356 info.
35357
35358 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35359
35360 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35361 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35362 strcpy-sse2-unaligned strncpy-sse2-unaligned
35363 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35364 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35365 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35366 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35367 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35368 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35369 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35370 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35371 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35372 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35373 (STRCPY): Support SSE2 and SSSE3 versions.
35374
35375 2011-06-24 Ulrich Drepper <drepper@gmail.com>
35376
35377 [BZ #12874]
35378 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35379 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35380 kernels which artificially limit size of requests.
35381
35382 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35383
35384 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35385 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35386 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35387 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35388 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35389 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35390 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35391 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35392 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35393 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35394 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35395 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35396 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35397 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35398 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35399 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35400 Enable unaligned load optimization for Intel Core i3, i5 and i7
35401 processors.
35402 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35403 Define.
35404 (index_Fast_Unaligned_Load): Define.
35405 (HAS_FAST_UNALIGNED_LOAD): Define.
35406
35407 2011-06-23 Marek Polacek <mpolacek@redhat.com>
35408
35409 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35410
35411 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35412
35413 [BZ #12907]
35414 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35415 until it is clear that the information is realy needed.
35416 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35417
35418 2011-06-22 Andreas Schwab <schwab@redhat.com>
35419
35420 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35421
35422 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35423
35424 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35425 /sys/devices/system/cpu/online if it is usable.
35426
35427 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35428 reading the information from the /proc filesystem to once a second.
35429
35430 2011-06-21 Andreas Jaeger <aj@suse.de>
35431
35432 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35433 NULL after inclusion of kernel headers.
35434
35435 2011-06-21 Ulrich Drepper <drepper@gmail.com>
35436
35437 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35438 calls to internal_setent.
35439
35440 [BZ #12885]
35441 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35442 addresses using gethostbyname4_r ignore IPv4 addresses.
35443
35444 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35445 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35446
35447 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35448
35449 2011-06-20 David S. Miller <davem@davemloft.net>
35450
35451 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35452 inclusions.
35453 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35454
35455 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35456 (elf_irel): Use it.
35457 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35458 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35459 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35460 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35461 * sysdeps/x86_64/dl-irel.h: Likewise.
35462
35463 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35464 * elf/dl-sym.c: Likewise.
35465
35466 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35467
35468 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35469 need to dereference resplen2.
35470
35471 2011-06-14 Andreas Schwab <schwab@redhat.com>
35472
35473 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35474
35475 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35476
35477 * Makeconfig: Define vardbdir and inst_vardbdir.
35478 * nss/Makefile: Add rules to install db-Makefile.
35479
35480 * nss/nss_db/db-XXX.c: Cleanup.
35481
35482 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35483 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35484 GLIBC_PRIVATE.
35485 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35486 * nss/makedb.c: Implement -g option to specify that value strings
35487 are generated and should not be added to table iterated over for
35488 get*ent calls.
35489 * nss/nss_db/db-initgroups.c: New file.
35490
35491 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35492 interface.
35493
35494 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35495 (internal_getgrouplist): Adjust to name change.
35496 Update use_initgroups_entry if this is not the first call.
35497 * nss/databases.def: Add initgroups entry.
35498
35499 * nss/makedb.c (compute_tables): Check result of multiple hash table
35500 sizes to minimize maximum chain length.
35501
35502 2011-06-14 Ulrich Drepper <drepper@gmail.com>
35503
35504 * Versions.def: Add entry for libnss_db.
35505 * shlib-versions: Likewise.
35506 * nss/Makefile: Add rules to build libnss_db.
35507 * nss/Versions: Add libnss_db information. Organize libnss_files
35508 entries better.
35509 * nss/db-Makefile: Add gshadow support. Change rules for the new
35510 makedb progra. Some minor improvements to generate smaller files.
35511 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35512 here from...
35513 * nss/makedb.c: ...here.
35514 Improve database format to be smaller and require less memory at
35515 runtime.
35516 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35517 db anymore.
35518 * nss/nss_db/db-netgrp.c: Likewise.
35519 * nss/nss_db/db-open.c: Likewise.
35520 * nss/nss_files/flies-XXX.x: Adjust comments.
35521 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35522 * nss/nss_files/files-grp.c: Likewise.
35523 * nss/nss_files/files-hosts.c: Likewise.
35524 * nss/nss_files/files-network.c: Likewise.
35525 * nss/nss_files/files-proto.c: Likewise.
35526 * nss/nss_files/files-pwd.c: Likewise.
35527 * nss/nss_files/files-rpc.c: Likewise.
35528 * nss/nss_files/files-service.c: Likewise.
35529 * nss/nss_files/files-sgrp.c: Likewise.
35530 * nss/nss_files/files-spwd.c: Likewise.
35531 * nss/nss_db/db-alias.c: Removed.
35532 * nss/nss_db/dummy-db.h: Removed.
35533
35534 2011-06-02 Ulrich Drepper <drepper@gmail.com>
35535
35536 * nss/makedb.c: Rewritten to not use database library.
35537 * nss/Makefile: Update to build new makedb program.
35538
35539 2011-06-14 Andreas Jaeger <aj@suse.de>
35540
35541 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35542 memset declaration.
35543
35544 2011-06-10 Andreas Schwab <schwab@redhat.com>
35545
35546 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35547 tmpbuf.
35548
35549 2011-06-10 Roland McGrath <roland@hack.frob.com>
35550
35551 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35552 * elf/Makefile ($(objpfx)ld.so): Likewise.
35553
35554 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35555 Don't list ld.so twice in dependencies.
35556
35557 * posix/bug-regex31.c: Include <stdlib.h>.
35558
35559 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35560
35561 * nis/nss_compat/compat-spwd.c
35562 (getspent_next_nss_netgr): Remove unused variable.
35563 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35564
35565 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35566 nonmembers" output to use the right array.
35567
35568 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35569
35570 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35571
35572 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35573 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35574 * catgets/gencat.c (read_input_file): Likewise.
35575 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35576
35577 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35578 variable definition inside #if's controlling its use.
35579
35580 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35581
35582 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35583
35584 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35585
35586 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35587 unreachable code.
35588
35589 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35590
35591 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35592 * configure: Regenerated.
35593
35594 * Makerules: Revert last change.
35595 * elf/Makefile: Likewise.
35596
35597 2011-06-09 Roland McGrath <roland@hack.frob.com>
35598
35599 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35600 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35601 (reloc-link): Likewise.
35602
35603 2011-06-09 Ulrich Drepper <drepper@gmail.com>
35604
35605 * elf/Makefile: Add rules to build pldd.
35606 * elf/pldd.c: New file.
35607 * elf/pldd-xx.c: New file.
35608
35609 2011-06-07 Ulrich Drepper <drepper@gmail.com>
35610
35611 * version.h: Update for 2.15 development version.
35612
35613 2011-06-07 David S. Miller <davem@davemloft.net>
35614
35615 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35616 ifuncs.
35617 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35618 elf_machine_lazy_rel): Likewise.
35619 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35620 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35621 elf_machine_lazy_rel): Likewise.
35622 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35623 dl_hwcap via passed in argument.
35624 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35625 Likewise.
35626
35627 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35628
35629 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35630
35631 2011-06-06 Roland McGrath <roland@hack.frob.com>
35632
35633 [BZ #12849]
35634 * manual/fdl-1.1.texi: New file, verbatim from:
35635 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35636 * manual/lgpl-2.1.texi: New file, verbatim from:
35637 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35638 * manual/Makefile (licenses): New variable, list those new file names.
35639 (texis): Use it.
35640 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35641
35642 * manual/fdl.texi: File removed.
35643 * manual/lesser.texi: File removed.
35644 * manual/libc.texinfo (Copying, Documentation License):
35645 Use new @include file names, put @appendix directive before @include.
35646
35647 2011-06-04 Jakub Jelinek <jakub@redhat.com>
35648
35649 [BZ #12841]
35650 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35651 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35652 (mq_open): Add __NTH.
35653
35654 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35655
35656 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35657 Assume Intel Core i3/i5/i7 processor if AVX is available.
35658
35659 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35660
35661 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35662 typo.
35663
35664 2011-05-31 Andreas Schwab <schwab@redhat.com>
35665
35666 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35667 memory. Use alloca_account. Fix memory leak when retrying.
35668
35669 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35670
35671 * version.h (RELEASE): Bump for 2.14 release.
35672 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35673
35674 * config.make.in (RANLIB): Remove entry.
35675
35676 2011-05-30 Ulrich Drepper <drepper@gmail.com>
35677
35678 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35679 (libc.pot): Work around missing support for .ksh extension in xgettext.
35680
35681 [BZ #12684]
35682 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35683 if both request failed.
35684 (send_dg): In case of server errors clear resplen or *resplen2.
35685
35686 [BZ #12454]
35687 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35688 when there are multiple maps.
35689 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35690 (_dl_fini): Remove test here.
35691
35692 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35693
35694 2011-05-29 Ulrich Drepper <drepper@gmail.com>
35695
35696 [BZ #12350]
35697 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35698 bit from old_res_options.
35699 (gaih_inet): Likewise.
35700
35701 [BZ #11099]
35702 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35703 as signed.
35704
35705 * resolv/res_init.c (res_setoptions): Make the code more compact.
35706
35707 [BZ #11558]
35708 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35709 set RES_USEVC.
35710
35711 [BZ #11634]
35712 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35713
35714 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35715
35716 [BZ #11781]
35717 * malloc/malloc.h: Declare malloc hook variables as volatile.
35718
35719 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35720 in last patch.
35721
35722 [BZ #11799]
35723 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35724 raise in the comment.
35725 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35726 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35727 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
35728
35729 2011-05-28 Ulrich Drepper <drepper@gmail.com>
35730
35731 [BZ #12811]
35732 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35733 grow the buffers more if it already has to be sufficient.
35734 (build_wcs_upper_buffer): Likewise.
35735 * posix/regexec.c (check_matching): Likewise.
35736 (clean_state_log_if_needed): Likewise.
35737 (extend_buffers): Don't enlarge buffers beyond size of the input
35738 buffer.
35739 Patches mostly by Emil Wojak <emil@wojak.eu>.
35740 * posix/bug-regex32.c: New file.
35741 * posix/Makefile (tests): Add bug-regex32.
35742
35743 * locale/findlocale.c (_nl_find_locale): Return right away if
35744 _nl_explode_name failed.
35745 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35746
35747 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35748
35749 * debug/xtrace.sh: Unify messages.
35750 * malloc/memusage.sh: Likewise.
35751
35752 [BZ #12813]
35753 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35754 time symbol from vDSO. Substitute with vsyscall if not available.
35755 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35756 __vdso_time.
35757
35758 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35759 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35760 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35761 Add sendmmsg and internal_sendmmsg.
35762 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35763 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35764 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35765
35766 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35767 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35768 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35769
35770 2011-05-27 Ulrich Drepper <drepper@gmail.com>
35771
35772 [BZ #12813]
35773 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35774 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
35775 available.
35776 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35777 __vdso_getcpu.
35778
35779 [BZ #12814]
35780 * iconvdata/Makefile (tests): Add bug-iconv9.
35781 * iconvdata/bug-iconv9.c: New file.
35782
35783 2011-05-27 Andreas Schwab <schwab@redhat.com>
35784
35785 [BZ #12814]
35786 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35787
35788 2011-05-25 Jakub Jelinek <jakub@redhat.com>
35789
35790 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35791 (struct user_regs_struct): Change intcs field back to cs.
35792
35793 2011-05-25 Ulrich Drepper <drepper@gmail.com>
35794
35795 * po/ja.po: Update from translation team.
35796
35797 2011-05-23 Ulrich Drepper <drepper@gmail.com>
35798
35799 [BZ #12795]
35800 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
35801 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
35802
35803 2011-05-20 Andreas Schwab <schwab@redhat.com>
35804
35805 * stdlib/longlong.h: Update from GCC.
35806
35807 2011-05-23 Andreas Schwab <schwab@redhat.com>
35808
35809 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
35810 parameter name.
35811 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
35812 Add parameter name.
35813 (__sysconf): Pass it down.
35814
35815 2011-05-22 Ulrich Drepper <drepper@gmail.com>
35816
35817 [BZ #12671]
35818 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
35819 some situations.
35820 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
35821 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
35822 add in in __libc_use_alloca calls. Adjust callers.
35823 (glob): Use malloc in some situations.
35824
35825 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
35826 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
35827 pltexit.
35828
35829 2011-05-21 Ulrich Drepper <drepper@gmail.com>
35830
35831 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
35832 and CLOCK_BOOTTIME_ALARM.
35833
35834 [BZ #12782]
35835 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
35836 is returned.
35837
35838 * string/_strerror.c (__strerror_r): Print negative errors as signed
35839 numbers.
35840
35841 [BZ #12777]
35842 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
35843 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
35844 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
35845
35846 * configure.in: Fix typo in redirection and correct removal of test
35847 files in two cases.
35848
35849 [BZ #12788]
35850 * locale/setlocale.c (new_composite_name): Fix test to check for
35851 identical name of all categories.
35852
35853 [BZ #12792]
35854 * libio/filedoalloc.c (local_isatty): New function.
35855 (_IO_file_doallocate): Use local_isatty.
35856 * stdio-common/perror.c (perror): In case a new stream is used
35857 forward the stream error.
35858 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
35859 error flag.
35860
35861 2011-05-20 Ulrich Drepper <drepper@gmail.com>
35862
35863 [BZ #11869]
35864 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
35865 alloca.
35866 * include/alloca.h (extend_alloca_account): Define.
35867
35868 [BZ #11857]
35869 * posix/regex.h: Fix comments with documentation of user-accessible
35870 fields after compilation and describe correct free'ing of pattern
35871 after re_compile_pattern.
35872 Patch by Reuben Thomas <rrt@sc3d.org>.
35873
35874 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
35875
35876 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
35877 and -mno-altivec to prevent the compiler from using Altivec and/or
35878 VSX instructions when the corresponding registers are not available.
35879
35880 2011-05-19 Andreas Schwab <schwab@redhat.com>
35881
35882 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
35883
35884 2011-05-19 Ulrich Drepper <drepper@gmail.com>
35885
35886 * libio/freopen.c (freopen): Use __dup2, not dup2.
35887 * libio/freopen64.c (freopen64): Likewise.
35888
35889 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
35890
35891 [BZ #12775]
35892 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
35893 * math/Makefile (tests): Add test-powl.
35894 (CFLAGS-test-powl.c): Define.
35895 * math/test-powl.c: New file.
35896
35897 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
35898
35899 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
35900
35901 2011-05-17 Ulrich Drepper <drepper@gmail.com>
35902
35903 [BZ #11837]
35904 * iconvdata/gb18030.c: Update to GB18020-2005.
35905
35906 2011-05-16 Ulrich Drepper <drepper@gmail.com>
35907
35908 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
35909 RE_SYNTAX_POSIX_AWK): Update to match recent development.
35910 Patch by Aharon Robbins <arnold@skeeve.com>.
35911
35912 [BZ #11892]
35913 * stdlib/putenv.c (putenv): Don't always create copy of the variable
35914 on the stack.
35915
35916 [BZ #11895]
35917 * misc/pselect.c (__pselect): Handle timeout value errors hidden
35918 through underflows.
35919
35920 [BZ #12766]
35921 * misc/error.c (error_at_line): Ensure file_name and old_file_name
35922 point to strings before performing equality test for error_one_per_line
35923 mode.
35924
35925 [BZ #11697]
35926 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
35927
35928 [BZ #11820]
35929 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35930 (struct user_fpregs_struct): Avoid __uint*_t types.
35931
35932 [BZ #6420]
35933 * malloc/mtrace.c (tr_where): Add additional parameter to point to
35934 symbol info. Use it instead of calling _dl_addr locally.
35935 (lock_and_info): New function.
35936 (tr_freehook): Call lock_and_info and pass symbol info as additional
35937 parameter to tr_where.
35938 (tr_mallochook): Likewise.
35939 (tr_reallochook): Likewise.
35940 (tr_memalignhook): Likewise.
35941
35942 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
35943 used and couldn't be at all thread-safe.
35944
35945 2011-05-15 Ulrich Drepper <drepper@gmail.com>
35946
35947 * libio/freopen.c (freopen): Don't close old file descriptor
35948 before the new one is opened. Instead dup the new file descriptor
35949 to the old one after the new stream is created.
35950 * libio/freopen64.c (freopen64): Likewise.
35951 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
35952 * libio/fileops.c (_IO_new_file_close_it): Handle new
35953 _IO_FLAGS2_NOCLOSE flag.
35954 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
35955 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
35956 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
35957 _IO_FLAGS2_NOCLOSE flag.
35958 * include/unistd.h: Add hidden_proto for dup3.
35959 Define __have_dup3.
35960 * io/dup3.c: Define hidden symbol.
35961 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
35962
35963 [BZ #7101]
35964 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
35965 when an incomplete long option is used.
35966 * posix/tst-getopt_long1.c: New file.
35967 * posix/Makefile (tests): Add tst-getopt_long1.
35968
35969 [BZ #10138]
35970 * scripts/config.guess: Update from autoconf-2.68.
35971 * scripts/config.sub: Likewise.
35972
35973 [BZ #10157]
35974 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
35975 tests into ...
35976 (has_cpuclock): ...this. New function.
35977 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
35978 macro here based on has_cpuclock code.
35979
35980 [BZ #10149]
35981 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35982 First byte (not low byte) is now always NUL.
35983 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
35984
35985 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35986 Use non-cancelable interfaces.
35987
35988 [BZ #9809]
35989 * locale/iso-639.def: Add entry for Sorani.
35990
35991 [BZ #11901]
35992 * include/stdlib.h: Move include protection to the right place.
35993 Define abort_msg_s. Declare __abort_msg with it.
35994 * stdlib/abort.c (__abort_msg): Adjust type.
35995 * assert/assert.c (__assert_fail_base): New function. Majority
35996 of code from __assert_fail. Allocate memory for __abort_msg with
35997 mmap.
35998 (__assert_fail): Now call __assert_fail_base.
35999 * assert/assert-perr.c: Remove bulk of implementation. Use
36000 __assert_fail_base.
36001 * include/assert.hL Declare __assert_fail_base.
36002 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36003 mmap.
36004 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36005
36006 2011-05-14 Ulrich Drepper <drepper@gmail.com>
36007
36008 [BZ #11952]
36009 [BZ #12453]
36010 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36011 until all modules are registered in the DTV.
36012 * elf/Makefile: Add rules to build and run tst-tls19.
36013 * elf/tst-tls19.c: New file.
36014 * elf/tst-tls19mod1.c: New file.
36015 * elf/tst-tls19mod2.c: New file.
36016 * elf/tst-tls19mod3.c: New file.
36017 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36018
36019 [BZ #12083]
36020 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36021 correctly.
36022
36023 [BZ #12601]
36024 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36025 two-byte sequence errors.
36026 * iconvdata/Makefile (tests): Add bug-iconv8.
36027 * iconvdata/bug-iconv8.c: New file.
36028
36029 [BZ #12626]
36030 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36031 buf2 definition.
36032
36033 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36034
36035 [BZ #12432]
36036 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36037 (dummy_getcfa): New function.
36038 (init): Get _Unwind_GetCFA address, use dummy if not found.
36039 (backtrace_helper): In recursion check, also check whether CFA changes.
36040 (__backtrace): Completely initialize arg.
36041
36042 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
36043 storing incomplete byte sequence in state object. Avoid testing for
36044 guaranteed too small input if we know there is enough data available.
36045
36046 2011-05-11 Andreas Schwab <schwab@redhat.com>
36047
36048 * Makeconfig (+link-pie): Indent.
36049 * Rules (binaries-pie): Define if $(have-fpie) and
36050 $(build-shared).
36051 (binaries-shared): Also filter out $(binaries-pie).
36052 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36053 * nscd/Makefile (others-pie): Add nscd.
36054 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36055 ($(objpfx)nscd): Remove command override.
36056 * login/Makefile (others-pie): Add pt_chown.
36057 ($(objpfx)pt_chown): Remove command override.
36058 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36059 remove command overrides.
36060
36061 2011-05-13 Ulrich Drepper <drepper@gmail.com>
36062
36063 * libio/tst_putwc.c: Fix error messages.
36064
36065 [BZ #12724]
36066 * libio/fileops.c (_IO_new_file_close_it): Always flush when
36067 currently writing and seek to current position when not.
36068 * libio/Makefile (tests): Add bug-fclose1.
36069 * libio/bug-fclose1.c: New file.
36070
36071 2011-05-12 Ulrich Drepper <drepper@gmail.com>
36072
36073 [BZ #12511]
36074 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36075 don't set DF_1_NODELETE here.
36076 (do_lookup_x): When entering new entry test for copy relocation
36077 and if necessary set DF_1_NODELETE flag.
36078 * elf/tst-unique4.cc: New file.
36079 * elf/tst-unique4.h: New file.
36080 * elf/tst-unique4lib.cc: New file.
36081 * elf/Makefile: Add rules to build and run tst-unique4.
36082 Patch by Piotr Bury <pbury@goahead.com>.
36083
36084 2011-05-11 Ulrich Drepper <drepper@gmail.com>
36085
36086 [BZ #12052]
36087 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36088
36089 [BZ #12625]
36090 * misc/mntent_r.c (addmntent): Flush the stream after the output
36091
36092 [BZ #12393]
36093 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36094 (is_trusted_path_normalize): Skip initial colon. Append slash
36095 to empty buffer. Duplicate is_trusted_path code but allow
36096 constructed patch to be prefix.
36097 (is_dst): Allow $ORIGIN followed by /.
36098 (_dl_dst_substitute): Correct clearing of check_for_trusted.
36099 Correct testing of result of is_trusted_path_normalize
36100 (decompose_rpath): Fix warning.
36101
36102 2011-05-10 Ulrich Drepper <drepper@gmail.com>
36103
36104 [BZ #11257]
36105 * grp/initgroups.c (internal_getgrouplist): When we found the service
36106 list through the initgroups entry in nsswitch.conf do not always
36107 continue on a successful lookup. Don't always use the
36108 __nss_group_database value if it is set.
36109 * nss/nsswitch.conf (initgroups): Change action for successful db
36110 lookup to continue for compatibility.
36111
36112 2011-05-09 Ulrich Drepper <drepper@gmail.com>
36113
36114 [BZ #11532]
36115 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36116 and CP774 modules.
36117 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36118 and CP774 modules.
36119 * iconvdata/tst-tables.sh: Likewise.
36120 * iconvdata/cp770.c: New file.
36121 * iconvdata/cp771.c: New file.
36122 * iconvdata/cp772.c: New file.
36123 * iconvdata/cp773.c: New file.
36124 * iconvdata/cp774.c: New file.
36125 * iconvdata/testdata/CP770: New file.
36126 * iconvdata/testdata/CP770..UTF8: New file.
36127 * iconvdata/testdata/CP771: New file.
36128 * iconvdata/testdata/CP771..UTF8: New file.
36129 * iconvdata/testdata/CP772: New file.
36130 * iconvdata/testdata/CP772..UTF8: New file.
36131 * iconvdata/testdata/CP773: New file.
36132 * iconvdata/testdata/CP773..UTF8: New file.
36133 * iconvdata/testdata/CP774: New file.
36134 * iconvdata/testdata/CP774..UTF8: New file.
36135
36136 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36137 END CHARMAP line.
36138 * iconvdata/gen-8bit-gap.sh: Likewise.
36139 * iconvdata/gen-8bit.sh: Likewise.
36140
36141 * locale/iso-639.def: Add ary entry.
36142
36143 [BZ #11258]
36144 * locale/C-translit.h.in: Add U20A1 transliteration.
36145
36146 [BZ #12178]
36147 * locale/iso-639.def: Add wae entry.
36148 Patch by Kevin Bortis <bortis@translate-wae.ch>.
36149
36150 [BZ #12545]
36151 * locale/programs/localedef.c (construct_output_path): Use ssize_t
36152 for n.
36153
36154 [BZ #12711]
36155 * locale/C-translit.h.in: Add entry for U20B9.
36156 Patch by pravin.d.s@gmail.com.
36157
36158 2011-05-08 Ulrich Drepper <drepper@gmail.com>
36159
36160 [BZ #12713]
36161 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36162 ENAMETOOLONG use generic getcwd.
36163 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
36164 in rtld. Use *stat64.
36165 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
36166 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
36167 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
36168 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36169 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36170 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36171 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36172 __fstatat64 macros.
36173 * include/dirent.h: Add libc_hidden_proto for rewinddir.
36174 * dirent/rewinddir.c: Add libc_hidden_def.
36175 * sysdeps/mach/hurd/rewinddir.c: Likewise.
36176 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
36177
36178 * include/dirent.h (__alloc_dir): Add flags parameter.
36179 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36180 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36181 __alloc_dir.
36182 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
36183 from fdopendir if O_CLOEXEC is already set.
36184
36185 2011-03-15 Alan Modra <amodra@gmail.com>
36186
36187 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36188 l_tls_firstbyte_offset non-zero. Save padding offset in
36189 l_tls_firstbyte_offset for later use.
36190 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36191 freeing static tls block.
36192
36193 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
36194
36195 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36196 where #ifdef was intended. The intent is to prevent ARG_MAX from
36197 being defined by the kernel headers.
36198
36199 2011-05-07 Ulrich Drepper <drepper@gmail.com>
36200
36201 [BZ #12734]
36202 * resolv/resolv.h: Define RES_NOTLDQUERY.
36203 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36204 no-tld-query and set RES_NOTLDQUERY.
36205 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36206 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36207 modern BIND to search name as TLD unless forbidden.
36208
36209 2011-05-07 Petr Baudis <pasky@suse.cz>
36210 Ulrich Drepper <drepper@gmail.com>
36211
36212 [BZ #12393]
36213 * elf/dl-load.c (fillin_rpath): Move trusted path check...
36214 (is_trusted_path): ...to here.
36215 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
36216 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
36217 using is_trusted_path_normalize() in setuid scripts.
36218
36219 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36220
36221 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36222 __BEGIN/__END_DECLS.
36223
36224 2011-05-06 Ulrich Drepper <drepper@gmail.com>
36225
36226 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36227 NSS_STATUS_NOTFOUND if no record was found.
36228
36229 2011-05-05 Andreas Schwab <schwab@redhat.com>
36230
36231 * sunrpc/Makefile (headers): Add rpc/netdb.h.
36232 (headers-not-in-tirpc): Remove rpc/netdb.h
36233 * resolv/netdb.h: Revert last change.
36234
36235 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36236
36237 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36238 circular dependency between libgcc.a and libc.a.
36239
36240 2011-05-05 Andreas Schwab <schwab@redhat.com>
36241
36242 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36243 * nis/Makefile: Don't install rpcsvc/*.
36244 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36245 instead of <rpc/types.h>.
36246 (MAXHOSTNAMELEN): Define.
36247
36248 2011-05-03 Andreas Schwab <schwab@redhat.com>
36249
36250 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36251
36252 2011-04-28 Maciej Babinski <mbabinski@google.com>
36253
36254 [BZ #12714]
36255 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36256 gethostbyname4_r when IPv6 results are possible.
36257
36258 2011-05-02 Ulrich Drepper <drepper@gmail.com>
36259
36260 [BZ #12723]
36261 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36262 _PC_PIPE_BUF handling.
36263
36264 2011-04-30 Bruno Haible <bruno@clisp.org>
36265
36266 [BZ #12717]
36267 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36268 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36269 to 'int'.
36270 * inet/getnameinfo.c (getnameinfo): Likewise.
36271
36272 2011-04-29 Ulrich Drepper <drepper@gmail.com>
36273
36274 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36275 to groups setting in database lookup.
36276 * nss/nsswitch.conf: Add initgroups entry.
36277
36278 2011-04-22 Ulrich Drepper <drepper@gmail.com>
36279
36280 [BZ #12685]
36281 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36282 mode string.
36283 Patch by Eric Blake <eblake@redhat.com>.
36284
36285 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36286
36287 * sunrpc/Makefile (need-export-routines): Add svc_run.
36288 (routines): Remove svc_run.
36289 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36290 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36291 * sunrpc/svc_run.c (svc_run): Likewise.
36292 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36293
36294 2011-04-21 Ulrich Drepper <drepper@gmail.com>
36295
36296 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36297 problem in reallocation in last patch.
36298
36299 2011-04-20 Ulrich Drepper <drepper@gmail.com>
36300
36301 * sunrpc/Makefile: Move inclusion of Rules.
36302
36303 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36304
36305 * nss/nss_files/files-initgroups.c: New file.
36306 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36307 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36308 _nss_files_initgroups_dyn.
36309
36310 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36311
36312 * elf/elf.h (R_ARM_IRELATIVE): Define.
36313
36314 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36315
36316 * po/ru.po: Update from translation team.
36317
36318 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36319
36320 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36321 dependencies.
36322
36323 2011-02-06 Mike Frysinger <vapier@gentoo.org>
36324
36325 [BZ #12653]
36326 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36327 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36328 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36329 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36330 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36331
36332 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36333
36334 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36335 differing bytes.
36336 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36337 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36338 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36339
36340 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36341
36342 [BZ #12420]
36343 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36344 storing it.
36345 * stdlib/bug-getcontext.c: New file.
36346 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36347
36348 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36349
36350 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36351 instructions into .machine "z9-109".
36352 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36353 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36354
36355 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36356
36357 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36358 between environment variables and auxiliary vector.
36359
36360 2011-04-16 Ulrich Drepper <drepper@gmail.com>
36361
36362 * Makefile: Add rules to build linkobj/libc.so.
36363 * include/libc-symbols.h: Define libc_hidden_nolink.
36364 * include/rpc/auth.h: Mark functions which are to be hidden.
36365 * include/rpc/auth_des.h: Likewise.
36366 * include/rpc/auth_unix.h: Likewise.
36367 * include/rpc/clnt.h: Likewise.
36368 * include/rpc/des_crypt.h: Likewise.
36369 * include/rpc/key_prot.h: Likewise.
36370 * include/rpc/pmap_clnt.h: Likewise.
36371 * include/rpc/pmap_prot.h: Likewise.
36372 * include/rpc/pmap_rmt.h: Likewise.
36373 * include/rpc/rpc_msg.h: Likewise.
36374 * include/rpc/svc.h: Likewise.
36375 * include/rpc/svc_auth.h: Likewise.
36376 * include/rpc/xdr.h: Likewise.
36377 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36378 * nss/Makefile: Likewise.
36379 * sunrpc/Makefile: Don't install headers. Build library with normal
36380 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36381 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36382 for the compat linking library. Remove use of INTDEF/INTUSE.
36383 * sunrpc/auth_none.c: Likewise.
36384 * sunrpc/auth_unix.c: Likewise.
36385 * sunrpc/authdes_prot.c: Likewise.
36386 * sunrpc/authuxprot.c: Likewise.
36387 * sunrpc/clnt_gen.c: Likewise.
36388 * sunrpc/clnt_perr.c: Likewise.
36389 * sunrpc/clnt_raw.c: Likewise.
36390 * sunrpc/clnt_simp.c: Likewise.
36391 * sunrpc/clnt_tcp.c: Likewise.
36392 * sunrpc/clnt_udp.c: Likewise.
36393 * sunrpc/clnt_unix.c: Likewise.
36394 * sunrpc/des_crypt.c: Likewise.
36395 * sunrpc/des_soft.c: Likewise.
36396 * sunrpc/get_myaddr.c: Likewise.
36397 * sunrpc/key_call.c: Likewise.
36398 * sunrpc/key_prot.c: Likewise.
36399 * sunrpc/netname.c: Likewise.
36400 * sunrpc/pm_getmaps.c: Likewise.
36401 * sunrpc/pm_getport.c: Likewise.
36402 * sunrpc/pmap_clnt.c: Likewise.
36403 * sunrpc/pmap_prot.c: Likewise.
36404 * sunrpc/pmap_prot2.c: Likewise.
36405 * sunrpc/pmap_rmt.c: Likewise.
36406 * sunrpc/publickey.c: Likewise.
36407 * sunrpc/rpc_cmsg.c: Likewise.
36408 * sunrpc/rpc_common.c: Likewise.
36409 * sunrpc/rpc_dtable.c: Likewise.
36410 * sunrpc/rpc_prot.c: Likewise.
36411 * sunrpc/rpc_thread.c: Likewise.
36412 * sunrpc/rtime.c: Likewise.
36413 * sunrpc/svc.c: Likewise.
36414 * sunrpc/svc_auth.c: Likewise.
36415 * sunrpc/svc_authux.c: Likewise.
36416 * sunrpc/svc_raw.c: Likewise.
36417 * sunrpc/svc_run.c: Likewise.
36418 * sunrpc/svc_simple.c: Likewise.
36419 * sunrpc/svc_tcp.c: Likewise.
36420 * sunrpc/svc_udp.c: Likewise.
36421 * sunrpc/svc_unix.c: Likewise.
36422 * sunrpc/svcauth_des.c: Likewise.
36423 * sunrpc/xcrypt.c: Likewise.
36424 * sunrpc/xdr.c: Likewise.
36425 * sunrpc/xdr_array.c: Likewise.
36426 * sunrpc/xdr_float.c: Likewise.
36427 * sunrpc/xdr_intXX_t.c: Likewise.
36428 * sunrpc/xdr_mem.c: Likewise.
36429 * sunrpc/xdr_rec.c: Likewise.
36430 * sunrpc/xdr_ref.c: Likewise.
36431 * sunrpc/xdr_sizeof.c: Likewise.
36432 * sunrpc/xdr_stdio.c: Likewise.
36433
36434 2011-04-10 Ulrich Drepper <drepper@gmail.com>
36435
36436 [BZ #12650]
36437 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36438 * sysdeps/ia64/dl-tls.h: Likewise.
36439 * sysdeps/powerpc/dl-tls.h: Likewise.
36440 * sysdeps/s390/dl-tls.h: Likewise.
36441 * sysdeps/sh/dl-tls.h: Likewise.
36442 * sysdeps/sparc/dl-tls.h: Likewise.
36443 * sysdeps/x86_64/dl-tls.h: Likewise.
36444 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36445
36446 2011-03-14 Andreas Schwab <schwab@redhat.com>
36447
36448 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36449 rpath element also skip the following colon.
36450 (expand_dynamic_string_token): Add is_path parameter and pass
36451 down to DL_DST_REQUIRED and _dl_dst_substitute.
36452 (decompose_rpath): Call expand_dynamic_string_token with
36453 non-zero is_path. Ignore empty rpaths.
36454 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36455 with zero is_path.
36456
36457 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36458
36459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36460 Make cancelable.
36461
36462 2011-04-09 Ulrich Drepper <drepper@gmail.com>
36463
36464 [BZ #12655]
36465 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36466 Patch by Filipe David Manana <fdmanana@apache.org>.
36467
36468 2011-04-07 Andreas Schwab <schwab@redhat.com>
36469
36470 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36471 Maintain aligned stack.
36472 (CHECK_RSP): Remove unused macro.
36473
36474 2011-04-03 Ulrich Drepper <drepper@gmail.com>
36475
36476 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36477 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36478
36479 2011-04-02 Ulrich Drepper <drepper@gmail.com>
36480
36481 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36482
36483 * include/features.h: Mention __USE_XOPEN2K8 in comment.
36484
36485 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36486
36487 [BZ #12518]
36488 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36489 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36490 * sysdeps/x86_64/memmove.c: New file.
36491 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36492 (memcpy): Renamed to ...
36493 (__new_memcpy): This.
36494 (memcpy): Provide GLIBC_2_14 memcpy.
36495 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36496 (memcpy): Provide GLIBC_2_2_5 memcpy.
36497
36498 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36499
36500 [BZ #12631]
36501 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36502
36503 2011-03-30 Andreas Schwab <schwab@redhat.com>
36504
36505 * misc/syncfs.c: New file.
36506 * misc/Makefile (routines): Add syncfs.
36507 * posix/unistd.h: Declare syncfs.
36508 * sysdeps/unix/syscalls.list: Add syncfs.
36509
36510 2011-04-01 Andreas Schwab <schwab@redhat.com>
36511
36512 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36513 open_by_handle_at.
36514 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36515 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36516 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36517 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36518 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36519 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36520 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36521
36522 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36523
36524 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36525 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36526 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36527 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36528 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36529 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36530 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36531
36532 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36533 sync_file_range.c with -fexceptions.
36534 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36535 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36536 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36537 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36538 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36539 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36540 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36541 sync_file_range as cancellation point
36542 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36543 now a wrapper around __call_sync_file_range with cancellation handling.
36544 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36545 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36546 function name to __call_sync_file_range.
36547 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36548 Add call_sync_file_range.
36549
36550 2011-04-01 Andreas Schwab <schwab@redhat.com>
36551
36552 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36553 bits/timex.h.
36554
36555 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36556
36557 * iconv/iconv.h: Fix typo in comment.
36558 * io/fcntl.h: Likewise.
36559 * libio/stdio.h: Likewise.
36560 * posix/spawn.h: Likewise.
36561 * posix/unistd.h: Likewise.
36562 * stdlib/stdlib.h: Likewise.
36563 * time/time.h: Likewise.
36564 * wcsmbs/wchar.h: Likewise.
36565
36566 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36567 open_by_handle): Add.
36568 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36569 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36570 Augment a few comments.
36571 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36572 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36573 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36574 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36575 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36576 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36577 open_by_handle.
36578
36579 * io/fcntl.h (AT_EMPTY_PATH): Define.
36580
36581 2011-03-30 Ulrich Drepper <drepper@gmail.com>
36582
36583 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36584 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36585 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36586 to...
36587 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
36588 * Versions.def: Add GLIBC_2.14.
36589 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36590 Export.
36591
36592 2011-03-22 Ulrich Drepper <drepper@gmail.com>
36593
36594 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36595 round counter.
36596 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36597
36598 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36599
36600 [BZ #12597]
36601 * string/test-strncmp.c (do_page_test): New function.
36602 (check2): Likewise.
36603 (test_main): Call check2.
36604 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36605
36606 2011-03-20 Ulrich Drepper <drepper@gmail.com>
36607
36608 [BZ #12587]
36609 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36610 Handle cache information in CPU leaf 4.
36611 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36612
36613 2011-03-18 Ulrich Drepper <drepper@gmail.com>
36614
36615 [BZ #12583]
36616 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36617 character representation.
36618 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36619
36620 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36621
36622 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36623 END(__isnan) to END(__isnanf) to match function entry point/label
36624 EALIGN(__isnanf,...).
36625
36626 2011-03-10 Jakub Jelinek <jakub@redhat.com>
36627
36628 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36629
36630 2011-03-10 Ulrich Drepper <drepper@gmail.com>
36631
36632 [BZ #12510]
36633 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36634 copy from the symbol referenced in the relocation to initialize the
36635 used variable.
36636 Patch by Piotr Bury <pbury@goahead.com>.
36637 * elf/Makefile: Add rules to build and tst-unique3.
36638 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36639 * elf/tst-unique3.cc: New file.
36640 * elf/tst-unique3.h: New file.
36641 * elf/tst-unique3lib.cc: New file.
36642 * elf/tst-unique3lib2.cc: New file.
36643
36644 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36645
36646 2011-03-10 Mike Frysinger <vapier@gentoo.org>
36647
36648 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36649 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36650 to _start.
36651
36652 2011-03-06 Ulrich Drepper <drepper@gmail.com>
36653
36654 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36655 to-be-loaded object along a path to loader is ld.so.
36656
36657 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36658 Ulrich Drepper <drepper@gmail.com>
36659
36660 * sysdeps/x86_64/memset.S: After aligning destination, code
36661 branches to different locations depending on the value of
36662 misalignment, when multiarch is enabled. Fix this.
36663
36664 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36665
36666 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36667 Set _x86_64_preferred_memory_instruction for AMD processsors.
36668 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36669 Set bit_Prefer_SSE_for_memop for AMD processors.
36670
36671 2011-03-04 Ulrich Drepper <drepper@gmail.com>
36672
36673 * libio/fmemopen.c (fmemopen): Optimize a bit.
36674
36675 2011-03-03 Andreas Schwab <schwab@redhat.com>
36676
36677 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36678
36679 2011-03-03 Roland McGrath <roland@redhat.com>
36680
36681 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36682
36683 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36684
36685 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36686 __bzero_ultra1 instead of __memset_ultra1.
36687
36688 2011-02-23 Andreas Schwab <schwab@redhat.com>
36689 Ulrich Drepper <drepper@gmail.com>
36690
36691 [BZ #12509]
36692 * include/link.h (struct link_map): Add l_orig_initfini.
36693 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36694 returning unsuccessfully.
36695 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36696 close of a file loaded at startup, restore the original l_initfini
36697 list.
36698 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36699 list, store the pointer.
36700 * elf/Makefile ($(objpfx)noload-mem): New rule.
36701 (noload-ENV): Define.
36702 (tests): Add $(objpfx)noload-mem.
36703 * elf/noload.c: Include <memcheck.h>.
36704 (main): Call mtrace. Close all opened handles.
36705
36706 2011-02-17 Andreas Schwab <schwab@redhat.com>
36707
36708 [BZ #12454]
36709 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36710 dependencies are missing.
36711
36712 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36713
36714 Fix __if_freereq crash: Unlike the generic version which uses free,
36715 Hurd needs munmap.
36716 * sysdeps/mach/hurd/ifreq.h: New file.
36717
36718 2011-01-27 Petr Baudis <pasky@suse.cz>
36719 Ulrich Drepper <drepper@gmail.com>
36720
36721 [BZ 12445]#
36722 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36723 to extend_alloca().
36724 * stdio-common/bug23.c: New file.
36725 * stdio-common/Makefile (tests): Add bug23.
36726
36727 2010-09-28 Andreas Schwab <schwab@redhat.com>
36728 Ulrich Drepper <drepper@gmail.com>
36729
36730 [BZ #12489]
36731 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36732 before performing relro protection. At old place add assertion
36733 to make sure nothing changed.
36734
36735 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36736 Glauber de Oliveira Costa <glommer@gmail.com>
36737
36738 * elf/elf.h: Add new ARM TLS relocs.
36739
36740 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36741
36742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36743 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36744 cast from r3.
36745 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36746 'tests' variable.
36747 * sysdeps/wordsize-64/tst-writev.c: New file.
36748
36749 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36750
36751 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36752 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36753 insns in _dl_start to prevent a TOC reference before relocs are
36754 resolved.
36755
36756 2011-02-15 Ulrich Drepper <drepper@gmail.com>
36757
36758 [BZ #12469]
36759 * Makeconfig: Remove RANLIB definition.
36760 * Makerules: Don't use RANLIB.
36761 * aclocal.m4: Remove ranlib test.
36762 * configure.in: No need to check for ranlib.
36763 * elf/rtld-Rules: Don't use RANLIB.
36764
36765 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36766
36767 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36768 protection macro.
36769 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36770 inclusion protection macro.
36771
36772 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36773 SIGRTMIN and SIGRTMAX and print information in that case only when
36774 SIGRTMIN is defined.
36775
36776 2011-02-11 Jakub Jelinek <jakub@redhat.com>
36777
36778 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36779 arginfo fn returning -1.
36780
36781 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36782 and thousands string is zero terminated.
36783
36784 2011-02-03 Andreas Schwab <schwab@redhat.com>
36785
36786 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36787 sysdeps/unix/sysv/linux/bits/socket.h.
36788
36789 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
36790
36791 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36792 (__CPU_COUNT): Remove old macros.
36793 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36794 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36795 (__CPU_ALLOC, __CPU_FREE): Add macros.
36796 (__sched_cpualloc, __sched_cpufree): Add declarations.
36797
36798 2011-02-05 Ulrich Drepper <drepper@gmail.com>
36799
36800 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
36801 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
36802 * nscd/aicache.c (addhstaiX): Return timeout of added value.
36803 (readdhstai): Return value of addhstaiX call.
36804 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
36805 (addgrbyX): Return value returned by cache_addgr.
36806 (readdgrbyname): Return value returned by addgrbyX.
36807 (readdgrbygid): Likewise.
36808 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
36809 (addpwbyX): Return value returned by cache_addpw.
36810 (readdpwbyname): Return value returned by addhstbyX.
36811 (readdpwbyuid): Likewise.
36812 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
36813 (addservbyX): Return value returned by cache_addserv.
36814 (readdservbyname): Return value returned by addservbyX:
36815 (readdservbyport): Likewise.
36816 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
36817 (addhstbyX): Return value returned by cache_addhst.
36818 (readdhstbyname): Return value returned by addhstbyX.
36819 (readdhstbyaddr): Likewise.
36820 (readdhstbynamev6): Likewise.
36821 (readdhstbyaddrv6): Likewise.
36822 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
36823 (readdinitgroups): Return value returned by addinitgroupsX.
36824 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
36825 (prune_cache): Keep track of timeout value of re-added entries.
36826 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
36827 * nscd/nscd.h: Adjust prototypes of readd* functions.
36828
36829 2011-02-04 Roland McGrath <roland@redhat.com>
36830
36831 * nis/nis_server.c (nis_servstate): Use the right name for 0.
36832 (nis_stats): Likewise.
36833 * nis/nis_modify.c (nis_modify): Likewise.
36834 * nis/nis_remove.c (nis_remove): Likewise.
36835 * nis/nis_add.c (nis_add): Likewise.
36836
36837 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
36838
36839 * posix/fnmatch_loop.c: Add some consts.
36840
36841 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
36842
36843 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
36844
36845 [BZ #12460]
36846 * config.make.in (config-cflags-novzeroupper): Define.
36847 * configure.in: Substitute libc_cv_cc_novzeroupper.
36848 * elf/Makefile (AVX-CFLAGS): Define.
36849 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
36850 (CFLAGS-tst-auditmod4a.c): Likewise.
36851 (CFLAGS-tst-auditmod4b.c): Likewise.
36852 (CFLAGS-tst-auditmod6b.c): Likewise.
36853 (CFLAGS-tst-auditmod6c.c): Likewise.
36854 (CFLAGS-tst-auditmod7b.c): Likewise.
36855 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
36856
36857 2011-02-02 Ulrich Drepper <drepper@gmail.com>
36858
36859 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
36860 function to the callback.
36861 Patch partly by Jiri Olsa <jolsa@redhat.com>.
36862
36863 2011-02-02 Andreas Schwab <schwab@redhat.com>
36864
36865 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
36866 of errno.
36867
36868 2011-01-19 Ulrich Drepper <drepper@gmail.com>
36869
36870 [BZ #11724]
36871 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
36872 of constructors.
36873 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
36874 of destructors.
36875 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
36876
36877 [BZ #11724]
36878 * elf/Makefile: Add rules to build and run new test.
36879 * elf/tst-initorder.c: New file.
36880 * elf/tst-initorder.exp: New file.
36881 * elf/tst-initordera1.c: New file.
36882 * elf/tst-initordera2.c: New file.
36883 * elf/tst-initordera3.c: New file.
36884 * elf/tst-initordera4.c: New file.
36885 * elf/tst-initorderb1.c: New file.
36886 * elf/tst-initorderb2.c: New file.
36887 * elf/tst-order-a1.c: New file.
36888 * elf/tst-order-a2.c: New file.
36889 * elf/tst-order-a3.c: New file.
36890 * elf/tst-order-a4.c: New file.
36891 * elf/tst-order-b1.c: New file.
36892 * elf/tst-order-b2.c: New file.
36893 * elf/tst-order-main.c: New file.
36894 New test case by George Gensure <werkt0@gmail.com>.
36895
36896 2010-10-01 Andreas Schwab <schwab@redhat.com>
36897
36898 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36899 decoding ACE if AI_CANONIDN.
36900
36901 2011-01-18 Ulrich Drepper <drepper@gmail.com>
36902
36903 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
36904
36905 2011-01-17 Ulrich Drepper <drepper@gmail.com>
36906
36907 * version.h (RELEASE): Bump for 2.13 release.
36908 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
36909
36910 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
36911
36912 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
36913 MADV_NOHUGEPAGE.
36914 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
36915 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
36916 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
36917 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
36918 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
36919 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
36920
36921 * posix/getconf.c: Update copyright year.
36922 * catgets/gencat.c: Likewise.
36923 * csu/version.c: Likewise.
36924 * debug/catchsegv.sh: Likewise.
36925 * debug/xtrace.sh: Likewise.
36926 * elf/ldconfig.c: Likewise.
36927 * elf/ldd.bash.in: Likewise.
36928 * elf/sprof.c (print_version): Likewise.
36929 * iconv/iconv_prog.c: Likewise.
36930 * iconv/iconvconfig.c: Likewise.
36931 * locale/programs/locale.c: Likewise.
36932 * locale/programs/localedef.c: Likewise.
36933 * malloc/memusage.sh: Likewise.
36934 * malloc/mtrace.pl: Likewise.
36935 * nscd/nscd.c (print_version): Likewise.
36936 * nss/getent.c: Likewise.
36937
36938 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
36939 PF_CAIF, and PF_ALG.
36940 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36941
36942 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
36943
36944 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
36945 (modules-names): Use them.
36946 (ifunc-test-modules, ifunc-pie-tests): Define.
36947 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
36948 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
36949 (test-extras): Likewise.
36950 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
36951 $(compile-command.c).
36952 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
36953 (all-built-dso): Define.
36954 (check-textrel.out, check-execstack.out): Depend on it.
36955
36956 * configure.in: Don't override --enable-multi-arch.
36957
36958 2011-01-15 Ulrich Drepper <drepper@gmail.com>
36959
36960 [BZ #6812]
36961 * nscd/hstcache.c (tryagain): Define.
36962 (cache_addhst): Return tryagain not notfound for temporary errors.
36963 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
36964 failed.
36965
36966 2011-01-14 Ulrich Drepper <drepper@gmail.com>
36967
36968 [BZ #10563]
36969 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
36970 to make the syscall.
36971 * sysdeps/unix/sysv/linux/setgroups.c: New file.
36972
36973 [BZ #12378]
36974 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
36975 and fall back to matching as normal character if the string ends before
36976 the matching ']' is found. This is what POSIX requires.
36977 * posix/testfnm.c: Adjust test result.
36978 * posix/globtest.sh: Adjust test result. Add new test.
36979 * posix/tst-fnmatch.input: Likewise.
36980 * posix/tst-fnmatch2.c: Add new test.
36981
36982 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
36983
36984 * elf/Makefile (check-execstack): Revert last change. Depend on
36985 check-execstack.h.
36986 (check-execstack.h): New target.
36987 (generated): Add check-execstack.h.
36988 * elf/check-execstack.c: Include "check-execstack.h".
36989 (main): Revert last change.
36990 (handle_file): Return zero if GNU_STACK is absent and
36991 DEFAULT_STACK_PERMS doesn't include PF_X.
36992
36993 2011-01-13 Ulrich Drepper <drepper@gmail.com>
36994
36995 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
36996 in child fails because the descriptor is already closed.
36997 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
36998 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
36999 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
37000
37001 [BZ #12397]
37002 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37003 syscall.
37004
37005 [BZ #10484]
37006 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37007 temporary buffer used to handle multi lookups locally.
37008 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
37009
37010 2011-01-12 Ulrich Drepper <drepper@gmail.com>
37011
37012 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37013 loader is ld.so.
37014
37015 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
37016
37017 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37018 alignment for SSE2.
37019
37020 2011-01-12 Ulrich Drepper <drepper@gmail.com>
37021
37022 [BZ #12394]
37023 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37024 characters. When rounding increased number of integer digits recompute
37025 number of groups.
37026 * stdio-common/tst-grouping.c: New file.
37027 * stdio-common/Makefile: Add rules to build and run tst-grouping.
37028
37029 2011-01-09 Ulrich Drepper <drepper@gmail.com>
37030
37031 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37032 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
37033
37034 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37035 void.
37036 * bits/select.h: Likewise.
37037
37038 2011-01-08 Ulrich Drepper <drepper@gmail.com>
37039
37040 * po/ja.po: Update from translation team.
37041
37042 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
37043
37044 [BZ #11155]
37045 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37046 implementation just like for lxstat, fxstatat, et al.
37047
37048 2010-12-27 Jim Meyering <meyering@redhat.com>
37049
37050 [BZ #12348]
37051 * posix/regexec.c (build_trtable): Return failure indication upon
37052 calloc failure. Otherwise, re_search_internal could infloop on OOM.
37053
37054 2010-12-25 Ulrich Drepper <drepper@gmail.com>
37055
37056 [BZ #12201]
37057 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37058 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37059 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37060 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37061
37062 [BZ #12207]
37063 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37064
37065 [BZ #12204]
37066 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37067 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37068
37069 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
37070
37071 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37072 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37073 script has SORT_BY_INIT_PRIORITY.
37074 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37075 NO_CTORS_DTORS_SECTIONS is defined.
37076 * elf/soinit.c: Likewise.
37077 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37078 NO_CTORS_DTORS_SECTIONS is defined.
37079 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37080 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37081 * sysdeps/sh/init-first.c: Likewise.
37082 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37083
37084 2010-12-24 Ulrich Drepper <drepper@gmail.com>
37085
37086 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37087 always use the slow path.
37088
37089 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
37090
37091 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37092 similar rule which adds the sysdep directories to the header search in
37093 order to pick up the correct platform stackinfo.h.
37094 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37095 perform test if it is, otherwise return successfully without testing.
37096 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37097 DEFAULT_STACK_PERMS define in stackinfo.h.
37098 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37099 defined in stackinfo.h.
37100 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37101 DEFAULT_STACK_PERMS defined in stackinfo.h.
37102 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37103 * sysdeps/ia64/stackinfo.h: Likewise.
37104 * sysdeps/s390/stackinfo.h: Likewise.
37105 * sysdeps/sh/stackinfo.h: Likewise.
37106 * sysdeps/sparc/stackinfo.h: Likewise.
37107 * sysdeps/x86_64/stackinfo.h: Likewise.
37108 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37109 PF_X for powerpc64. Retain PF_X for powerpc32.
37110
37111 2010-12-19 Ulrich Drepper <drepper@gmail.com>
37112
37113 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37114 accurately.
37115 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37116 GETDENTS_64BIT_ALIGNED.
37117
37118 2010-12-14 Ulrich Drepper <dreper@gmail.com>
37119
37120 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
37121
37122 2010-12-10 Andreas Schwab <schwab@redhat.com>
37123
37124 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37125 _GNU_SOURCE.
37126
37127 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37128 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37129 Remove __restrict.
37130 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37131 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37132
37133 2010-12-09 Ulrich Drepper <drepper@gmail.com>
37134
37135 [BZ #11655]
37136 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37137 are initialized.
37138
37139 2010-12-09 Jakub Jelinek <jakub@redhat.com>
37140
37141 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37142
37143 2010-12-03 Ulrich Drepper <drepper@gmail.com>
37144
37145 * po/it.po: Update from translation team.
37146
37147 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
37148
37149 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37150 unused codes.
37151
37152 2010-11-30 Ulrich Drepper <drepper@gmail.com>
37153
37154 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37155
37156 2010-11-24 Andreas Schwab <schwab@redhat.com>
37157
37158 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37159 specially.
37160 (gaih_getanswer_slice): Likewise.
37161
37162 2010-10-20 Jakub Jelinek <jakub@redhat.com>
37163
37164 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37165
37166 2010-05-31 Petr Baudis <pasky@suse.cz>
37167
37168 [BZ #11149]
37169 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37170 silently even in the chroot mode.
37171
37172 2010-11-22 Ulrich Drepper <drepper@gmail.com>
37173
37174 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37175 last patch a bit. Pretty printing
37176
37177 2010-05-31 Petr Baudis <pasky@suse.cz>
37178
37179 [BZ #10085]
37180 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37181 initialization of skip_initgroups_dyn.
37182
37183 2010-11-19 Ulrich Drepper <drepper@gmail.com>
37184
37185 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37186 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37187
37188 2010-11-16 Ulrich Drepper <drepper@gmail.com>
37189
37190 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37191
37192 2010-11-11 Andreas Schwab <schwab@redhat.com>
37193
37194 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37195 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37196 (tst-fnmatch-ENV): Set MALLOC_TRACE.
37197 ($(objpfx)tst-fnmatch-mem): New rule.
37198 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37199 * posix/tst-fnmatch.c (main): Call mtrace.
37200
37201 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
37202
37203 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37204 Support Intel processor model 6 and model 0x2c.
37205
37206 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
37207
37208 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37209 signed comparison.
37210
37211 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
37212
37213 [BZ #12205]
37214 * string/test-strncasecmp.c (check_result): New function.
37215 (do_one_test): Use it.
37216 (check1): New function.
37217 (test_main): Use it.
37218 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37219 Support strcasecmp and strncasecmp.
37220
37221 2010-11-08 Ulrich Drepper <drepper@gmail.com>
37222
37223 [BZ #12194]
37224 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37225 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37226
37227 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
37228
37229 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37230 IFUNC support.
37231 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37232 memset-x86-64.
37233 * sysdeps/x86_64/multiarch/bzero.S: New file.
37234 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37235 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37236 * sysdeps/x86_64/multiarch/memset.S: New file.
37237 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37238 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37239 Set bit_Prefer_SSE_for_memop for Intel processors.
37240 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37241 Define.
37242 (index_Prefer_SSE_for_memop): Define.
37243 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37244
37245 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
37246
37247 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37248 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37249
37250 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37251
37252 [BZ #12191]
37253 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37254 (__x86_64_raw_data_cache_size_half): Likewise.
37255 (__x86_64_raw_shared_cache_size): Likewise.
37256 (__x86_64_raw_shared_cache_size_half): Likewise.
37257
37258 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37259 (__x86_64_raw_data_cache_size_half): Likewise.
37260 (__x86_64_raw_shared_cache_size): Likewise.
37261 (__x86_64_raw_shared_cache_size_half): Likewise.
37262 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37263 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37264 and __x86_64_raw_shared_cache_size_half. Round
37265 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37266 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37267 to multiple of 256 bytes.
37268
37269 2010-11-03 Ulrich Drepper <drepper@gmail.com>
37270
37271 [BZ #12167]
37272 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37273 of inacessible symlinks. Verify result of symlink before returning it.
37274 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37275 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37276
37277 2010-10-28 Erich Ritz <erichritz@gmail.com>
37278
37279 * math/math.h (isinf): Fix typo in comment.
37280
37281 2010-11-01 Ulrich Drepper <drepper@gmail.com>
37282
37283 * po/da.po: Update from translation team.
37284
37285 2010-10-26 Ulrich Drepper <drepper@gmail.com>
37286
37287 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37288 is added to the list.
37289
37290 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37291 Ulrich Drepper <drepper@gmail.com>
37292
37293 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37294 the global list here. Move code to...
37295 (_dl_add_to_namespace_list): ...here. New function.
37296 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37297 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37298 * elf/dl-load.c (lose): Don't remove the element from the list.
37299 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37300 (_dl_map_object): Likewise.
37301
37302 2010-10-25 Ulrich Drepper <drepper@gmail.com>
37303
37304 [BZ #12159]
37305 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37306 into all bytes of SSE register.
37307 Patch by Richard Li <richardpku@gmail.com>.
37308
37309 2010-10-24 Ulrich Drepper <drepper@gmail.com>
37310
37311 [BZ #12140]
37312 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37313 perturbing.
37314
37315 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37316
37317 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37318 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37319 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37320 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37322 submachine.
37323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37324
37325 2010-10-22 Andreas Schwab <schwab@redhat.com>
37326
37327 * include/dlfcn.h (__RTLD_SECURE): Define.
37328 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37329 mode & __RTLD_SECURE instead.
37330 (open_path): Rename preloaded parameter to secure.
37331 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37332 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37333 * elf/dl-deps.c (openaux): Likewise.
37334 * elf/rtld.c (struct map_args): Remove is_preloaded.
37335 (map_doit): Don't use it.
37336 (dl_main): Likewise.
37337 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37338 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37339
37340 2010-09-09 Andreas Schwab <schwab@redhat.com>
37341
37342 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37343 (sysd-rules-targets): Remove duplicates.
37344 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37345 rtld-%.$o dependency.
37346
37347 2010-10-18 Andreas Schwab <schwab@redhat.com>
37348
37349 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37350 _dl_map_object do it.
37351
37352 2010-10-19 Ulrich Drepper <drepper@gmail.com>
37353
37354 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37355 fast fma builtins, define the macros in the C99 standard.
37356 (FP_FAST_FMAF): Likewise.
37357 (FP_FAST_FMAL): Likewise.
37358 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37359
37360 * bits/mathdef.h: Update copyright year.
37361 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37362
37363 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37364
37365 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37366 builtins, define the macros in the C99 standard.
37367 (FP_FAST_FMAF): Likewise.
37368 (FP_FAST_FMAL): Likewise.
37369 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37370 multiply/add.
37371 (FP_FAST_FMAF): Likewise.
37372
37373 2010-10-15 Jakub Jelinek <jakub@redhat.com>
37374
37375 [BZ #3268]
37376 * math/libm-test.inc (fma_test): Some new testcases.
37377 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37378 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37379 y and infinite z. Do multiplication by C already in long double.
37380 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37381 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37382 y and infinite z. Do bitwise or of inexact bit into u.d.
37383 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37384 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37385 * sysdeps/i386/fpu/s_fma.S: Removed.
37386 * sysdeps/i386/fpu/s_fmal.S: Removed.
37387
37388 2010-10-16 Jakub Jelinek <jakub@redhat.com>
37389
37390 [BZ #3268]
37391 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37392 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37393 computation is not scheduled after fetestexcept. Fix value
37394 of minimum denormal long double.
37395
37396 2010-10-14 Jakub Jelinek <jakub@redhat.com>
37397
37398 [BZ #3268]
37399 * math/libm-test.inc (fma_test): Add some more tests.
37400 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37401 correctly.
37402
37403 2010-10-15 Andreas Schwab <schwab@redhat.com>
37404
37405 * scripts/data/localplt-s390-linux-gnu.data: New file.
37406 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37407
37408 2010-10-13 Jakub Jelinek <jakub@redhat.com>
37409
37410 [BZ #3268]
37411 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37412 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37413 instead of dbl-64.
37414 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37415 inlines.
37416 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37417 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37418 if one of x and y is very large and the other is subnormal.
37419 * sysdeps/s390/fpu/s_fmaf.c: New file.
37420 * sysdeps/s390/fpu/s_fma.c: New file.
37421 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37422 * sysdeps/powerpc/fpu/s_fma.S: New file.
37423 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37424 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37425 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37426
37427 2010-10-12 Jakub Jelinek <jakub@redhat.com>
37428
37429 [BZ #3268]
37430 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37431 fma tests.
37432 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37433 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37434 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37435 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37436 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37437 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37438 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37439
37440 2010-10-12 Ulrich Drepper <drepper@redhat.com>
37441
37442 [BZ #12078]
37443 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37444 * posix/bug-regex31.input: Add test case.
37445
37446 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37447
37448 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37449 * posix/bug-regex31.input: New file.
37450
37451 [BZ #12078]
37452 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37453 (parse_sub_exp): Fix last change, use postorder.
37454
37455 * posix/bug-regex31.c: New file.
37456 * posix/Makefile: Add rules to build and run bug-regex31.
37457
37458 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37459
37460 [BZ #12078]
37461 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37462
37463 [BZ #12108]
37464 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37465 to have entries in sys_siglist.
37466
37467 [BZ #12093]
37468 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37469 be NULL.
37470
37471 2010-10-07 Jakub Jelinek <jakub@redhat.com>
37472
37473 [BZ #3268]
37474 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37475 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37476 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37477 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37478 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37479 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37480 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37481 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37482 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37483 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37484 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37485 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37486 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37487 * math/ftestexcept.c (fetestexcept): Likewise.
37488 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37489 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37490 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37491 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37492 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37493 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37494 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37495
37496 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37497
37498 [BZ #12107]
37499 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37500 newline.
37501
37502 2010-10-06 Ulrich Drepper <drepper@gmail.com>
37503
37504 * string/bug-strstr1.c: New file.
37505 * string/Makefile: Add rules to build and run bug-strstr1.
37506
37507 2010-10-05 Eric Blake <eblake@redhat.com>
37508
37509 [BZ #12092]
37510 * string/str-two-way.h (two_way_long_needle): Always clear memory
37511 when skipping input due to the shift table.
37512
37513 2010-10-03 Ulrich Drepper <drepper@gmail.com>
37514
37515 [BZ #12005]
37516 * malloc/mcheck.c: Handle large requests.
37517
37518 [BZ #12077]
37519 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37520 for strncmp and strncasecmp.
37521 * string/stratcliff.c: Add tests for strcmp and strncmp.
37522 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37523
37524 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37525
37526 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37527 __set_fpscr.
37528
37529 2010-09-30 Andreas Jaeger <aj@suse.de>
37530
37531 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37532 (CGROUP_SUPER_MAGIC): Define.
37533 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37534 Handle btrfs and cgroup file systems.
37535 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37536 Likewise.
37537
37538 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
37539
37540 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37541 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37542
37543 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37544
37545 [BZ #12067]
37546 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37547 trying to locate the ELF header.
37548
37549 2010-09-27 Andreas Schwab <schwab@redhat.com>
37550
37551 [BZ #11611]
37552 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37553 Mask out sign-bit copies when constructing f_fsid.
37554
37555 2010-09-24 Petr Baudis <pasky@suse.cz>
37556
37557 * debug/stack_chk_fail_local.c: Add missing licence exception.
37558 * debug/warning-nop.c: Likewise.
37559
37560 2010-09-15 Joseph Myers <joseph@codesourcery.com>
37561
37562 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37563 implementing getdents64 using getdents syscall, set d_type if
37564 __ASSUME_GETDENTS32_D_TYPE.
37565
37566 2010-09-16 Andreas Schwab <schwab@redhat.com>
37567
37568 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37569 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37570
37571 2010-09-21 Ulrich Drepper <drepper@redhat.com>
37572
37573 [BZ #12037]
37574 * posix/unistd.h: Undo change of feature selection for ftruncate from
37575 2010-01-11.
37576
37577 2010-09-20 Ulrich Drepper <drepper@redhat.com>
37578
37579 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37580 detection.
37581
37582 2010-09-20 Andreas Schwab <schwab@redhat.com>
37583
37584 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37585 fanotify_mark.
37586 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37587
37588 2010-09-14 Andreas Schwab <schwab@redhat.com>
37589
37590 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37591 variables after CHECK_SP call.
37592 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37593
37594 2010-09-13 Andreas Schwab <schwab@redhat.com>
37595 Ulrich Drepper <drepper@redhat.com>
37596
37597 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37598 re-relocationg ld.so.
37599 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37600 _dl_init_paths call.
37601 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37602 here anymore.
37603
37604 2010-09-14 Ulrich Drepper <drepper@redhat.com>
37605
37606 * resolv/res_init.c (__res_vinit): Count the default server we added.
37607
37608 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37609 Ulrich Drepper <drepper@redhat.com>
37610
37611 [BZ #11968]
37612 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37613 (____longjmp_chk): Use %ebx for saving value across system call.
37614 Add unwind info.
37615
37616 2010-09-06 Andreas Schwab <schwab@redhat.com>
37617
37618 * manual/Makefile: Don't mix pattern rules with normal rules.
37619
37620 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37621
37622 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37623 operation.
37624 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37625 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37626 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37627 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37628 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37629 Likewise.
37630
37631 2010-09-04 Ulrich Drepper <drepper@redhat.com>
37632
37633 [BZ #11979]
37634 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37635 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37636
37637 2010-09-02 Ulrich Drepper <drepper@redhat.com>
37638
37639 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37640 * sysdeps/x86_64/addmul_1.S: Likewise.
37641 * sysdeps/x86_64/lshift.S: Likewise.
37642 * sysdeps/x86_64/mul_1.S: Likewise.
37643 * sysdeps/x86_64/rshift.S: Likewise.
37644 * sysdeps/x86_64/sub_n.S: Likewise.
37645 * sysdeps/x86_64/submul_1.S: Likewise.
37646
37647 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37648
37649 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37650 Define __sched_param instead of SCHED_* and sched_param when
37651 <bits/sched.h> is included with __need_schedparam defined.
37652 * bits/sched.h [__need_schedparam]
37653 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37654 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37655 (__defined_schedparam): Define to 1.
37656 (__sched_param): New structure, identical to sched_param.
37657 (__need_schedparam): Undefine.
37658
37659 2010-08-31 Mike Frysinger <vapier@gentoo.org>
37660
37661 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37662 (epoll_create1): Declare.
37663
37664 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37665
37666 2010-08-31 Andreas Schwab <schwab@redhat.com>
37667
37668 [BZ #7066]
37669 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37670 shifting retval into place.
37671
37672 2010-09-01 Ulrich Drepper <drepper@redhat.com>
37673
37674 * nis/rpcsvc/nis.h: Update copyright notice.
37675 * nis/rpcsvc/nis.x: Likewise.
37676 * nis/rpcsvc/nis_callback.h: Likewise.
37677 * nis/rpcsvc/nis_callback.x: Likewise.
37678 * nis/rpcsvc/nis_object.x: Likewise.
37679 * nis/rpcsvc/nis_tags.h: Likewise.
37680 * nis/rpcsvc/yp.h: Likewise.
37681 * nis/rpcsvc/yp.x: Likewise.
37682 * nis/rpcsvc/ypupd.h: Likewise.
37683 * nis/yp_xdr.c: Likewise.
37684 * nis/ypupdate_xdr.c: Likewise.
37685
37686 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37687 mainly the body of pmap_getport. Add parameters to specify timeouts.
37688 (pmap_getport): Use __libc_rpc_getport.
37689 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37690 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37691 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37692
37693 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37694
37695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37696 fanotify_mark.
37697
37698 2010-08-27 Roland McGrath <roland@redhat.com>
37699
37700 * sysdeps/i386/i686/multiarch/Makefile
37701 (CFLAGS-varshift.c): New variable.
37702
37703 2010-08-27 Ulrich Drepper <drepper@redhat.com>
37704
37705 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37706 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37707
37708 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37709
37710 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37711
37712 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37713
37714 * sysdeps/x86_64/strlen.S: Unroll the loop.
37715 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37716 strlen-sse2 strlen-sse2-bsf.
37717 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37718 __strlen_no_bsf if bit_Slow_BSF is set.
37719 (__strlen_sse42): Removed.
37720 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37721 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37722
37723 2010-08-25 Roland McGrath <roland@redhat.com>
37724
37725 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37726 * sysdeps/x86_64/multiarch/varshift.c: New file.
37727 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37728 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37729 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37730 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37731
37732 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37733
37734 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37735 strlen-sse2 strlen-sse2-bsf.
37736 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37737 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37738 (__strlen_sse2): Removed.
37739 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37740 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37741 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37742 bit_Slow_BSF for Atom.
37743 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37744 (index_Slow_BSF): Define.
37745 (HAS_SLOW_BSF): Define.
37746
37747 2010-08-25 Ulrich Drepper <drepper@redhat.com>
37748
37749 [BZ #10851]
37750 * resolv/res_init.c (__res_vinit): When no server address at all
37751 is given default to loopback.
37752
37753 2010-08-24 Roland McGrath <roland@redhat.com>
37754
37755 * configure.in: Remove config-name.h generation.
37756 * configure: Regenerated.
37757 * config-name.in: File removed.
37758 * scripts/config-uname.sh: New file.
37759 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37760 ($(objdir)config-name.h): New target.
37761
37762 * sunrpc/rpc_parse.h: Avoid nested comment.
37763
37764 2010-08-24 Richard Henderson <rth@redhat.com>
37765 Ulrich Drepper <drepper@redhat.com>
37766 H.J. Lu <hongjiu.lu@intel.com>
37767
37768 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37769 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37770 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37771 Replace _mm_srli_si128 with __m128i_shift_right. Replace
37772 _mm_alignr_epi8 with _mm_loadu_si128.
37773 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37774 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37775 (__m128i_shift_right): Removed.
37776 * sysdeps/i386/i686/multiarch/varshift.h: New file.
37777 * sysdeps/i386/i686/multiarch/varshift.S: New file.
37778 * sysdeps/x86_64/multiarch/varshift.h: New file.
37779 * sysdeps/x86_64/multiarch/varshift.S: New file.
37780
37781 2010-08-21 Mike Frysinger <vapier@gentoo.org>
37782
37783 * configure.in: Move assembler checks to before sysdep dir checking.
37784
37785 2010-08-20 Petr Baudis <pasky@suse.cz>
37786
37787 * LICENSES: Sync the sunrpc license.
37788
37789 2010-08-19 Ulrich Drepper <drepper@redhat.com>
37790
37791 * sunrpc/auth_des.c: Update copyright notice once again.
37792 * sunrpc/auth_none.c: Likewise.
37793 * sunrpc/auth_unix.c: Likewise.
37794 * sunrpc/authdes_prot.c: Likewise.
37795 * sunrpc/authuxprot.c: Likewise.
37796 * sunrpc/bindrsvprt.c: Likewise.
37797 * sunrpc/clnt_gen.c: Likewise.
37798 * sunrpc/clnt_perr.c: Likewise.
37799 * sunrpc/clnt_raw.c: Likewise.
37800 * sunrpc/clnt_simp.c: Likewise.
37801 * sunrpc/clnt_tcp.c: Likewise.
37802 * sunrpc/clnt_udp.c: Likewise.
37803 * sunrpc/clnt_unix.c: Likewise.
37804 * sunrpc/des_crypt.c: Likewise.
37805 * sunrpc/des_soft.c: Likewise.
37806 * sunrpc/get_myaddr.c: Likewise.
37807 * sunrpc/getrpcport.c: Likewise.
37808 * sunrpc/key_call.c: Likewise.
37809 * sunrpc/key_prot.c: Likewise.
37810 * sunrpc/openchild.c: Likewise.
37811 * sunrpc/pm_getmaps.c: Likewise.
37812 * sunrpc/pm_getport.c: Likewise.
37813 * sunrpc/pmap_clnt.c: Likewise.
37814 * sunrpc/pmap_prot.c: Likewise.
37815 * sunrpc/pmap_prot2.c: Likewise.
37816 * sunrpc/pmap_rmt.c: Likewise.
37817 * sunrpc/rpc/auth.h: Likewise.
37818 * sunrpc/rpc/auth_unix.h: Likewise.
37819 * sunrpc/rpc/clnt.h: Likewise.
37820 * sunrpc/rpc/des_crypt.h: Likewise.
37821 * sunrpc/rpc/key_prot.h: Likewise.
37822 * sunrpc/rpc/netdb.h: Likewise.
37823 * sunrpc/rpc/pmap_clnt.h: Likewise.
37824 * sunrpc/rpc/pmap_prot.h: Likewise.
37825 * sunrpc/rpc/pmap_rmt.h: Likewise.
37826 * sunrpc/rpc/rpc.h: Likewise.
37827 * sunrpc/rpc/rpc_des.h: Likewise.
37828 * sunrpc/rpc/rpc_msg.h: Likewise.
37829 * sunrpc/rpc/svc.h: Likewise.
37830 * sunrpc/rpc/svc_auth.h: Likewise.
37831 * sunrpc/rpc/types.h: Likewise.
37832 * sunrpc/rpc/xdr.h: Likewise.
37833 * sunrpc/rpc_clntout.c: Likewise.
37834 * sunrpc/rpc_cmsg.c: Likewise.
37835 * sunrpc/rpc_common.c: Likewise.
37836 * sunrpc/rpc_cout.c: Likewise.
37837 * sunrpc/rpc_dtable.c: Likewise.
37838 * sunrpc/rpc_hout.c: Likewise.
37839 * sunrpc/rpc_main.c: Likewise.
37840 * sunrpc/rpc_parse.c: Likewise.
37841 * sunrpc/rpc_parse.h: Likewise.
37842 * sunrpc/rpc_prot.c: Likewise.
37843 * sunrpc/rpc_sample.c: Likewise.
37844 * sunrpc/rpc_scan.c: Likewise.
37845 * sunrpc/rpc_scan.h: Likewise.
37846 * sunrpc/rpc_svcout.c: Likewise.
37847 * sunrpc/rpc_tblout.c: Likewise.
37848 * sunrpc/rpc_util.c: Likewise.
37849 * sunrpc/rpc_util.h: Likewise.
37850 * sunrpc/rpcinfo.c: Likewise.
37851 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
37852 * sunrpc/rpcsvc/key_prot.x: Likewise.
37853 * sunrpc/rpcsvc/klm_prot.x: Likewise.
37854 * sunrpc/rpcsvc/mount.x: Likewise.
37855 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
37856 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
37857 * sunrpc/rpcsvc/rex.x: Likewise.
37858 * sunrpc/rpcsvc/rstat.x: Likewise.
37859 * sunrpc/rpcsvc/rusers.x: Likewise.
37860 * sunrpc/rpcsvc/sm_inter.x: Likewise.
37861 * sunrpc/rpcsvc/spray.x: Likewise.
37862 * sunrpc/rpcsvc/yppasswd.x: Likewise.
37863 * sunrpc/rtime.c: Likewise.
37864 * sunrpc/svc.c: Likewise.
37865 * sunrpc/svc_auth.c: Likewise.
37866 * sunrpc/svc_authux.c: Likewise.
37867 * sunrpc/svc_raw.c: Likewise.
37868 * sunrpc/svc_run.c: Likewise.
37869 * sunrpc/svc_simple.c: Likewise.
37870 * sunrpc/svc_tcp.c: Likewise.
37871 * sunrpc/svc_udp.c: Likewise.
37872 * sunrpc/svc_unix.c: Likewise.
37873 * sunrpc/svcauth_des.c: Likewise.
37874 * sunrpc/xcrypt.c: Likewise.
37875 * sunrpc/xdr.c: Likewise.
37876 * sunrpc/xdr_array.c: Likewise.
37877 * sunrpc/xdr_float.c: Likewise.
37878 * sunrpc/xdr_mem.c: Likewise.
37879 * sunrpc/xdr_rec.c: Likewise.
37880 * sunrpc/xdr_ref.c: Likewise.
37881 * sunrpc/xdr_sizeof.c: Likewise.
37882 * sunrpc/xdr_stdio.c: Likewise.
37883
37884 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
37885 handling.
37886
37887 2010-08-19 Andreas Schwab <schwab@redhat.com>
37888
37889 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
37890
37891 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
37892
37893 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
37894 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
37895 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
37896 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
37897 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
37898 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
37899 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
37900 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
37901 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
37902 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
37903 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
37904 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
37905 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
37906 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
37907
37908 2010-07-26 Anton Blanchard <anton@samba.org>
37909
37910 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
37911 * malloc/arena.c (heap_trim): Likewise.
37912
37913 2010-08-16 Ulrich Drepper <drepper@redhat.com>
37914
37915 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
37916 here. Not...
37917 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
37918 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
37919
37920 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
37921
37922 * sysdeps/i386/elf/Makefile: New file.
37923
37924 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37925
37926 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
37927 from fanotify_init.
37928 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
37929 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
37930
37931 2010-08-15 Ulrich Drepper <drepper@redhat.com>
37932
37933 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
37934 of strncasecmp_l.
37935 * sysdeps/multiarch/strcmp.S: Likewise.
37936
37937 2010-08-14 Ulrich Drepper <drepper@redhat.com>
37938
37939 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
37940 strncase_l-nonascii.
37941 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
37942 Add strncase_l-ssse3.
37943 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
37944 * sysdeps/x86_64/strcmp.S: Likewise.
37945 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
37946 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
37947 * sysdeps/x86_64/strncase.S: New file.
37948 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
37949 * sysdeps/x86_64/strncase_l.S: New file.
37950 * string/Makefile (strop-tests): Add strncasecmp.
37951 * string/test-strncasecmp.c: New file.
37952
37953 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
37954 warning.
37955
37956 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
37957 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
37958
37959 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
37960
37961 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
37962
37963 2010-08-12 Ulrich Drepper <drepper@redhat.com>
37964
37965 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
37966 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
37967 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
37968
37969 2010-05-01 Alan Modra <amodra@gmail.com>
37970
37971 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
37972 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
37973 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
37974 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
37975 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
37976 tidying. Don't tail-call __sigjmp_save for static lib.
37977 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
37978 save location.
37979 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
37980 (CALL_MCOUNT): Add eh info, and nop after bl.
37981 (TAIL_CALL_SYSCALL_ERROR): New macro.
37982 (PSEUDO_RET): Use it.
37983 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37984 Correct save location of integer regs and cr.
37985 (_dl_profile_resolve): Correct cr save location. Delete nops
37986 after bl when SHARED. Reduce cfi size a little by better
37987 placement of cfi directives.
37988 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
37989 make a stack frame. Instead use parm save area as a temp.
37990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
37991 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
37992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37993 Don't make a stack frame for parent, use parm save area.
37994 Increase child stack frame to 112 bytes. Don't save unused reg,
37995 and adjust reg usage. Set up cfi on error recovery and
37996 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
37997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37998 (__makecontext): Add dummy nop after jump to exit.
37999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38000 Use correct parm save area and cr save, reduce stack frame.
38001 Correct cfi for possible PSEUDO_RET frame setup.
38002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38003 Branch to local label emitted by PSEUDO_RET rather than
38004 __syscall_error.
38005
38006 2010-08-12 Andreas Schwab <schwab@redhat.com>
38007
38008 [BZ #11904]
38009 * locale/programs/locale.c (print_assignment): New function.
38010 (show_locale_vars): Use it.
38011
38012 2010-08-11 Ulrich Drepper <drepper@redhat.com>
38013
38014 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38015 field.
38016 (struct statfs64): Likewise.
38017 (_STATFS_F_FLAGS): Define.
38018 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38019 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38020 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38021 (ST_VALID): Define locally.
38022 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38023 __statvfs_getflags, use the provided value.
38024 * sysdeps/unix/sysv/linux/kernel-features.h: Define
38025 __ASSUME_STATFS_F_FLAGS.
38026
38027 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38028
38029 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38030 Add sys/fanotify.h.
38031 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38032 fanotify_mask for GLIBC_2.13.
38033 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38034 fanotify_init and fanotify_mark.
38035 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38036 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38037
38038 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38039 Add prlimit.
38040 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38041 prlimit64 for GLIBC_2.13.
38042 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38043 prlimit64.
38044 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38045 syscall.
38046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38047 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38048 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38049 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38050 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
38051 add prlimit alias.
38052 * sysdeps/unix/sysv/linux/prlimit.c: New file.
38053
38054 [BZ #11903]
38055 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38056 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38057
38058 * nss/Makefile: Add rules to build and run tst-nss-test1.
38059 * shlib-versions: Add entry for libnss_test1.
38060 * nss/nss_test1.c: New file.
38061 * nss/tst-nss-test1.c: New file.
38062
38063 * nss/nsswitch.c (__nss_database_custom): Define new variable.
38064 (__nss_configure_lookup): Set appropriate entry in
38065 __nss_configure_lookup to true.
38066 * nss/nsswitch.h: Define enum with indeces of databases in
38067 databases and __nss_database_custom arrays. Declare
38068 __nss_database_custom.
38069 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38070 to avoid using nscd when custom rules are installed.
38071 * nss/getXXbyYY_r.c: Likewise.
38072 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38073
38074 * nss/nss_files/files-parse.c: Whitespace fixes.
38075
38076 2010-08-09 Ulrich Drepper <drepper@redhat.com>
38077
38078 [BZ #11883]
38079 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38080 * posix/fnmatch_loop.c: Likewise.
38081
38082 2010-07-17 Andi Kleen <ak@linux.intel.com>
38083
38084 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38085 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38086 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38087 * Versions.def [GLIBC_2.13]: Add.
38088
38089 2010-08-06 Ulrich Drepper <drepper@redhat.com>
38090
38091 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38092 Also fail if tpwd after pwuid call is NULL.
38093
38094 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
38095
38096 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38097 when converting to ms.
38098
38099 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38100
38101 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38102 EOPNOTSUPP errors with ENOTTY.
38103 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38104 EOPNOTSUPP errors with ENOTTY.
38105
38106 2010-07-31 Ulrich Drepper <drepper@redhat.com>
38107
38108 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38109 Add strcasecmp_l-ssse3.
38110 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38111 strcasecmp.
38112 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38113 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38114 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38115
38116 2010-07-30 Ulrich Drepper <drepper@redhat.com>
38117
38118 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38119
38120 * string/Makefile (strop-tests): Add strcasecmp.
38121 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38122 strcasecmp_l-nonascii.
38123 (gen-as-const-headers): Add locale-defines.sym.
38124 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38125 * sysdeps/x86_64/strcasecmp.S: New file.
38126 * sysdeps/x86_64/strcasecmp_l.S: New file.
38127 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38128 * sysdeps/x86_64/locale-defines.sym: New file.
38129 * string/test-strcasecmp.c: New file.
38130
38131 * string/test-strcasestr.c: Test both ends of the range of characters.
38132 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38133
38134 2010-07-29 Roland McGrath <roland@redhat.com>
38135
38136 [BZ #11856]
38137 * manual/locale.texi (Yes-or-No Questions): Fix example code.
38138
38139 2010-07-27 Ulrich Drepper <drepper@redhat.com>
38140
38141 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38142 for ld.so.
38143
38144 2010-07-27 Andreas Schwab <schwab@redhat.com>
38145
38146 * manual/memory.texi (Malloc Tunable Parameters): Document
38147 M_PERTURB.
38148
38149 2010-07-26 Roland McGrath <roland@redhat.com>
38150
38151 [BZ #11840]
38152 * configure.in (-fgnu89-inline check): Set and substitute
38153 gnu89_inline, not libc_cv_gnu89_inline.
38154 * configure: Regenerated.
38155 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38156
38157 2010-07-26 Ulrich Drepper <drepper@redhat.com>
38158
38159 * string/test-strnlen.c: New file.
38160 * string/Makefile (strop-tests): Add strnlen.
38161 * string/tester.c (test_strnlen): Add a few more test cases.
38162 * string/tst-strlen.c: Better error reporting.
38163
38164 * sysdeps/x86_64/strnlen.S: New file.
38165
38166 2010-07-24 Ulrich Drepper <drepper@redhat.com>
38167
38168 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38169 lower-latency instructions.
38170
38171 2010-07-23 Ulrich Drepper <drepper@redhat.com>
38172
38173 * string/test-strcasestr.c: New file.
38174 * string/test-strstr.c: New file.
38175 * string/Makefile (strop-tests): Add strstr and strcasestr.
38176 * string/str-two-way.h: Don't undefine MAX.
38177 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38178
38179 2010-07-21 Andreas Schwab <schwab@redhat.com>
38180
38181 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38182 strcasestr-nonascii.
38183 (CFLAGS-strcasestr-nonascii.c): Define.
38184 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38185 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38186 Remove unused attribute.
38187
38188 2010-07-20 Roland McGrath <roland@redhat.com>
38189
38190 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38191 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
38192 ld.so.cache was broken. With it, there is no way to disable dsocaps
38193 like LD_HWCAP_MASK can disable hwcaps.
38194
38195 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38196
38197 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38198
38199 2010-07-16 Ulrich Drepper <drepper@redhat.com>
38200
38201 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38202 call in strcasestr.
38203 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38204 __strcasestr_sse42_nonascii.
38205 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38206 strcasestr-nonascii.c.
38207 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38208
38209 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
38210
38211 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38212 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38213 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38214 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38215
38216 2010-07-09 Ulrich Drepper <drepper@redhat.com>
38217
38218 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38219 fcntl.
38220
38221 2010-07-06 Andreas Schwab <schwab@redhat.com>
38222
38223 [BZ #11577]
38224 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38225 dl_signal_cerror.
38226
38227 2010-07-06 Ulrich Drepper <drepper@redhat.com>
38228
38229 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38230 _PC_PIPE_BUF using F_GETPIPE_SZ.
38231
38232 2010-07-05 Roland McGrath <roland@redhat.com>
38233
38234 * manual/arith.texi (Rounding Functions): Fix rint description
38235 implicit in round description.
38236
38237 2010-07-02 Ulrich Drepper <drepper@redhat.com>
38238
38239 * elf/Makefile: Fix linking for a few tests to make recent linker
38240 happy.
38241
38242 2010-06-30 Andreas Schwab <schwab@redhat.com>
38243
38244 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38245 $(common-objpfx)libc_nonshared.a.
38246
38247 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
38248
38249 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38250 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38251 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38252 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38253 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38254 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38255 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38256 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38271 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38272 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38273 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38274 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38275 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38276 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38277 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38278 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38279 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38280 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38281 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38282 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38297
38298 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38299
38300 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38301 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38302 * string/memmove.c (memmove): Renamed to ...
38303 (MEMMOVE): ...this. Default to memmove.
38304 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38305 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38306 (END_CHK): Define.
38307 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38308 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38309 mempcpy-ssse3-back memmove-ssse3-back.
38310 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38311 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38312 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38313 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38314 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38315 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38316 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38317 * sysdeps/x86_64/multiarch/memmove.c: New file.
38318 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38319 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38320 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38321 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38322 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38323 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38324 Define.
38325 (index_Fast_Copy_Backward): Define.
38326 (HAS_ARCH_FEATURE): Define.
38327 (HAS_FAST_REP_STRING): Define.
38328 (HAS_FAST_COPY_BACKWARD): Define.
38329
38330 2010-06-21 Andreas Schwab <schwab@redhat.com>
38331
38332 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38333 Restore proper fallback handling.
38334
38335 2010-06-19 Ulrich Drepper <drepper@redhat.com>
38336
38337 [BZ #11701]
38338 * posix/group_member.c (__group_member): Correct checking loop.
38339
38340 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38341 OOM in getpwuid_r correctly. Return error number when the caller
38342 should return, otherwise -1.
38343 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38344 call returning > 0 value.
38345 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38346
38347 2010-06-07 Andreas Schwab <schwab@redhat.com>
38348
38349 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38350 libc_nonshared.a from targets in modules-names.
38351
38352 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38353
38354 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38355 requires it.
38356
38357 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
38358
38359 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38360 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38361 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38362 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38363
38364 2010-06-02 Andreas Schwab <schwab@redhat.com>
38365
38366 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38367
38368 2010-06-14 Ulrich Drepper <drepper@redhat.com>
38369
38370 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38371 and F_GETPIPE_SZ.
38372 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38373 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38374 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38375 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38376 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38377 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38378
38379 2010-06-14 Roland McGrath <roland@redhat.com>
38380
38381 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38382
38383 2010-06-07 Jakub Jelinek <jakub@redhat.com>
38384
38385 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38386 __REDIRECT followed by __THROW.
38387 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38388 * posix/getopt.h (getopt): Likewise.
38389
38390 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38391
38392 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38393 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38394 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38395 in AT_FLAGS.
38396 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38397 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38398
38399 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
38400
38401 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38402
38403 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38404
38405 [BZ #11640]
38406 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38407 Properly check family and model.
38408
38409 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38410
38411 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38412
38413 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
38414
38415 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38416
38417 2010-05-21 Ulrich Drepper <drepper@redhat.com>
38418
38419 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38420 symbol reference.
38421
38422 2010-05-19 Andreas Schwab <schwab@redhat.com>
38423
38424 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38425 symbol reference.
38426
38427 2010-05-21 Andreas Schwab <schwab@redhat.com>
38428
38429 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38430 and internal_recvmmsg.
38431 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38432 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38433 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38434 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38435
38436 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38437 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38438 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38439
38440 2010-05-20 Andreas Schwab <schwab@redhat.com>
38441
38442 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38443
38444 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
38445
38446 POWER7 optimizations.
38447 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38448 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38449
38450 2010-05-19 Ulrich Drepper <drepper@redhat.com>
38451
38452 * version.h: Update for 2.13 development version.
38453
38454 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
38455
38456 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38457 exceptions. Return 0.
38458
38459 2010-05-07 Roland McGrath <roland@redhat.com>
38460
38461 * elf/ldconfig.c (main): Add a const.
38462
38463 2010-05-06 Ulrich Drepper <drepper@redhat.com>
38464
38465 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38466 (args_options): Add no-idn option.
38467 (ahosts_keys_int): Add idn_flags to ai_flags.
38468 (parse_option): Handle 'i' option to clear idn_flags.
38469
38470 * malloc/malloc.c (_int_free): Possible race in the most recently
38471 added check. Only act on the data if no current modification
38472 happened.
38473
38474 See ChangeLog.17 for earlier changes.