]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
* manual/libdl.texi: New.
[thirdparty/glibc.git] / ChangeLog
1 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
2
3 * manual/libdl.texi: New.
4
5 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
6
7 * manual/lang.texi: Document MTASC-safety properties.
8
9 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
10
11 * manual/job.texi: Document MTASC-safety properties.
12
13 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
14
15 * manual/getopt.texi: Document MTASC-safety properties.
16
17 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
18
19 * manual/ctype.texi: Document MTASC-safety properties.
20
21 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
22
23 [BZ #16046]
24 * csu/libc-tls.c (static_map): Remove variable.
25 (__libc_setup_tls): Use main executable's link map for TLS data.
26 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
27 casing for LM_ID_BASE and GL(dl_nns).
28 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
29 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
30 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
31 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
32 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
33 member.
34 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
35 l_phnum members.
36
37 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
38
39 * manual/debug.texi: Document MTASC-safety properties.
40
41 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
42
43 [BZ #16510]
44 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
45 of __x86_64__ when disabling x87 inline functions.
46
47 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
48
49 * manual/charset.texi: Document MTASC-safety properties.
50
51 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
52
53 * manual/crypt.texi: Document MTASC-safety properties.
54
55 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
56
57 * manual/conf.texi: Document MTASC-safety properties.
58
59 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
60
61 * manual/arith.texi: Document MTASC-safety properties.
62
63 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
64
65 * manual/argp.texi: Document MTASC-safety properties.
66
67 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
68
69 * manual/macros.texi: Introduce macros to document multi
70 thread, asynchronous signal and asynchronous cancellation
71 safety properties.
72 * manual/intro.texi: Introduce the properties themselves.
73
74 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
75
76 * sysdeps/sh/sh4/Makefile: New file.
77
78 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
79
80 * math/gen-libm-test.pl ($srcdir): New variable.
81 ($auto_input): Use it.
82
83 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
84
85 [BZ #16506]
86 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
87 access beyond array bounds when parsing netgroups file.
88
89 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
90 the old buffer before realloc.
91
92 2014-01-27 Allan McRae <allan@archlinux.org>
93
94 * po/fr.po: Update French translation from translation project.
95
96 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
97
98 * sysdeps/sh/libm-test-ulps: Regenerate.
99
100 2014-01-24 David S. Miller <davem@davemloft.net>
101
102 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
103
104 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
105
106 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
107 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
108
109 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
110
111 [BZ #16474]
112 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
113 string pointers after reallocation.
114
115 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
116
117 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
118 __SH4A__ instead of __SH_FPU_ANY__.
119
120 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
121
122 * sysdeps/sh/fpu_control.h: New file.
123 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
124 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
125 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
126 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
127 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
128 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
129 * sysdeps/sh/sys/ucontext.h: Remove.
130 * sysdeps/sh/sys: Remove directory.
131
132 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
133
134 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
135 s390/sys/ucontext.h.
136 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
137 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
138
139 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
140
141 [BZ #15605]
142 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
143
144 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
145
146 [BZ#16431]
147 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
148 Adjust the vDSO correctly for internal calls.
149 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
150
151 2014-01-20 Allan McRae <allan@archlinux.org>
152
153 * po/ca.po: Update Catalan translation from translation project.
154
155 2014-01-16 Mike Frysinger <vapier@gentoo.org>
156
157 * sysdeps/s390/sotruss-lib.c: New file.
158
159 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
160
161 [BZ#16430]
162 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
163 (__GI___gettimeofday): Alias for a different internal symbol to avoid
164 local calls issues by not having a PLT stub required for IFUNC calls.
165 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
166
167 2014-01-16 Joseph Myers <joseph@codesourcery.com>
168
169 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
170 * math/test-fpucw-static.c: Likewise.
171
172 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
173
174 [BZ #16453]
175 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
176
177 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
178
179 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
180 implementation for powerpc.
181
182 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
183
184 [BZ #14782]
185 * sysdeps/posix/system.c (__libc_system): Do not enable
186 asynchronous cancellation.
187
188 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
189
190 [BZ #16427]
191 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
192 handling only for numbers special also in the IEEE case.
193
194 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
195
196 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
197
198 2014-01-11 Allan McRae <allan@archlinux.org>
199
200 * po/bg.po: Update Bulgarian translation from translation project.
201
202 * po/de.po: Update German translation from translation project.
203
204 2014-01-10 Roland McGrath <roland@hack.frob.com>
205
206 * sysdeps/generic/gcc-compat.h: New file.
207
208 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
209
210 * benchtests/asin-inputs: Correct slow inputs.
211 * benchtests/acos-inputs: Likewise.
212
213 2014-01-10 Allan McRae <allan@archlinux.org>
214
215 * po:sv.po: Update Swedish translation from translation project.
216
217 * po/vi.po: Update Vietnamese translation from translation project.
218
219 * po/eo.po: Update Esperanto translation from translation project.
220
221 * po/cs.po: Update Czech translation from translation project.
222
223 * po/nl.po: Update Dutch translation from translation project.
224
225 * po/pl.po: Update Polish translation from translation project.
226
227 * po/ru.po: Update Russian translation from translation project.
228
229 * po/uk.po: Update Ukrainian translation from translation project.
230
231 2014-01-08 Brooks Moses <bmoses@google.com>
232
233 * elf/dl-load.c: Fix comment typo.
234
235 2014-01-08 Carlos O'Donell <carlos@redhat.com>
236
237 * po/header.pot: Rename to...
238 * po/pot.header: ... this.
239 * po/Makefile: Use pot.header.
240
241 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
242 Maxim Kuvyrkov <maxim@kugelworks.com>
243
244 [BZ #16394]
245 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
246 SRC and DEST against LEN.
247
248 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
249
250 [BZ #16414]
251 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
252 implementation.
253 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
254
255 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
256
257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
258
259 2014-01-08 Joseph Myers <joseph@codesourcery.com>
260
261 [BZ #16408]
262 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
263 for large positive arguments.
264
265 2014-01-07 Joseph Myers <joseph@codesourcery.com>
266
267 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
268
269 * math/auto-libm-test-in: Mark various tests with
270 xfail-rounding:ldbl-128ibm.
271 * math/auto-libm-test-out: Regenerated.
272
273 [BZ #16407]
274 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
275 Increase overflow threshold.
276
277 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
278
279 [BZ #14286]
280 * stdio-common/vfprintf.c: Check for integer overflow.
281
282 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
283
284 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
285 the first argument and return value of __tls_get_addr_internal.
286
287 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
288
289 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
290 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
291
292 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
293
294 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
295 * sysdeps/s390/rtld-global-offsets.sym: New file.
296 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
297 GLIBC_2.19 symbol.
298 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
299 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
300 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
301 ... this.
302 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
303 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
304 ... this.
305 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
306 Regenerate.
307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
308 Regenerate.
309 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
310 halfs of GPRs for high_gprs contexts.
311 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
312 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
313 field.
314 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
315 uc_flags field.
316 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
317 64 bit versions:
318 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
319 for high GPRs (uc_high_gprs) and for future extensions
320 (__reserved).
321 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
322 for future extensions (__reserved).
323 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
324 64 bit versions:
325 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
326 SC_HIGHGPRS offset definition.
327 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
328 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
329
330 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
331
332 * Versions.def: Add GLIBC_2.19 for libpthread.
333 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
334 siglongjmp for libpthread with GLIBC_2.19 symver.
335 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
336 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
337 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
338 * sysdeps/s390/__longjmp.c: New file.
339 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
340 * sysdeps/s390/longjmp.c: New file.
341 * sysdeps/s390/setjmp.S: New file.
342 * sysdeps/s390/sigjmp.S: New file.
343 * sysdeps/s390/v1-longjmp.c: New file.
344 * sysdeps/s390/v1-setjmp.h: New file.
345 * sysdeps/s390/v1-sigjmp.c: New file.
346 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
347 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
348 GLIBC_2.19 version.
349 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
350 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
351 versioned symbols for ____longjmp_chk.
352 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
353 Likewise.
354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
355 Regenerate.
356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
357 Regenerate.
358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
359 Regenerate.
360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
361 Regenerate.
362 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
363 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
364 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
365 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
366 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
367 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
368 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
369 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
370 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
371 * sysdeps/s390/rtld-__longjmp.c: New file.
372 * sysdeps/s390/rtld-setjmp.S: New file.
373
374 2014-01-06 Joseph Myers <joseph@codesourcery.com>
375
376 [BZ #16400]
377 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
378 Return -__logl (x) for small positive arguments without evaluating
379 a polynomial.
380
381 2014-01-06 Mike Frysinger <vapier@gentoo.org>
382
383 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
384 Rename to ...
385 (__ptrace_peeksiginfo_args): ... this.
386 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
387 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
388 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
389
390 2014-01-06 Allan McRae <allan@archlinux.org>
391
392 * inet/netinet/in.h: Fix typo in comment.
393
394 2014-01-05 Andreas Jaeger <aj@suse.de>
395
396 * sysdeps/i386/fpu/libm-test-ulps: Update.
397
398 2014-01-05 Allan McRae <allan@archlinux.org>
399
400 * po/libc.pot: Regenerated.
401
402 * malloc/memusagestat.c: Fix gettext call formatting.
403
404 2014-01-04 Sami Kerola <kerolasa@iki.fi>
405
406 * nscd/nscd.c: Improve usage() output.
407
408 2014-01-04 Mike Frysinger <vapier@gentoo.org>
409
410 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
411 * sysdeps/unix/sysv/linux/configure: Regenerated.
412 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
413 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
414
415 2014-01-03 Joseph Myers <joseph@codesourcery.com>
416
417 [BZ #16390]
418 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
419 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
420
421 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
422
423 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
424 extra tokens at end of #undef directive.
425 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
426 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
427 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
428
429 2014-01-03 Andrew Hunter <ahh@google.com>
430
431 * elf/dl-open.c (dl_open_worker): New comment.
432 * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
433 atomic_compare_and_exchange_bool_acq
434 (_dl_allocate_static_tls): Block signals.
435 * elf/dl-tls.c (allocate_and_init): Return void.
436 (_dl_update_slotinfo): Block signals, use atomic update.
437
438 2014-01-03 Joseph Myers <joseph@codesourcery.com>
439
440 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
441
442 * math/auto-libm-test-in: Mark various tests with
443 xfail-rounding:ldbl-128ibm.
444 * math/auto-libm-test-out: Regenerated.
445
446 2014-01-02 Joseph Myers <joseph@codesourcery.com>
447
448 [BZ #16386]
449 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
450 numbers with subnormal high part when calculating exponent.
451
452 [BZ #16385]
453 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
454 fabs.
455
456 [BZ #16384]
457 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
458 M_LN2l.
459 (__ieee754_acoshl): Use __log1pl not __log1p.
460
461 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
462
463 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
464 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
465 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
466 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
467 Convert to GNU style.
468 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
469 mem2mem_check, mem2chunk_check, top_check, realloc_check,
470 memalign_check, __malloc_set_state): Likewise.
471 * malloc/mallocbug.c (main): Likewise.
472 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
473 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
474 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
475 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
476 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
477 * malloc/malloc.h: Likewise.
478 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
479 memalignhook, reallochook, mabort): Likewise.
480 * malloc/mcheck.h: Likewise.
481 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
482 mmap64, mremap, munmap, dest): Likewise.
483 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
484 * malloc/morecore.c (__default_morecore): Likewise.
485 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
486 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
487 _obstack_allocated_p, obstack_free, _obstack_memory_used,
488 print_and_abort): Likewise.
489 * malloc/obstack.h: Likewise.
490 * malloc/set-freeres.c (__libc_freeres): Likewise.
491 * malloc/tst-mallocstate.c (main): Likewise.
492 * malloc/tst-mtrace.c (main): Likewise.
493 * malloc/tst-realloc.c (do_test): Likewise.
494
495 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
496
497 [BZ #16366]
498 * nscd/netgroupcache.c (do_notfound): New function.
499 (addgetnetgrentX): Use it.
500
501 [BZ # 16365]
502 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
503 NSS_STATUS_NOTFOUND.
504
505 2014-01-01 Joseph Myers <joseph@codesourcery.com>
506
507 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
509
510 2014-01-01 Allan McRae <allan@archlinux.org>
511
512 * scripts/update-copyrights: Update configure input file suffix.
513
514 * NEWS: Update copyright year.
515 * catgets/gencat.c: Likewise.
516 * csu/version.c: Likewise.
517 * debug/catchsegv.sh: Likewise.
518 * debug/pcprofiledump.c: Likewise.
519 * debug/xtrace.sh: Likewise.
520 * elf/ldconfig.c: Likewise.
521 * elf/ldd.bash.in: Likewise.
522 * elf/pldd.c: Likewise.
523 * elf/sotruss.ksh: Likewise.
524 * elf/sprof.c: Likewise.
525 * iconv/iconv_prog.c: Likewise.
526 * iconv/iconvconfig.c: Likewise.
527 * locale/programs/locale.c: Likewise.
528 * locale/programs/localedef.c: Likewise.
529 * login/programs/pt_chown.c: Likewise.
530 * malloc/memusage.sh: Likewise.
531 * malloc/memusagestat.c: Likewise.
532 * malloc/mtrace.pl: Likewise.
533 * manual/libc.texinfo: Likewise.
534 * nscd/nscd.c: Likewise.
535 * nss/getent.c: Likewise.
536 * nss/makedb.c: Likewise.
537 * posix/getconf.c: Likewise.
538 * scripts/test-installation.pl: Likewise.
539
540 * All files with FSF copyright notices: Update copyright dates
541 using scripts/update-copyrights.
542 * intl/plural.c: Regenerated.
543 * locale/programs/charmap-kw.h: Likewise.
544 * locale/programs/locfile-kw.h: Likewise.
545
546 2013-12-31 Mike Frysinger <vapier@gentoo.org>
547
548 * sysdeps/unix/sysv/linux/configure: Regenerated.
549 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
550 the linux/fanotify.h header.
551 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
552 HAVE_LINUX_FANOTIFY_H is defined.
553
554 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
555
556 * benchtests/cos-inputs: New inputs.
557 * benchtests/sin-inputs: Likewise.
558
559 * benchtests/atan-inputs: New inputs. Fix name of multiple
560 precision fallback inputs.
561
562 * benchtests/atanh-inputs: New inputs.
563 * benchtests/tanh-inputs: Likewise.
564
565 * benchtests/acosh-inputs: New inputs.
566 * benchtests/asinh-inputs: Likewise.
567
568 * benchtests/cosh-inputs: New inputs.
569 * benchtests/sinh-inputs: Likewise.
570
571 * benchtests/acos-inputs: Add more inputs.
572 * benchtests/asin-inputs: Likewise.
573
574 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
575
576 [BZ #16375]
577 * manual/arith.texi: Fix spelling.
578 * manual/charset.texi: Likewise.
579 * manual/errno.texi: Likewise.
580 * manual/filesys.texi: Likewise.
581 * manual/lang.texi: Likewise.
582 * manual/llio.texi: Likewise.
583 * manual/locale.texi: Likewise.
584 * manual/message.texi: Likewise.
585 * manual/resource.texi: Likewise.
586 * manual/search.texi: Likewise.
587 * manual/setjmp.texi: Likewise.
588 * manual/stdio.texi: Likewise.
589 * manual/string.texi: Likewise.
590 * manual/sysinfo.texi: Likewise.
591 * manual/time.texi: Likewise.
592
593 2013-12-27 Carlos O'Donell <carlos@redhat.com>
594
595 * po/sl.po: New file.
596
597 2013-12-27 Mike Frysinger <vapier@gentoo.org>
598
599 * .gitignore: Add core/.gdbinit/.gdb_history.
600
601 2013-12-27 Allan McRae <allan@archlinux.org>
602
603 [BZ #16369]
604 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
605 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
606
607 2013-12-24 Brooks Moses <bmoses@google.com>
608
609 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
610 all compilers that claim C++98 compliance, not just GCC.
611 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
612 Likewise.
613
614 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
615
616 * NEWS: Restore accidentally deleted bug-fix entries.
617
618 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
619 Ondřej Bílka <neleai@seznam.cz>
620
621 [BZ #15073]
622 * malloc/malloc.c (_int_free): Perform sanity check only if we
623 have_lock.
624
625 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
626
627 [BZ #12986]
628 * manual/stdio.texi (String Input Conversions): Clarify that character
629 classes are not supported.
630
631 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
632
633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
634
635 2013-12-22 Joseph Myers <joseph@codesourcery.com>
636
637 [BZ #16337]
638 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
639 Calculate results for small negative arguments directly rather
640 than using reflection formula with special underflow handling.
641
642 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
643 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
644 sysdeps/unix/bsd/bsd4.4/syscalls.list.
645 (fchflags): Likewise.
646 (revoke): Likewise.
647 (setlogin): Likewise.
648 (sigaltstack): Likewise.
649 (wait4): Likewise.
650 (sigblock): Remove.
651 (sigsetmask): Likewise.
652 (wait3): Likewise.
653 (waitpid): Likewise.
654 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
655 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
656 file.
657 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
658 * sysdeps/unix/bsd/Makefile: ... here.
659 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
660 * sysdeps/unix/bsd/Versions: ... here.
661 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
662 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
663 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
664 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
665 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
666 * sysdeps/unix/bsd/sigblock.c: ... here.
667 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
668 * sysdeps/unix/bsd/sigsetmask.c: ... here.
669 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
670 * sysdeps/unix/bsd/sigvec.c: ... here.
671 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
672 * sysdeps/unix/bsd/tcdrain.c: ... here.
673 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
674 * sysdeps/unix/bsd/tcgetattr.c: ... here.
675 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
676 * sysdeps/unix/bsd/tcsetattr.c: ... here.
677 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
678 * sysdeps/unix/bsd/wait.c: ... here.
679 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
680 * sysdeps/unix/bsd/wait3.c: ... here.
681 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
682 * sysdeps/unix/bsd/waitpid.c: ... here.
683
684 2013-12-21 Joseph Myers <joseph@codesourcery.com>
685
686 [BZ #16356]
687 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
688 round-to-nearest for [!USE_AS_EXPM1L].
689 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
690 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
691 more tests of exp and exp10. Expect some exp10 tests to miss
692 exceptions or fail in directed rounding modes.
693 * math/auto-libm-test-out: Regenerated.
694 * math/libm-test.inc (exp10_tonearest_test_data): New array.
695 (exp10_test_tonearest): New function.
696 (exp10_towardzero_test_data): New array.
697 (exp10_test_towardzero): New function.
698 (exp10_downward_test_data): New array.
699 (exp10_test_downward): New function.
700 (exp10_upward_test_data): New array.
701 (exp10_test_upward): New function.
702 (main): Call the new functions.
703 * sysdeps/i386/fpu/libm-test-ulps: Update.
704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
705
706 2013-12-20 Joseph Myers <joseph@codesourcery.com>
707
708 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
709 asinh, atan, atan2, atanh, cbrt, cos and cosh.
710 * math/auto-libm-test-out: Regenerated.
711 * math/libm-test.inc (acosh_test_data): Add more tests.
712 (atanh_test_data): Likewise.
713 (ceil_test_data): Likewise.
714 (copysign_test_data): Likewise.
715 * sysdeps/i386/fpu/libm-test-ulps: Update.
716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
717
718 * timezone/checktab.awk: Update from tzcode 2013i.
719 * timezone/private.h: Likewise.
720 * timezone/scheck.c: Likewise.
721 * timezone/tzfile.h: Likewise.
722 * timezone/tzselect.ksh: Likewise.
723 * timezone/zdump.c: Likewise.
724 * timezone/zic.c: Likewise.
725
726 * math/auto-libm-test-in: Add tests of cpow.
727 * math/auto-libm-test-out: Regenerated.
728 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
729 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
730 mpc_cc_c.
731 (func_calc_desc): Add mpc_cc_c union field.
732 (test_functions): Add cpow.
733 (special_fill_2pi): New function.
734 (special_real_inputs): Add 2pi.
735 (calc_generic_results): Handle mpc_cc_c.
736 * sysdeps/i386/fpu/libm-test-ulps: Update.
737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
738
739 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
740 csqrt, ctan and ctanh.
741 * math/auto-libm-test-out: Regenerated.
742 * math/libm-test.inc (TEST_COND_x86_64): New macro.
743 (TEST_COND_x86): Likewise.
744 (ccos_test_data): Use AUTO_TESTS_c_c.
745 (ccosh_test_data): Likewise.
746 (cexp_test_data): Likewise.
747 (clog_test_data): Likewise.
748 (csqrt_test_data): Likewise.
749 (ctan_test_data): Likewise.
750 (ctan_tonearest_test_data): Likewise.
751 (ctan_towardzero_test_data): Likewise.
752 (ctan_downward_test_data): Likewise.
753 (ctan_upward_test_data): Likewise.
754 (ctanh_test_data): Likewise.
755 (ctanh_tonearest_test_data): Likewise.
756 (ctanh_towardzero_test_data): Likewise.
757 (ctanh_downward_test_data): Likewise.
758 (ctanh_upward_test_data): Likewise.
759 * math/gen-auto-libm-tests.c (func_calc_method): Add value
760 mpc_c_c.
761 (func_calc_desc): Add mpc_c_c union field.
762 (FUNC_mpc_c_c): New macro.
763 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
764 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
765 ctanh.
766 (special_fill_min_subnorm_p120): New function.
767 (special_real_inputs): Add min_subnorm_p120.
768 (calc_generic_results): Handle mpc_c_c.
769 * sysdeps/i386/fpu/libm-test-ulps: Update.
770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
771
772 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
773
774 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
775 do_sin_slow): New functions.
776 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
777 cslow2, csloww1, csloww2): Use the new functions.
778
779 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
780 Use M to change sign of result instead of X. Assume X is
781 positive.
782 (csloww1): Likewise.
783 (__sin): Adjust.
784 (__cos): Adjust.
785
786 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
787 arguments A and DA.
788 (__sin): Adjust.
789 (__cos): Likewise.
790
791 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
792 (__cos): Likewise.
793 (sloww1): Don't adjust sign of DX.
794 (csloww1): Likewise.
795 (sloww2): Use X directly and don't adjust sign of DX.
796 (csloww2): Likewise.
797
798 2013-12-19 Joseph Myers <joseph@codesourcery.com>
799
800 * math/auto-libm-test-in: Add tests of cabs and carg.
801 * math/auto-libm-test-out: Regenerated.
802 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
803 (carg_test_data): Likewise.
804 * math/gen-auto-libm-tests.c (func_calc_method): Add value
805 mpc_c_f.
806 (func_calc_desc): Add mpc_c_f union field.
807 (test_functions): Add cabs and carg.
808 (calc_generic_results): Handle mpc_c_f.
809
810 * sysdeps/powerpc/powerpc32/libgcc-compat.S
811 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
812 as a macro and a compat symbol.
813 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
814 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
815 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
816 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
817 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
818 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
819 not use .hidden.
820 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
821 Likewise.
822 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
823 Likewise.
824 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
825 Likewise.
826 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
827 Likewise.
828 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
829 Likewise.
830 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
831 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
832 from GLIBC_2.3.2.
833
834 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
835
836 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
837
838 2013-12-19 Paul Pluzhnikov <ppluzhnikov@google.com>
839
840 * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
841 (__signal_safe_memalign, __signal_safe_free): Use it.
842 (__signal_safe_realloc): Likewise.
843
844 2013-12-19 Joseph Myers <joseph@codesourcery.com>
845
846 * manual/texinfo.tex: Update to version 2013-11-26.10 with
847 trailing whitespace removed.
848 * scripts/config.guess: Update to version 2013-11-29.
849 * scripts/config.sub: Update to version 2013-10-01.
850
851 * math/auto-libm-test-in: Add tests of sincos.
852 * math/auto-libm-test-out: Regenerated.
853 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
854 * math/gen-auto-libm-tests.c (func_calc_method): Add value
855 mpfr_f_11.
856 (func_calc_desc): Add mpfr_f_11 union field.
857 (test_functions): Add sincos.
858 (calc_generic_results): Handle mpfr_f_11.
859 * sysdeps/i386/fpu/libm-test-ulps: Update.
860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
861
862 2013-12-19 Andreas Schwab <schwab@suse.de>
863
864 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
865 CALL_MCOUNT.
866 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
867 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
868 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
869
870 2013-12-19 Joseph Myers <joseph@codesourcery.com>
871
872 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
873 * sysdeps/i386/fpu/libm-test-ulps: Update.
874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
875
876 [BZ #16293]
877 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
878 round-to-nearest mode when using frndint.
879 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
880 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
881 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
882 Likewise.
883 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
884 sinh test to fail.
885 * math/auto-libm-test-out: Regenerated.
886 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
887 (TEST_COND_x86): Likewise.
888 (expm1_tonearest_test_data): New array.
889 (expm1_test_tonearest): New function.
890 (expm1_towardzero_test_data): New array.
891 (expm1_test_towardzero): New function.
892 (expm1_downward_test_data): New array.
893 (expm1_test_downward): New function.
894 (expm1_upward_test_data): New array.
895 (expm1_test_upward): New function.
896 (main): Run the new test functions.
897 * sysdeps/i386/fpu/libm-test-ulps: Update.
898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
899
900 * include/features.h: Update comment documenting feature test
901 macros. Mention _DEFAULT_SOURCE in comment.
902 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
903 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
904 _BSD_SOURCE and _SVID_SOURCE.
905 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
906 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
907 !_SVID_SOURCE]: Likewise.
908 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
909 (__USE_POSIX_IMPLICITLY): Define.
910 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
911 (_POSIX_SOURCE): Undefine and redefine.
912 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
913 (_POSIX_C_SOURCE): Likewise.
914 * manual/creature.texi (_DEFAULT_SOURCE): Document.
915 (Feature Test Macros): Update documentation of default features.
916
917 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
918
919 * benchtests/Makefile: Add bench-strtok.
920 * benchtests/bench-strtok.c: New file: strtok benchtest.
921
922 2013-12-19 Allan McRae <allan@archlinux.org>
923
924 * manual/install.texi: Suppress menu for plain text output.
925 * INSTALL: Regenerated.
926
927 2013-12-18 Andrew Hunter <ahh@google.com>
928
929 * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
930 (__signal_safe_malloc, __signal_safe_free): Likewise.
931 (__signal_safe_realloc, __signal_safe_calloc): Likewise.
932 * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
933 (__signal_safe_memalign, __signal_safe_malloc): New function.
934 (__signal_safe_free, __signal_safe_realloc): Likewise.
935 (__signal_safe_calloc): Likewise.
936 * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
937 functions.
938 (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
939
940 2013-12-18 Andrew Hunter <ahh@google.com>
941
942 * elf/Versions (ld): Add _dl_clear_dtv.
943 * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
944 * elf/dl-tls.c (_dl_clear_dtv): New function.
945 * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
946
947 2013-12-18 Andrew Hunter <ahh@google.com>
948
949 * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
950 (_dl_unmask_signals): Likewise.
951 * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
952 (_dl_unmask_all_signals): Likewise.
953 * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
954 (_dl_unmask_all_signals): Likewise.
955 * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
956 (_dl_unmask_signals): Likewise.
957
958 2013-12-18 Brooks Moses <bmoses@google.com>
959
960 [BZ #15846]
961 * misc/getauxval.c: Include errno.h.
962 (__getauxval): Set errno to ENOENT if the requested type is not
963 found.
964 * misc/sys/auxv.h (getauxval): Document that it may set errno;
965 don't declare with __attribute_const__.
966 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
967 * manual/startup.texi: Document that getauxval sets errno.
968
969 2013-12-18 Joseph Myers <joseph@codesourcery.com>
970
971 * math/auto-libm-test-in: Add tests of jn and yn.
972 * math/auto-libm-test-out: Regenerated.
973 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
974 (yn_test_data): Likewise.
975 * math/gen-auto-libm-tests.c (func_calc_method): Add value
976 mpfr_if_f.
977 (func_calc_desc): Add mpfr_if_f union field.
978 (FUNC_mpfr_if_f): New macro.
979 (test_functions): Add jn and yn.
980 (calc_generic_results): Assert type of second input for
981 mpfr_ff_f. Handle mpfr_if_f.
982 (output_for_one_input_case): Disable all checking for arguments
983 fitting floating-point types in case of an integer argument.
984 * sysdeps/i386/fpu/libm-test-ulps: Update.
985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
986
987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
988 Don't expect fegetround reference in libm.so.
989
990 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
991
992 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
993 $(config-cflags-nofma).
994
995 2013-12-18 Joseph Myers <joseph@codesourcery.com>
996
997 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
998 * math/auto-libm-test-out: Regenerated.
999
1000 [BZ #16338]
1001 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1002 to determine exponent and adjust argument to have exponent of -1.
1003 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1004 log2.
1005 * math/auto-libm-test-out: Regenerated.
1006 * sysdeps/i386/fpu/libm-test-ulps: Update.
1007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1008
1009 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
1010
1011 * manual/probes.texi: Remove cases when per-thread arenas are
1012 disabled.
1013
1014 2013-12-18 Andreas Schwab <schwab@suse.de>
1015
1016 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1017 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1018 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1019 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1020 * sysdeps/i386/i686/multiarch/Makefile: Update.
1021 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1022
1023 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1024
1025 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1026 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1027
1028 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
1029
1030 Support TZ transition times < 00:00:00.
1031 This is needed for version-3 tz-format files; it supports time
1032 stamps past 2037 for America/Godthab (the only entry in the tz
1033 database for which this change is relevant).
1034 * manual/time.texi (TZ Variable): Document transition times
1035 from -167:59:59 through -00:00:01.
1036 * time/tzset.c (tz_rule): Time of day is now signed.
1037 (__tzset_parse_tz): Parse negative time of day.
1038
1039 Document TZ transition times >= 25:00:00.
1040 * manual/time.texi (TZ Variable): Document transition times from
1041 25:00:00 through 167:59:59. These are already supported, and this
1042 support will help with version-3 tz-format files.
1043
1044 * manual/time.texi (TZ Variable): Modernize North America example
1045 to reflect current (i.e., 2007-and-later) daylight saving rules.
1046
1047 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1048
1049 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1050
1051 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1052 * sysdeps/unix/bsd/bits/stat.h: Likewise.
1053 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1054 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1055 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1056 * sysdeps/unix/bsd/bsdstat.h: Likewise.
1057 * sysdeps/unix/bsd/clock.c: Likewise.
1058 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1059 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1060 * sysdeps/unix/bsd/init-posix.c: Likewise.
1061 * sysdeps/unix/bsd/poll.c: Likewise.
1062 * sysdeps/unix/bsd/ptsname.c: Likewise.
1063 * sysdeps/unix/bsd/seekdir.c: Likewise.
1064 * sysdeps/unix/bsd/setegid.c: Likewise.
1065 * sysdeps/unix/bsd/seteuid.c: Likewise.
1066 * sysdeps/unix/bsd/setgid.c: Likewise.
1067 * sysdeps/unix/bsd/setrgid.c: Likewise.
1068 * sysdeps/unix/bsd/setruid.c: Likewise.
1069 * sysdeps/unix/bsd/setsid.c: Likewise.
1070 * sysdeps/unix/bsd/setuid.c: Likewise.
1071 * sysdeps/unix/bsd/sigaction.c: Likewise.
1072 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1073 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1074 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1075 * sysdeps/unix/bsd/telldir.c: Likewise.
1076 * sysdeps/unix/bsd/times.c: Likewise.
1077 * sysdeps/unix/bsd/usleep.c: Likewise.
1078
1079 * misc/Makefile (install-lib): Remove libbsd-compat.a.
1080 ($(objpfx)libbsd-compat.a): Remove rule.
1081
1082 * include/features.h (__FAVOR_BSD): Do not define.
1083 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1084 features conflicting with POSIX.
1085 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1086 (_BSD_SOURCE): Remove description of not being a subset of other
1087 feature test macros.
1088 * manual/job.texi (getpgrp): Do not document BSD version.
1089 (getpgid): Do not document by reference to BSD getpgrp.
1090 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1091 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1092 * signal/signal.h [__FAVOR_BSD]: Likewise.
1093 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1094 instead of making contents conditional on [__FAVOR_BSD].
1095 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1096
1097 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1098
1099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1100
1101 2013-12-17 Joseph Myers <joseph@codesourcery.com>
1102
1103 [BZ #16314]
1104 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1105 values below 2**-450, not 2**-500.
1106 * math/auto-libm-test-in: Don't allow spurious underflow from
1107 hypot.
1108 * math/auto-libm-test-out: Regenerated.
1109
1110 [BZ #16316]
1111 [BZ #16330]
1112 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1113 values of ha and hb and sort them after adjusting subnormal
1114 arguments.
1115 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1116 Likewise.
1117 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1118 values of ea and eb and sort them after adjusting subnormal
1119 arguments.
1120 * math/auto-libm-test-in: Do not expect some hypot tests of
1121 subnormals to fail. Add more hypot tests.
1122 * math/auto-libm-test-out: Regenerated.
1123
1124 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1125
1126 [BZ #13304]
1127 * sysdeps/sh/s_fma.c: New file.
1128 * sysdeps/sh/s_fmaf.c: New file.
1129 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
1130 version.
1131 * sysdeps/sh/Implies: Add sh/soft-fp.
1132
1133 2013-12-16 Roland McGrath <roland@hack.frob.com>
1134
1135 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
1136 level of indirection to members `objname', `errstring', `malloced'.
1137 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1138 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
1139 it as the __longjmp argument (just pass 1 instead).
1140 (_dl_catch_error): Initialize C with argument pointers and address of
1141 volatile local ERRCODE rather than copying values out of C at return.
1142
1143 2013-12-16 Joseph Myers <joseph@codesourcery.com>
1144
1145 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1146 * math/auto-libm-test-out: Regenerated.
1147 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1148 (hypot_test_data): Likewise.
1149 (pow_test_data): Likewise.
1150 (pow_tonearest_test_data): Likewise.
1151 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1152 mpfr_ff_f.
1153 (func_calc_desc): Add mpfr_ff_f union field.
1154 (FUNC_mpfr_ff_f): New macro.
1155 (test_functions): Add atan2, hypot and pow.
1156 (special_fill_min): New function.
1157 (special_fill_minus_min): Likewise.
1158 (special_fill_min_subnorm): Likewise.
1159 (special_fill_minus_min_subnorm): Likewise.
1160 (special_real_inputs): Add min, -min, min_subnorm and
1161 -min_subnorm.
1162 (calc_generic_results): Handle mpfr_ff_f.
1163 * sysdeps/i386/fpu/libm-test-ulps: Update.
1164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1165
1166 2013-12-16 Will Newton <will.newton@linaro.org>
1167
1168 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1169 (Aligned Memory Blocks): Add documentation for aligned_alloc
1170 and suggest it as an alternative to posix_memalign.
1171 (Hooks for Malloc): Document __memalign_hook is also called
1172 for aligned_alloc. (Summary of Malloc): Add summary for
1173 aligned alloc. Document __memalign_hook is also called
1174 for aligned_alloc.
1175
1176 2013-12-16 Will Newton <will.newton@linaro.org>
1177
1178 * manual/memory.texi (Malloc Examples): Clarify default
1179 alignment documentation. Suggest posix_memalign rather
1180 than memalign or valloc.
1181 (Aligned Memory Blocks): Remove suggestion to use memalign
1182 or valloc. Remove obsolete comment about BSD.
1183 Document memalign errno values and mark the function obsolete.
1184 Document posix_memalign returned error codes. Mark valloc
1185 as obsolete. (Hooks for Malloc): __memalign_hook is also
1186 called for posix_memalign and valloc.
1187 (Summary of Malloc): Add posix_memalign to function summary.
1188 __memalign_hook is also called for posix_memalign and valloc.
1189
1190 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1191
1192 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1193 TAYLOR_SIN.
1194 (__sin): Adjust.
1195 (__cos): Likewise.
1196 (sloww): Use mynumber union. Expand ternary operator into
1197 if-else statements.
1198 (cslow): use mynumber union.
1199
1200 2013-12-16 Allan McRae <allan@archlinux.org>
1201
1202 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1203 * configure: Regenerated.
1204
1205 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1206
1207 [BZ #14120]
1208 * configure.ac: Added --enable-maintainer-mode. Check for
1209 autoconf when enabled.
1210 * configure: Regenerated.
1211
1212 * nscd/nscd.service: New file.
1213 * nscd/nscd.tmpfiles: New file.
1214
1215 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
1216
1217 [BZ #12100]
1218 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1219 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1220 * sysdeps/x86_64/multiarch/strstr.c: ... here.
1221 (strstr): Add __strstr_sse2_unaligned ifunc.
1222 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1223 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1224 (strcasestr): Remove __strcasestr_sse42 ifunc.
1225 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1226 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1227 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1228
1229 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1230
1231 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1232 * sysdeps/sh/bits/fenv.h: ... here.
1233 * sysdeps/sh/sh4/fpu/bits: Remove directory.
1234
1235 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1236
1237 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1238
1239 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1240
1241 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1242 hypotf multiarch implementations.
1243 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1244 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1245 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1246 multiarch hypot for PPC64.
1247 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1248 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1249 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1250 multiarch hypotf for PPC64.
1251
1252 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1253
1254 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1255 modff multiarch implementations.
1256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1259 multiarch modf for PPC64.
1260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1263 multiarch modff for PPC64.
1264
1265 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1266
1267 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1268 and logl multiarch implementations.
1269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1272 multiarch logb for PPC64.
1273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1276 multiarch logb for PPC64.
1277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1280 multiarch logb for PPC64.
1281
1282 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1283
1284 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1285 isinff multiarch implementation.
1286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1287 file.
1288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1290 multiarch isinf for PPC64.
1291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1292 file.
1293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1294 multiarch isinff for PPC64.
1295
1296 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1297
1298 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1299 finitef multiarch implementation.
1300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1301 file.
1302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1304 multiarch finite for PPC64.
1305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1306 file.
1307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1308 multiarch finitef for PPC64.
1309
1310 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1311
1312 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1313 lrint multiarch implementation.
1314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1315 file.
1316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1318 multiarch llrint for PPC64.
1319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1320 multiarch lrint for PPC64.
1321
1322 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1323
1324 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1325 copysignf multiarch implementation.
1326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1327 file.
1328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1329 file.
1330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1331 multiarch copysign for PPC64.
1332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1333 multiarch copysignf for PPC64.
1334
1335 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1336
1337 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1338 multiarch implementation.
1339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1340 file.
1341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1342 file.
1343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1344 file.
1345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1346 file.
1347 multiarch llround for PPC64.
1348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1349 multiarch trunc for PPC64.
1350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1351 multiarch truncf for PPC64.
1352
1353 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1354
1355 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1356 multiarch implementation.
1357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1358 file.
1359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1360 file.
1361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1362 file.
1363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1364 file.
1365 multiarch llround for PPC64.
1366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1367 multiarch round for PPC64.
1368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1369 multiarch roundf for PPC64.
1370
1371 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1372
1373 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1374 multiarch implementation.
1375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1376 file.
1377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1378 file.
1379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1380 file.
1381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1382 file.
1383 multiarch llround for PPC64.
1384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1385 multiarch floor for PPC64.
1386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1387 multiarch floorf for PPC64.
1388
1389 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1390
1391 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1392 multiarch implementation.
1393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1394 file.
1395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1396 file.
1397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1398 file.
1399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1400 file.
1401 multiarch llround for PPC64.
1402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1403 multiarch ceil for PPC64.
1404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1405 multiarch ceilf for PPC64.
1406
1407 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1408
1409 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1410 multiarch implementation.
1411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1412 file.
1413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1414 file.
1415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1416 file.
1417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1418 multiarch llround for PPC64.
1419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1420 multiarch lround for PPC64.
1421
1422 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1423
1424 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1425 multiarch implementation.
1426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1429 file.
1430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1433 multiarch isnan for PPC64.
1434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1435 multiarch isnanf for PPC64.
1436
1437 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1438
1439 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1440 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1441 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1442 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1443 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1445
1446 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1447
1448 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1449 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1450 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1451 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1452
1453 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1454
1455 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1456 multiarch implementations.
1457 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1458 (__libc_ifunc_impl_list): Likewise.
1459 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1460 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1461 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1462 multiarch stpcpy for PPC64.
1463
1464 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1465
1466 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1467 multiarch implementations.
1468 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1469 (__libc_ifunc_impl_list): Likewise.
1470 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1471 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1472 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1473 multiarch strcpy for PPC64.
1474
1475 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1476
1477 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1478 redefine function name.
1479 (_wordcopy_fwd_dest_aligned): Likewise.
1480 (_wordcopy_bwd_aligned): Likewise.
1481 (_wordcopy_bwd_dest_aligned): Likewise.
1482 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1483 multiarch implementations.
1484 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1485 (__libc_ifunc_impl_list): Likewise.
1486 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1487 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1488 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1489 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1490 multiarch wcscpy for PPC64.
1491
1492 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1493
1494 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1495 multiarch implementations.
1496 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1497 (__libc_ifunc_impl_list): Likewise.
1498 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1499 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1500 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1501 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1502 multiarch wcscpy for PPC64.
1503
1504 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1505
1506 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1507 multiarch implementations.
1508 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1509 (__libc_ifunc_impl_list): Likewise.
1510 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1511 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1512 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1513 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1514 multiarch wcsrchr for PPC64.
1515
1516 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1517
1518 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1519 multiarch implementations.
1520 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1521 (__libc_ifunc_impl_list): Likewise.
1522 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1523 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1524 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1525 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1526 multiarch wcschr for PPC64.
1527
1528 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1529
1530 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1531 multiarch implementations.
1532 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1533 (__libc_ifunc_impl_list): Likewise.
1534 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1535 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1536 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1537 multiarch strchrnul for PPC64.
1538
1539 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1540
1541 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1542 implementations.
1543 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1544 (__libc_ifunc_impl_list): Likewise.
1545 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1546 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1547 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1548 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1549 strchr for PPC64.
1550
1551 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1552
1553 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1554 implementations.
1555 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1556 (__libc_ifunc_impl_list): Likewise.
1557 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1558 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1559 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1560 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1561 strncmp for PPC64.
1562
1563 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1564
1565 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1566 multiarch implementations.
1567 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1568 (__libc_ifunc_impl_list): Likewise.
1569 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1570 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1571 strncasecmp for PPC64.
1572 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1573 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1574 multiarch strncasecmp_l for PPC64.
1575
1576 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1577
1578 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1579 multiarch implementations.
1580 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1581 (__libc_ifunc_impl_list): Likewise.
1582 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1583 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1584 multiarch strcasecmp for PPC64.
1585 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1586 file.
1587 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1588 multiarch strcasecmp_l for PPC64.
1589
1590 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1591
1592 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1593 implementations.
1594 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1595 (__libc_ifunc_impl_list): Likewise.
1596 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1597 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1598 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1599 strnlen for PPC64.
1600
1601 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1602
1603 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1604 implementations.
1605 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1606 (__libc_ifunc_impl_list): Likewise.
1607 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1608 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1609 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1610 strlen for PPC64.
1611
1612 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1613
1614 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1615 implementations.
1616 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1617 (__libc_ifunc_impl_list): Likewise.
1618 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1619 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1620 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1621 rawmemrchr for PPC64.
1622
1623 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1624
1625 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1626 implementation.
1627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1628 (__libc_ifunc_impl_list): Likewise.
1629 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1630 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1631 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1632 memrchr for PPC64.
1633
1634 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1635
1636 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1637 implementation.
1638 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1639 (__libc_ifunc_impl_list): Likewise.
1640 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1641 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1642 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1643 memchr for PPC64.
1644
1645 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1646
1647 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1648 implementation.
1649 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1650 (__libc_ifunc_impl_list): Likewise.
1651 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1652 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1653 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1654 mempcpy for PPC64.
1655
1656 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1657
1658 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1659 avoid cretion of __bzero symbol.
1660 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1661 Likewise.
1662 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1663 Likewise.
1664 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1665 Likewise.
1666 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1667 multiarch implementations.
1668 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1669 (__libc_ifunc_impl_list): Likewise.
1670 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1671 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1672 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1673 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1674 bzero for PPC32.
1675 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1676 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1677 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1678 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1679 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1680 memset for PPC64.
1681 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1682
1683 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1684
1685 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1686 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1687 implementations.
1688 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1689 (__libc_ifunc_impl_list): Likewise.
1690 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1691 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1692 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1693 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1694 memcmp for PPC64.
1695
1696 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1697
1698 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1699 multiarch for POWER/PPC64.
1700 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1701 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1702 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1703 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1704 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1705 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1706 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1707 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1708 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1709 memcpy for PPC64.
1710
1711 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1712
1713 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1714 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1715 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1716 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1717 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1718 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1719 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1720 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1721 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1722 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1723 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1724 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1725 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1726 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1727 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1735
1736 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1737
1738 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1739
1740 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1741
1742 * benchtests/Makefile (bench): Add exp2 and log2.
1743 (LDLIBS-bench-exp2): Add -lm.
1744 (LDLIBS-bench-log2): Likewise.
1745 * benchtests/exp2-inputs: New inputs file.
1746 * benchtests/log2-inputs: New inputs file.
1747 * benchtests/log-inputs: Add new inputs.
1748 * benchtests/tan-inputs: Likewise.
1749
1750 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1751
1752 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1753 definition...
1754 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1755 csloww1, csloww2): ... from here.
1756
1757 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1758 instead of structures.
1759 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1760 (POLYNOMIAL): Likewise.
1761 (TAYLOR_SLOW): Likewise.
1762 (__sin): Likewise.
1763 (__cos): Likewise.
1764 (slow1): Likewise.
1765 (slow2): Likewise.
1766 (sloww): Likewise.
1767 (sloww1); Likewise.
1768 (sloww2): Likewise.
1769 (bsloww1): Likewise.
1770 (bsloww2): Likewise.
1771 (cslow2): Likewise.
1772 (csloww): Likewise.
1773 (csloww1): Likewise.
1774 (csloww2): Likewise.
1775
1776 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1777
1778 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1779 (__malloc_assert, __libc_realloc, __libc_calloc,
1780 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1781 memcpy and memset.
1782 * malloc/hooks.c (realloc_check): Likewise.
1783
1784 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
1785
1786 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1787 * malloc/arena.c: Remove PER_THREAD conditional.
1788 [!PER_THREAD]: Remove code.
1789 (ptmalloc_unlock_all2): Likewise.
1790 (ptmalloc_init): Likewise.
1791 (_int_new_arena): Likewise.
1792 (arena_get2): Likewise.
1793 * malloc/hooks.c (__malloc_get_state): Likewise.
1794 (__malloc_set_state): Likewise.
1795 * malloc/malloc.c: Likewise.
1796 (struct malloc_state): Likewise.
1797 (struct malloc_par): Likewise.
1798 (__libc_realloc): Likewise.
1799 (__libc_mallopt): Likewise.
1800
1801 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1802
1803 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1804
1805 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1806
1807 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1808 macro to a function. Check for zero perturb_byte.
1809 (_int_malloc, _int_free): Remove zero perturb_byte checks.
1810
1811 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
1812
1813 * malloc/malloc.c: (force_reg): Remove.
1814 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1815 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1816 force_reg by atomic_forced_read.
1817 * malloc/arena.c (ptmalloc_init): Likewise.
1818 * malloc/hooks.c (top_check): Likewise.
1819
1820 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1821
1822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1823
1824 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
1825
1826 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1827
1828 2013-12-08 Joseph Myers <joseph@codesourcery.com>
1829
1830 * math/auto-libm-test-in: Add tests of lgamma.
1831 * math/auto-libm-test-out: Regenerated.
1832 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1833 (M_LOG_2_SQRT_PIl): Likewise.
1834 (lgamma_test_data): Use AUTO_TESTS_f_f1.
1835 * math/gen-auto-libm-tests.c (func_calc_method): Add value
1836 mpfr_f_f1.
1837 (func_calc_desc): Add mpfr_f_f1 union field.
1838 (ARGS1): New macro.
1839 (ARGS2): Likewise.
1840 (ARGS3): Likewise.
1841 (ARGS4): Likewise.
1842 (RET1): Likewise.
1843 (RET2): Likewise.
1844 (CALC): Likewise.
1845 (FUNC): Likewise.
1846 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1847 (test_functions): Add lgamma.
1848 (calc_generic_results): Handle mpfr_f_f1.
1849 * sysdeps/i386/fpu/libm-test-ulps: Update.
1850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1851
1852 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1853
1854 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1855 __mpn_add_n for PowerPC64/POWER7.
1856 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1857 __mpn_sub_n for PowerPC64/POWER7.
1858
1859 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1860
1861 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1862 __mpn_addmul_1 for PowerPC64.
1863 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1864 __mpn_submul_1 for PowerPC64.
1865 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1866 for PowerPC64.
1867 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1868 for PowerPC64.
1869
1870 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
1871
1872 [BZ #15089]
1873 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1874
1875 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1876
1877 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1878
1879 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1880
1881 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1882 add multiarch folders.
1883 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1884 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1885 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1886 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1887 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1888 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1889 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1890 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1891 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1892 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1893 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1900
1901 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1902
1903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1904 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1906 New file.
1907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1908 New file.
1909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1910 multiarch __ieee754_hypot for PowerPC32.
1911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1912 New file.
1913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1914 New file.
1915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1916 multiarch __ieee754_hypotf for PowerPC32.
1917
1918 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1919
1920 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1921 long_double_symbol only if __logbl is defined.
1922 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1923 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1924 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1925 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1926 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1927 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1928 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1929 path for implementation.
1930 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1931 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1933 logb, and logbl multiarch implementations for PowerPC32.
1934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1935 file.
1936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1937 file.
1938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
1939 multiarch logb for PowerPC32.
1940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
1941 file.
1942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
1943 file.
1944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
1945 multiarch logbf for PowerPC32.
1946 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
1947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
1948 file.
1949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
1950 multiarch logbl implementation for PowerPC32.
1951
1952 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1953
1954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
1955 and modff multiarch implementations.
1956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
1957 New file.
1958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
1959 New file.
1960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
1961 multiarch modf for PowerPC32.
1962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
1963 New file.
1964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
1965 New file.
1966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
1967 multiarch modff for PowerPC32.
1968
1969 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1970
1971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
1972 and lrintf multiarch implementations.
1973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
1974 New file.
1975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
1976 New file.
1977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
1978 multiarch lrint for PowerPC32.
1979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
1980 file: multiarch lrintf for PowerPC32.
1981
1982 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1983
1984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
1985 and lroundf multiarch implementations.
1986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
1987 New file.
1988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
1989 New file.
1990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
1991 New file.
1992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
1993 multiarch lround for PowerPC32.
1994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
1995 file: multiarch lroundf for PowerPC32.
1996
1997 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1998
1999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2000 copysign and copysignf multiarch implementations.
2001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2002 New file.
2003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2004 New file.
2005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2006 file: multiarch copysign for PowerPC32.
2007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2008 file: multiarch copysignf for PowerPC32.
2009
2010 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2011
2012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2013 and truncf multiarch implementations.
2014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2015 New file.
2016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2017 file.
2018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2019 multiarch trunc for PowerPC32.
2020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2021 New file.
2022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2023 New file.
2024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2025 multiarch truncf for PowerPC32.
2026
2027 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2028
2029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2030 and roundf multiarch implementations.
2031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2032 New file.
2033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2034 file.
2035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2036 multiarch round for PowerPC32.
2037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2038 New file.
2039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2040 New file.
2041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2042 multiarch roundf for PowerPC32.
2043
2044 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2045
2046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2047 and floorf multiarch implementations.
2048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2049 New file.
2050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2051 file.
2052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2053 multiarch floor for PowerPC32.
2054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2055 New file.
2056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2057 New file.
2058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2059 multiarch floorf for PowerPC32.
2060
2061 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2062
2063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2064 and ceilf multiarch implementations.
2065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2066 New file.
2067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2068 file.
2069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2070 multiarch ceil for PowerPC32.
2071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2072 New file.
2073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2074 file.
2075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2076 multiarch ceilf for PowerPC32.
2077
2078 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2079
2080 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2081 is defined.
2082 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2083 FINITEF is defined.
2084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2085 and finitef multiarch implementations.
2086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2087 New file.
2088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2089 file.
2090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2091 multiarch finite for PowerPC32.
2092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2093 New file.
2094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2095 file: multiarch finitef for PowerPC32.
2096
2097 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2098
2099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2100 and isinff multiarch implementations.
2101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2102 file.
2103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2104 file.
2105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2106 multiarch isinf for PowerPC32.
2107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2108 New file.
2109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2110 multiarch isinff for PowerPC32.
2111
2112 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2113
2114 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2115 alias when __isnan is defined.
2116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2117 and isnanf multiarch implementations.
2118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2119 file.
2120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2121 file.
2122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2123 file.
2124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2125 file.
2126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2127 multiarch isnan for PowerPC32.
2128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2129 New file.
2130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2131 New file.
2132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2133 multiarch isnanf for PowerPC32.
2134
2135 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2136
2137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2138 and sqrtf multiarch implementations.
2139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2140 file.
2141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2142 file.
2143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2144 multiarch sqrt for PowerPC32.
2145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2146 file.
2147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2148 file.
2149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2150 multiarch sqrtf for PowerPC32.
2151
2152 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2153
2154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2155 and llroundf multiarch implementations.
2156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2157 New file.
2158 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2159 New file.
2160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2161 New file.
2162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2163 file: multiarch llround for PowerPC32.
2164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2165 file: multiarch llroundf for PowerPC32.
2166
2167 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2168
2169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2170 multiarch PowerPC32 fpu implementations.
2171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2172 New file.
2173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2174 New file.
2175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2176 multiarch llrint for PowerPC32.
2177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2178 New file.
2179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2180 New file.
2181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2182 file.
2183
2184 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2185
2186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2187
2188 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2189
2190 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2191 file.
2192 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2193 file.
2194 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2195 file.
2196 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2197 multiarch wordcopy for PPC32.
2198 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2199 wordcopy objects.
2200 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2201 (__libc_ifunc_impl_list): Likewise.
2202 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2203 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2204 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2205 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2206 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2207 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2208
2209 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2210
2211 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2212 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2213 file.
2214 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2215 file.
2216 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2217 file.
2218 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2219 multiarch wcscpy for PPC32.
2220 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2221 multiarch objects.
2222 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2223 (__libc_ifunc_impl_list): Likewise.
2224 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2225 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2226 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2227 sysdeps/powerpc/power6/wcscpy.c.
2228
2229 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2230
2231 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2232 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2233 file.
2234 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2235 file.
2236 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2237 file.
2238 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2239 multiarch wcsrchr for PPC32.
2240 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2241 multiarch objects.
2242 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2243 (__libc_ifunc_impl_list): Likewise.
2244 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2245 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2246 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2247 sysdeps/powerpc/power6/wcsrchr.c.
2248
2249 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2250
2251 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2252 file.
2253 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2254 file.
2255 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2256 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2257 multiarch wcschr for PPc32.
2258 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2259 multiarch objects.
2260 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2261 (__libc_ifunc_impl_list): Likewise.
2262 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2263 * sysdeps/powerpc/power6/wcschr.c: ... to here.
2264 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2265 sysdeps/powerpc/power6/wcschr.c.
2266
2267 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2268
2269 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2270 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2271 file.
2272 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2273 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2274 file: multiarch strchr for PPC32.
2275 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2276 multiarch objects.
2277 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2278 (__libc_ifunc_impl_list): Likewise.
2279
2280 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2281
2282 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2283 name.
2284 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2285 file.
2286 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2287 file.
2288 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2289 multiarch strchrnul for PPC32.
2290 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2291 multiarch objects.
2292 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2293 (__libc_ifunc_impl_list): Likewise.
2294
2295 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2296
2297 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2298 file.
2299 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2300 multiarch strncasecmp for PPC32.
2301 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2302 file.
2303 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2304 multiarch strncasecmp_l for PPC32.
2305 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2306 strncasecmp multiarch objects.
2307 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2308 (__libc_ifunc_impl_list): Likewise.
2309
2310 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2311
2312 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2313 file.
2314 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2315 multiarch strncasecmp for PPC32.
2316 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2317 New file.
2318 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2319 multiarch strcasecmp_l for PPC32.
2320 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2321 multiarch objects.
2322 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2323 (__libc_ifunc_impl_list): Likewise.
2324
2325 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2326
2327 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2328 file.
2329 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2330 file.
2331 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2332 multiarch strncmp for PPC32.
2333 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2334 multiarch objects.
2335 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2336 (__libc_ifunc_impl_list): Likewise.
2337
2338 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2339
2340 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2341 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2342 file.
2343 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2344 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2345 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2346 multiarch objects.
2347 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2348 (__libc_ifunc_impl_list): Likewise.
2349
2350 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2351
2352 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2353 file.
2354 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2355 file.
2356 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2357 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2358 multiarch objects.
2359 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2360 (__libc_ifunc_impl_list): Likewise.
2361
2362 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2363
2364 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2365 file.
2366 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2367 file.
2368 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2369 multiarch rawmemchr for PPC32.
2370 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2371 multiarch objects.
2372 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2373 (__libc_ifunc_impl_list): Likewise.
2374
2375 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2376
2377 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2378 file.
2379 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2380 file.
2381 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2382 file: memrchr multiarch for PPC32.
2383 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2384 multiarch objects.
2385 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2386 (__libc_ifunc_impl_list): Likewise.
2387
2388 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2389
2390 * string/memchr.c (__memchr): Using macro to redefine symbol name.
2391 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2392 file.
2393 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2394 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2395 multiarch memchr for PPC32.
2396 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2397 multiarch objects.
2398 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2399 (__libc_ifunc_impl_list): Likewise.
2400
2401 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2402
2403 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2404 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2405 file.
2406 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2407 file.
2408 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2409 file: multiarch mempcpy for PPC32.
2410 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2411 multiarch objects.
2412 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2413 (__libc_ifunc_impl_list): Likewise.
2414
2415 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2416
2417 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2418 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2419 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2420 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2421 multiarch bzero for PPC32.
2422 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2423 file.
2424 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2425 file.
2426 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2427 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2428 file: multiarch memset for PPC32.
2429 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2430 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2431 memset multiarch objects.
2432 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2433 (__libc_ifunc_impl_list): Likewise.
2434
2435 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2436
2437 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2438 file.
2439 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2440 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2441 memcmp for PPC32.
2442 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2443 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2444 multiarch objects.
2445 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2446 (__libc_ifunc_impl_list): Likewise.
2447
2448 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2449
2450 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2451 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2452 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2453 file.
2454 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2455 file.
2456 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2457 file.
2458 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2459 multiarch memcpy for PPC32.
2460 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2461 multiarch objects.
2462 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2463 (__libc_ifunc_impl_list): Likewise.
2464
2465 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2466
2467 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2468 support multiarch for POWER/PPC32.
2469 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2470 Likewise.
2471 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2473 Implies file to make multiarch folder appers before the fpu and
2474 default folder for power4 configuration.
2475
2476 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2477
2478 * scripts/bench.pl: Append volatile keyword to type.
2479
2480 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2481
2482 * sysdeps/sh/sotruss-lib.c: New file.
2483 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2484
2485 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2486
2487 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2488
2489 2013-12-05 Joseph Myers <joseph@codesourcery.com>
2490
2491 [BZ #6810]
2492 * math/w_tgamma.c: Include <errno.h>.
2493 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
2494 * math/w_tgammaf.c: Include <errno.h>.
2495 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
2496 * math/w_tgammal.c: Include <errno.h>.
2497 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
2498 * math/auto-libm-test-in: Do not allow missing errno on tgamma
2499 underflow. Add more tgamma tests.
2500 * math/auto-libm-test-out: Regenerated.
2501 * sysdeps/i386/fpu/libm-test-ulps: Update.
2502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2503
2504 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2505 sin, sinh, tan, tanh, tgamma, y0 and y1.
2506 * math/auto-libm-test-out: Regenerated.
2507 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2508 (TEST_COND_x86): Likewise.
2509 (M_E2l): Remove macro.
2510 (M_E3l): Likewise.
2511 (M_2_SQRT_PIl): Likewise.
2512 (M_SQRT_PIl): Likewise.
2513 (M_1_DIV_El): Likewise.
2514 (log_test_data): Use AUTO_TESTS_f_f.
2515 (log10_test_data): Likewise.
2516 (log1p_test_data): Likewise.
2517 (log2_test_data): Likewise.
2518 (sin_test_data): Likewise.
2519 (sin_tonearest_test_data): Likewise.
2520 (sin_towardzero_test_data): Likewise.
2521 (sin_downward_test_data): Likewise.
2522 (sin_upward_test_data): Likewise.
2523 (sinh_test_data): Likewise.
2524 (sinh_tonearest_test_data): Likewise.
2525 (sinh_towardzero_test_data): Likewise.
2526 (sinh_downward_test_data): Likewise.
2527 (sinh_upward_test_data): Likewise.
2528 (tan_test_data): Likewise.
2529 (tan_tonearest_test_data): Likewise.
2530 (tan_towardzero_test_data): Likewise.
2531 (tan_downward_test_data): Likewise.
2532 (tan_upward_test_data): Likewise.
2533 (tanh_test_data): Likewise.
2534 (tgamma_test_data): Likewise.
2535 (y0_test_data): Likewise.
2536 (y1_test_data): Likewise.
2537 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2538 (special_real_inputs): Add pi/4.
2539 * sysdeps/i386/fpu/libm-test-ulps: Update.
2540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2541
2542 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2543
2544 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2545 "longjmp_target" static probes.
2546 (__longjmp): Rename to __longjmp_symbol.
2547 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2548 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2549 on which longjmp to generate.
2550 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2551 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2552 probe.
2553 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2554 (__sigjmp_save): Rename to __sigjmp_save_symbol.
2555 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2556 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2557 and __sigjmp_save_symbol based on which sigsetjmp to generated.
2558 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2560 __longjmp_symbol based on which __longjmp to generate.
2561 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2562 probe.
2563 (setjmp): Rename to setjmp_symbol.
2564 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2565 (_setjmp): Rename to _setjmp_symbol.
2566 (__sigsetjmp): Rename to __sigsetjmp_symbol.
2567 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2568 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2569 which setjmp to generate.
2570 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2571 "longjmp_target" static probes.
2572
2573 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
2574
2575 * benchtests/README: Add note about output arguments.
2576 * benchtests/bench-sincos.c: Remove file.
2577 * benchtests/sincos-inputs: New file.
2578 * scripts/bench.pl: Identify output arguments and define
2579 static variables for them.
2580
2581 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2582
2583 [BZ #15941]
2584 * Makefile (INSTALL): Add install-plain.texi as the primary
2585 dependency.
2586 * manual/install-plain.texi: New file.
2587 * manual/install.texi: Include node directive only for
2588 non-plaintext output.
2589
2590 2013-12-04 Joseph Myers <joseph@codesourcery.com>
2591
2592 * stdlib/longlong.h: Update from GCC.
2593
2594 [BZ #6807]
2595 [BZ #15901]
2596 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2597 * math/w_j0f.c (y0f): Likewise.
2598 * math/w_j0l.c (__y0l): Likewise.
2599 * math/w_j1.c (y1): Likewise.
2600 * math/w_j1f.c (y1f): Likewise.
2601 * math/w_j1l.c (__y1l): Likewise
2602 * math/w_jn.c (yn): Likewise.
2603 * math/w_jnf.c (ynf): Likewise.
2604 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2605 Bessel function pole errors in _POSIX_ mode. Use NAN as return
2606 value for Bessel function domain errors outside _SVID_ mode.
2607 Adjust sign of return value for yn (negative integer, 0).
2608 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2609 by zero in return for negative x and set sign appropriately for
2610 negative n.
2611 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2612 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2613 * math/libm-test.inc (y0_test_data): Add more tests and adjust
2614 expectations in error cases.
2615 (y1_test_data): Likewise.
2616 (yn_test_data): Likewise.
2617 * sysdeps/i386/fpu/libm-test-ulps: Update.
2618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2619
2620 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2621
2622 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2623 "64" to "64-v1". Add "64-v2".
2624 (abi-64-options): Rename to ...
2625 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
2626 (abi-64-condition): Rename to ...
2627 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
2628 (abi-64-ld-soname): Rename to ...
2629 (abi-64-v1-ld-soname): ... this.
2630 (abi-64-v2-options): Define.
2631 (abi-64-v2-condition): Likewise.
2632 (abi-64-v2-ld-soname): Likewise.
2633 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2634 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2638
2639 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2640 Alan Modra <amodra@gmail.com>
2641
2642 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2643 New versions for use with the ELFv2 ABI.
2644 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2645 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2646 declaration.
2647 (struct La_ppc64v2_retval): Likewise.
2648 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2649 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2650 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2651 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2652 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2653 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2654 Do not save or restore CR.
2655 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2656 (_dl_profile_resolve): Do no save or restore CR. Support extended
2657 return values for ELFv2 ABI. Fix location of FPR return registers.
2658 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2659 updated values for _CALL_ELF == 2.
2660 (La_regs, La_retval, int_retval): Likewise.
2661
2662 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2663
2664 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2665 (FRAME_MIN_SIZE_PARM): Likewise.
2666 (FRAME_BACKCHAIN): Likewise.
2667 (FRAME_CR_SAVE): Likewise.
2668 (FRAME_LR_SAVE): Likewise.
2669 (FRAME_TOC_SAVE): Likewise.
2670 (FRAME_PARM_SAVE): Likewise.
2671 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2672 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2673 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2674 (call_mcount_parm_offset): New macro.
2675 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2676 (PROF): Use symbolic stack frame offsets.
2677 (TAIL_CALL_SYSCALL_ERROR): Likewise.
2678 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2679 Redefine in terms of FRAME_MIN_SIZE.
2680 (_dl_runtime_resolve): Use symbolic stack frame offsets.
2681 (_dl_profile_resolve): Likewise. Update comment.
2682 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2683 symbols stack frame offsets.
2684 (__sigsetjmp): Likewise.
2685 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2686 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2687 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2688 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2689
2690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2691 (FRAME_BACKCHAIN): Remove.
2692 (FRAME_CR_SAVE): Likewise.
2693 (FRAME_LR_SAVE): Likewise.
2694 (FRAME_COMPILER_DW): Likewise.
2695 (FRAME_LINKER_DW): Likewise.
2696 (FRAME_TOC_SAVE): Likewise.
2697 (FRAME_PARM_SAVE): Likewise.
2698 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2699 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2700 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2702 (CHECK_SP): Use symbolic stack frame offsets.
2703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2704 zone" instead of caller's parameter save area for temp storage.
2705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2706 Likewise. Also, use symbolic stack frame offsets.
2707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2708 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2709 our own stack frame instead of the caller's.
2710 (__socket): Use symbolic stack frame offsets.
2711
2712 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2713 Alan Modra <amodra@gmail.com>
2714
2715 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2716 Define.
2717 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2718 PPC64_LOCAL_ENTRY_OFFSET): Define.
2719 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2720 New function.
2721 (elf_machine_fixup_plt): Call it.
2722 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
2723 reloc arguments.
2724 (elf_machine_rela): Update call to elf_machine_plt_conflict.
2725 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2726 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2727 r2 before calling target.
2728
2729 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2730 Alan Modra <amodra@gmail.com>
2731
2732 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2733 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2734 versions of macros to support ELFv2 ABI.
2735 (LOCALENTRY): New macro.
2736 (ENTRY, EALIGN): Use it.
2737 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2738 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2739 fall through into ENTRY entry point.
2740 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2741 Only define if _CALL_ELF != 2.
2742
2743 (elf_machine_matches_host): Verify ABI version matches.
2744 (RTLD_START): Use LOCALENTRY.
2745 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2746 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2747 (PLT_ENTRY_WORDS): New macro.
2748 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2749 (elf_machine_runtime_setup): Support ELFv2 ABI.
2750 (elf_machine_fixup_plt): Likewise.
2751 (elf_machine_plt_conflict): Likewise.
2752 (resolve_ifunc): Likewise.
2753 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2754 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2755 Likewise.
2756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2757 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2759 (makecontext): Support ELFv2 ABI.
2760 * elf/elf.h (EF_PPC64_ABI): Define.
2761
2762 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2763
2764 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2765 New assembler macro.
2766 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2767 [ASSEMBLER] (ENTRY): ... but instead here ...
2768 [ASSEMBLER] (EALIGN): ... and here.
2769 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2770 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2771 [!ASSEMBLER] (ENTRY_2): Use it.
2772 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2773 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
2774 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2775 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2776 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2778 Use PPC64_LOAD_FUNCPTR.
2779
2780 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2781
2782 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2783
2784 2013-12-04 Alan Modra <amodra@gmail.com>
2785
2786 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2787 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2788 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2789 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2790
2791 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2792 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2793 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2794 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2795 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2796 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2797
2798 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2799
2800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2801 (__makecontext): Fix incorrect CFI when backtracing out of
2802 context created via makecontext.
2803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2804 (__setcontext): Fix incorrect CFI during switch to new context.
2805 (__novec_setcontext): Likewise.
2806
2807 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2808
2809 [BZ #4772]
2810 * time/strptime_l.c (__strptime_internal): Allow modifiers
2811 in strptime.
2812 * time/tst-strptime.c (day_tests): Add testcase.
2813
2814
2815 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2816
2817 * scripts/bench.pl: Skip over blank lines.
2818
2819 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
2820
2821 [BZ #926]
2822 * manual/time.texi (Calendar Time): Clarify what timezone functions
2823 use.
2824
2825 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2826
2827 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2828
2829 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
2830
2831 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2832 implementation.
2833 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2834 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2835 * debug/memset_chk.c (__memset_chk): Likewise.
2836 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2837 * debug/strncpy_chk.c: Likewise.
2838
2839 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2840
2841 [BZ #15268]
2842 [BZ #15425]
2843 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2844 (__ieee754_exp): For possibly underflowing results, check size of
2845 result and force underflow exception if required.
2846 * math/auto-libm-test-in: Add more tests of exp.
2847 * math/auto-libm-test-out: Regenerated.
2848 * sysdeps/i386/fpu/libm-test-ulps: Update.
2849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2850
2851 [BZ #16283]
2852 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2853 * math/w_exp2f.c (__exp2f): Likewise.
2854 * math/w_exp2l.c (__exp2l): Likewise.
2855 * math/auto-libm-test-in: Do not allow missing errno on exp2
2856 underflow.
2857 * math/auto-libm-test-out: Regenerated.
2858
2859 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
2860
2861 [BZ #16274]
2862 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2863 handle filename validation.
2864 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2865 (do_open): Delete.
2866
2867 2013-12-03 Joseph Myers <joseph@codesourcery.com>
2868
2869 [BZ #6786]
2870 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2871 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2872 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2873 <float.h>.
2874 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2875 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2876 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2877 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2878 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2879 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2880 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2881 * math/auto-libm-test-in: Don't allow missing errno from erfc.
2882 Add more erfc tests.
2883 * math/auto-libm-test-out: Regenerated.
2884 * sysdeps/i386/fpu/libm-test-ulps: Update.
2885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2886
2887 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2888 exp2, expm1, j0 and j1.
2889 * math/auto-libm-test-out: Regenerated.
2890 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2891 (erfc_test_data): Likewise.
2892 (exp_test_data): Likewise.
2893 (exp_tonearest_test_data): Likewise.
2894 (exp_towardzero_test_data): Likewise.
2895 (exp_downward_test_data): Likewise.
2896 (exp_upward_test_data): Likewise.
2897 (exp10_test_data): Likewise.
2898 (exp2_test_data): Likewise.
2899 (expm1_test_data): Likewise.
2900 (j0_test_data): Likewise.
2901 (j1_test_data): Likewise.
2902 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2903 (input_flag_type): Add flag_xfail_rounding.
2904 (input_flags): Add xfail-rounding.
2905 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2906 (output_for_one_input_case): Handle flag_xfail_rounding.
2907 * sysdeps/i386/fpu/libm-test-ulps: Update.
2908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2909
2910 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
2911
2912 [BZ #16289]
2913 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2914 division by 0.
2915
2916 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2917
2918 [BZ #16195]
2919 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2920 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2921 (STAP_PROBE0): New macro.
2922 (STAP_PROBE1): Likewise.
2923 (STAP_PROBE2): Likewise.
2924 (STAP_PROBE3): Likewise.
2925 (STAP_PROBE4): Likewise.
2926
2927 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
2928
2929 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2930
2931 2013-12-02 Steve Ellcey <sellcey@mips.com>
2932
2933 * benchtests/Makefile (bench): Add sqrt.
2934 (LDLIBS-bench-sqrt): New.
2935 * benchtests/sqrt-input: New.
2936
2937 2013-12-02 Pavel Simerda <psimerda@redhat.com>
2938
2939 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
2940 (GAIH_EAI): Likewise.
2941 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
2942 (gaih_inet): Likewise.
2943 (getaddrinfo): Don't use GAIH_EAI.
2944
2945 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
2946 (struct gaih): Remove definition.
2947
2948 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2949
2950 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
2951 Use HERRNOP directly.
2952
2953 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2954
2955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2956
2957 2013-11-30 Joseph Myers <joseph@codesourcery.com>
2958
2959 * math/gen-auto-libm-tests.c (test_functions): Add more
2960 single-argument functions.
2961 (special_fill_pi_2): New function.
2962 (special_fill_minus_pi_2): Likewise.
2963 (special_fill_pi_6): Likewise.
2964 (special_fill_minus_pi_6): Likewise.
2965 (special_fill_pi_3): Likewise.
2966 (special_fill_2pi_3): Likewise.
2967 (special_fill_e): Likewise.
2968 (special_fill_1_e): Likewise.
2969 (special_fill_e_minus_1): Likewise.
2970 (special_real_inputs): Add more special inputs.
2971 (output_for_one_input_case): Do not require ERANGE on underflow to
2972 zero if round-to-nearest result does not underflow to zero, unless
2973 exact results required.
2974 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
2975 atan, atanh, cbrt, cos and cosh.
2976 * math/auto-libm-test-out: Regenerated.
2977 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
2978 (acos_tonearest_test_data): Likewise.
2979 (acos_towardzero_test_data): Likewise.
2980 (acos_downward_test_data): Likewise.
2981 (acos_upward_test_data): Likewise.
2982 (acosh_test_data): Likewise.
2983 (asin_test_data): Likewise.
2984 (asin_tonearest_test_data): Likewise.
2985 (asin_towardzero_test_data): Likewise.
2986 (asin_upward_test_data): Likewise.
2987 (asinh_test_data): Likewise.
2988 (atan_test_data): Likewise.
2989 (atanh_test_data): Likewise.
2990 (cbrt_test_data): Likewise.
2991 (cos_test_data): Likewise.
2992 (cos_tonearest_test_data): Likewise.
2993 (cos_towardzero_test_data): Likewise.
2994 (cos_downward_test_data): Likewise.
2995 (cos_upward_test_data): Likewise.
2996 (cosh_test_data): Likewise.
2997 (cosh_tonearest_test_data): Likewise.
2998 (cosh_towardzero_test_data): Likewise.
2999 (cosh_downward_test_data): Likewise.
3000 (cosh_upward_test_data): Likewise.
3001 * sysdeps/i386/fpu/libm-test-ulps: Update.
3002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3003
3004 2013-11-29 Joseph Myers <joseph@codesourcery.com>
3005
3006 [BZ #6787]
3007 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3008 * math/w_exp10f.c (__exp10f): Likewise.
3009 * math/w_exp10l.c (__exp10l): Likewise.
3010 * math/libm-test.inc (exp10_test_data): Add more tests and expect
3011 errno settings in existing tests.
3012
3013 [BZ #14032]
3014 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3015 precision control set to double precision.
3016 * sysdeps/i386/fpu/w_sqrt.c: New file.
3017 * math/auto-libm-test-in: Add more tests.
3018 * math/auto-libm-test-out: Update.
3019
3020 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3021 (sqrt_test_tonearest): New function.
3022 (sqrt_towardzero_test_data): New variable.
3023 (sqrt_test_towardzero): New function.
3024 (sqrt_downward_test_data): New variable.
3025 (sqrt_test_downward): New function.
3026 (sqrt_upward_test_data): New variable.
3027 (sqrt_test_upward): New function.
3028 (main): Call the new functions.
3029
3030 * math/gen-auto-libm-tests.c: New file.
3031 * math/auto-libm-test-in: Likewise.
3032 * math/auto-libm-test-out: New generated file.
3033 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3034 variables.
3035 (%beautify): Add generated representations of zero.
3036 (top level): Set $auto_input and call parse_auto_input.
3037 (beautify): Remove trailing "f" from hex float constants.
3038 (parse_args): Handle XFAIL_TEST.
3039 (convert_condition): New function.
3040 (or_value): Likewise.
3041 (or_cond_value): Likewise.
3042 (generate_testfile): Handle AUTO_TESTS_* lines.
3043 (parse_auto_input): New function.
3044 * math/libm-test.inc (XFAIL_TEST): New macro.
3045 (ERRNO_UNCHANGED): Update value.
3046 (ERRNO_EDOM): Likewise.
3047 (ERRNO_ERANGE): Likewise.
3048 (IGNORE_RESULT): Likewise.
3049 (TEST_COND_flt_32): New macro.
3050 (TEST_COND_dbl_64): Likewise.
3051 (TEST_COND_ldbl_96_intel): Likewise.
3052 (TEST_COND_ldbl_96_m68k): Likewise.
3053 (TEST_COND_ldbl_128): Likewise.
3054 (TEST_COND_ldbl_128ibm): Likewise.
3055 (TEST_COND_long32): Likewise.
3056 (TEST_COND_long64): Likewise.
3057 (TEST_COND_before_rounding): Likewise.
3058 (TEST_COND_after_rounding): Likewise.
3059 (enable_test): Handle XFAIL_TEST flag.
3060 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3061 with finite results.
3062 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3063 auto-libm-test-out.
3064
3065 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3066 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3067
3068 [BZ #16214]
3069 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3070 __tls_get_addr_internal instead of __tls_get_offset in order to
3071 avoid GOT pointer dependency. Make rtld export
3072 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3073 __tls_get_addr since we are a __tls_get_offset platform.
3074 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3075 GOT pointer being set up before.
3076 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3077
3078 2013-11-28 Joseph Myers <joseph@codesourcery.com>
3079
3080 * manual/math.texi (Errors in Math Functions): Document accuracy
3081 goals.
3082
3083 [BZ #15004]
3084 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3085 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3086 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3087 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3088 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3089 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3090 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3091 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3092 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3093 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3094 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3095 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3096 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3097 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3098 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3099 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3100
3101 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3102 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3103 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3104 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3105 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3106 Likewise.
3107 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3108 Likewise.
3109 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3110 Likewise.
3111 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3112 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3113 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3114 atomic-feupdateenv and flt-rounds.
3115 * sysdeps/powerpc/nofpu/Versions (libc): Add
3116 __atomic_feholdexcept, __atomic_feclearexcept,
3117 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3118 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3119 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3120 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3121 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3122 here.
3123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3124 Update.
3125
3126 * manual/arith.texi (FP Exceptions): Document that exceptions may
3127 not be raised when matherr is used.
3128 (Math Error Reporting): Document overflow in directed rounding
3129 modes. Document that errno may not be set when finite values are
3130 returned on overflow. Document intent to set errno on underflow
3131 only for underflow to zero.
3132
3133 [BZ #16271]
3134 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3135 round-to-nearest then adjust result for other rounding modes.
3136 * include/fenv.h (fegetround): Use libm_hidden_proto.
3137 * math/fegetround.c (fegetround): Use libm_hidden_def.
3138 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3139 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3140 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3141 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3142 Likewise.
3143 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3144 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3145 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3146 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3147
3148 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3149
3150 [BZ #16077]
3151 * nss/Versions (libnss_files): Add
3152 _nss_files_gethostbyname3_r.
3153 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3154 New function.
3155 (HOST_DB_LOOKUP): Remove macro.
3156 (_nss_files_gethostbyname_r): Implement function without the
3157 HOST_DB_LOOKUP macro.
3158 (_nss_files_gethostbyname2_r): Likewise.
3159
3160 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
3161
3162 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3163
3164 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
3165
3166 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3167 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3168 warning.
3169
3170 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3171
3172 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3173 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3174 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3175 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3176 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3177 __fe_nomask_env_priv and attribute_hidden.
3178 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3179 (libc_feupdateenv_test_ppc): Likewise.
3180 (libc_feresetround_ppc): Likewise.
3181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3182 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3183 compat_symbol macro.
3184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3185 (__fe_nomask_env): Likewise.
3186 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3187
3188 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3189
3190 * string/Makefile: Remove ifunc tests.
3191 * string/test-string.h: Define TEST_IFUNC.
3192 * string/test-bcopy-ifunc.c: Remove.
3193 * string/test-bzero-ifunc.c: Likewise.
3194 * string/test-memccpy-ifunc.c: Likewise.
3195 * string/test-memchr-ifunc.c: Likewise.
3196 * string/test-memcmp-ifunc.c: Likewise.
3197 * string/test-memcpy-ifunc.c: Likewise.
3198 * string/test-memmem-ifunc.c: Likewise.
3199 * string/test-memmove-ifunc.c: Likewise.
3200 * string/test-mempcpy-ifunc.c: Likewise.
3201 * string/test-memrchr-ifunc.c: Likewise.
3202 * string/test-memset-ifunc.c: Likewise.
3203 * string/test-rawmemchr-ifunc.c: Likewise.
3204 * string/test-stpcpy-ifunc.c: Likewise.
3205 * string/test-stpncpy-ifunc.c: Likewise.
3206 * string/test-strcasecmp-ifunc.c: Likewise.
3207 * string/test-strcasestr-ifunc.c: Likewise.
3208 * string/test-strcat-ifunc.c: Likewise.
3209 * string/test-strchr-ifunc.c: Likewise.
3210 * string/test-strchrnul-ifunc.c: Likewise.
3211 * string/test-strcmp-ifunc.c: Likewise.
3212 * string/test-strcpy-ifunc.c: Likewise.
3213 * string/test-strcspn-ifunc.c: Likewise.
3214 * string/test-strlen-ifunc.c: Likewise.
3215 * string/test-strncasecmp-ifunc.c: Likewise.
3216 * string/test-strncat-ifunc.c: Likewise.
3217 * string/test-strncmp-ifunc.c: Likewise.
3218 * string/test-strncpy-ifunc.c: Likewise.
3219 * string/test-strnlen-ifunc.c: Likewise.
3220 * string/test-strpbrk-ifunc.c: Likewise.
3221 * string/test-strrchr-ifunc.c: Likewise.
3222 * string/test-strspn-ifunc.c: Likewise.
3223 * string/test-strstr-ifunc.c: Likewise.
3224
3225 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3226
3227 * benchtests/Makefile: Remove ifunc tests.
3228 * benchtests/bench-string.h: Define TEST_IFUNC.
3229 * benchtests/bench-bcopy-ifunc.c: Remove.
3230 * benchtests/bench-bzero-ifunc.c: Likewise.
3231 * benchtests/bench-memccpy-ifunc.c: Likewise.
3232 * benchtests/bench-memchr-ifunc.c: Likewise.
3233 * benchtests/bench-memcmp-ifunc.c: Likewise.
3234 * benchtests/bench-memcpy-ifunc.c: Likewise.
3235 * benchtests/bench-memmem-ifunc.c: Likewise.
3236 * benchtests/bench-memmove-ifunc.c: Likewise.
3237 * benchtests/bench-mempcpy-ifunc.c: Likewise.
3238 * benchtests/bench-memrchr-ifunc.c: Likewise.
3239 * benchtests/bench-memset-ifunc.c: Likewise.
3240 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3241 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3242 * benchtests/bench-stpcpy-ifunc.c: Likewise.
3243 * benchtests/bench-stpncpy-ifunc.c: Likewise.
3244 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3245 * benchtests/bench-strcasestr-ifunc.c: Likewise.
3246 * benchtests/bench-strcat-ifunc.c: Likewise.
3247 * benchtests/bench-strchr-ifunc.c: Likewise.
3248 * benchtests/bench-strchrnul-ifunc.c: Likewise.
3249 * benchtests/bench-strcmp-ifunc.c: Likewise.
3250 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3251 * benchtests/bench-strcpy-ifunc.c: Likewise.
3252 * benchtests/bench-strcspn-ifunc.c: Likewise.
3253 * benchtests/bench-strlen-ifunc.c: Likewise.
3254 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3255 * benchtests/bench-strncat-ifunc.c: Likewise.
3256 * benchtests/bench-strncmp-ifunc.c: Likewise.
3257 * benchtests/bench-strncpy-ifunc.c: Likewise.
3258 * benchtests/bench-strnlen-ifunc.c: Likewise.
3259 * benchtests/bench-strpbrk-ifunc.c: Likewise.
3260 * benchtests/bench-strrchr-ifunc.c: Likewise.
3261 * benchtests/bench-strsep-ifunc.c: Likewise.
3262 * benchtests/bench-strspn-ifunc.c: Likewise.
3263 * benchtests/bench-strstr-ifunc.c: Likewise.
3264
3265 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3266
3267 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3268
3269 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
3270
3271 * resolv/netdb.h: Use __glibc_reserved instead __unused.
3272 * rt/aio.h: Likewise.
3273 * sysdeps/gnu/bits/utmp.h: Likewise.
3274 * sysdeps/gnu/bits/utmpx.h: Likewise.
3275 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3276 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3277 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3278 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3279 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3280 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3281 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3282 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3283 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3284 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3285 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3286 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3287 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3289 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3290 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3291 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3292 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3293 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3294 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3295 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3296 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3297 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3298 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3299 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3300 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3301 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3302 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3303 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3304 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3305 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3306 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3307 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3308 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3309 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3310 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3311 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3312 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3313 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3314 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3315 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3316 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3317
3318 2013-11-25 Carlos O'Donell <carlos@redhat.com>
3319
3320 [BZ #16245]
3321 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3322 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3323
3324 2013-11-25 Joseph Myers <joseph@codesourcery.com>
3325
3326 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3327 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3328 Likewise.
3329
3330 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3331
3332 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3333 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3334 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3335 (__fesetround): Remove define.
3336 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3337 rounding and exceptions handling.
3338 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3339 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3340 (__fe_nomask_env): Likewise.
3341 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3342 __fegetround instead of fegetround.
3343 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3344 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3345
3346 2013-11-21 Roland McGrath <roland@hack.frob.com>
3347
3348 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3349 it's there.
3350
3351 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3352
3353 2013-11-21 Meador Inge <meadori@codesourcery.com>
3354
3355 [BZ #11157]
3356 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3357 (encrypt_r): Likewise.
3358 * malloc/obstack.h (obstack_free): Likewise.
3359 * posix/unistd.h (encrypt): Likewise.
3360
3361 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
3362
3363 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3364 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3365 DL_CALL_DT_FINI() that call the functions directly.
3366 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3367 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3368 * elf/dl-fini.c: Likewise.
3369
3370 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
3371
3372 * malloc/hooks.c (memalign_check): Add alignment rounding.
3373 * malloc/malloc.c (_mid_memalign): New function.
3374 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3375 Implement by calling _mid_memalign.
3376 * manual/probes.texi (Memory Allocation Probes): Remove
3377 memory_valloc_retry and memory_pvalloc_retry.
3378
3379 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3380
3381 * locale/programs/locarchive.c (open_archive): Add const
3382 qualifier to ARCHIVEFNAME and copy default fname to
3383 DEFAULT_FNAME.
3384
3385 [BZ #15601]
3386 * libio/tst-widetext.input: Rename Oriya to Odia.
3387 * locale/iso-639.def: Likewise.
3388
3389 * manual/probes.texi (Mathematical Function Probes): Add
3390 documentation for sin, cos, asin and acos probes.
3391 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3392 (__sin32): Add slowasin probe.
3393 (__cos32): Add slowacos probe.
3394 (__mpsin): Add slowsin probe.
3395 (__mpcos): Add slowcos probe.
3396
3397 2013-11-19 Joseph Myers <joseph@codesourcery.com>
3398
3399 [BZ #15483]
3400 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3401 thread-local __sim_exceptions_thread and global
3402 __sim_exceptions_global.
3403 (__sim_disabled_exceptions): Change to thread-local
3404 __sim_disabled_exceptions_thread and global
3405 __sim_disabled_exceptions_global.
3406 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3407 and global __sim_round_mode_global.
3408 (__simulate_exceptions): Use thread-local floating-point state and
3409 set global state from it as needed.
3410 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3411 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3412 __sim_round_mode_thread.
3413 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3414 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3415 and global __sim_exceptions_global.
3416 (__sim_disabled_exceptions): Change to thread-local
3417 __sim_disabled_exceptions_thread and global
3418 __sim_disabled_exceptions_global.
3419 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3420 and global __sim_round_mode_global.
3421 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3422 (SIM_SET_GLOBAL): Likewise.
3423 * sysdeps/powerpc/soft-fp/sfp-machine.h
3424 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3425 __sim_round_mode_thread.
3426 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3427 __sim_disabled_exceptions_thread.
3428 (__sim_exceptions): Change to __sim_exceptions_thread.
3429 (__sim_disabled_exceptions): Change to
3430 __sim_disabled_exceptions_thread.
3431 (__sim_round_mode): Change to __sim_round_mode_thread.
3432 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3433 thread-local floating-point state and set global state from it as
3434 needed.
3435 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3436 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3437 (__sim_disabled_exceptions): Remove extern declaration.
3438 (feenableexcept): Use thread-local floating-point state and set
3439 global state from it as needed.
3440 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3441 extern declaration.
3442 (__sim_disabled_exceptions): Likewise.
3443 (__sim_round_mode): Likewise.
3444 (__fegetenv): Use thread-local floating-point state.
3445 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3446 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3447 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3448 floating-point state and set global state from it as needed.
3449 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3450 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3451 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3452 Likewise.
3453 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3454 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3455 Likewise.
3456 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3457 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3458 Use __sim_round_mode_thread.
3459 * math/test-fenv-tls.c: New file.
3460 * math/Makefile (tests): Add test-fenv-tls.
3461 ($(objpfx)test-fenv-tls): Depend on
3462 $(common-objpfx)nptl/libpthread.so.
3463
3464 2013-11-19 Andreas Schwab <schwab@suse.de>
3465
3466 * locale/programs/locale.c (show_info): Decode wordarray elements.
3467 * locale/categories.def (LC_MONETARY): Add element for
3468 _NL_MONETARY_CRNCYSTR.
3469 * locale/C-monetary.c (conversion_rate): New variable.
3470 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3471 element.
3472
3473 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
3474
3475 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3476 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3477
3478 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
3479
3480 * elf/Makefile (tst-auxv): New test.
3481 * elf/tst-auxv.c: New
3482 * elf/rtld.c (dl_main): Adjust AT_EXECFN
3483
3484 2013-11-18 Joseph Myers <joseph@codesourcery.com>
3485
3486 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3487 (hidden_proto): Caller changed.
3488 (hidden_tls_proto): New macro.
3489 (libc_hidden_tls_proto): Likewise.
3490 (rtld_hidden_tls_proto): Likewise.
3491 (libm_hidden_tls_proto): Likewise.
3492 (libresolv_hidden_tls_proto): Likewise.
3493 (librt_hidden_tls_proto): Likewise.
3494 (libdl_hidden_tls_proto): Likewise.
3495 (libnss_files_hidden_tls_proto): Likewise.
3496 (libnsl_hidden_tls_proto): Likewise.
3497 (libnss_nisplus_hidden_tls_proto): Likewise.
3498 (libutil_hidden_tls_proto): Likewise.
3499
3500 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
3501
3502 [BZ #10253]
3503 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3504 (decompose_rpath): Defer expansion to fillin_rpath.
3505 (_dl_init_paths): Pass linkmap to fillin_rpath.
3506
3507 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3508
3509 * benchtests/Makefile: Add strsep.
3510 * benchtests/bench-strsep.c: New file: strsep benchtest.
3511 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3512
3513 2013-11-18 Andreas Schwab <schwab@suse.de>
3514
3515 * locale/programs/locale.c (show_info) [case byte]: Check for
3516 '\377' instead of '\177'.
3517 * locale/C-monetary.c (not_available): Always use "\377".
3518 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3519 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
3520 detect unavailable sign_posn locale elements.
3521 * locale/localeconv.c (__localeconv): For grouping and
3522 mon_grouping handle "\177" and "\377" like no grouping.
3523 (INT_ELEM): New macro. Use it to set all numeric members.
3524 * locale/programs/ld-monetary.c (monetary_read)
3525 <tok_mon_grouping>: Normalize single -1 to the empty string.
3526 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3527 Likewise.
3528
3529 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3530
3531 [BZ #16055]
3532 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3533 when we match (nil).
3534 * stdio-common/tst-sscanf.c (struct test): Add testcase.
3535
3536 2013-11-16 Joseph Myers <joseph@codesourcery.com>
3537
3538 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3539 (NO_TEST_INLINE): Update value.
3540 (ERRNO_UNCHANGED): Likewise.
3541 (ERRNO_EDOM): Likewise.
3542 (ERRNO_ERANGE): Likewise.
3543 (IGNORE_RESULT): Likewise.
3544 (check_float_internal): Check signs of NaN results if
3545 TEST_NAN_SIGN used.
3546 (check_complex): Pass TEST_NAN_SIGN flag through to second
3547 check_float_internal call.
3548 (copysign_test_data): Add tests with quiet NaNs as second
3549 argument. Use TEST_NAN_SIGN.
3550 (fabs_test_data): Add test of negative quiet NaN argument. Use
3551 TEST_NAN_SIGN.
3552 (signbit_test_data): Add tests of quiet NaN argument.
3553 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3554
3555 * math/gen-libm-test.pl (show_exceptions): Take extra argument
3556 $ignore_result.
3557 (parse_args): Handle function results specified as IGNORE.
3558 * math/libm-test.inc (IGNORE_RESULT): New macro.
3559 (check_float_internal): Do not check numerical result if flag
3560 IGNORE_RESULT set.
3561 (check_complex): Pass through IGNORE_RESULT to second
3562 check_float_internal call.
3563 (check_int): Do not check numerical result if flag IGNORE_RESULT
3564 set.
3565 (check_long): Likewise.
3566 (check_bool): Likewise.
3567 (check_longlong): Likewise.
3568 (lrint_test_data): Add tests of infinite and NaN arguments.
3569 (lrint_tonearest_test_data): Likewise.
3570 (lrint_towardzero_test_data): Likewise.
3571 (lrint_downward_test_data): Likewise.
3572 (lrint_upward_test_data): Likewise.
3573 (llrint_test_data): Likewise.
3574 (llrint_tonearest_test_data): Likewise.
3575 (llrint_towardzero_test_data): Likewise.
3576 (llrint_downward_test_data): Likewise.
3577 (llrint_upward_test_data): Likewise.
3578 (lround_test_data): Likewise.
3579 (llround_test_data): Likewise.
3580
3581 * math/libm-test.inc (NO_TEST_INLINE): New macro.
3582 (ERRNO_UNCHANGED): Update value.
3583 (ERRNO_EDOM): Likewise.
3584 (ERRNO_ERANGE): Likewise.
3585 (NO_TEST_INLINE_FLOAT): New macro.
3586 (NO_TEST_INLINE_DOUBLE): Likewise.
3587 (enable_test): New function.
3588 (RUN_TEST_f_f): Check enable_test before running test.
3589 (RUN_TEST_2_f): Likewise.
3590 (RUN_TEST_fff_f): Likewise.
3591 (RUN_TEST_c_f): Likewise.
3592 (RUN_TEST_f_f1): Likewise.
3593 (RUN_TEST_fF_f1): Likewise.
3594 (RUN_TEST_fI_f1): Likewise.
3595 (RUN_TEST_ffI_f1): Likewise.
3596 (RUN_TEST_c_c): Likewise.
3597 (RUN_TEST_cc_c): Likewise.
3598 (RUN_TEST_f_i): Likewise.
3599 (RUN_TEST_f_i_tg): Likewise.
3600 (RUN_TEST_ff_i_tg): Likewise.
3601 (RUN_TEST_f_b): Likewise.
3602 (RUN_TEST_f_b_tg): Likewise.
3603 (RUN_TEST_f_l): Likewise.
3604 (RUN_TEST_f_L): Likewise.
3605 (RUN_TEST_fFF_11): Likewise.
3606 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3607 conditionals.
3608 (cosh_test_data): Likewise.
3609 (exp_test_data): Likewise.
3610 (expm1_test_data): Likewise.
3611 (hypot_test_data): Likewise.
3612 (pow_test_data): Likewise.
3613 (sinh_test_data): Likewise.
3614 (tanh_test_data): Likewise.
3615 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3616 flags argument.
3617
3618 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3619 tests with quiet NaN input and output.
3620 (acosh_test_data): Likewise.
3621 (asin_test_data): Likewise.
3622 (asinh_test_data): Likewise.
3623 (atan_test_data): Likewise.
3624 (atanh_test_data): Likewise.
3625 (atan2_test_data): Likewise.
3626 (cbrt_test_data): Likewise.
3627 (cos_test_data): Likewise.
3628 (cosh_test_data): Likewise.
3629 (erf_test_data): Likewise.
3630 (erfc_test_data): Likewise.
3631 (exp_test_data): Likewise.
3632 (exp10_test_data): Likewise.
3633 (exp2_test_data): Likewise.
3634 (expm1_test_data): Likewise.
3635 (hypot_test_data): Likewise.
3636 (j0_test_data): Likewise.
3637 (j1_test_data): Likewise.
3638 (jn_test_data): Likewise.
3639 (lgamma_test_data): Likewise.
3640 (log_test_data): Likewise.
3641 (log10_test_data): Likewise.
3642 (log1p_test_data): Likewise.
3643 (log2_test_data): Likewise.
3644 (pow_test_data): Likewise.
3645 (scalb_test_data): Likewise.
3646 (sin_test_data): Likewise.
3647 (sincos_test_data): Likewise.
3648 (sinh_test_data): Likewise.
3649 (tan_test_data): Likewise.
3650 (tanh_test_data): Likewise.
3651 (tgamma_test_data): Likewise.
3652 (y0_test_data): Likewise.
3653 (y1_test_data): Likewise.
3654 (yn_test_data): Likewise.
3655
3656 [BZ #16167]
3657 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3658 argument being NaN and avoid computations with second argument in
3659 that case.
3660 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3661 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3662 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3663
3664 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
3665
3666 * locale/iso-639.def: Add Chitwani Tharu (the).
3667
3668 2013-11-14 Andreas Schwab <schwab@suse.de>
3669
3670 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3671 word instead of empty string.
3672
3673 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3674
3675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3676 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3678 (__fe_nomask_env): Likewise.
3679
3680 2013-11-13 Steve Ellcey <sellcey@mips.com>
3681
3682 * benchtests/bench-timing.h: Include time.h.
3683
3684 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
3685
3686 [BZ #15997]
3687 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3688 to 3.4.0 for x32.
3689 * sysdeps/unix/sysv/linux/configure: Regenerated.
3690
3691 2013-11-13 Joseph Myers <joseph@codesourcery.com>
3692
3693 [BZ #16151]
3694 * stdlib/strtod_l.c (round_and_return): Do not consider
3695 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3696 exponent one less than half the least subnormal exponent.
3697 * stdlib/test-strtod-round-data: Add more tests.
3698 * stdlib/tst-strtod-round.c (tests): Regenerated.
3699
3700 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3701
3702 [BZ #14143]
3703 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3704 (__fe_mask_env): Likewise.
3705 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3706 libm_hidden_proto and add function prototype.
3707 (__fe_mask_env): Add function prototype.
3708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3709 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3711 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3713 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3714
3715 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3716
3717 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3718 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3719
3720 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3721
3722 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3723 of htab_find_slot().
3724
3725 2013-11-11 David S. Miller <davem@davemloft.net>
3726
3727 [BZ #16150]
3728 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3729 symbol in the non-vis3 case in static builds.
3730 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3731 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3732 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3733 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3734
3735 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3736
3737 [BZ #387]
3738 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3739 it is empty.
3740
3741 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3742
3743 * benchtests/Makefile: Add bench-strtod.
3744 * benchtests/bench-strtod.c: New file: strtod benchtest
3745
3746 2013-11-11 Andreas Schwab <schwab@suse.de>
3747
3748 [BZ #16153]
3749 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3750 terminating NUL in key length.
3751
3752 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3753
3754 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3755 Add artificial ODP entry for vDSO symbol for PPC64.
3756 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3757 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3758
3759 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
3760
3761 [BZ #15374]
3762 * nss/getent.c (services_keys): Recognize services starting with digit.
3763
3764 2013-11-06 David S. Miller <davem@davemloft.net>
3765
3766 [BZ #15985]
3767 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3768 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3769
3770 2013-11-06 Will Newton <will.newton@linaro.org>
3771
3772 * manual/memory.texi (Malloc Examples): Remove register
3773 keyword from examples.
3774
3775 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
3776
3777 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3778
3779 2013-11-04 Joseph Myers <joseph@codesourcery.com>
3780
3781 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3782 depending on [__GCC_IEC_559 > 0].
3783 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3784 depending on [__GCC_IEC_559_COMPLEX > 0].
3785
3786 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
3787
3788 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3789 to iso-639.def.
3790
3791 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
3792
3793 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3794
3795 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
3796
3797 [BZ #16112]
3798 * malloc/malloc (malloc_info): Do not handle first bin as
3799 special case.
3800
3801 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
3802
3803 * locale/iso-639.def: Add Central Nahuatl (nhn).
3804
3805 2013-11-01 Bruno Haible <bruno@clisp.org>
3806
3807 [BZ #7003]
3808 * manual/math.texi (BSD Random): Specify range upper bound as
3809 in POSIX.
3810
3811 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
3812
3813 * locale/iso-639.def: Add Meadow Mari (mhr).
3814
3815 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
3816
3817 [BZ #14752], [BZ #15763]
3818 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3819 Validate name.
3820 * rt/tst_shm.c: Add test for escaping directory.
3821
3822 2013-10-31 Andreas Schwab <schwab@suse.de>
3823
3824 [BZ #15917]
3825 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3826 followed by 'x' as part of digit sequence.
3827 * stdio-common/tst-sscanf.c (double_tests2): New tests.
3828
3829 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3830
3831 [BZ #16037]
3832 * configure.ac: allow GNU Make 4.0 and greater.
3833 * configure: Regenerated.
3834
3835 2013-10-30 Will Newton <will.newton@linaro.org>
3836
3837 [BZ #16038]
3838 * malloc/hooks.c (memalign_check): Limit alignment to the
3839 maximum representable power of two.
3840 * malloc/malloc.c (__libc_memalign): Likewise.
3841 * malloc/tst-memalign.c (do_test): Add test for very
3842 large alignment values.
3843 * malloc/tst-posix_memalign.c (do_test): Likewise.
3844
3845 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3846
3847 [BZ #11087]
3848 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3849 (munmap_chunk): Likewise.
3850 (mremap_chunk): Likewise.
3851
3852 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
3853
3854 [BZ #15799]
3855 * stdlib/div.c (div): Remove obsolete code.
3856 * stdlib/ldiv.c (ldiv): Likewise.
3857 * stdlib/lldiv.c (lldiv): Likewise.
3858
3859 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3860
3861 [BZ #16071]
3862 * nss/nss_files/files-XXX.c (get_contents_ret): New
3863 enumerator.
3864 (get_contents): New function.
3865 (internal_getent): Use it. Expand size of LINEBUFLEN.
3866
3867 2013-10-30 Mike Frysinger <vapier@gentoo.org>
3868
3869 * configure.in: Moved to ...
3870 * configure.ac: ... here. Change reference to configure.in
3871 to configure.ac.
3872 * sysdeps/arm/preconfigure.ac: ... here.
3873 configure.in to configure.ac.
3874 * sysdeps/gnu/configure.in: Moved to ...
3875 * sysdeps/gnu/configure.ac: ... here.
3876 * sysdeps/i386/configure.in: Moved to ...
3877 * sysdeps/i386/configure.ac: ... here.
3878 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3879 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3880 * sysdeps/mach/configure.in: Moved to ...
3881 * sysdeps/mach/configure.ac: ... here.
3882 * sysdeps/mach/hurd/configure.in: Moved to ...
3883 * sysdeps/mach/hurd/configure.ac: ... here.
3884 * sysdeps/powerpc/configure.in: Moved to ...
3885 * sysdeps/powerpc/configure.ac: ... here.
3886 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3887 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3888 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3889 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3890 * sysdeps/s390/s390-32/configure.in: Moved to ...
3891 * sysdeps/s390/s390-32/configure.ac: ... here.
3892 * sysdeps/s390/s390-64/configure.in: Moved to ...
3893 * sysdeps/s390/s390-64/configure.ac: ... here.
3894 * sysdeps/sh/configure.in: Moved to ...
3895 * sysdeps/sh/configure.ac: ... here.
3896 * sysdeps/sparc/configure.in: Moved to ...
3897 * sysdeps/sparc/configure.ac: ... here.
3898 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3899 * sysdeps/unix/sysv/linux/configure.ac: ... here.
3900 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3901 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3902 * sysdeps/x86_64/configure.in: Moved to ...
3903 * sysdeps/x86_64/configure.ac: ... here.
3904 * sysdeps/x86_64/preconfigure.in: Moved to ...
3905 * sysdeps/x86_64/preconfigure.ac: ... here.
3906 * aclocal.m4: Change reference to configure.in to configure.ac.
3907 * config.h.in: Likewise.
3908 * manual/install.texi: Likewise.
3909 * manual/maint.texi: Likewise.
3910 * Makefile: Likewise.
3911 * malloc/Makefile: Likewise.
3912 * nscd/Makefile: Likewise.
3913 * Makeconfig: Change reference to configure.in and
3914 preconfigure.in to configure.ac and preconfigure.ac
3915 respectively.
3916 * INSTALL: Regenerated.
3917 * configure: Likewise.
3918 * sysdeps/gnu/configure: Likewise.
3919 * sysdeps/i386/configure: Likewise.
3920 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3921 * sysdeps/mach/configure: Likewise.
3922 * sysdeps/mach/hurd/configure: Likewise.
3923 * sysdeps/powerpc/configure: Likewise.
3924 * sysdeps/powerpc/powerpc32/configure: Likewise.
3925 * sysdeps/powerpc/powerpc64/configure: Likewise.
3926 * sysdeps/s390/s390-32/configure: Likewise.
3927 * sysdeps/s390/s390-64/configure: Likewise.
3928 * sysdeps/sh/configure: Likewise.
3929 * sysdeps/sparc/configure: Likewise.
3930 * sysdeps/unix/sysv/linux/configure: Likewise.
3931 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3932 * sysdeps/x86_64/configure: Likewise.
3933 * sysdeps/x86_64/preconfigure: Likewise.
3934
3935 2013-10-29 Andreas Schwab <schwab@suse.de>
3936
3937 * stdio-common/Makefile (tst-swscanf-ENV): Define.
3938
3939 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3940
3941 * benchtests/pow-inputs: Add new inputs.
3942
3943 * benchtests/exp-inputs: Add new inputs.
3944
3945 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
3946 conditional check for return value.
3947 (__cos32): Likewise.
3948
3949 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3950
3951 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
3952 to provide a boost for large inputs with word alignment.
3953 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
3954 implementation based on optimized PPC64 strcpy.
3955 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
3956 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
3957 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
3958 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
3959
3960 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3961
3962 [BZ #2801]
3963 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
3964
3965 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3966
3967 [BZ #14876]
3968 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
3969 * time/tst-strptime.c (day_tests): Add testcase.
3970
3971 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
3972
3973 [BZ #14029]
3974 * manual/pattern.texi: Acknowledge that fnmatch can fail.
3975
3976 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
3977
3978 [BZ #16074]
3979 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
3980 MAP_FAILED on error.
3981
3982 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3983
3984 [BZ #16072]
3985 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
3986 heap for large requests.
3987
3988 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
3989
3990 [BZ #9954]
3991 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
3992 result if the result has no associated interface.
3993 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
3994 interface for all 127.X.Y.Z addresses.
3995
3996 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
3997
3998 * locale/iso-639.def: Add Ligurian (lij)
3999
4000 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
4001
4002 [BZ #15825]
4003 * sunrpc/rpc_main.c: Document rpcgen -5.
4004
4005 2013-10-19 Michael Stahl <mstahl@redhat.com>
4006
4007 * elf/rtld.c (do_preload): Print the reason why preloading failed.
4008
4009 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
4010
4011 [BZ #10278]
4012 * posix/glob.c: Match only directories when trailing slash is present.
4013 * posix/tst-gnuglob.c (my_opendir): Do not open files.
4014 (main): Add testcase.
4015
4016 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
4017
4018 [BZ #15670]
4019 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4020
4021 2013-10-18 Carlos O'Donell <carlos@redhat.com>
4022
4023 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4024 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4025 AUTH_DES and cindex for FIPS 140-2.
4026 (DES Encryption): Add cindex FIPS 46-3.
4027
4028 * locale/locarchive.h (struct locarhandle): Add fname.
4029 * locale/programs/localedef.c (main): Pass ARGV[remaining]
4030 if an optional argument was specified to --list-archive,
4031 otherwise NULL.
4032 * locale/programs/locarchive.c (show_archive_content): Take new
4033 argument fname and pass it via ah.fname to open_archive.
4034 * locale/programs/localedef.h: Update decl.
4035 (open_archive): If AH->fname is non-null, open that file
4036 rather than the default file name, and don't ignore ENOENT.
4037 (create_archive): Set AH.fname to NULL.
4038 (delete_locales_from_archive): Likewise.
4039 (add_locales_to_archive): Likewise.
4040 * locale/programs/locfile.c (write_all_categories): Likewise.
4041
4042 2013-10-18 Joseph Myers <joseph@codesourcery.com>
4043 Aldy Hernandez <aldyh@redhat.com>
4044
4045 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4046 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4047 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4048 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4049 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4050 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4051 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4052 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4053 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4054 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4055 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4056 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4057 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4058 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4059 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4060 Likewise.
4061 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4062 Likewise.
4063 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4064 Likewise.
4065 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4066 Likewise.
4067 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4068 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4069 Likewise.
4070 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4071 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4072 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4073 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4074 Likewise.
4075 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4076 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4077 * sysdeps/powerpc/preconfigure: Likewise.
4078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4079 Likewise.
4080 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4081 Replace contents of file by #include of <fenv_libc.h>.
4082 * sysdeps/powerpc/soft-fp/sfp-machine.h
4083 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4084 and <sys/prctl.h>.
4085 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4086 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4087 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4088 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4089 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4090 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4091 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4092 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4093 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4094 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4095 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4096 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4098 Allow copysignl PLT reference to be missing.
4099
4100 2013-10-18 Richard Sandiford <richard@codesourcery.com>
4101 Joseph Myers <joseph@codesourcery.com
4102
4103 [BZ #15948]
4104 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4105 single character.
4106 (add_to_tablewc): Assert sequence of wide characters is nonempty.
4107
4108 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
4109
4110 * elf/tst-tls-dlinfo.c: Don't include tls.h.
4111 * elf/tst-tls1.c: Likewise.
4112 * elf/tst-tls10.h: Likewise.
4113 * elf/tst-tls14.c: Likewise.
4114 * elf/tst-tls2.c: Likewise.
4115 * elf/tst-tls3.c: Likewise.
4116 * elf/tst-tls4.c: Likewise.
4117 * elf/tst-tls5.c: Likewise.
4118 * elf/tst-tls6.c: Likewise.
4119 * elf/tst-tls7.c: Likewise.
4120 * elf/tst-tls8.c: Likewise.
4121 * elf/tst-tls9.c: Likewise.
4122 * elf/tst-tlsmod1.c: Likewise.
4123 * elf/tst-tlsmod13.c: Likewise.
4124 * elf/tst-tlsmod13a.c: Likewise.
4125 * elf/tst-tlsmod14a.c: Likewise.
4126 * elf/tst-tlsmod16a.c: Likewise.
4127 * elf/tst-tlsmod16b.c: Likewise.
4128 * elf/tst-tlsmod2.c: Likewise.
4129 * elf/tst-tlsmod3.c: Likewise.
4130 * elf/tst-tlsmod4.c: Likewise.
4131 * elf/tst-tlsmod5.c: Likewise.
4132 * elf/tst-tlsmod6.c: Likewise.
4133
4134 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
4135
4136 [BZ #12486]
4137 * malloc/malloc.c: remove checks for statistics.
4138
4139 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
4140
4141 [BZ #15277]
4142 * inet/inet_net.c (inet_network): Detect additional invalid strings.
4143 * inet/tst-network.c: Add testcase.
4144
4145 2013-10-17 Andreas Schwab <schwab@suse.de>
4146
4147 [BZ #15218]
4148 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4149 to determine canonical name.
4150
4151 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
4152
4153 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4154 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4155 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4156 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4157 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4158 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4159 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4160 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4161 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4162 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4163 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4164 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4165 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4166 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4167 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4168 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4169 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4170 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4171 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4172 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4173 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4174 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4175 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4176 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4177 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4178 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4179 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4180 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4181 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4182 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4183 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4184 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4185 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4186 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4187 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4188 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4189 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4190 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4191 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4192 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4193 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4194 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4195 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4196 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4197 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4198 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4199 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4200 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4201 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4202 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4203 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4204 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4205 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4206 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4207 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4208 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4209 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4210 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4211
4212 2013-10-17 Joseph Myers <joseph@codesourcery.com>
4213
4214 [BZ #16041]
4215 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4216 make result into a quiet NaN.
4217
4218 2013-10-16 Joseph Myers <joseph@codesourcery.com>
4219
4220 * soft-fp/adddf3.c: Fix horizontal whitespace.
4221 * soft-fp/addsf3.c: Likewise.
4222 * soft-fp/addtf3.c: Likewise.
4223 * soft-fp/divdf3.c: Likewise.
4224 * soft-fp/divsf3.c: Likewise.
4225 * soft-fp/divtf3.c: Likewise.
4226 * soft-fp/double.h: Likewise.
4227 * soft-fp/eqdf2.c: Likewise.
4228 * soft-fp/eqsf2.c: Likewise.
4229 * soft-fp/eqtf2.c: Likewise.
4230 * soft-fp/extenddftf2.c: Likewise.
4231 * soft-fp/extended.h: Likewise.
4232 * soft-fp/extendsfdf2.c: Likewise.
4233 * soft-fp/extendsftf2.c: Likewise.
4234 * soft-fp/extendxftf2.c: Likewise.
4235 * soft-fp/fixdfdi.c: Likewise.
4236 * soft-fp/fixdfsi.c: Likewise.
4237 * soft-fp/fixdfti.c: Likewise.
4238 * soft-fp/fixsfdi.c: Likewise.
4239 * soft-fp/fixsfsi.c: Likewise.
4240 * soft-fp/fixsfti.c: Likewise.
4241 * soft-fp/fixtfdi.c: Likewise.
4242 * soft-fp/fixtfsi.c: Likewise.
4243 * soft-fp/fixtfti.c: Likewise.
4244 * soft-fp/fixunsdfdi.c: Likewise.
4245 * soft-fp/fixunsdfsi.c: Likewise.
4246 * soft-fp/fixunsdfti.c: Likewise.
4247 * soft-fp/fixunssfdi.c: Likewise.
4248 * soft-fp/fixunssfsi.c: Likewise.
4249 * soft-fp/fixunssfti.c: Likewise.
4250 * soft-fp/fixunstfdi.c: Likewise.
4251 * soft-fp/fixunstfsi.c: Likewise.
4252 * soft-fp/fixunstfti.c: Likewise.
4253 * soft-fp/floatdidf.c: Likewise.
4254 * soft-fp/floatdisf.c: Likewise.
4255 * soft-fp/floatditf.c: Likewise.
4256 * soft-fp/floatsidf.c: Likewise.
4257 * soft-fp/floatsisf.c: Likewise.
4258 * soft-fp/floatsitf.c: Likewise.
4259 * soft-fp/floattidf.c: Likewise.
4260 * soft-fp/floattisf.c: Likewise.
4261 * soft-fp/floattitf.c: Likewise.
4262 * soft-fp/floatundidf.c: Likewise.
4263 * soft-fp/floatundisf.c: Likewise.
4264 * soft-fp/floatunditf.c: Likewise.
4265 * soft-fp/floatunsidf.c: Likewise.
4266 * soft-fp/floatunsisf.c: Likewise.
4267 * soft-fp/floatunsitf.c: Likewise.
4268 * soft-fp/floatuntidf.c: Likewise.
4269 * soft-fp/floatuntisf.c: Likewise.
4270 * soft-fp/floatuntitf.c: Likewise.
4271 * soft-fp/fmadf4.c: Likewise.
4272 * soft-fp/fmasf4.c: Likewise.
4273 * soft-fp/fmatf4.c: Likewise.
4274 * soft-fp/gedf2.c: Likewise.
4275 * soft-fp/gesf2.c: Likewise.
4276 * soft-fp/getf2.c: Likewise.
4277 * soft-fp/ledf2.c: Likewise.
4278 * soft-fp/lesf2.c: Likewise.
4279 * soft-fp/letf2.c: Likewise.
4280 * soft-fp/muldf3.c: Likewise.
4281 * soft-fp/mulsf3.c: Likewise.
4282 * soft-fp/multf3.c: Likewise.
4283 * soft-fp/negdf2.c: Likewise.
4284 * soft-fp/negsf2.c: Likewise.
4285 * soft-fp/negtf2.c: Likewise.
4286 * soft-fp/op-1.h: Likewise.
4287 * soft-fp/op-2.h: Likewise.
4288 * soft-fp/op-4.h: Likewise.
4289 * soft-fp/op-8.h: Likewise.
4290 * soft-fp/op-common.h: Likewise.
4291 * soft-fp/quad.h: Likewise.
4292 * soft-fp/single.h: Likewise.
4293 * soft-fp/soft-fp.h: Likewise.
4294 * soft-fp/sqrtdf2.c: Likewise.
4295 * soft-fp/sqrtsf2.c: Likewise.
4296 * soft-fp/sqrttf2.c: Likewise.
4297 * soft-fp/subdf3.c: Likewise.
4298 * soft-fp/subsf3.c: Likewise.
4299 * soft-fp/subtf3.c: Likewise.
4300 * soft-fp/truncdfsf2.c: Likewise.
4301 * soft-fp/trunctfdf2.c: Likewise.
4302 * soft-fp/trunctfsf2.c: Likewise.
4303 * soft-fp/trunctfxf2.c: Likewise.
4304 * soft-fp/unorddf2.c: Likewise.
4305 * soft-fp/unordsf2.c: Likewise.
4306 * soft-fp/unordtf2.c: Likewise.
4307
4308 2013-10-15 Joseph Myers <joseph@codesourcery.com>
4309
4310 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4311 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4312
4313 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
4314
4315 * elf/dl-libc.c: Clear initfini list after freeing.
4316
4317 2013-10-14 Joseph Myers <joseph@codesourcery.com>
4318
4319 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4320 * soft-fp/addsf3.c: Likewise.
4321 * soft-fp/addtf3.c: Likewise.
4322 * soft-fp/divdf3.c: Likewise.
4323 * soft-fp/divsf3.c: Likewise.
4324 * soft-fp/divtf3.c: Likewise.
4325 * soft-fp/double.h: Likewise.
4326 * soft-fp/eqdf2.c: Likewise.
4327 * soft-fp/eqsf2.c: Likewise.
4328 * soft-fp/eqtf2.c: Likewise.
4329 * soft-fp/extenddftf2.c: Likewise.
4330 * soft-fp/extended.h: Likewise.
4331 * soft-fp/extendsfdf2.c: Likewise.
4332 * soft-fp/extendsftf2.c: Likewise.
4333 * soft-fp/extendxftf2.c: Likewise.
4334 * soft-fp/fixdfdi.c: Likewise.
4335 * soft-fp/fixdfsi.c: Likewise.
4336 * soft-fp/fixdfti.c: Likewise.
4337 * soft-fp/fixsfdi.c: Likewise.
4338 * soft-fp/fixsfsi.c: Likewise.
4339 * soft-fp/fixsfti.c: Likewise.
4340 * soft-fp/fixtfdi.c: Likewise.
4341 * soft-fp/fixtfsi.c: Likewise.
4342 * soft-fp/fixtfti.c: Likewise.
4343 * soft-fp/fixunsdfdi.c: Likewise.
4344 * soft-fp/fixunsdfsi.c: Likewise.
4345 * soft-fp/fixunsdfti.c: Likewise.
4346 * soft-fp/fixunssfdi.c: Likewise.
4347 * soft-fp/fixunssfsi.c: Likewise.
4348 * soft-fp/fixunssfti.c: Likewise.
4349 * soft-fp/fixunstfdi.c: Likewise.
4350 * soft-fp/fixunstfsi.c: Likewise.
4351 * soft-fp/fixunstfti.c: Likewise.
4352 * soft-fp/floatdidf.c: Likewise.
4353 * soft-fp/floatdisf.c: Likewise.
4354 * soft-fp/floatditf.c: Likewise.
4355 * soft-fp/floatsidf.c: Likewise.
4356 * soft-fp/floatsisf.c: Likewise.
4357 * soft-fp/floatsitf.c: Likewise.
4358 * soft-fp/floattidf.c: Likewise.
4359 * soft-fp/floattisf.c: Likewise.
4360 * soft-fp/floattitf.c: Likewise.
4361 * soft-fp/floatundidf.c: Likewise.
4362 * soft-fp/floatundisf.c: Likewise.
4363 * soft-fp/floatunsidf.c: Likewise.
4364 * soft-fp/floatunsisf.c: Likewise.
4365 * soft-fp/floatuntidf.c: Likewise.
4366 * soft-fp/floatuntisf.c: Likewise.
4367 * soft-fp/floatuntitf.c: Likewise.
4368 * soft-fp/fmadf4.c: Likewise.
4369 * soft-fp/fmasf4.c: Likewise.
4370 * soft-fp/fmatf4.c: Likewise.
4371 * soft-fp/gedf2.c: Likewise.
4372 * soft-fp/gesf2.c: Likewise.
4373 * soft-fp/getf2.c: Likewise.
4374 * soft-fp/ledf2.c: Likewise.
4375 * soft-fp/lesf2.c: Likewise.
4376 * soft-fp/letf2.c: Likewise.
4377 * soft-fp/muldf3.c: Likewise.
4378 * soft-fp/mulsf3.c: Likewise.
4379 * soft-fp/multf3.c: Likewise.
4380 * soft-fp/negdf2.c: Likewise.
4381 * soft-fp/negsf2.c: Likewise.
4382 * soft-fp/negtf2.c: Likewise.
4383 * soft-fp/op-1.h: Likewise.
4384 * soft-fp/op-2.h: Likewise.
4385 * soft-fp/op-4.h: Likewise.
4386 * soft-fp/op-8.h: Likewise.
4387 * soft-fp/op-common.h: Likewise.
4388 * soft-fp/quad.h: Likewise.
4389 * soft-fp/single.h: Likewise.
4390 * soft-fp/soft-fp.h: Likewise.
4391 * soft-fp/sqrtdf2.c: Likewise.
4392 * soft-fp/sqrtsf2.c: Likewise.
4393 * soft-fp/sqrttf2.c: Likewise.
4394 * soft-fp/subdf3.c: Likewise.
4395 * soft-fp/subsf3.c: Likewise.
4396 * soft-fp/subtf3.c: Likewise.
4397 * soft-fp/truncdfsf2.c: Likewise.
4398 * soft-fp/trunctfdf2.c: Likewise.
4399 * soft-fp/trunctfsf2.c: Likewise.
4400 * soft-fp/trunctfxf2.c: Likewise.
4401 * soft-fp/unorddf2.c: Likewise.
4402 * soft-fp/unordsf2.c: Likewise.
4403 * soft-fp/unordtf2.c: Likewise.
4404
4405 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
4406
4407 [BZ #15672]
4408 * misc/error.c (error_tail): Fix possible buffer overflow.
4409
4410 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
4411
4412 [BZ #13028]
4413 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4414 address.
4415
4416 2013-10-14 P. J. McDermott <pj@pehjota.net>
4417
4418 [BZ #832]
4419 * elf/ldd.bash.in (try_trace): New function. Delete previous code
4420 testing pipefail option.
4421
4422 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4423
4424 * soft-fp/double.h: Indent preprocessor directives inside #if.
4425 * soft-fp/extended.h: Likewise.
4426 * soft-fp/op-2.h: Likewise.
4427 * soft-fp/op-4.h: Likewise.
4428 * soft-fp/op-common.h: Likewise.
4429 * soft-fp/quad.h: Likewise.
4430 * soft-fp/single.h: Likewise.
4431 * soft-fp/soft-fp.h: Likewise.
4432
4433 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
4434
4435 * iconv/iconv_prog.c: Fix typos.
4436 * stdio-common/psiginfo-data.h: Likewise.
4437
4438 2013-10-12 Reuben Thomas <rrt@sc3d.org>
4439
4440 [BZ #15764]
4441 * locale/setlocale.c: Fix typo.
4442
4443 2013-10-12 Joseph Myers <joseph@codesourcery.com>
4444
4445 [BZ #16036]
4446 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4447 signaling NaN arguments.
4448 * soft-fp/unordsf2.c (__unordsf2): Likewise.
4449 * soft-fp/unordtf2.c (__unordtf2): Likewise.
4450
4451 [BZ #14910]
4452 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4453 unordered operands.
4454 * soft-fp/gesf2.c (__gesf2): Likewise.
4455 * soft-fp/getf2.c (__getf2): Likewise.
4456 * soft-fp/ledf2.c (__ledf2): Likewise.
4457 * soft-fp/lesf2.c (__lesf2): Likewise.
4458 * soft-fp/letf2.c (__letf2): Likewise.
4459
4460 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4461 * soft-fp/eqsf2.c (__eqsf2): Likewise.
4462 * soft-fp/eqtf2.c (__eqtf2): Likewise.
4463 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4464 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4465 * soft-fp/fixdfti.c (__fixdfti): Likewise.
4466 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4467 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4468 * soft-fp/fixsfti.c (__fixsfti): Likewise.
4469 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4470 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4471 * soft-fp/fixtfti.c (__fixtfti): Likewise.
4472 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4473 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4474 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4475 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4476 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4477 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4478 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4479 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4480 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4481 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4482 * soft-fp/floatdisf.c (__floatdisf): Likewise.
4483 * soft-fp/floatsisf.c (__floatsisf): Likewise.
4484 * soft-fp/floattidf.c (__floattidf): Likewise.
4485 * soft-fp/floattisf.c (__floattisf): Likewise.
4486 * soft-fp/floattitf.c (__floattitf): Likewise.
4487 * soft-fp/floatundidf.c (__floatundidf): Likewise.
4488 * soft-fp/floatundisf.c (__floatundisf): Likewise.
4489 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4490 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4491 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4492 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4493 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4494 * soft-fp/gesf2.c (__gesf2): Likewise.
4495 * soft-fp/getf2.c (__getf2): Likewise.
4496 * soft-fp/ledf2.c (__ledf2): Likewise.
4497 * soft-fp/lesf2.c (__lesf2): Likewise.
4498 * soft-fp/letf2.c (__letf2): Likewise.
4499
4500 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4501 Undefine and redefine.
4502 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4503 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4504 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4505 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4506 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4507 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4508 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4509 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4510 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4511 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4512 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4513 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4514 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4515 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4516 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4517
4518 [BZ #16032]
4519 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4520 without decrementing exponent if mantissa >= that for the
4521 denominator, not >.
4522 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4523 denominator, not >. Decrement exponent in < case instead of
4524 incrementing in >= case.
4525 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4526 without decrementing exponent if mantissa >= that for the
4527 denominator, not >.
4528
4529 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4530 computing saturated result for unsigned overflow.
4531
4532 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4533 Jeff Law <law@redhat.com>
4534
4535 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4536 (atan2Mp): Add systemtap probe marker.
4537 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4538 (__ieee754_log): Add systemtap probe marker.
4539 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4540 (atanMp): Add systemtap probe marker.
4541 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4542 (tanMp): Add systemtap probe marker.
4543 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4544 (__slowexp): Add systemtap probe marker.
4545 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4546 (__slowpow): Add systemtap probe marker.
4547 * manual/probes.texi: Document probes.
4548
4549 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
4550
4551 [BZ #15362]
4552 * libio/fileops.c (_IO_new_file_write): Return count of bytes
4553 written.
4554 (_IO_new_file_xsputn): Don't return EOF if nothing has been
4555 written.
4556 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4557 written to buffer but not flushed.
4558 * libio/iofwrite_u.c: Likewise.
4559 * libio/iopadn.c: Return bytes returned even if EOF was
4560 encountered.
4561 * libio/iowpadn.c: Likewise.
4562 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4563 if _IO_padn does not write the whole buffer.
4564 [!COMPILE_WPRINTF] (PAD): Likewise.
4565
4566 2013-10-10 David S. Miller <davem@davemloft.net>
4567
4568 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4569 directory block.
4570
4571 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4572
4573 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
4574 instead of FSF address.
4575 * soft-fp/fixdfti.c: Likewise.
4576 * soft-fp/fixsfti.c: Likewise.
4577 * soft-fp/fixtfti.c: Likewise.
4578 * soft-fp/fixunsdfti.c: Likewise.
4579 * soft-fp/fixunssfti.c: Likewise.
4580 * soft-fp/fixunstfti.c: Likewise.
4581 * soft-fp/floattidf.c: Likewise.
4582 * soft-fp/floattisf.c: Likewise.
4583 * soft-fp/floattitf.c: Likewise.
4584 * soft-fp/floatuntidf.c: Likewise.
4585 * soft-fp/floatuntisf.c: Likewise.
4586 * soft-fp/floatuntitf.c: Likewise.
4587 * soft-fp/trunctfxf2.c: Likewise.
4588
4589 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
4590 * soft-fp/fixdfti.c: Likewise.
4591 * soft-fp/fixsfti.c: Likewise.
4592 * soft-fp/fixtfti.c: Likewise.
4593 * soft-fp/fixunsdfti.c: Likewise.
4594 * soft-fp/fixunssfti.c: Likewise.
4595 * soft-fp/fixunstfti.c: Likewise.
4596 * soft-fp/floattidf.c: Likewise.
4597 * soft-fp/floattisf.c: Likewise.
4598 * soft-fp/floattitf.c: Likewise.
4599 * soft-fp/floatuntidf.c: Likewise.
4600 * soft-fp/floatuntisf.c: Likewise.
4601 * soft-fp/floatuntitf.c: Likewise.
4602 * soft-fp/trunctfxf2.c: Likewise.
4603
4604 2013-10-10 David S. Miller <davem@davemloft.net>
4605
4606 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4607
4608 2013-10-10 Joseph Myers <joseph@codsourcery.com>
4609
4610 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4611 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4612 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4613 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4614 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4615 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4616 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4617
4618 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4619 for NaNs before doing comparisons on argument.
4620 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4621 Likewise.
4622
4623 2013-10-10 Will Newton <will.newton@linaro.org>
4624
4625 * malloc/hooks.c (memalign_check): Ensure the value of bytes
4626 passed to _int_memalign does not overflow.
4627
4628 2013-10-10 Torvald Riegel <triegel@redhat.com>
4629
4630 * scripts/bench.pl: Add include-sources directive.
4631 * benchtests/README: Update documentation.
4632
4633 2013-10-10 Joseph Myers <joseph@codesourcery.com>
4634
4635 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4636 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4637 instead of FP_INIT_ROUNDMODE.
4638 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4639 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4640
4641 [BZ #16034]
4642 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
4643 copy class of input value.
4644 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
4645 not handle exceptions.
4646 * soft-fp/negsf2.c (__negsf2): Likewise.
4647 * soft-fp/negtf2.c (__negtf2): Likewise.
4648 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4649
4650 2013-10-09 Joseph Myers <joseph@codesourcery.com>
4651
4652 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4653 semicolon. From Linux kernel.
4654
4655 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
4656
4657 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4658
4659 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
4660
4661 [BZ #156]
4662 * manual/socket.texi: Added statement about buffer
4663 for gethostbyname2_r.
4664
4665 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
4666
4667 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4668 Use .p2align directive instead, throughout.
4669 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4670 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4671 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4672 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4673 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4674 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4675 * sysdeps/x86_64/strchr.S: Likewise.
4676 * sysdeps/x86_64/strrchr.S: Likewise.
4677
4678 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4679
4680 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4681
4682 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4683
4684 * sysdeps/generic/math_private.h (__mpsin1): Remove
4685 declaration.
4686 (__mpcos1): Likewise.
4687 (__mpsin): New argument __range_reduce.
4688 (__mpcos): Likewise.
4689 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4690 (slow): Use __mpsin and __mpcos.
4691 (slow1): Likewise.
4692 (slow2): Likewise.
4693 (sloww): Likewise.
4694 (sloww1): Likewise.
4695 (sloww2): Likewise.
4696 (bsloww): Likewise.
4697 (bsloww1): Likewise.
4698 (bsloww2): Likewise.
4699 (cslow2): Likewise.
4700 (csloww): Likewise.
4701 (csloww1): Likewise.
4702 (csloww2): Likewise.
4703 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4704 range_reduce. Merge in __mpsin1.
4705 (__mpcos): Likewise.
4706 (__mpsin1): Remove.
4707 (__mpcos1): Likewise.
4708
4709 2013-10-07 Joseph Myers <joseph@codesourcery.com>
4710
4711 * locale/loadlocale.c (_nl_intern_locale_data): Use
4712 LOCFILE_ALIGNED_P.
4713 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4714 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4715 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4716 obstack data is appropriately aligned.
4717 (obstack_int32_grow_fast): Likewise.
4718 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4719 * locale/programs/locfile.c (add_locale_uint32): Likewise.
4720 (add_locale_uint32_array): Likewise.
4721
4722 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4723
4724 * benchtests/Makefile: Remove ARGLIST and RET variables.
4725 ($(objpfx)bench-%.c): Pass only function name to the script.
4726 * benchtests/README: Update documentation.
4727 * benchtests/acos-inputs: Add new directives.
4728 * benchtests/acosh-inputs: Likewise.
4729 * benchtests/asin-inputs: Likewise.
4730 * benchtests/asinh-inputs: Likewise.
4731 * benchtests/atan-inputs: Likewise.
4732 * benchtests/atanh-inputs: Likewise.
4733 * benchtests/cos-inputs: Likewise.
4734 * benchtests/cosh-inputs: Likewise.
4735 * benchtests/exp-inputs: Likewise.
4736 * benchtests/log-inputs: Likewise.
4737 * benchtests/pow-inputs: Likewise.
4738 * benchtests/rint-inputs: Likewise.
4739 * benchtests/sin-inputs: Likewise.
4740 * benchtests/sinh-inputs: Likewise.
4741 * benchtests/tan-inputs: Likewise.
4742 * benchtests/tanh-inputs: Likewise.
4743 * scripts/bench.pl: Add support for new directives.
4744
4745 2013-10-07 Alan Modra <amodra@gmail.com>
4746
4747 * README: Fix careless merge.
4748
4749 2013-10-05 Alan Modra <amodra@gmail.com>
4750
4751 * NEWS: Mention powerpc64le support and bugs fixed.
4752 * README: Both big-endian and little-endian powerpc64 supported.
4753
4754 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
4755
4756 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4757 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4758 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4759 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4760
4761 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
4762
4763 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4764 match prototype.
4765
4766 2013-10-04 Joseph Myers <joseph@codesourcery.com>
4767
4768 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4769 Move -mhard-float appending from
4770 ports/sysdeps/powerpc/powerpc32/Makefile.
4771 [$(with-fp) = yes] (ASFLAGS): Likewise.
4772 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4773 * sysdeps/powerpc/nofpu: Move directory from
4774 ports/sysdeps/powerpc/nofpu.
4775 * sysdeps/powerpc/soft-fp: Move directory from
4776 ports/sysdeps/powerpc/soft-fp.
4777 * sysdeps/powerpc/powerpc32/405: Move directory from
4778 ports/sysdeps/powerpc/powerpc32/405.
4779 * sysdeps/powerpc/powerpc32/440: Move directory from
4780 ports/sysdeps/powerpc/powerpc32/440.
4781 * sysdeps/powerpc/powerpc32/464: Move directory from
4782 ports/sysdeps/powerpc/powerpc32/464.
4783 * sysdeps/powerpc/powerpc32/476: Move directory from
4784 ports/sysdeps/powerpc/powerpc32/476.
4785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4786 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4788 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4790 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4792 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4794 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4795 * README: Update for powerpc-*-linux-gnu software floating point
4796 support in libc.
4797
4798 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4799 case to powerpc/powerpc32*.
4800 * sysdeps/unix/sysv/linux/configure: Regenerated.
4801
4802 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4803 (_FPU_MASK_OM): Define as 0x04.
4804 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4805 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4806 0x00c10080.
4807 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4808 0x0000003c.
4809 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4810
4811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4812 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4813 getcontext_e500.
4814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4815 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4816 setcontext_e500.
4817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4818 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4819 and setcontext_e500.
4820
4821 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
4822
4823 * locale/iso-3166.def: Update iso-1366.def and related occurrences
4824
4825 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4826
4827 * manual/threads.texi (Default Thread Attributes): Fix typo.
4828
4829 2013-10-04 Will Newton <will.newton@linaro.org>
4830
4831 * malloc/Makefile: Add tst-memalign.
4832 * malloc/tst-memalign.c: New file.
4833
4834 * malloc/tst-posix_memalign.c: Add comments.
4835 (do_test): Add comments and call free on all potentially
4836 allocated pointers. Add space after cast.
4837
4838 * malloc/tst-pvalloc.c: Add comments.
4839 (do_test): Add comments and call free on all potentially
4840 allocated pointers. Remove duplicate check for NULL pointer.
4841 Add space after cast.
4842
4843 * malloc/tst-valloc.c: Add comments.
4844 (do_test): Add comments and call free on all potentially
4845 allocated pointers. Remove duplicate check for NULL pointer.
4846 Add space after cast.
4847
4848 2013-10-04 Alan Modra <amodra@gmail.com>
4849
4850 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4851 Use stdint types in rather than __attribute__((mode())).
4852 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4853
4854 2013-10-04 Alan Modra <amodra@gmail.com>
4855
4856 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4857 Correct handling of unaligned relocs for little-endian.
4858 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4859
4860 2013-10-04 Alan Modra <amodra@gmail.com>
4861
4862 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4863 * configure: Regenerate.
4864 * nptl/shlib-versions: Powerpc*le starts at 2.18.
4865 * shlib-versions: Likewise.
4866
4867 2013-10-04 Alan Modra <amodra@gmail.com>
4868
4869 * string/tester.c (test_memrchr): Increment reported test cycle.
4870
4871 2013-10-04 Alan Modra <amodra@gmail.com>
4872
4873 * string/test-memcpy.c (do_one_test): When reporting errors, print
4874 string address and don't overrun end of string.
4875
4876 2013-10-04 Alan Modra <amodra@gmail.com>
4877
4878 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4879 insrdi. Make better use of reg selection to speed exit slightly.
4880 Schedule entry path a little better. Remove useless "are we done"
4881 checks on entry to main loop. Handle wrapping around zero address.
4882 Correct main loop count. Handle single left-over word from main
4883 loop inline rather than by using loop_small. Remove extra word
4884 case in loop_small caused by wrong loop count. Add little-endian
4885 support.
4886 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4887 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
4888 cache hint.
4889 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4890 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4891 support. Avoid rlwimi.
4892 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4893
4894 2013-10-04 Alan Modra <amodra@gmail.com>
4895
4896 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4897 insrdi. Formatting.
4898 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4899 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4900 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4901 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4902 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4903 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4904
4905 2013-10-04 Alan Modra <amodra@gmail.com>
4906
4907 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4908 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4909 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4910 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4911 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4912 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4913 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4914 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4915 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
4916 use of regs. Use power7 mtocrf. Tidy function tails.
4917
4918 2013-10-04 Alan Modra <amodra@gmail.com>
4919
4920 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4921 Formatting. Consistently use rXXX register defines or rN defines.
4922 Use early exit labels that avoid restoring unused non-volatile regs.
4923 Make cr field use more consistent with rWORDn compares. Rename
4924 regs used as shift registers for unaligned loop, using rN defines
4925 for short lifetime/multiple use regs.
4926 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4927 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
4928 addi 1,1,64 to pop stack frame. Simplify return value code.
4929 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4930
4931 2013-10-04 Alan Modra <amodra@gmail.com>
4932
4933 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4934 support. Correct typos, formatting. Optimize tail. Use insrdi
4935 rather than rlwimi.
4936 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4937 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4938 little-endian support. Correct typos.
4939 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
4940 rather than rlwimi.
4941 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
4942 in loop and entry code to keep "and." results.
4943 (strchr): Add little-endian support. Comment. Move cntlzd
4944 earlier in tail.
4945 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
4946
4947 2013-10-04 Alan Modra <amodra@gmail.com>
4948
4949 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
4950 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
4951 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
4952 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
4953
4954 2013-10-04 Alan Modra <amodra@gmail.com>
4955
4956 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
4957 (rTMP): Define as r11.
4958 (strcmp): Add little-endian support. Optimise tail.
4959 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
4960 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4961 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4962 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4963 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4964 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4965 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4966
4967 2013-10-04 Alan Modra <amodra@gmail.com>
4968
4969 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
4970 little-endian support. Remove unnecessary "are we done" tests.
4971 Handle "s" wrapping around zero and extremely large "size".
4972 Correct main loop count. Handle single left-over word from main
4973 loop inline rather than by using small_loop. Correct comments.
4974 Delete "zero" tail, use "end_max" instead.
4975 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
4976
4977 2013-10-04 Alan Modra <amodra@gmail.com>
4978
4979 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
4980 support. Don't branch over align.
4981 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
4982 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
4983 support. Rearrange tmp reg use to suit. Comment.
4984 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
4985
4986 2013-10-04 Alan Modra <amodra@gmail.com>
4987
4988 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
4989
4990 2013-10-04 Alan Modra <amodra@gmail.com>
4991
4992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4993 conditional form of branch and link when obtaining pc.
4994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4995
4996 2013-10-04 Alan Modra <amodra@gmail.com>
4997
4998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
4999 HIWORD/LOWORD.
5000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5002
5003 2013-10-04 Alan Modra <amodra@gmail.com>
5004
5005 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5006 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5007 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5008 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5009 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5010 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5011 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5012 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5013 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5014 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5015
5016 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5017 Alistair Popple <alistair@ozlabs.au.ibm.com>
5018 Alan Modra <amodra@gmail.com>
5019
5020 [BZ #15723]
5021 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5022 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5023 _dl_hwcap access for little-endian.
5024 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
5025 destroy vmx regs when saving unaligned.
5026 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5027 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
5028 destroy vmx regs when saving unaligned.
5029
5030 2013-10-04 Alan Modra <amodra@gmail.com>
5031
5032 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5033 Don't use a union to pack hi/low value.
5034
5035 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5036
5037 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5038 for little-endian.
5039 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5040 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5041 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5042 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5043 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5044
5045 2013-10-04 Alan Modra <amodra@gmail.com>
5046
5047 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5048 constants to usual value for .cst8 section, and remove redundant
5049 high address load.
5050 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5051 constant for 0x1p52. Load little-endian words of double from
5052 correct stack offsets.
5053
5054 2013-10-04 Alan Modra <amodra@gmail.com>
5055
5056 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5057 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5058 words of double from correct stack offsets.
5059 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5060 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5061 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5062 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5063 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5064 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5065 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5066 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5067 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5068 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5069 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5070 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5071 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5072 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5073 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5074 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5075 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5076
5077 2013-10-04 Alan Modra <amodra@gmail.com>
5078
5079 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5080 64-bit int/double union.
5081 (_FPU_SETCW): Likewise.
5082 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5083 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5084
5085 2013-10-04 Alan Modra <amodra@gmail.com>
5086
5087 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5088 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5089
5090 2013-10-04 Alan Modra <amodra@gmail.com>
5091
5092 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5093 use vector int constants.
5094 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5095
5096 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5097
5098 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5099 array with long long.
5100 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5101 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5102 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5103 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5104 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5105 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5106 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5107 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5108 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5109 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5110 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5111 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5112 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5113
5114 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
5115
5116 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5117 (__signbit): Likewise. Correct for little-endian.
5118 (__signbitl): Call __signbit.
5119 (lrint): Correct for little-endian.
5120 (lrintf): Call lrint.
5121
5122 2013-10-04 Alan Modra <amodra@gmail.com>
5123
5124 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5125 union 32-bit int array member with 64-bit int array.
5126 (t515, tm256): Double rather than long double.
5127 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5128
5129 2013-10-04 Alan Modra <amodra@gmail.com>
5130
5131 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5132 Delete.
5133 (IEEE854_LONG_DOUBLE_BIAS): Delete.
5134 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5135 version of math_ldbl.h.
5136
5137 2013-10-04 Alan Modra <amodra@gmail.com>
5138
5139 [BZ #15734], [BZ #15735]
5140 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5141 all uses of ieee875 long double macros and unions. Simplify test
5142 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
5143 ldbl_extract_mantissa value for ix,iy exponents. Properly
5144 normalize after ldbl_extract_mantissa, and don't add hidden bit
5145 already handled. Don't treat low word of ieee854 mantissa like
5146 low word of IBM long double and mask off bit when testing for
5147 zero.
5148 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5149 all uses of ieee875 long double macros and unions. Simplify tests
5150 for 0.0L and inf. Correct double adjustment of k. Delete dead code
5151 adjusting ha,hb. Simplify code setting kld. Delete two600 and
5152 two1022, instead use their values. Recognise that tests for large
5153 "a" and small "b" are mutually exclusive. Rename vars. Comment.
5154 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5155 Rewrite all uses of ieee875 long double macros and unions. Simplify
5156 test for 0.0L and nan. Correct negation.
5157 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5158 ieee875 long double macros and unions. Correct output for large
5159 magnitude x. Correct absolute value calculation.
5160 (__erfcl): Likewise.
5161 * math/libm-test.inc: Add tests for errors discovered in IBM long
5162 double versions of fmodl, remainderl, erfl and erfcl.
5163
5164 2013-10-04 Alan Modra <amodra@gmail.com>
5165
5166 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5167 all uses of ieee854 long double macros and unions. Simplify tests
5168 for long doubles that are fully specified by the high double.
5169 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5170 Likewise.
5171 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5172 Remove dead code too.
5173 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5174 (__ieee754_ynl): Likewise.
5175 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5176 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5177 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5178 Remove dead code too.
5179 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5180 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5181 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5182 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5183 Simplify.
5184 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5185 Simplify.
5186 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5187 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5188 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5189 Comment on variable precision.
5190 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5191 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5192 Likewise.
5193 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5194 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5195 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5196 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5197 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5198
5199 2013-10-04 Alan Modra <amodra@gmail.com>
5200
5201 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5202 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5203 all uses of ieee854 long double macros and unions.
5204 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5205 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5206 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5207 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5208 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5209 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5210 Likewise.
5211 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5212 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5213 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5214 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5215 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5216 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5217 Simplify sign and nan test too.
5218 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5219 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5220 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5221 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5222 Likewise.
5223 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5224 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5225 Likewise.
5226 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5227 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5228 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5229 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5230 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5231 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5232
5233 2013-10-04 Alan Modra <amodra@gmail.com>
5234
5235 * stdio-common/printf_size.c (__printf_size): Don't use
5236 union ieee854_long_double in fpnum union.
5237 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
5238 signbit macro to retrieve sign from long double.
5239 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5240 retrieve sign from long double.
5241 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5242 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5243 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5244 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5245 * math/test-misc.c (main): Don't use union ieee854_long_double.
5246
5247 2013-10-04 Alan Modra <amodra@gmail.com>
5248
5249 [BZ #15680]
5250 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5251 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5252 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5253 calculation. Remove unnecessary test for denormal exponent.
5254 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5255 Correct handling of denormals. Avoid undefined shift behaviour.
5256 Correct normalisation of low mantissa when low double is denormal.
5257 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5258 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
5259 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5260 Correct normalisation of low mantissa. Test for overflow of high
5261 mantissa and normalise.
5262 (ldbl_nearbyint): Use more readable constant for two52.
5263 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5264 (__mpn_construct_long_double): Fix test for overflow of high
5265 mantissa and correct normalisation. Avoid undefined shift.
5266
5267 2013-10-04 Alan Modra <amodra@gmail.com>
5268
5269 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5270 (union ibm_extended_long_double): Define as an array of ieee754_double.
5271 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5272 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5273 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5274 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5275 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5276 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5277 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5278 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5279 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5280 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5281 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5282
5283 2013-10-03 Joseph Myers <joseph@codesourcery.com>
5284
5285 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5286 page size instead of calling getpagesize.
5287
5288 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5289 (LOCFILE_ALIGN_MASK): Likewise.
5290 (LOCFILE_ALIGN_UP): Likewise.
5291 (LOCFILE_ALIGNED_P): Likewise.
5292 * locale/programs/ld-collate.c (collate_output): Use the new
5293 macros instead of __alignof__ (int32_t).
5294 * locale/weight.h (findidx): Likewise.
5295
5296 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
5297
5298 [BZ #431]
5299 * manual/string.texi: Fix strncat and wcsncat.
5300
5301 2013-10-03 Brooks Moses <bmoses@google.com>
5302
5303 [BZ #15915]
5304 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5305 * Makerules: ...here, and adjust associated comments.
5306
5307 2013-10-02 Will Newton <will.newton@linaro.org>
5308
5309 * malloc/Makefile: Add tst-pvalloc.
5310 * malloc/tst-pvalloc.c: New file.
5311
5312 2013-10-02 Will Newton <will.newton@linaro.org>
5313
5314 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5315 improve test coverage.
5316
5317 2013-10-02 Will Newton <will.newton@linaro.org>
5318
5319 * malloc/Makefile: Add tst-posix_memalign.
5320 * malloc/tst-posix_memalign.c: New file.
5321
5322 2013-10-01 Eric Blake <eblake@redhat.com>
5323
5324 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5325 Use __THROWNL rather than __THROW on static functions.
5326
5327 2013-09-30 Petr Machata <pmachata@redhat.com>
5328
5329 * elf/elf.h (R_AARCH64_ABS16): New macro.
5330 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5331 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5332 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5333 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5334 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5335 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5336 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5337 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5338 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5339 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5340 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5341 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5342 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5343 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5344 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5345 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5346 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5347 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5348 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5349 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5350 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5351 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5352 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5353 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5354 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5355 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5356 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5357 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5358 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5359 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5360 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5361 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5362 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5363 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5364 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5365 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5366 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5367 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5368 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5369 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5370 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5371 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5372 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5373 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5374 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5375 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5376 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5377 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5378 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5379 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5380 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5381 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5382 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5383 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5384 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5385 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5386 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5387 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5388 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5389 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5390 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5391 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5392 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5393 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5394 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5395 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5396 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5397 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5398 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5399 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5400 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5401 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5402 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5403 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5404 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5405 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5406 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5407 (R_AARCH64_TLSDESC_LDR): Likewise.
5408 (R_AARCH64_TLSDESC_ADD): Likewise.
5409 (R_AARCH64_TLSDESC_CALL): Likewise.
5410
5411 2013-09-30 Andreas Schwab <schwab@suse.de>
5412
5413 [BZ #15048]
5414 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5415 the nss database lookup.
5416 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5417 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5418
5419 2013-09-28 Mike Frysinger <vapier@gentoo.org>
5420
5421 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5422
5423 2013-09-28 P. J. McDermott <pj@pehjota.net>
5424
5425 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5426 ${Bash-specific parameter/pattern/string} parameter expansion.
5427 * sysdeps/unix/make-syscalls.sh: Likewise.
5428
5429 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5430
5431 * sysdeps/sh/stackguard-macros.h: New file.
5432
5433 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
5434
5435 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5436 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5437 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5438 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5439 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5440 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5441
5442 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5443
5444 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5445 Fix thread ID register.
5446
5447 2013-09-25 Joseph Myers <joseph@codesourcery.com>
5448
5449 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5450 [POSIX || UNIX98]: Require rather than permitting all symbols from
5451 <time.h>.
5452 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5453 element of struct sched_param.
5454 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5455 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5456 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5457 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5458 constant.
5459
5460 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
5461
5462 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5463 argument calculation.
5464
5465 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5466
5467 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5468 Expect macro.
5469 [POSIX] (pthread_attr_t): Do not require type.
5470 [POSIX] (pthread_cond_t): Likewise.
5471 [POSIX] (pthread_condattr_t): Likewise.
5472 [POSIX] (pthread_key_t): Likewise.
5473 [POSIX] (pthread_mutex_t): Likewise.
5474 [POSIX] (pthread_mutexattr_t): Likewise.
5475 [POSIX] (pthread_once_t): Likewise.
5476 [POSIX] (pthread_t): Likewise.
5477 [POSIX-based standards] (pthread_atfork): Expect function.
5478
5479 2013-09-24 Joseph Myers <joseph@codesourcery.com>
5480 Richard Sandiford <richard@codesourcery.com>
5481
5482 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5483 (swap_endianness_p): New extern variable.
5484 (set_big_endian): New inline function.
5485 (maybe_swap_uint32): Likewise.
5486 (maybe_swap_uint32_array): Likewise.
5487 (maybe_swap_uint32_obstack): Likewise.
5488 * locale/programs/locfile.c: Include <stdbool.h>.
5489 (swap_endianness_p): New variable.
5490 (add_locale_uint32): Call maybe_swap_uint32.
5491 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5492 (write_locale_data): Call maybe_swap_uint32_array.
5493 * locale/programs/ld-collate.c (obstack_int32_grow): Call
5494 maybe_swap_uint32.
5495 (obstack_int32_grow_fast): Likewise.
5496 (output_weightwc): Call maybe_swap_uint32_obstack.
5497 (collate_output): Likewise.
5498 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5499 (OPT_LITTLE_ENDIAN): Likewise.
5500 (options): Add --little-endian and --big-endian options.
5501 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5502 * locale/programs/locarchive.c: Include "locfile.h".
5503 (GET): New macro.
5504 (SET): Likewise.
5505 (INC): Likewise.
5506 (create_archive): Use the new macros to access fields of
5507 structures directly mapped from or written to locale archives.
5508 (oldlocrecentcmp): Likewise.
5509 (enlarge_archive): Likewise.
5510 (insert_name): Likewise.
5511 (add_alias): Likewise.
5512 (add_locale): Likewise.
5513 (delete_locales_from_archive): Likewise.
5514 (show_archive_content): Likewise.
5515 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
5516 locale data.
5517
5518 2013-09-24 Roland McGrath <roland@hack.frob.com>
5519
5520 * manual/freemanuals.texi: Updated from (newly) canonical copy at
5521 http://www.gnu.org/doc/freemanuals.texi.
5522 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5523
5524 2013-09-24 Will Newton <will.newton@linaro.org>
5525
5526 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5527 macro.
5528
5529 2013-09-23 Joseph Myers <joseph@codesourcery.com>
5530
5531 * locale/hashval.h (compute_hashval): Interpret bytes of key as
5532 unsigned char.
5533
5534 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
5535
5536 * manual/threads.texi (POSIX Threads): Fix a typo.
5537
5538 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
5539
5540 [BZ #14547]
5541 * string/tst-strcoll-overflow.c: New test case.
5542 * string/Makefile (xtests): Add tst-strcoll-overflow.
5543 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5544 cache if string sizes may cause integer overflow.
5545
5546 [BZ #14547]
5547 * string/strcoll_l.c (coll_seq): New members rule, idx,
5548 save_idx and back_us.
5549 (get_next_seq_nocache): New function.
5550 (do_compare_nocache): New function.
5551 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5552 when malloc fails.
5553
5554 2013-09-23 Carlos O'Donell <carlos@redhat.com>
5555
5556 [BZ #15754]
5557 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5558 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5559 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5560
5561 [BZ #15754]
5562 * elf/Makefile (tests): Add tst-ptrguard1.
5563 (tests-static): Add tst-ptrguard1-static.
5564 (tst-ptrguard1-ARGS): Define.
5565 (tst-ptrguard1-static-ARGS): Define.
5566 * elf/tst-ptrguard1.c: New file.
5567 * elf/tst-ptrguard1-static.c: New file.
5568 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5569 * sysdeps/i386/stackguard-macros.h: Likewise.
5570 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5571 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5572 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5573 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5574 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5575 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5576
5577 2013-09-23 Hector Marco <hecmargi@upv.es>
5578 Ismael Ripoll <iripoll@disca.upv.es>
5579 Carlos O'Donell <carlos@redhat.com>
5580
5581 [BZ #15754]
5582 * sysdeps/generic/stackguard-macros.h: Define
5583 __pointer_chk_guard_local and POINTER_CHK_GUARD.
5584 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5585 Define __pointer_chk_guard_local.
5586 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5587 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5588
5589 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
5590
5591 [BZ #15859]
5592 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5593
5594 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
5595
5596 * include/string.h (__ffs): Declare as hidden.
5597 * string/ffs.c (__ffs): Define as hidden.
5598 * sysdeps/i386/ffs.c (__ffs): Likewise.
5599 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5600 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5601 * sysdeps/s390/ffs.c (__ffs): Likewise.
5602 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5603
5604 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
5605
5606 * NEWS: Mention malloc probes.
5607
5608 * malloc/arena.c (new_heap): New memory_heap_new probe.
5609 (grow_heap): New memory_heap_more probe.
5610 (shrink_heap): New memory_heap_less probe.
5611 (heap_trim): New memory_heap_free probe.
5612 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5613 (systrim): New memory_sbrk_less probe.
5614 * manual/probes.texi: Document them.
5615
5616 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5617 * manual/probes.texi: Document it.
5618
5619 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5620 (__libc_realloc): Add memory_realloc_retry probe.
5621 (__libc_memalign): Add memory_memalign_retry probe.
5622 (__libc_valloc): Add memory_valloc_retry probe.
5623 (__libc_pvalloc): Add memory_pvalloc_retry probe.
5624 (__libc_calloc): Add memory_calloc_retry probe.
5625 * manual/probes.texi: Document them.
5626
5627 * malloc/arena.c (get_free_list): Add probe
5628 memory_arena_reuse_free_list.
5629 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5630 and memory_arena_reuse.
5631 (arena_get2) [!PER_THREAD]: Likewise.
5632 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5633 memory_arena_reuse_realloc.
5634 * manual/probes.texi: Document them.
5635
5636 * malloc/malloc.c (__libc_free): Add
5637 memory_mallopt_free_dyn_thresholds probe.
5638 (__libc_mallopt): Add multiple memory_mallopt probes.
5639 * manual/probes.texi: Document them.
5640
5641 * malloc/malloc.c: Include stap-probe.h.
5642 (__libc_mallopt): Add memory_mallopt probe.
5643 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5644 * manual/probes.texi: New.
5645 * manual/Makefile (chapters): Add probes.
5646 * manual/threads.texi: Set next node.
5647
5648 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
5649
5650 [BZ #15963, #13985]
5651 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5652 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5653 Add `Chinese' to `nan' entry name.
5654
5655 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5656
5657 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5658 (POLYNOMIAL): Likewise.
5659 (TAYLOR_SINCOS): Likewise.
5660 (TAYLOR_SLOW): Likewise.
5661 (__sin): Use TAYLOR_SINCOS.
5662 (__cos): Likewise.
5663 (slow): Use TAYLOR_SLOW.
5664 (sloww): Likewise.
5665 (bsloww): Likewise.
5666 (csloww): Likewise.
5667
5668 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
5669
5670 * stdlib/strtod_l.c: Fix buffer overrun.
5671
5672 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5673
5674 * benchtests/Makefile (bench): Add sincos.
5675 * benchtests/bench-sincos.c: New file.
5676
5677 * math/libm-test.inc (cos_test_data): New test inputs.
5678 (sin_test_data): Likewise.
5679
5680 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5681 macro.
5682 (__sin): Use it.
5683 (__cos): Likewise.
5684 (slow1): Likewise.
5685 (slow2): Likewise.
5686 (sloww1): Likewise.
5687 (sloww2): Likewise.
5688 (bsloww1): Likewise.
5689 (bsloww2): Likewise.
5690 (cslow2): Likewise.
5691 (csloww1): Likewise.
5692 (csloww2): Likewise.
5693
5694 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5695 function.
5696 (__sin): Use it.
5697 (__cos): Likewise.
5698
5699 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5700 gotos.
5701 (__cos): Likewise.
5702
5703 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
5704
5705 * config.h.in (HAVE_MIPS_NAN2008): New macro.
5706 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5707 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5708 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5709 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5710 * elf/cache.c (print_entry): Handle the new cache flags.
5711
5712 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5713 Aldy Hernandez <aldyh@redhat.com>
5714
5715 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5716 Change condition to [_SOFT_FLOAT].
5717 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5718 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5719 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5720 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5721 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5722 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5723 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5724 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5725 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5726 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5727 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5728 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5729 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5730 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5731 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5732 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5733 declaration.
5734
5735 2013-09-18 Joseph Myers <joseph@codesourcery.com>
5736
5737 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5738 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5739 (__longjmp): Use LOAD_GP to load saved GPRs.
5740 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5741 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5742 (__sigsetjmp): Use SAVE_GP to save GPRs.
5743
5744 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5745 Do not append -msoft-float.
5746 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5747
5748 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5749
5750 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5751
5752 2013-09-17 Joseph Myers <joseph@codesourcery.com>
5753
5754 [BZ #15966]
5755 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5756 (_FPU_GETCW): Use initial "__" on variable and field names but not
5757 on macro parameter name.
5758 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
5759 parentheses around reference to macro parameter.
5760
5761 2013-09-13 Richard Sandiford <richard@codesourcery.com>
5762
5763 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5764 prototype.
5765 (ctype_startup): Use uint32_t in cast and sizeof for
5766 ctype->charnames.
5767
5768 2013-09-11 Jia Liu <proljc@gmail.com>
5769
5770 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5771 __daddr_t_defined.
5772 [__FreeBSD__]: Likewise.
5773
5774 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
5775
5776 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5777 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5778 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5779 (strchr): Remove __strchr_sse42 ifunc selection.
5780 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5781 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5782
5783 2013-09-11 Will Newton <will.newton@linaro.org>
5784
5785 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5786 parameter to RES. Remove hardcoded 1000 value.
5787 * benchtests/bench-skeleton.c (main): Pass RES parameter
5788 to TIMING_INIT and multiply result by 1000.
5789
5790 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5791
5792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5793
5794 2013-09-11 Andreas Schwab <schwab@suse.de>
5795
5796 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5797 if not defined.
5798 (O_TMPFILE) [__USE_GNU]: Define.
5799 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5800 Define.
5801
5802 2013-09-11 Will Newton <will.newton@linaro.org>
5803
5804 [BZ #15857]
5805 * malloc/malloc.c (__libc_memalign): Check the value of bytes
5806 does not overflow.
5807
5808 2013-09-11 Will Newton <will.newton@linaro.org>
5809
5810 [BZ #15856]
5811 * malloc/malloc.c (__libc_valloc): Check the value of bytes
5812 does not overflow.
5813
5814 2013-09-11 Will Newton <will.newton@linaro.org>
5815
5816 [BZ #15855]
5817 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5818 does not overflow.
5819
5820 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
5821
5822 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5823 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5824 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5825 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5826 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5827
5828 2013-09-10 Allan McRae <allan@archlinux.org>
5829
5830 [BZ #15748]
5831 * manual/arith.texi (Parsing of Floats): Clarify
5832 cross-reference.
5833
5834 [BZ #15849]
5835 * manual/install.texi (Running make install): Mention
5836 --enable-pt-chown.
5837 * INSTALL: Regenerated.
5838
5839 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5840
5841 * csu/init-first.c (_init): Remove the !SHARED condition around
5842 FPU control word initialization.
5843 * elf/dl-support.c (_dl_fpu_control): New variable.
5844 (_dl_aux_init) <AT_FPUCW>: Initialize it.
5845 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5846 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5847 * math/test-fpucw-static.c: New file.
5848 * math/test-fpucw-ieee.c: New file.
5849 * math/test-fpucw-ieee-static.c: New file.
5850 * math/Makefile (tests): Add `test-fpucw-ieee' and
5851 `$(tests-static)'.
5852 (tests-static): New variable.
5853 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5854 dependency to...
5855 [($(build-shared),yes)]
5856 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5857 ... this.
5858 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5859 New dependency.
5860
5861 2013-09-09 Allan McRae <allan@archlinux.org>
5862
5863 [BZ #15939]
5864 * manual/string.texi (Collation Functions): Fix typo in
5865 strcoll example.
5866 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5867
5868 [BZ #15893]
5869 * stdlib/isomac.c (get_null_defines): Fix memory leak.
5870
5871 [BZ #15892]
5872 * libio/memstream.c (open_memstream): Fix memory leak.
5873 * libio/wmemstream.c (open_wmemstream): Likewise.
5874
5875 [BZ #15895]
5876 * nscd/netgroupcache.c: Fix nesting of ifdefs.
5877
5878 2013-09-09 Will Newton <will.newton@linaro.org>
5879
5880 * malloc/Makefile: Add tst-realloc to tests.
5881 * malloc/tst-realloc.c: New file.
5882
5883 2013-09-09 Allan McRae <allan@archlinux.org>
5884
5885 [BZ #15844]
5886 * COPYING: Update from GNU website to fix FSF address.
5887 * COPYING.LIB: Likewise.
5888
5889 2013-09-06 David S. Miller <davem@davemloft.net>
5890
5891 * po/zh_TW.po: Update Chinese (traditional) translation from
5892 translation project.
5893
5894 2013-09-06 Richard Sandiford <richard@codesourcery.com>
5895 Joseph Myers <joseph@codesourcery.com>
5896
5897 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5898 "localeinfo.h".
5899 (obstack_chunk_alloc): New macro.
5900 (obstack_chunk_free): Likewise.
5901 (record_offset): New function.
5902 (init_locale_data): Likewise.
5903 (align_locale_data): Likewise.
5904 (add_locale_empty): Likewise.
5905 (add_locale_raw_data): Likewise.
5906 (add_locale_raw_obstack): Likewise.
5907 (add_locale_string): Likewise.
5908 (add_locale_wstring): Likewise.
5909 (add_locale_uint32): Likewise.
5910 (add_locale_uint32_array): Likewise.
5911 (add_locale_char): Likewise.
5912 (start_locale_structure): Likewise.
5913 (end_locale_structure): Likewise.
5914 (start_locale_prelude): Likewise.
5915 (end_locale_prelude): Likewise.
5916 (write_locale_data): Take locale_file structure rather than an
5917 iovec.
5918 * locale/programs/locfile.h: Include "obstack.h".
5919 (struct locale_file): Change to store locale file contents instead
5920 of header.
5921 (init_locale_data): New prototype.
5922 (align_locale_data): Likewise.
5923 (add_locale_empty): Likewise.
5924 (add_locale_raw_data): Likewise.
5925 (add_locale_raw_obstack): Likewise.
5926 (add_locale_string): Likewise.
5927 (add_locale_wstring): Likewise.
5928 (add_locale_uint32): Likewise.
5929 (add_locale_uint32_array): Likewise.
5930 (add_locale_char): Likewise.
5931 (start_locale_structure): Likewise.
5932 (end_locale_structure): Likewise.
5933 (start_locale_prelude): Likewise.
5934 (end_locale_prelude): Likewise.
5935 (write_locale_data): Update prototype.
5936 * locale/programs/3level.h (struct TABLE): Remove result field.
5937 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5938 Use new locale_file interface.
5939 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
5940 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
5941 * locale/programs/ld-address.c (address_output): Use new
5942 locale_file interface.
5943 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
5944 NO_ADD_LOCALE.
5945 (collate_finish): Don't call collseq_table_finalize.
5946 (collate_output): Use new locale_file interface.
5947 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
5948 in file.
5949 (NO_FINALIZE): Change to NO_ADD_LOCALE.
5950 (TABLE): Move defines earlier in file.
5951 (ELEMENT): Likewise.
5952 (DEFAULT): Likewise.
5953 (wctrans_table_add): Move macro and inline function earlier in
5954 file.
5955 (struct wctype_table): Move type earlier in file.
5956 (add_locale_wctype_table): New static prototype.
5957 (struct locale_ctype_t): Use logical types instead of struct iovec
5958 pointers for members.
5959 (ctype_output): Use new locale_file interface.
5960 (wctype_table_finalize): Change to add_locale_wctype_table. Use
5961 new locale_file interface.
5962 (allocate_arrays): Update for use of new locale_file interface.
5963 * locale/programs/ld-identification.c (identification_output): Use
5964 new locale_file interface.
5965 * locale/programs/ld-measurement.c (measurement_output): Likewise.
5966 * locale/programs/ld-messages.c (messages_output): Likewise.
5967 * locale/programs/ld-monetary.c (monetary_output): Likewise.
5968 * locale/programs/ld-name.c (name_output): Likewise.
5969 * locale/programs/ld-numeric.c (numeric_output): Likewise.
5970 * locale/programs/ld-paper.c (paper_output): Likewise.
5971 * locale/programs/ld-telephone.c (telephone_output): Likewise.
5972 * locale/programs/ld-time.c (time_output): Likewise.
5973
5974 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5975
5976 * benchtests/Makefile: Add memrchr benchmark.
5977 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
5978 benchmark as memrchr.
5979 * benchtests/bench-memrchr-ifunc.c: New file.
5980 * benchtests/bench-memrchr.c: New file.
5981
5982 2013-09-06 Will Newton <will.newton@linaro.org>
5983
5984 * benchtests/Makefile (string-bench): Add memcpy.
5985
5986 2013-09-05 Carlos O'Donell <carlos@redhat.com>
5987 Cong Wang <amwang@redhat.com>
5988
5989 [BZ #15850]
5990 * sysdeps/unix/sysv/linux/bits/in.h
5991 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
5992 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
5993 before __USE_KERNEL_IPV6_DEFS uses.
5994 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
5995 IPPROTO_BEETPH.
5996 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
5997 sockaddr_in6, or ipv6_mreq.
5998
5999 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6000
6001 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6002 memory access for final bytes in some large inputs.
6003 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6004
6005 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6006
6007 * string/test-memrchr.c: New file.
6008 * string/test-memrchr-ifunc.c: New file.
6009 * string/Makefile: Add new memrchr testcase.
6010
6011 2013-09-05 Mike Frysinger <vapier@gentoo.org>
6012
6013 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6014 fanotify_init returns EPERM.
6015
6016 2013-09-04 Joseph Myers <joseph@codesourcery.com>
6017
6018 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6019 errors.
6020 (top level): Treat second token from macro or constant entries for
6021 allowed headers as allowed.
6022 * include/complex.h: Condition internal declarations on
6023 [!_ISOMAC].
6024 * include/fenv.h: Condition include of <stdbool.h> and internal
6025 declarations on [!_ISOMAC].
6026
6027 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
6028
6029 [BZ #15923]
6030 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6031
6032 2013-09-04 Joseph Myers <joseph@codesourcery.com>
6033
6034 * configure.in (--enable-versioning): Remove configure option.
6035 (libc_cv_asm_symver_directive): Remove configure test.
6036 (libc_cv_ld_version_script_option): Likewise.
6037 (VERSIONING): Remove variable and AC_SUBST.
6038 (DO_VERSIONING): Remove AC_DEFINE.
6039 * configure: Regenerated.
6040 * config.h.in (DO_VERSIONING): Remove macro.
6041 * Makerules [$(versioning) = yes]: Change conditionals to
6042 [$(build-shared) = yes].
6043 * config.make.in (versioning): Remove variable.
6044 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6045 [$(build-shared) = yes].
6046 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6047 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6048 * elf/Makefile [$(versioning) = yes]: Change conditionals to
6049 [$(build-shared) = yes].
6050 * extra-lib.mk [$(versioning) = yes]: Likewise.
6051 * hurd/Makefile [$(versioning) = yes]: Likewise.
6052 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6053 [SHARED].
6054 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6055 [SHARED].
6056 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6057 [SHARED && !NO_HIDDEN].
6058 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6059 [SHARED].
6060 [SHARED && DO_VERSIONING]: Likewise..
6061 * libio/Makefile [$(versioning) = yes]: Change conditionals to
6062 [$(build-shared) = yes].
6063 * manual/install.texi (--disable-versioning): Remove
6064 documentation.
6065 * INSTALL: Regenerated.
6066 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6067 to [SHARED].
6068 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6069 [$(build-shared) = yes].
6070 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6071 * sysdeps/i386/i686/multiarch/strstr-c.c
6072 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6073 [SHARED && !NO_HIDDEN].
6074 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6075 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6076 * sysdeps/powerpc/powerpc32/dl-machine.c
6077 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6078 * sysdeps/powerpc/powerpc32/sysdep.h
6079 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6080 to [SHARED && PIC && !NO_HIDDEN].
6081 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6082 conditional to [SHARED].
6083
6084 2013-09-04 Will Newton <will.newton@linaro.org>
6085
6086 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6087 * benchtests/bench-string.h: Include bench-timing.h instead
6088 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6089 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6090 call to HP_TIMING_DIFF_INIT.
6091 * benchtests/bench-memccpy.c: Use bench-timing.h macros
6092 instead of hp-timing.h macros.
6093 * benchtests/bench-memchr.c: Likewise.
6094 * benchtests/bench-memcmp.c: Likewise.
6095 * benchtests/bench-memcpy.c: Likewise.
6096 * benchtests/bench-memmem.c: Likewise.
6097 * benchtests/bench-memmove.c: Likewise.
6098 * benchtests/bench-memset.c: Likewise.
6099 * benchtests/bench-rawmemchr.c: Likewise.
6100 * benchtests/bench-strcasecmp.c: Likewise.
6101 * benchtests/bench-strcasestr.c: Likewise.
6102 * benchtests/bench-strcat.c: Likewise.
6103 * benchtests/bench-strchr.c: Likewise.
6104 * benchtests/bench-strcmp.c: Likewise.
6105 * benchtests/bench-strcpy.c: Likewise.
6106 * benchtests/bench-strcpy_chk.c: Likewise.
6107 * benchtests/bench-strlen.c: Likewise.
6108 * benchtests/bench-strncasecmp.c: Likewise.
6109 * benchtests/bench-strncat.c: Likewise.
6110 * benchtests/bench-strncmp.c: Likewise.
6111 * benchtests/bench-strncpy.c: Likewise.
6112 * benchtests/bench-strnlen.c: Likewise.
6113 * benchtests/bench-strpbrk.c: Likewise.
6114 * benchtests/bench-strrchr.c: Likewise.
6115 * benchtests/bench-strspn.c: Likewise.
6116 * benchtests/bench-strstr.c: Likewise.
6117
6118 2013-09-04 Will Newton <will.newton@linaro.org>
6119
6120 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6121
6122 2013-09-03 Joseph Myers <joseph@codesourcery.com>
6123
6124 [BZ #15427]
6125 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6126 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6127 * math/libm-test.inc (lgamma_test_data): Add more tests.
6128 * sysdeps/i386/fpu/libm-test-ulps: Update.
6129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6130
6131 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
6132
6133 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6134 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6135 Add ifunc.
6136 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6137 Add strcmp-sse2-unaligned
6138 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6139
6140 2013-09-02 Mike Frysinger <vapier@gentoo.org>
6141
6142 * Versions.def (libc): Add GLIBC_2.19.
6143
6144 2013-09-02 Mike Frysinger <vapier@gentoo.org>
6145
6146 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6147 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6148
6149 2013-09-02 Joseph Myers <joseph@codesourcery.com>
6150
6151 [BZ #14155]
6152 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6153 intermediate calculations in recurrence.
6154 (__ieee754_ynf): Likewise.
6155 * math/libm-test.inc (jn_test_data): Do not allow spurious
6156 underflow exception. Add more tests.
6157 (yn_test_data): Add more tests.
6158 * sysdeps/i386/fpu/libm-test-ulps: Update.
6159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6160
6161 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
6162
6163 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6164
6165 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6166
6167 * csu/init-first.c: Fix then/than typos.
6168 * locale/programs/ld-collate.c: Likewise.
6169 * locale/programs/linereader.h: Likewise.
6170 * manual/charset.texi: Likewise.
6171 * manual/filesys.texi: Likewise.
6172 * manual/stdio.texi: Likewise.
6173 * manual/string.texi: Likewise.
6174 * stdlib/fmtmsg.c: Likewise.
6175 * sysdeps/i386/stpncpy.S: Likewise.
6176 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6177 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6178 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6179 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6180
6181 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6182
6183 * elf/dl-open.c: Fix typos.
6184 * iconvdata/gbbig5.c: Likewise.
6185 * iconvdata/iso-2022-jp.c: Likewise.
6186 * iconv/gconv_int.h: Likewise.
6187 * iconv/loop.c: Likewise.
6188 * nis/rpcsvc/nis.h: Likewise.
6189 * resolv/ns_name.c: Likewise.
6190 * stdio-common/vfscanf.c: Likewise.
6191 * streams/stropts.h: Likewise.
6192 * sunrpc/rpc_thread.c: Likewise.
6193 * sysdeps/i386/strpbrk.S: Likewise.
6194 * sysdeps/ieee754/k_standard.c: Likewise.
6195 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6196 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6197 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6198 * sysdeps/mach/hurd/profil.c: Likewise.
6199 * sysdeps/s390/dl-procinfo.h: Likewise.
6200 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6201 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6202 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6203 * sysdeps/x86_64/dl-trampoline.S: Likewise.
6204 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6205
6206 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
6207
6208 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6209 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6210
6211 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
6212
6213 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6214 aix specific files.
6215 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6216 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6217 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6218 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6219 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6220 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6221 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6222 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6223
6224 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6225 Roland McGrath <roland@hack.frob.com>
6226
6227 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6228 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6229
6230 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
6231
6232 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6233 __executable_start symbol instead of _start.
6234
6235 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
6236
6237 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6238 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6239 Move macros to...
6240 * sysdeps/gnu/ldsodefs.h: ... this new file.
6241
6242 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6243 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6244 instead of ELFOSABI_LINUX.
6245
6246 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
6247 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6248 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6249 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6250 Likewise.
6251 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6252 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6253 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6254 Likewise.
6255 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6256 (ibm_extended_long_double): Add ieee_nan member.
6257 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6258 (do_test): New function.
6259
6260 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6261 TEST_TRUNC.
6262 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6263 functions, renamed from truncdfsf_test, trunctfsf_test,
6264 trunctfdf_test.
6265 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6266 functions.
6267 (do_test): Run all these.
6268
6269 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
6270
6271 * argp/argp-help.c: Fix typos.
6272 * argp/argp-parse.c: Likewise.
6273 * debug/backtracesyms.c: Likewise.
6274 * elf/elf.h: Likewise.
6275 * malloc/malloc.c: Likewise.
6276 * nis/nis_print.c: Likewise.
6277 * resolv/res_comp.c: Likewise.
6278 * stdlib/stdlib.h: Likewise.
6279 * sunrpc/clnt_tcp.c: Likewise.
6280 * sunrpc/clnt_udp.c: Likewise.
6281 * sunrpc/clnt_unix.c: Likewise.
6282 * sysdeps/unix/bsd/ptsname.c: Likewise.
6283 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6284 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
6285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6286 Likewise.
6287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6288 Likewise.
6289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6290 Likewise.
6291 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6292
6293 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6294
6295 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6296 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6297
6298 2013-08-27 Mike Frysinger <vapier@gentoo.org>
6299
6300 [BZ #15897]
6301 * dlfcn/Makefile (tests): Add bug-dl-leaf.
6302 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6303 ($(objpfx)bug-dl-leaf): New rule.
6304 ($(objpfx)bug-dl-leaf.so): Likewise.
6305 ($(objpfx)bug-dl-leaf.out): Likewise.
6306 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6307 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6308 * dlfcn/bug-dl-leaf.c: New test.
6309 * dlfcn/bug-dl-leaf-lib.c: Likewise.
6310 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6311 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6312 (dlclose): Likewise.
6313 (dlmopen): Likewise.
6314
6315 2013-08-27 Roland McGrath <roland@hack.frob.com>
6316
6317 * include/netdb.h [!_ISOMAC]:
6318 Don't include <tls.h>.
6319 (h_errno, __libc_h_errno): Move declaration and macros out of
6320 [_LIBC_REENTRANT].
6321
6322 * include/resolv.h [_RESOLV_H_]:
6323 Don't include <tls.h>.
6324 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6325 * resolv/res_libc.c: Don't include <tls.h>.
6326 (_res): Use __attribute__ ((nocommon)) in place of
6327 __attribute__ ((section (".bss"))).
6328
6329 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6330 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6331
6332 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6333
6334 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6335 only under [SIOCGIFCONF && SIOCGIFNETMASK].
6336
6337 * resolv/res_mkquery.c: Include <sys/time.h>.
6338
6339 * inet/ifreq.c: Moved to ...
6340 * sysdeps/unix/ifreq.c: ... here.
6341 * inet/ifreq.c: New file, true stub version.
6342
6343 * socket/sa_len.c: New file.
6344 * socket/Makefile (aux): Add it.
6345 * sysdeps/unix/sysv/linux/Makefile
6346 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6347 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6348 and #include <socket/sa_len.c>.
6349 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6350 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6351
6352 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6353 * bits/socket.h: ... here.
6354
6355 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6356 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6357 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6358
6359 2013-08-27 Andreas Schwab <schwab@suse.de>
6360
6361 [BZ #15736]
6362 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6363 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6364 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6365 * string/test-strcasecmp.c (test_main): Run tests in several
6366 locales.
6367 * string/test-strncasecmp.c (test_main): Likewise.
6368
6369 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6370 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6371 to __strcasecmp_nonascii and __strncasecmp_nonascii.
6372 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6373 (__strncasecmp_ssse3) [PIC]: Likewise.
6374
6375 2013-08-26 Roland McGrath <roland@hack.frob.com>
6376
6377 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6378
6379 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6380 instead of explicitly declaring xdecrypt.
6381 * nis/nss_nis/nis-publickey.c: Likewise.
6382
6383 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6384
6385 [BZ #15890]
6386 * nscd/aicache.c: Include res_hconf.h.
6387 (addhstaiX): Initialize res_hconf.
6388
6389 2013-08-26 Andreas Schwab <schwab@suse.de>
6390
6391 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6392 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6393
6394 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6395
6396 * nscd/aicache.c (addhstaiX): Fix indentation.
6397
6398 2013-08-25 Mike Frysinger <vapier@gentoo.org>
6399
6400 * configure.ac: Quote $build_pt_chown test.
6401 * configure: Regenerated.
6402
6403 2013-08-23 Joseph Myers <joseph@codesourcery.com>
6404
6405 [BZ #15532]
6406 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6407 * math/s_cexpf.c (__cexpf): Likewise.
6408 * math/s_cexpl.c (__cexpl): Likewise.
6409 * math/libm-test.inc (cexp_test_data): Correct expected return
6410 value for NaN + i0. Add another test.
6411
6412 2013-08-22 David S. Miller <davem@davemloft.net>
6413
6414 * po/ca.po: Update Catalan translation from translation project.
6415 * po/uk.po: Add Ukrainian translations from translation project.
6416
6417 2013-08-21 Joseph Myers <joseph@codesourcery.com>
6418
6419 [BZ #15797]
6420 * math/s_fdim.c (__fdim): Check for infinite arguments if result
6421 is infinite, not alongside NaN test.
6422 * math/s_fdimf.c (__fdimf): Likewise.
6423 * math/s_fdiml.c (__fdiml): Likewise.
6424 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
6425 errno is unchanged.
6426
6427 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
6428
6429 * argp/argp-help.c: Fix typos.
6430 * crypt/speeds.c: Likewise.
6431 * csu/check_fds.c: Likewise.
6432 * elf/dl-load.c: Likewise.
6433 * elf/dl-open.c: Likewise.
6434 * elf/reldep3.c: Likewise.
6435 * elf/reldep.c: Likewise.
6436 * elf/sprof.c: Likewise.
6437 * iconv/iconv_charmap.c: Likewise.
6438 * iconv/skeleton.c: Likewise.
6439 * iconv/strtab.c: Likewise.
6440 * io/lockf64.c: Likewise.
6441 * libio/libioP.h: Likewise.
6442 * resolv/gai_notify.c: Likewise.
6443 * resolv/ns_name.c: Likewise.
6444 * resolv/ns_samedomain.c: Likewise.
6445 * resolv/res_send.c: Likewise.
6446 * stdlib/random.c: Likewise.
6447 * sunrpc/rpc/xdr.h: Likewise.
6448 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6449 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6450 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6451 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6452 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6453 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6454 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6455 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6456 * sysdeps/mach/hurd/check_fds.c: Likewise.
6457 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6458 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6459 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6460 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6461 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6462 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6463 * sysdeps/pthread/aio_notify.c: Likewise.
6464 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6465 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6466 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6467 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6468 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6469
6470 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6471
6472 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6473 version if bit_Slow_SSE4_2 is set.
6474 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6475 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6476
6477 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6478
6479 [BZ #15867]
6480 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6481 trampoline stack frame information.
6482 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6483 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6484 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6485 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6486 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6487 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6488 (_libc_vdso_platform_setup): Initialize the signal trampolines.
6489 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6490 sa_flags value.
6491 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6492 interrupting a syscall and set with option SA_SIGINFO.
6493
6494 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6495
6496 [BZ #15531]
6497 * math/s_cproj.c (__cproj): Only return an infinity if one part of
6498 argument is infinite.
6499 * math/s_cprojf.c (__cprojf): Likewise.
6500 * math/s_cprojl.c (__cprojl): Likewise.
6501 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6502 * math/libm-test.inc (cproj_test_data): Add more tests.
6503
6504 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6505
6506 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6507 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6508 size. Use __ffs to determine corresponding shift.
6509
6510 2013-08-20 Joseph Myers <joseph@codesourcery.com>
6511 Roland McGrath <roland@hack.frob.com>
6512
6513 * Makefile (INSTALL): Remove trailing blank lines from output of
6514 makeinfo.
6515
6516 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6517
6518 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6519 Align 32 bit compat elf_greg to 8 bytes.
6520
6521 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6522
6523 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6524
6525 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6526
6527 * string/strcoll_l.c (coll_seq): New structure.
6528 (get_next_seq_cached): New function.
6529 (get_next_seq): New function.
6530 (do_compare): New function.
6531 (STRCOLL): Use GNU style definition. Simplify implementation
6532 by using get_next_seq, get_next_seq_cached and do_compare.
6533
6534 2013-08-16 Florian Weimer <fweimer@redhat.com>
6535
6536 [BZ #14699]
6537 CVE-2013-4237
6538 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6539 member.
6540 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6541 member.
6542 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6543 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6544 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
6545 conditional.
6546 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6547 GETDENTS_64BIT_ALIGNED.
6548 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6549 * manual/filesys.texi (Reading/Closing Directory): Document
6550 ENAMETOOLONG return value of readdir_r. Recommend readdir more
6551 strongly.
6552 * manual/conf.texi (Limits for Files): Add portability note to
6553 NAME_MAX, PATH_MAX.
6554 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6555
6556 2013-08-13 Andreas Schwab <schwab@suse.de>
6557
6558 [BZ #15749]
6559 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6560 of fabs.
6561 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6562 LDBL_MAX_EXP >= 16384]: Add tests for it.
6563
6564 2013-08-12 David S. Miller <davem@davemloft.net>
6565
6566 * version.h (RELEASE): Set to "development".
6567 (VERSION): Set to "2.18.90".
6568 * NEWS: Add 2.19 section.
6569
6570 2013-08-03 David S. Miller <davem@davemloft.net>
6571
6572 * po/ko.po: Update Korean translation from translation project.
6573
6574 2013-08-01 David S. Miller <davem@davemloft.net>
6575
6576 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
6577 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6578 Bilka.
6579
6580 2013-07-30 David S. Miller <davem@davemloft.net>
6581
6582 * po/fr.po: Update French translation from translation project.
6583
6584 2013-07-28 David S. Miller <davem@davemloft.net>
6585
6586 * po/cs.po: Update Czech translation from translation project.
6587
6588 * po/sv.po: Update Swedish translation from translation project.
6589
6590 2013-07-27 David S. Miller <davem@davemloft.net>
6591
6592 * po/eo.po: Update Esperanto translation from translation project.
6593
6594 * po/vi.po: Update Vietnamese translation from translation project.
6595
6596 * po/de.po: Update German translation from translation project.
6597
6598 2013-07-26 David S. Miller <davem@davemloft.net>
6599
6600 * po/bg.po: Update Bulgarian translation from translation project.
6601
6602 * po/nl.po: Update Dutch translation from translation project.
6603 * po/pl.po: Update Polish translation from translation project.
6604 * po/ru.po: Update Russian translation from translation project.
6605
6606 2013-07-24 David S. Miller <davem@davemloft.net>
6607
6608 * po/libc.pot: Update.
6609
6610 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6611
6612 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6613 variable page size.
6614 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6615 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6616 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6617
6618 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6619
6620 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6621
6622 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6623 Andreas Schwab <schwab@suse.de>
6624 Roland McGrath <roland@hack.frob.com>
6625 Joseph Myers <joseph@codesourcery.com>
6626 Carlos O'Donell <carlos@redhat.com>
6627
6628 [BZ #15755]
6629 * config.h.in: Define HAVE_PT_CHOWN.
6630 * config.make.in (build-pt-chown): New variable.
6631 * configure.in (--enable-pt_chown): New configure option.
6632 * configure: Regenerate.
6633 * login/Makefile: Include Makeconfig. Build pt_chown only if
6634 build-pt-chown is enabled.
6635 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6636 pt_chown to fix pty ownership.
6637 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6638 CLOSE_ALL_FDS.
6639 * manual/install.texi (Configuring and compiling): Mention
6640 --enable-pt_chown. Add @findex for grantpt.
6641 * INSTALL: Regenerate.
6642
6643 2013-07-20 David S. Miller <davem@davemloft.net>
6644
6645 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6646 difference between 32-bit and 64-bit.
6647
6648 2013-07-15 Carlos O'Donell <carlos@redhat.com>
6649
6650 [BZ #15711]
6651 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6652 Avoid system header dependency with -ffreestanding.
6653 ($(objpfx)bits/syscall%d): Likewise.
6654
6655 2013-07-13 David S. Miller <davem@davemloft.net>
6656
6657 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6658 underflows from atanl/atan2l due to bug 15319.
6659 (casinh_test_data): Likewise.
6660
6661 2013-07-07 David S. Miller <davem@davemloft.net>
6662
6663 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6664
6665 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6666
6667 * sysdeps/i386/fpu/libm-test-ulps: Update.
6668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6669
6670 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6671
6672 * configure.in (--enable-lock-elision): Fix message text.
6673 * INSTALL: Regenerate.
6674 * configure: Regenerate.
6675
6676 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6677
6678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6679
6680 2013-07-03 Andreas Jaeger <aj@suse.de>
6681
6682 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6683 define.
6684 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6685 (ptrace_peeksiginfo_args): Add.
6686 (__ptrace_peeksiginfo_flags): Add.
6687 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6688 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6689 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6690
6691 2013-07-03 Allan McRae <allan@archlinux.org>
6692
6693 * sysdeps/i386/fpu/libm-test-ulps: Update.
6694
6695 2013-07-02 David S. Miller <davem@davemloft.net>
6696
6697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6698
6699 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
6700
6701 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6702
6703 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6704
6705 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6707
6708 2013-07-02 Andi Kleen <ak@linux.intel.com>
6709
6710 * config.h.in (ENABLE_LOCK_ELISION): Add.
6711 * configure.in (--enable-lock-elision): Add option.
6712 * manual/install.texi: Document --enable lock elision.
6713 * configure: Regenerate
6714 * INSTALL: Regenerate.
6715
6716 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
6717
6718 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6719 SSE4.2 strcasecmp for libc.a.
6720 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6721
6722 2013-07-02 Joseph Myers <joseph@codesourcery.com>
6723
6724 [BZ #13304]
6725 * soft-fp/op-common.h (_FP_FMA): New macro.
6726 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6727 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
6728 (_FP_MUL_MEAT_1_imm): ... here.
6729 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
6730 (_FP_MUL_MEAT_1_wide): ... here.
6731 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
6732 (_FP_MUL_MEAT_1_hard): ... here.
6733 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6734 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
6735 (_FP_MUL_MEAT_2_wide): ... here.
6736 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
6737 (_FP_MUL_MEAT_2_wide_3mul): ... here.
6738 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
6739 (_FP_MUL_MEAT_2_gmp): ... here.
6740 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6741 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
6742 (_FP_MUL_MEAT_4_wide): ... here.
6743 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
6744 (_FP_MUL_MEAT_4_gmp): ... here.
6745 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6746 (_FP_WFRACBITS_DW_S): Likewise.
6747 (_FP_WFRACXBITS_DW_S): Likewise.
6748 (_FP_HIGHBIT_DW_S): Likewise.
6749 (FP_FMA_S): Likewise.
6750 (_FP_FRAC_HIGH_DW_S): Likewise.
6751 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6752 (_FP_WFRACBITS_DW_D): Likewise.
6753 (_FP_WFRACXBITS_DW_D): Likewise.
6754 (_FP_HIGHBIT_DW_D): Likewise.
6755 (FP_FMA_D): Likewise.
6756 (_FP_FRAC_HIGH_DW_D): Likewise.
6757 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6758 (_FP_WFRACBITS_DW_E): Likewise.
6759 (_FP_WFRACXBITS_DW_E): Likewise.
6760 (_FP_HIGHBIT_DW_E): Likewise.
6761 (FP_FMA_E): Likewise.
6762 (_FP_FRAC_HIGH_DW_E): Likewise.
6763 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6764 (_FP_WFRACBITS_DW_Q): Likewise.
6765 (_FP_WFRACXBITS_DW_Q): Likewise.
6766 (_FP_HIGHBIT_DW_Q): Likewise.
6767 (FP_FMA_Q): Likewise.
6768 (_FP_FRAC_HIGH_DW_Q): Likewise.
6769 * soft-fp/fmasf4.c: New file.
6770 * soft-fp/fmadf4.c: Likewise.
6771 * soft-fp/fmatf4.c: Likewise.
6772
6773 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6774
6775 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6776 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6777 Silvermont.
6778 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6779 macro.
6780 (index_Slow_SSE4_2): Likewise.
6781 (index_Prefer_PMINUB_for_stringop): Likewise.
6782 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6783 bit_Slow_SSE4_2 is set.
6784 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6785 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6786
6787 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6788
6789 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6790 rtld_global._dl_hwcap2.
6791 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6792 POWER8.
6793 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6794 POWER8 feature descriptions defined in _dl_hwcap2.
6795 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6796 string handling for POWER8 feature bits.
6797 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6798 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6799 _dl_powerpc_cap_flags.
6800 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6801 * sysdeps/powerpc/rtld-global-offsets.sym
6802 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6803 _dl_hwcap2 in the rtld_global_ro structure.
6804
6805 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6806
6807 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6808 hardware capabilities in support of AT_HWCAP2.
6809 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6810 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6811 GLRO(dl_hwcap2).
6812 (_dl_show_auxv): Add support for calling _dl_procinfo to display
6813 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
6814 explicitly the unknown a_type display mechanism is used.
6815 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6816 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6817 struct member.
6818 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6819 to macro prototype for AT_HWCAP2 support.
6820 * sysdeps/i386/dl-procinfo.h: Likewise.
6821 * sysdeps/s390/dl-procinfo.h: Likewise.
6822 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6823 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
6824 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
6825 return -1 for unknown a_type display fallback.
6826 * sysdeps/sparc/dl-procinfo.h: Likewise.
6827 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6828 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6829
6830 2013-06-28 Joseph Myers <joseph@codesourcery.com>
6831
6832 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6833 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6834
6835 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
6836
6837 [BZ #12492]
6838 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6839 mprotect making __stack_prot writable.
6840
6841 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
6842 Joseph Myers <joseph@codesourcery.com>
6843
6844 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6845 as being properly aligned.
6846
6847 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
6848
6849 * dlfcn/modstatic5.c: New file.
6850 * dlfcn/tststatic5.c: New file.
6851 * dlfcn/Makefile (tests): Add tststatic5.
6852 (tests-static): Likewise.
6853 (modules-names): Add modstatic5.
6854 (tststatic5-ENV): New variable.
6855 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6856
6857 [BZ #15022]
6858 * elf/dl-support.c (_dl_main_map): New variable.
6859 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6860 (_dl_nns, _dl_load_adds): Set to 1.
6861 (_dl_initial_searchlist): Refer to _dl_main_map.
6862 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6863 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6864 call to _dl_get_origin.
6865 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6866 around call_map.
6867 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6868 * dlfcn/modstatic3.c: New file.
6869 * dlfcn/tststatic3.c: New file.
6870 * dlfcn/tststatic4.c: New file.
6871 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6872 (tests-static): Likewise.
6873 (modules-names): Add modstatic3.
6874 (tststatic3-ENV, tststatic4-ENV): New variables.
6875 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6876 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6877
6878 2013-06-26 Joseph Myers <joseph@codesourcery.com>
6879
6880 * configure.in (CC): Require GCC version 4.4 or later.
6881 * configure: Regenerated.
6882 * manual/install.texi (Tools for Compilation): Update GCC version
6883 requirement.
6884 * INSTALL: Regenerated.
6885
6886 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
6887
6888 [BZ #15674]
6889 * string/test-memcmp.c (check2): New.
6890 (main): Call check2.
6891
6892 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6893
6894 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
6895
6896 [BZ #15022]
6897 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6898 over to...
6899 (dl_open_worker) [!SHARED]: ... here.
6900
6901 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6902
6903 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6904
6905 2013-06-25 Richard Henderson <rth@redhat.com>
6906
6907 * locale/programs/locarchive.c: Include <libc-internal.h>
6908
6909 2013-06-25 Joseph Myers <joseph@codesourcery.com>
6910
6911 * manual/texinfo.tex: Update to version 2013-06-21.17, with
6912 trailing whitespace removed.
6913
6914 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6915
6916 [BZ #10283]
6917 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6918 * locale/programs/locarchive.c: Include libc-mmap.h.
6919 (prepare_address_space): Take two new outputs (the mmap base and len).
6920 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
6921 values.
6922 (create_archive): Declare new mmap base and len values for
6923 prepare_address_space, and store the result in ah.
6924 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6925 (enlarge_archive): If ah->mmap_base is not NULL, use that and
6926 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6927 Declare new mmap base and len values for
6928 prepare_address_space, and store the result in new_ah.
6929 (open_archive): Declare new mmap base and len values for
6930 prepare_address_space, and store the result in ah.
6931 (close_archive): If ah->mmap_base is not NULL, use that and
6932 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6933 * sysdeps/generic/libc-mmap.h: New file.
6934
6935 2013-06-24 Mike Frysinger <vapier@gentoo.org>
6936
6937 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6938 (ALIGN_UP): Likewise.
6939 (PTR_ALIGN_DOWN): Likewise.
6940 (PTR_ALIGN_UP): Likewise.
6941
6942 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6943
6944 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
6945 entry mapped to PPC_PLATFORM_POWER8.
6946 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
6947 POWER8.
6948 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
6949 (_dl_string_platform): Add case for exporting platform position for
6950 POWER8.
6951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
6952 search path to sysdeps/powerpc/powerpc32/power8 directory.
6953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
6954 search path to sysdeps/powerpc/powerpc64/power8 directory.
6955 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
6956 power7 directories.
6957 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
6958 power7 directories.
6959
6960 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6961
6962 * INSTALL: Regenerate.
6963
6964 * nscd/connections.c (nscd_init): Fix comment.
6965
6966 2013-06-22 Joseph Myers <joseph@codesourcery.com>
6967
6968 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6969
6970 [BZ #15667]
6971 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
6972 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
6973
6974 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6975
6976 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
6977 DL_DST_REQ_STATIC.
6978 (DL_DST_REQ_STATIC): Remove macro.
6979
6980 2013-06-21 Joseph Myers <joseph@codesourcery.com>
6981
6982 [BZ #7006]
6983 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
6984 with a shift of 0 bits.
6985
6986 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
6987
6988 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
6989 $(tststatic-ENV).
6990
6991 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6992
6993 [BZ #15655]
6994 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
6995
6996 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6997
6998 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
6999 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7000 accepts -fno-tree-loop-distribute-patterns.
7001 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7002 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7003 recursive call.
7004 * string/memset.c (memset): Likewise.
7005 * string/test-memmove.c (simple_memmove): Disable loop transformation
7006 to library calls.
7007 * string/test-memset.c (simple_memset): Likewise.
7008 * benchtests/bench-memmove.c (simple_memmove): Likewise.
7009 * benchtests/bench-memset.c (simple_memset): Likewise.
7010 * configure: Regenerated.
7011
7012 2013-06-20 Joseph Myers <joseph@codesourcery.com>
7013
7014 * math/test-misc.c (main): Ignore fesetround failure when failures
7015 of subsequent rounding tests would be ignored.
7016
7017 [BZ #15654]
7018 * math/fedisblxcpt.c (fedisableexcept): Return 0.
7019 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7020 * math/fegetenv.c (__fegetenv): Return 0.
7021 * math/fegetexcept.c (fegetexcept): Return 0.
7022 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7023 FE_TONEAREST.
7024 * math/feholdexcpt.c (feholdexcept): Return 0.
7025 * math/fesetenv.c (__fesetenv): Return 0.
7026 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7027 argument FE_TONEAREST.
7028 * math/feupdateenv.c (__feupdateenv): Return 0.
7029 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7030
7031 2013-06-18 Roland McGrath <roland@hack.frob.com>
7032
7033 * elf/rtld-Rules (rtld-compile-command.S): New variable.
7034 (rtld-compile-command.s, rtld-compile-command.c): New variables.
7035 ($(objpfx)rtld-%.os rules): Use them.
7036
7037 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7038
7039 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7040 fields.
7041
7042 2013-06-17 Roland McGrath <roland@hack.frob.com>
7043
7044 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7045 length of target pattern, then descending length of dependency pattern.
7046 * configure.in (AWK): Require gawk 3.1.2 or newer.
7047 * manual/install.texi (Tools for Compilation): Say that we do.
7048 * configure: Regenerated.
7049
7050 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7051 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7052 * scripts/sysd-rules.awk: ... this new script.
7053 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7054 than a glob-style pattern.
7055
7056 2013-06-17 Joseph Myers <joseph@codesourcery.com>
7057
7058 * math/test-misc.c (main): Do not treat incorrectly rounded
7059 conversions as failure unless ROUNDING_TESTS passes.
7060
7061 2013-06-15 Joseph Myers <joseph@codesourcery.com>
7062
7063 [BZ #15631]
7064 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7065 restore exception state around main square root computation, then
7066 check for inexactness explicitly.
7067
7068 * math/libm-test.inc (fma_test_data): Add another test.
7069
7070 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7071
7072 * manual/threads.texi (Non-POSIX Extensions): New document
7073 node. Document pthread_getattr_default_np and
7074 pthread_setattr_default_np.
7075
7076 * Versions.def (libpthread): Add GLIBC_2.18.
7077 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7079 Likewise.
7080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7081 Likewise.
7082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7083 Likewise.
7084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7085 Likewise.
7086 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7087 Likewise.
7088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7089 Likewise.
7090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7091 Likewise.
7092 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7093 Likewise.
7094 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7095 Likewise.
7096
7097 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7098
7099 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7100 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7101
7102 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7103 H.J. Lu <hjl.tools@gmail.com>
7104
7105 [BZ #15627]
7106 * sysdeps/x86_64/rtld-memset.c: Remove file.
7107 * sysdeps/x86_64/rtld-memset.S: New file.
7108
7109 2013-06-14 Joseph Myers <joseph@codesourcery.com>
7110
7111 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7112 (test_in_one_mode): Take arguments for whether the rounding mode
7113 is supported for each floating-point type.
7114 (do_test): Pass new arguments to test_in_one_mode using
7115 ROUNDING_TESTS.
7116
7117 2013-06-13 Roland McGrath <roland@hack.frob.com>
7118
7119 * posix/tst-waitid.c (do_test): Distinguish different instances of
7120 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
7121 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7122 before entering the kernel for waitpid.
7123
7124 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7125
7126 * NEWS: Fix note on clock function precision. Text by Roland
7127 McGrath.
7128
7129 2013-06-13 Roland McGrath <roland@hack.frob.com>
7130
7131 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7132 it into place only when and if the sanity check passes.
7133
7134 2013-06-13 Joseph Myers <joseph@codesourcery.com>
7135
7136 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7137 output for whether conversion result is exact. Take argument
7138 indicating whether type is IBM long double.
7139 (round_for_all): Change need_exact field to ibm_ld.
7140 * stdlib/tst-strtod-round.c (struct exactness): New type.
7141 (struct test): Change bool ld_ok field to struct exactness exact.
7142 (TEST): Update all definitions for change to field.
7143 (tests): Regenerate array contents.
7144 (test_in_one_mode): Take pointer to new field instead of old ld_ok
7145 field value. Check for IBM long double here.
7146 (do_test): Update calls to test_in_one_mode.
7147
7148 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7149
7150 [BZ #12515]
7151 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7152 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7153
7154 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7155
7156 [BZ #15605]
7157 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7158 generated by the compiler on loop optimizations.
7159 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7160 general definitions.
7161
7162 2013-06-12 Joseph Myers <joseph@codesourcery.com>
7163
7164 * math/bug-nextafter.c: Include <math-tests.h>.
7165 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7166 the relevant type.
7167 * math/bug-nexttoward.c: Include <math-tests.h>.
7168 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7169 the relevant type.
7170 * math/test-misc.c: Include <math-tests.h>.
7171 (main): Only test for exceptions if EXCEPTION_TESTS is true for
7172 the relevant type.
7173
7174 2013-06-12 Andreas Jaeger <aj@suse.de>
7175
7176 * po/ia.po: Update Interlingua translation from translation
7177 project.
7178
7179 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7180
7181 * include/fenv.h: Include stdbool.h.
7182 (struct rm_ctx): New structure.
7183 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7184 Define macro.
7185 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7186 (SET_RESTORE_ROUNDF): Likewise.
7187 (SET_RESTORE_ROUNDL): Likewise.
7188 (SET_RESTORE_ROUND_NOEX): Likewise.
7189 (SET_RESTORE_ROUND_NOEXF): Likewise.
7190 (SET_RESTORE_ROUND_NOEXL): Likewise.
7191 (SET_RESTORE_ROUND_53BIT): Likewise.
7192 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7193 (libc_feresetround_noexf_ctx): Likewise.
7194 (libc_feresetround_noexl_ctx): Likewise.
7195 (libc_feholdsetround_53bit_ctx): Likewise.
7196 (libc_feresetround_53bit_ctx): Likewise.
7197 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7198 (libc_feholdexcept_setround_sse_ctx): New function.
7199 (libc_fesetenv_sse_ctx): Likewise.
7200 (libc_feupdateenv_sse_ctx): Likewise.
7201 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7202 (libc_feholdexcept_setround_387_ctx): Likewise.
7203 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7204 (libc_feholdsetround_387_prec_ctx): Likewise.
7205 (libc_feholdsetround_387_ctx): Likewise.
7206 (libc_feholdsetround_387_53bit_ctx): Likewise.
7207 (libc_feholdsetround_sse_ctx): Likewise.
7208 (libc_feresetround_sse_ctx): Likewise.
7209 (libc_feresetround_387_ctx): Likewise.
7210 (libc_feupdateenv_387_ctx): Likewise.
7211 (libc_feholdexcept_setroundf_ctx): Define macro.
7212 (libc_fesetenvf_ctx): Likewise.
7213 (libc_feupdateenvf_ctx): Likewise.
7214 (libc_feholdsetroundf_ctx): Likewise.
7215 (libc_feresetroundf_ctx): Likewise.
7216 (libc_feholdexcept_setround_ctx): Likewise.
7217 (libc_fesetenv_ctx): Likewise.
7218 (libc_feupdateenv_ctx): Likewise.
7219 (libc_feholdsetround_ctx): Likewise.
7220 (libc_feresetround_ctx): Likewise.
7221 (libc_feholdexcept_setroundl_ctx): Likewise.
7222 (libc_feupdateenvl_ctx): Likewise.
7223 (libc_feholdsetroundl_ctx): Likewise.
7224 (libc_feresetroundl_ctx): Likewise.
7225 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7226 (libc_feresetround_53bit_ctx): Likewise.
7227
7228 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7229
7230 * locale/iso-639.def: Convert to UTF-8.
7231
7232 2013-06-11 Joseph Myers <joseph@codesourcery.com>
7233
7234 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7235 (EXCEPTION_TESTS_double): Likewise.
7236 (EXCEPTION_TESTS_long_double): Likewise.
7237 (EXCEPTION_TESTS): Likewise.
7238 * math/libm-test.inc (test_exceptions): Only test exceptions if
7239 EXCEPTION_TESTS (FLOAT).
7240
7241 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7242
7243 * benchtests/Makefile (string-bench): Add strcpy_chk and
7244 stpcpy_chk.
7245 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7246 * benchtests/bench-stpcpy_chk.c: New file.
7247 * benchtests/bench-strcpy_chk-ifunc.c: New file.
7248 * benchtests/bench-strcpy_chk.c: New file.
7249 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7250 code.
7251 (do_test): Likewise.
7252
7253 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7254
7255 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7256 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7257 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7258 with tabs where appropriate.
7259 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7260 dl-procinfo.h.
7261 [PPC_PLATFORM_PPC440]: Likewise.
7262 [PPC_PLATFORM_PPC464]: Likewise.
7263 [PPC_PLATFORM_PPC476]: Likewise.
7264 (_dl_string_platform): Add support for detecting ppc405, ppc440,
7265 ppc464, and ppc476 platform strings merging from ports/
7266 dl-procinfo.h.
7267
7268 2013-06-11 Andreas Schwab <schwab@suse.de>
7269
7270 [BZ #14991]
7271 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7272 (from_ucs4_idx): Regenerate.
7273 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7274 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7275 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7276 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7277 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7278 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7279 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7280 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7281 from FROM_LOOP and TO_LOOP specific macros.
7282 (BODY): Handle combining characters.
7283 * iconvdata/BIG5HKSCS.irreversible: Update.
7284 * iconvdata/BIG5HKSCS.precomposed: New file.
7285 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7286 characters.
7287 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7288
7289 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7290
7291 * include/sys/time.h: Fix indentation and add copyright header.
7292
7293 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7294 (do_test): Likewise.
7295 * string/test-memchr.c (do_one_test): Likewise.
7296 (do_test): Likewise.
7297 * string/test-memcmp.c (do_one_test): Likewise.
7298 (do_test): Likewise.
7299 * string/test-memcpy.c (do_one_test): Likewise.
7300 (do_test): Likewise.
7301 * string/test-memmem.c (do_one_test): Likewise.
7302 (do_test): Likewise.
7303 (do_random_tests): Likewise.
7304 * string/test-memmove.c (do_one_test): Likewise.
7305 (do_test): Likewise.
7306 * string/test-memset.c (do_one_test): Likewise.
7307 (do_test): Likewise.
7308 * string/test-rawmemchr.c (do_one_test): Likewise.
7309 (do_test): Likewise.
7310 * string/test-strcasecmp.c (do_one_test): Likewise.
7311 (do_test): Likewise.
7312 * string/test-strcasestr.c (do_one_test): Likewise.
7313 (do_test): Likewise.
7314 * string/test-strcat.c (do_one_test): Likewise.
7315 (do_test): Likewise.
7316 * string/test-strchr.c (do_one_test): Likewise.
7317 (do_test): Likewise.
7318 * string/test-strcmp.c (do_one_test): Likewise.
7319 (do_test): Likewise.
7320 * string/test-strcpy.c (do_one_test): Likewise.
7321 (do_test): Likewise.
7322 * string/test-string.h: Likewise.
7323 (test_init): Likewise.
7324 * string/test-strlen.c (do_one_test): Likewise.
7325 (do_test): Likewise.
7326 * string/test-strncasecmp.c (do_one_test): Likewise.
7327 (do_test): Likewise.
7328 * string/test-strncat.c (do_one_test): Likewise.
7329 (do_test): Likewise.
7330 * string/test-strncmp.c (do_one_test): Likewise.
7331 (do_test_limit): Likewise.
7332 (do_test): Likewise.
7333 * string/test-strncpy.c (do_one_test): Likewise.
7334 (do_test): Likewise.
7335 * string/test-strnlen.c (do_one_test): Likewise.
7336 (do_test): Likewise.
7337 * string/test-strpbrk.c (do_one_test): Likewise.
7338 (do_test): Likewise.
7339 * string/test-strrchr.c (do_one_test): Likewise.
7340 (do_test): Likewise.
7341 * string/test-strspn.c (do_one_test): Likewise.
7342 (do_test): Likewise.
7343 * string/test-strstr.c (do_one_test): Likewise.
7344 (do_test): Likewise.
7345
7346 * benchtests/Makefile (string-bench): Add string benchmarks.
7347 * benchtests/bench-bcopy-ifunc.c: New file.
7348 * benchtests/bench-bcopy.c: New file.
7349 * benchtests/bench-bzero-ifunc.c: New file.
7350 * benchtests/bench-bzero.c: New file.
7351 * benchtests/bench-memccpy-ifunc.c: New file.
7352 * benchtests/bench-memccpy.c: New file.
7353 * benchtests/bench-memchr-ifunc.c: New file.
7354 * benchtests/bench-memchr.c: New file.
7355 * benchtests/bench-memcmp-ifunc.c: New file.
7356 * benchtests/bench-memcmp.c: New file.
7357 * benchtests/bench-memmem-ifunc.c: New file.
7358 * benchtests/bench-memmem.c: New file.
7359 * benchtests/bench-memmove-ifunc.c: New file.
7360 * benchtests/bench-memmove.c: New file.
7361 * benchtests/bench-mempcpy-ifunc.c: New file.
7362 * benchtests/bench-mempcpy.c: New file.
7363 * benchtests/bench-memset-ifunc.c: New file.
7364 * benchtests/bench-memset.c: New file.
7365 * benchtests/bench-rawmemchr-ifunc.c: New file.
7366 * benchtests/bench-rawmemchr.c: New file.
7367 * benchtests/bench-stpcpy-ifunc.c: New file.
7368 * benchtests/bench-stpcpy.c: New file.
7369 * benchtests/bench-stpncpy-ifunc.c: New file.
7370 * benchtests/bench-stpncpy.c: New file.
7371 * benchtests/bench-strcasecmp-ifunc.c: New file.
7372 * benchtests/bench-strcasecmp.c: New file.
7373 * benchtests/bench-strcasestr-ifunc.c: New file.
7374 * benchtests/bench-strcasestr.c: New file.
7375 * benchtests/bench-strcat-ifunc.c: New file.
7376 * benchtests/bench-strcat.c: New file.
7377 * benchtests/bench-strchr-ifunc.c: New file.
7378 * benchtests/bench-strchr.c: New file.
7379 * benchtests/bench-strchrnul-ifunc.c: New file.
7380 * benchtests/bench-strchrnul.c: New file.
7381 * benchtests/bench-strcmp-ifunc.c: New file.
7382 * benchtests/bench-strcmp.c: New file.
7383 * benchtests/bench-strcpy-ifunc.c: New file.
7384 * benchtests/bench-strcpy.c: New file.
7385 * benchtests/bench-strcspn-ifunc.c: New file.
7386 * benchtests/bench-strcspn.c: New file.
7387 * benchtests/bench-strlen-ifunc.c: New file.
7388 * benchtests/bench-strlen.c: New file.
7389 * benchtests/bench-strncasecmp-ifunc.c: New file.
7390 * benchtests/bench-strncasecmp.c: New file.
7391 * benchtests/bench-strncat-ifunc.c: New file.
7392 * benchtests/bench-strncat.c: New file.
7393 * benchtests/bench-strncmp-ifunc.c: New file.
7394 * benchtests/bench-strncmp.c: New file.
7395 * benchtests/bench-strncpy-ifunc.c: New file.
7396 * benchtests/bench-strncpy.c: New file.
7397 * benchtests/bench-strnlen-ifunc.c: New file.
7398 * benchtests/bench-strnlen.c: New file.
7399 * benchtests/bench-strpbrk-ifunc.c: New file.
7400 * benchtests/bench-strpbrk.c: New file.
7401 * benchtests/bench-strrchr-ifunc.c: New file.
7402 * benchtests/bench-strrchr.c: New file.
7403 * benchtests/bench-strspn-ifunc.c: New file.
7404 * benchtests/bench-strspn.c: New file.
7405 * benchtests/bench-strstr-ifunc.c: New file.
7406 * benchtests/bench-strstr.c: New file.
7407
7408 * benchtests/Makefile: Disable parallel execution of targets.
7409 (string-bench): Add memcpy.
7410 (benchset): New variable to store a list of benchmark sets.
7411 (bench-func): Renamed from bench.
7412 (bench-set): New target.
7413 (bench): Depend on bench-func and bench-set.
7414 * benchtests/README: Add section on benchmark sets.
7415 * benchtests/bench-memcpy-ifunc.c: New file.
7416 * benchtests/bench-memcpy.c: New file.
7417 * benchtests/bench-string.h: New file.
7418
7419 2013-06-11 Andreas Schwab <schwab@suse.de>
7420
7421 [BZ #15577]
7422 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7423 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7424 values in the triple.
7425 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7426 terminator in the group key.
7427
7428 2013-06-11 Andreas Jaeger <aj@suse.de>
7429
7430 * po/zh_TW.po: Update Chinese (traditional) translation from
7431 translation project.
7432
7433 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7434
7435 * include/time.h (__clock_gettime): Add libc_hidden_proto.
7436 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7437 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
7438 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7439 (clock_getcpuclockid): Likewise.
7440 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7441 Add weak_alias and libc_hidden_def.
7442 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7443 * rt/clock_gettime.c (clock_gettime): Rename to
7444 __clock_gettime. Add weak_alias and libc_hidden_def.
7445 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7446 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7447 __clock_nanosleep. Add weak_alias and libc_hidden_def.
7448 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7449 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7450 Likewise.
7451 * rt/clock_settime.c (clock_settime): Rename to
7452 __clock_settime. Add weak_alias and libc_hidden_def.
7453 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7454
7455 2013-06-10 Joseph Myers <joseph@codesourcery.com>
7456
7457 * mach/err_boot.sub: Remove trailing whitespace.
7458 * mach/err_ipc.sub: Likewise.
7459 * mach/err_mach.sub: Likewise.
7460
7461 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7462 (ROUNDING_TESTS_double): Likewise.
7463 (ROUNDING_TESTS_long_double): Likewise.
7464 (ROUNDING_TESTS): Likewise.
7465 * math/libm-test.inc: Include <math-tests.h>.
7466 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7467 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7468 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7469 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7470
7471 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7472
7473 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7474 of assigning.
7475
7476 2013-06-08 Joseph Myers <joseph@codesourcery.com>
7477
7478 * sysdeps/gnu/errlist.awk: Do not generate space at end of
7479 otherwise empty TRANS lines.
7480 * sysdeps/gnu/errlist.c: Regenerated.
7481
7482 * catgets/gencat.c (error_print): Use (void) in function
7483 definition.
7484 * crypt/crypt_util.c (__init_des): Likewise.
7485 * crypt/speeds.c (Stop): Likewise.
7486 (main): Likewise.
7487 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7488 * inet/ruserpass.c (token): Likewise.
7489 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7490 * intl/localealias.c (extend_alias_table): Likewise.
7491 * intl/plural-exp.c (init_germanic_plural): Likewise.
7492 * libio/fcloseall.c (__fcloseall): Likewise.
7493 * libio/genops.c (_IO_flush_all): Likewise.
7494 (_IO_flush_all_linebuffered): Likewise.
7495 (_IO_cleanup): Likewise.
7496 (_IO_iter_begin): Likewise.
7497 (_IO_iter_end): Likewise.
7498 (_IO_list_lock): Likewise.
7499 (_IO_list_unlock): Likewise.
7500 (_IO_list_resetlock): Likewise.
7501 * libio/getchar.c (getchar): Likewise.
7502 * libio/getchar_u.c (getchar_unlocked): Likewise.
7503 * libio/getwchar.c (getwchar): Likewise.
7504 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7505 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7506 * login/getpt.c (__getpt): Likewise.
7507 * login/tst-utmp.c (main): Likewise.
7508 * malloc/hooks.c (__malloc_check_init): Likewise.
7509 * malloc/malloc.c (__malloc_stats): Likewise.
7510 * malloc/mtrace.c (tr_break): Likewise.
7511 (mtrace): Likewise.
7512 (muntrace): Likewise.
7513 * misc/fstab.c (endfsent): Likewise.
7514 * misc/getclktck.c (__getclktck): Likewise.
7515 * misc/getdtsz.c (__getdtablesize): Likewise.
7516 * misc/gethostid.c (gethostid): Likewise.
7517 * misc/getpagesize.c (__getpagesize): Likewise.
7518 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7519 (__get_nprocs): Likewise.
7520 (__get_phys_pages): Likewise.
7521 (__get_avphys_pages): Likewise.
7522 * misc/getttyent.c (getttyent): Likewise.
7523 (setttyent): Likewise.
7524 (endttyent): Likewise.
7525 * misc/getusershell.c (getusershell): Likewise.
7526 (endusershell): Likewise.
7527 (setusershell): Likewise.
7528 (initshells): Likewise.
7529 * misc/hsearch.c (__hdestroy): Likewise.
7530 * misc/sync.c (sync): Likewise.
7531 * misc/syslog.c (closelog_internal): Likewise.
7532 (closelog): Likewise.
7533 * misc/ttyslot.c (ttyslot): Likewise.
7534 * misc/vhangup.c (vhangup): Likewise.
7535 * posix/fork.c (__fork): Likewise.
7536 * posix/getegid.c (__getegid): Likewise.
7537 * posix/geteuid.c (__geteuid): Likewise.
7538 * posix/getgid.c (__getgid): Likewise.
7539 * posix/getpid.c (__getpid): Likewise.
7540 * posix/getppid.c (__getppid): Likewise.
7541 * posix/getuid.c (__getuid): Likewise.
7542 * posix/pause.c (pause): Likewise.
7543 * posix/setpgrp.c (setpgrp): Likewise.
7544 * posix/setsid.c (__setsid): Likewise.
7545 * posix/test-vfork.c (noop): Likewise.
7546 * resolv/gethnamaddr.c (_endhtent): Likewise.
7547 (_gethtent): Likewise.
7548 (ht_endhostent): Likewise.
7549 (gethostent): Likewise.
7550 (dns_service): Likewise.
7551 * stdlib/drand48.c (drand48): Likewise.
7552 * stdlib/lrand48.c (lrand48): Likewise.
7553 * stdlib/mrand48.c (mrand48): Likewise.
7554 * stdlib/rand.c (rand): Likewise.
7555 * stdlib/random.c (__random): Likewise.
7556 * stdlib/setenv.c (clearenv): Likewise.
7557 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7558 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7559 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7560 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7561 (__get_nprocs): Likewise.
7562 (__get_phys_pages): Likewise.
7563 (__get_avphys_pages): Likewise.
7564 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7565 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7566 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7567 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7568 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7569 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7570 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7571 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7572 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7573 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7574 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7575 * sysdeps/mach/hurd/sync.c (sync): Likewise.
7576 * sysdeps/posix/clock.c (clock): Likewise.
7577 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7578 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7579 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7580 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7581 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7582 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7583 (__get_nprocs_conf): Likewise.
7584 (__get_phys_pages): Likewise.
7585 (__get_avphys_pages): Likewise.
7586 * time/clock.c (clock): Likewise.
7587 * time/tzset.c (__tzname_max): Likewise.
7588
7589 2013-06-07 Joseph Myers <joseph@codesourcery.com>
7590
7591 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7592 (__bswap_32): Do not use "register".
7593 * crypt/crypt.c (_ufc_doit_r): Likewise.
7594 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7595 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7596 * gmon/gmon.c (__monstartup): Likewise.
7597 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7598 * hurd/hurdmalloc.c (more_memory): Likewise.
7599 (malloc): Likewise.
7600 (free): Likewise.
7601 (realloc): Likewise.
7602 (malloc_fork_prepare): Likewise.
7603 (malloc_fork_parent): Likewise.
7604 (malloc_fork_child): Likewise.
7605 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7606 (_svcauth_des): Likewise.
7607 * inet/inet_lnaof.c (inet_lnaof): Likewise.
7608 * inet/inet_net.c (inet_network): Likewise.
7609 * inet/inet_netof.c (inet_netof): Likewise.
7610 * inet/rcmd.c (__validuser2_sa): Likewise.
7611 * io/fts.c (fts_open): Likewise.
7612 (fts_load): Likewise.
7613 (fts_close): Likewise.
7614 (fts_read): Likewise.
7615 (fts_children): Likewise.
7616 (fts_build): Likewise.
7617 (fts_stat): Likewise.
7618 (fts_sort): Likewise.
7619 (fts_alloc): Likewise.
7620 (fts_lfree): Likewise.
7621 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7622 (_IO_file_xsgetn): Likewise.
7623 (_IO_file_xsgetn_mmap): Likewise.
7624 * libio/iofopncook.c (_IO_cookie_read): Likewise.
7625 (_IO_cookie_write): Likewise.
7626 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7627 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7628 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7629 * malloc/obstack.c (_obstack_begin): Likewise.
7630 (_obstack_begin_1): Likewise.
7631 (_obstack_newchunk): Likewise.
7632 (_obstack_allocated_p): Likewise.
7633 (obstack_free): Likewise.
7634 (_obstack_memory_used): Likewise.
7635 * misc/getttyent.c (getttynam): Likewise.
7636 (getttyent): Likewise.
7637 (skip): Likewise.
7638 (value): Likewise.
7639 * misc/getusershell.c (initshells): Likewise.
7640 * misc/syslog.c (__vsyslog_chk): Likewise.
7641 * misc/ttyslot.c (ttyslot): Likewise.
7642 * nis/nis_hash.c (__nis_hash): Likewise.
7643 * posix/fnmatch_loop.c (FCT): Likewise.
7644 * posix/getconf.c (print_all): Likewise.
7645 (main): Likewise.
7646 * posix/getopt.c (exchange): Likewise.
7647 * posix/glob.c (globfree): Likewise.
7648 (prefix_array): Likewise.
7649 (__glob_pattern_type): Likewise.
7650 * resolv/arpa/nameser.h (NS_GET16): Likewise.
7651 (NS_GET32): Likewise.
7652 (NS_PUT16): Likewise.
7653 (NS_PUT32): Likewise.
7654 * resolv/gethnamaddr.c (getanswer): Likewise.
7655 (gethostbyname2): Likewise.
7656 (gethostbyaddr): Likewise.
7657 (_gethtent): Likewise.
7658 (_gethtbyname2): Likewise.
7659 (_gethtbyaddr): Likewise.
7660 * resolv/ns_print.c (dst_s_get_int16): Likewise.
7661 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7662 * resolv/res_init.c (__res_vinit): Likewise.
7663 (net_mask): Likewise.
7664 * resolv/res_mkquery.c (outchar): Likewise.
7665 (PRINT): Likewise.
7666 * stdio-common/printf_fp.c (outchar): Likewise.
7667 (PRINT): Likewise.
7668 * stdio-common/printf_fphex.c (outchar): Likewise.
7669 (PRINT): Likewise.
7670 * stdio-common/printf_size.c (outchar): Likewise.
7671 (PRINT): Likewise.
7672 * stdio-common/test_rdwr.c (main): Likewise.
7673 * stdio-common/tfformat.c (matches): Likewise.
7674 * stdio-common/vfprintf.c (outchar): Likewise.
7675 (printf_unknown): Likewise.
7676 (buffered_vfprintf): Likewise.
7677 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7678 * stdio-common/xbug.c (AppendToBuffer): Likewise.
7679 (ReadFile): Likewise.
7680 * stdlib/qsort.c (SWAP): Likewise.
7681 (_quicksort): Likewise.
7682 * stdlib/setenv.c (__add_to_environ): Likewise.
7683 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7684 * stdlib/strtol_l.c (__strtol_l): Likewise.
7685 * stdlib/tst-strtod.c (main): Likewise.
7686 * stdlib/tst-strtol.c (main): Likewise.
7687 * stdlib/tst-strtoll.c (main): Likewise.
7688 * string/bits/string2.h (__strcmp_cc): Likewise.
7689 (__strcmp_cg): Likewise.
7690 (__strcspn_c1): Likewise.
7691 (__strcspn_c2): Likewise.
7692 (__strcspn_c3): Likewise.
7693 (__strspn_c1): Likewise.
7694 (__strspn_c2): Likewise.
7695 (__strspn_c3): Likewise.
7696 (__strsep_1c): Likewise.
7697 (__strsep_2c): Likewise.
7698 (__strsep_3c): Likewise.
7699 * string/memccpy.c (__memccpy): Likewise.
7700 * string/stpcpy.c (__stpcpy): Likewise.
7701 * string/strcmp.c (strcmp): Likewise.
7702 * string/strrchr.c (strrchr): Likewise.
7703 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7704 Likewise.
7705 * sysdeps/mach/hurd/getcwd.c
7706 (_hurd_canonicalize_directory_name_internal): Likewise.
7707 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7708 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7709 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7710 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7711 Likewise, in both definitions.
7712 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7713 definitions.
7714 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7715 64] (__bswap_64): Likewise.
7716 * time/test_time.c (main): Likewise.
7717 * time/tzfile.c (__tzfile_read): Likewise.
7718 (__tzfile_compute): Likewise.
7719 * time/tzset.c (__tzset_parse_tz): Likewise.
7720 (tzset_internal): Likewise.
7721 (compute_change): Likewise.
7722 * wcsmbs/wcscat.c (__wcscat): Likewise.
7723 * wcsmbs/wcschr.c (wcschr): Likewise.
7724 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7725 * wcsmbs/wcscspn.c (wcscspn): Likewise.
7726 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7727 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7728 * wcsmbs/wcsspn.c (wcsspn): Likewise.
7729 * wcsmbs/wcsstr.c (wcsstr): Likewise.
7730 * wcsmbs/wmemchr.c (wmemchr): Likewise.
7731 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7732 * wcsmbs/wmemset.c (wmemset): Likewise.
7733
7734 2013-06-06 Joseph Myers <joseph@codesourcery.com>
7735
7736 * scripts/config.guess: Update to version 2013-05-16.
7737 * scripts/config.sub: Update to version 2013-04-24.
7738 * scripts/install-sh: Update to version 2011-11-20.07.
7739 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7740 * scripts/move-if-change: Update to version 2012-01-06 07:23.
7741
7742 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
7743
7744 * debug/fgetws_u_chk.c: Fix leading whitespaces.
7745 * elf/sln.c: Likewise.
7746 * hurd/hurd/ioctl.h: Likewise.
7747 * hurd/hurdmalloc.c: Likewise.
7748 * hurd/xattr.c: Likewise.
7749 * include/shlib-compat.h: Likewise.
7750 * inet/ruserpass.c: Likewise.
7751 * libio/iofgets_u.c: Likewise.
7752 * libio/iofgetws_u.c: Likewise.
7753 * locale/programs/ld-identification.c: Likewise.
7754 * locale/programs/ld-time.c: Likewise.
7755 * mach/msg-destroy.c: Likewise.
7756 * nss/nss_files/files-netgrp.c: Likewise.
7757 * resolv/res_data.c: Likewise.
7758 * soft-fp/op-1.h: Likewise.
7759 * soft-fp/op-2.h: Likewise.
7760 * soft-fp/op-4.h: Likewise.
7761 * soft-fp/op-common.h: Likewise.
7762 * stdio-common/printf_fphex.c: Likewise.
7763 * stdlib/strtod_l.c: Likewise.
7764 * sunrpc/rpc/clnt.h: Likewise.
7765 * sysdeps/generic/framestate.c: Likewise.
7766 * sysdeps/i386/bsd-_setjmp.S: Likewise.
7767 * sysdeps/i386/bsd-setjmp.S: Likewise.
7768 * sysdeps/i386/__longjmp.S: Likewise.
7769 * sysdeps/i386/setjmp.S: Likewise.
7770 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7771 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7772 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7773 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7774 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7775 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7776 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7777 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7778 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7779 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7780 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7781 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7782 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7783 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7784 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7785 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7786 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7787 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7788 * sysdeps/ieee754/support.c: Likewise.
7789 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7790 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7791 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7792 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7793 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7794 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7795 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7796 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7797 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7798 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7799 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7800 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7801 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7802 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7803 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7804 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7805 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7807
7808 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
7809
7810 * posix/transbug.c: Remove executable mode.
7811
7812 2013-06-05 Joseph Myers <joseph@codesourcery.com>
7813
7814 * crypt/speeds.c: Remove trailing whitespace.
7815 * dlfcn/default.c: Likewise.
7816 * elf/ifuncdep2.c: Likewise.
7817 * elf/ifuncmain1.c: Likewise.
7818 * elf/ifuncmain1vis.c: Likewise.
7819 * elf/testobj.h: Likewise.
7820 * elf/tst-stackguard1.c: Likewise.
7821 * gmon/sys/gmon.h: Likewise.
7822 * hurd/hurdmsg.c: Likewise.
7823 * hurd/new-fd.c: Likewise.
7824 * hurd/ports-get.c: Likewise.
7825 * iconvdata/ibm1008_420.c: Likewise.
7826 * inet/tst-getni1.c: Likewise.
7827 * inet/tst-getni2.c: Likewise.
7828 * libio/ioungetc.c: Likewise.
7829 * libio/wfiledoalloc.c: Likewise.
7830 * manual/libm-err-tab.pl: Likewise.
7831 * math/w_dremf.c: Likewise.
7832 * misc/ftruncate.c: Likewise.
7833 * posix/bug-glob2.c: Likewise.
7834 * posix/tst-pcre.c: Likewise.
7835 * posix/wait4.c: Likewise.
7836 * resolv/README: Likewise.
7837 * resolv/res_debug.h: Likewise.
7838 * resolv/tst-inet_ntop.c: Likewise.
7839 * setjmp/bug269-setjmp.c: Likewise.
7840 * soft-fp/extended.h: Likewise.
7841 * soft-fp/op-1.h: Likewise.
7842 * soft-fp/op-2.h: Likewise.
7843 * soft-fp/op-4.h: Likewise.
7844 * soft-fp/op-8.h: Likewise.
7845 * soft-fp/testit.c: Likewise.
7846 * stdio-common/bug16.c: Likewise.
7847 * stdlib/random.c: Likewise.
7848 * sunrpc/rpcsvc/rquota.x: Likewise.
7849 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7850 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7851 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7852 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7853 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7854 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7855 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7856 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7857 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7858 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7859 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7860 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7861 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7862 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7863 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7864 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7865 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7866 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7867 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7868 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7869 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7870 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7871 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7872 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7873 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7874 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7875 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7876 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7877 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7878 * sysdeps/ieee754/s_lib_version.c: Likewise.
7879 * sysdeps/mach/hurd/check_fds.c: Likewise.
7880 * sysdeps/mach/hurd/getsockname.c: Likewise.
7881 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7882 * sysdeps/mach/hurd/recvfrom.c: Likewise.
7883 * sysdeps/powerpc/bits/link.h: Likewise.
7884 * sysdeps/powerpc/dl-procinfo.c: Likewise.
7885 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7886 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7887 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7888 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7889 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7890 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7891 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7892 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7893 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7894 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7895 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7896 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7897 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7898 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7899 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7900 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7901 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7902 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7903 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7904 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7905 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7906 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7907 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7908 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7909 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7910 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7911 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7912 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7913 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7914 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7915 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7916 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7917 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7918 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7919 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7920 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7921 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7922 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7923 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7924 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7925 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7926 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7927 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7928 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7929 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7930 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7931 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7932 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7933 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7934 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7935 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7936 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7937 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7938 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
7939 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7940 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7941 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7942 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
7943 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7944 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
7945 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
7946 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
7947 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7948 * sysdeps/powerpc/sysdep.h: Likewise.
7949 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7950 * sysdeps/s390/s390-64/sub_n.S: Likewise.
7951 * sysdeps/sh/dl-trampoline.S: Likewise.
7952 * sysdeps/sh/memset.S: Likewise.
7953 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
7954 * sysdeps/sh/strlen.S: Likewise.
7955 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
7956 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
7957 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
7958 * sysdeps/sparc/sparc32/rem.S: Likewise.
7959 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
7960 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
7961 * sysdeps/sparc/sparc32/strchr.S: Likewise.
7962 * sysdeps/sparc/sparc32/udiv.S: Likewise.
7963 * sysdeps/sparc/sparc32/urem.S: Likewise.
7964 * sysdeps/sparc/sparc64/add_n.S: Likewise.
7965 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7966 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
7967 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
7968 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
7969 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
7970 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7971 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
7972 * sysdeps/unix/bsd/times.c: Likewise.
7973 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
7974 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
7975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7978 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
7979 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7980 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7981 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
7982 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
7983 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
7984 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7985 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
7986 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7987 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7988 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7989 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7990 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
7991 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
7992 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
7993 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7994 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
7995 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7996 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
7997 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
7998 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7999 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8000 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8001 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8002 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8003 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8004 * sysdeps/x86_64/strcspn.S: Likewise.
8005
8006 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8007
8008 * locale/C-translit.h: Revert #include <stdint.h> because this is a
8009 generated file. Regenerate properly from gen-translit.pl.
8010 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
8011 locale/C-translit.h.
8012
8013 2013-06-05 Andreas Schwab <schwab@suse.de>
8014
8015 [BZ #15100]
8016 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8017 week as 6 instead of -1.
8018 * time/tst-strptime.c (day_tests): Add test case.
8019
8020 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8021
8022 * sysdeps/generic/math_private.h
8023 (libc_feholdexcept_setround_53bit): Replace with
8024 libc_feholdsetround_53bit.
8025 (libc_feupdateenv_53bit): Replace with
8026 libc_feresetround_53bit.
8027 (SET_RESTORE_ROUND_53BIT): Adjust.
8028
8029 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8030
8031 * string/test-strchrnul.c: Add copyright header.
8032
8033 * posix/tst-getaddrinfo4.c: Increase test timeout.
8034
8035 2013-06-03 Carlos O'Donell <carlos@redhat.com>
8036
8037 [BZ #15536]
8038 * math/libm-test.inc (MAX_EXP): Remove
8039 (MIN_EXP): Define.
8040 (ulp): Use MIN_EXP - MANT_DIG.
8041 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8042
8043 2013-05-31 Carlos O'Donell <carlos@redhat.com>
8044
8045 * po/be.po: Revert last change.
8046 * po/zh_CN.po: Likewise.
8047 * po/header.pot: Likewise.
8048
8049 2013-05-31 Joseph Myers <joseph@codesourcery.com>
8050
8051 * Makefile ($(common-objpfx)linkobj/libc.so): Define
8052 link-libc-deps to empty as target-specific variable.
8053 * Makerules (link-libc-args): New variable.
8054 (libc-for-link): Likewise.
8055 (link-libc-deps): Likewise.
8056 (lib%.so): Depend on $(link-libc-deps). Link with
8057 $(link-libc-args).
8058 (build-module): Link with $(link-libc-args).
8059 (build-module-asneeded): Likewise.
8060 (build-module-helper-objlist): Filter out $(link-libc-deps) from
8061 list of objects.
8062 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8063 target-specific variable.
8064 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8065 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8066 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8067 libc.
8068 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8069 libc and ld.so.
8070 ($(objpfx)libpcprofile.so): Likewise.
8071 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8072 libc_nonshared.a.
8073 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8074 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8075 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8076 $(link-libc-deps).
8077 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8078 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8079 * login/Makefile ($(objpfx)libutil.so): Likewise.
8080 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8081 * math/Makefile ($(objpfx)libm.so): Likewise.
8082 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8083 $(objpfx)libnsl.so): Define libc-for-link as target-specific
8084 variable instead of depending directly on libc.
8085 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8086 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8087 $(link-libc-deps).
8088 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8089 libc.
8090 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8091 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8092 ($(objpfx)libanl.so): Likewise.
8093 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8094 ld.so.
8095 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8096 $(link-libc-deps).
8097 * sysdeps/i386/fpu/Makefile: Remove file.
8098 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8099 ($(objpfx)libm.so): Remove dependency on ld.so.
8100
8101 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
8102
8103 [BZ # 15553]
8104 * nis/yp_xdr.c (XDRMAXNAME): Define.
8105 (XDRMAXRECORD): Define.
8106 (xdr_domainname): Use XDRMAXNAME.
8107 (xdr_mapname): Likewise.
8108 (xdr_peername): Likewise.
8109 (xdr_keydat): Use XDRMAXRECORD.
8110 (xdr_valdat): Likewise.
8111
8112 2013-05-30 Jeff Law <law@redhat.com>
8113
8114 [BZ #14256]
8115 * manual/errno.texi (ESTALE): Update to account for more than
8116 just NFS file systems.
8117 * sysdeps/gnu/errlist.c: Regenerated.
8118
8119 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8120
8121 [BZ #15465]
8122 * elf/Makefile (tests): Add tst-null-argv.
8123 (modules-names): Add tst-null-argv-lib.
8124 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8125 (tst-null-argv-ENV): Set environment for tst-null-argv.
8126 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8127 (RTLD_PROGNAME): New macro.
8128 * elf/tst-null-argv.c: New test case.
8129 * elf/tst-null-argv-lib.c: Library for test case.
8130 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8131 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8132 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8133 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8134 * elf/dl-init.c (call_init): Likewise.
8135 (_dl_init): Likewise.
8136 * elf/dl-load.c (print_search_path): Likewise.
8137 (_dl_map_object): Likewise.
8138 * elf/dl-lookup.c (do_lookup_x): Likewise.
8139 (add_dependency): Likewise.
8140 (_dl_lookup_symbol_x): Likewise.
8141 (_dl_debug_bindings): Likewise.
8142 * elf/dl-open.c (_dl_show_scope): Likewise.
8143 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8144 * elf/dl-version.c (match_symbol): Likewise.
8145 (_dl_check_map_versions): Likewise.
8146 * elf/rtld.c (dl_main): Likewise.
8147 (print_unresolved): Use RTLD_PROGNAME.
8148 (print_missing_version): Likewise.
8149 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8150 (elf_machine_rela): Likewise.
8151 * sysdeps/powerpc/powerpc32/dl-machine.c
8152 (__process_machine_rela): Likewise.
8153 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8154 Likewise.
8155 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8156 Likewise.
8157 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8158 Likewise.
8159 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8160 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8161 Likewise.
8162 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8163 Likewise.
8164 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8165
8166 2013-05-28 Carlos O'Donell <carlos@redhat.com>
8167
8168 * po/be.po: Add descriptive title.
8169 * po/zh_CN.po: Likewise.
8170 * po/header.pot: Likewise.
8171
8172 2013-05-28 Mike Frysinger <vapier@gentoo.org>
8173
8174 * locale/programs/locarchive.c (create_archive): Inlucde fname in
8175 error message.
8176 (enlarge_archive): Likewise.
8177
8178 2013-05-28 Ben North <ben@redfrontdoor.org>
8179
8180 * manual/arith.texi (frexp): It is the magnitude of the return
8181 value which lies in [0.5, 1), not the return value itself.
8182
8183 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8184
8185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8186
8187 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
8188
8189 * stdio-common/bug26.c (main): Correct fscanf template.
8190
8191 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8192 declare _dl_skip_args.
8193
8194 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8195 Don't declare.
8196
8197 * manual/platform.texi: Add missing @end deftypefun.
8198
8199 2013-05-24 Joseph Myers <joseph@codesourcery.com>
8200
8201 [BZ #15529]
8202 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8203 bit of mantissa of 2^16382.
8204 * math/libm-test.inc (hypot_test_data): Add more tests.
8205
8206 * math/libm-test.inc: Add drem and pow10 to list of tested
8207 functions.
8208 (pow10_test): New function.
8209 (drem_test): Likewise.
8210 (drem_test_tonearest): Likewise.
8211 (drem_test_towardzero): Likewise.
8212 (drem_test_downward): Likewise.
8213 (drem_test_upward): Likewise.
8214 (main): Call the new functions.
8215
8216 * math/libm-test.inc (finite_test_data): Remove.
8217 (finite_test): Run tests from isfinite_test_data.
8218 (gamma_test_data): Remove.
8219 (gamma_test): Run tests from lgamma_test_data.
8220 * sysdeps/i386/fpu/libm-test-ulps: Update.
8221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8222
8223 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8224
8225 * manual/platform.texi: Add PowerPC PPR function set documentation.
8226 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8227 implementation.
8228
8229 2013-05-24 Carlos O'Donell <carlos@redhat.com>
8230
8231 * math/libm-test.inc (MAX_EXP): Define.
8232 (ULPDIFF): Define.
8233 (ulp): New function.
8234 (check_float_internal): Use ULPDIFF.
8235 (cpow_test): Disable failing test.
8236 (check_ulp): Test ulp() implemetnation.
8237 (main): Call check_ulp before starting tests.
8238
8239 2013-05-24 Joseph Myers <joseph@codesourcery.com>
8240
8241 * math/gen-libm-test.pl (generate_testfile): Do not handle
8242 START_DATA and END_DATA.
8243 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8244 END_DATA.
8245 (acos_tonearest_test_data): Likewise.
8246 (acos_towardzero_test_data): Likewise.
8247 (acos_downward_test_data): Likewise.
8248 (acos_upward_test_data): Likewise.
8249 (acosh_test_data): Likewise.
8250 (asin_test_data): Likewise.
8251 (asin_tonearest_test_data): Likewise.
8252 (asin_towardzero_test_data): Likewise.
8253 (asin_downward_test_data): Likewise.
8254 (asin_upward_test_data): Likewise.
8255 (asinh_test_data): Likewise.
8256 (atan_test_data): Likewise.
8257 (atanh_test_data): Likewise.
8258 (atan2_test_data): Likewise.
8259 (cabs_test_data): Likewise.
8260 (cacos_test_data): Likewise.
8261 (cacosh_test_data): Likewise.
8262 (carg_test_data): Likewise.
8263 (casin_test_data): Likewise.
8264 (casinh_test_data): Likewise.
8265 (catan_test_data): Likewise.
8266 (catanh_test_data): Likewise.
8267 (cbrt_test_data): Likewise.
8268 (ccos_test_data): Likewise.
8269 (ccosh_test_data): Likewise.
8270 (ceil_test_data): Likewise.
8271 (cexp_test_data): Likewise.
8272 (cimag_test_data): Likewise.
8273 (clog_test_data): Likewise.
8274 (clog10_test_data): Likewise.
8275 (conj_test_data): Likewise.
8276 (copysign_test_data): Likewise.
8277 (cos_test_data): Likewise.
8278 (cos_tonearest_test_data): Likewise.
8279 (cos_towardzero_test_data): Likewise.
8280 (cos_downward_test_data): Likewise.
8281 (cos_upward_test_data): Likewise.
8282 (cosh_test_data): Likewise.
8283 (cosh_tonearest_test_data): Likewise.
8284 (cosh_towardzero_test_data): Likewise.
8285 (cosh_downward_test_data): Likewise.
8286 (cosh_upward_test_data): Likewise.
8287 (cpow_test_data): Likewise.
8288 (cproj_test_data): Likewise.
8289 (creal_test_data): Likewise.
8290 (csin_test_data): Likewise.
8291 (csinh_test_data): Likewise.
8292 (csqrt_test_data): Likewise.
8293 (ctan_test_data): Likewise.
8294 (ctan_tonearest_test_data): Likewise.
8295 (ctan_towardzero_test_data): Likewise.
8296 (ctan_downward_test_data): Likewise.
8297 (ctan_upward_test_data): Likewise.
8298 (ctanh_test_data): Likewise.
8299 (ctanh_tonearest_test_data): Likewise.
8300 (ctanh_towardzero_test_data): Likewise.
8301 (ctanh_downward_test_data): Likewise.
8302 (ctanh_upward_test_data): Likewise.
8303 (erf_test_data): Likewise.
8304 (erfc_test_data): Likewise.
8305 (exp_test_data): Likewise.
8306 (exp_tonearest_test_data): Likewise.
8307 (exp_towardzero_test_data): Likewise.
8308 (exp_downward_test_data): Likewise.
8309 (exp_upward_test_data): Likewise.
8310 (exp10_test_data): Likewise.
8311 (exp2_test_data): Likewise.
8312 (expm1_test_data): Likewise.
8313 (fabs_test_data): Likewise.
8314 (fdim_test_data): Likewise.
8315 (finite_test_data): Likewise.
8316 (floor_test_data): Likewise.
8317 (fma_test_data): Likewise.
8318 (fma_towardzero_test_data): Likewise.
8319 (fma_downward_test_data): Likewise.
8320 (fma_upward_test_data): Likewise.
8321 (fmax_test_data): Likewise.
8322 (fmin_test_data): Likewise.
8323 (fmod_test_data): Likewise.
8324 (fpclassify_test_data): Likewise.
8325 (frexp_test_data): Likewise.
8326 (gamma_test_data): Likewise.
8327 (hypot_test_data): Likewise.
8328 (ilogb_test_data): Likewise.
8329 (isfinite_test_data): Likewise.
8330 (isgreater_test_data): Likewise.
8331 (isgreaterequal_test_data): Likewise.
8332 (isinf_test_data): Likewise.
8333 (isless_test_data): Likewise.
8334 (islessequal_test_data): Likewise.
8335 (islessgreater_test_data): Likewise.
8336 (isnan_test_data): Likewise.
8337 (isnormal_test_data): Likewise.
8338 (issignaling_test_data): Likewise.
8339 (isunordered_test_data): Likewise.
8340 (j0_test_data): Likewise.
8341 (j1_test_data): Likewise.
8342 (jn_test_data): Likewise.
8343 (ldexp_test_data): Likewise.
8344 (lgamma_test_data): Likewise.
8345 (lrint_test_data): Likewise.
8346 (lrint_tonearest_test_data): Likewise.
8347 (lrint_towardzero_test_data): Likewise.
8348 (lrint_downward_test_data): Likewise.
8349 (lrint_upward_test_data): Likewise.
8350 (llrint_test_data): Likewise.
8351 (llrint_tonearest_test_data): Likewise.
8352 (llrint_towardzero_test_data): Likewise.
8353 (llrint_downward_test_data): Likewise.
8354 (llrint_upward_test_data): Likewise.
8355 (log_test_data): Likewise.
8356 (log10_test_data): Likewise.
8357 (log1p_test_data): Likewise.
8358 (log2_test_data): Likewise.
8359 (logb_test_data): Likewise.
8360 (logb_downward_test_data): Likewise.
8361 (lround_test_data): Likewise.
8362 (llround_test_data): Likewise.
8363 (modf_test_data): Likewise.
8364 (nearbyint_test_data): Likewise.
8365 (nextafter_test_data): Likewise.
8366 (nexttoward_test_data): Likewise.
8367 (pow_test_data): Likewise.
8368 (pow_tonearest_test_data): Likewise.
8369 (pow_towardzero_test_data): Likewise.
8370 (pow_downward_test_data): Likewise.
8371 (pow_upward_test_data): Likewise.
8372 (remainder_test_data): Likewise.
8373 (remainder_tonearest_test_data): Likewise.
8374 (remainder_towardzero_test_data): Likewise.
8375 (remainder_downward_test_data): Likewise.
8376 (remainder_upward_test_data): Likewise.
8377 (remquo_test_data): Likewise.
8378 (rint_test_data): Likewise.
8379 (rint_tonearest_test_data): Likewise.
8380 (rint_towardzero_test_data): Likewise.
8381 (rint_downward_test_data): Likewise.
8382 (rint_upward_test_data): Likewise.
8383 (round_test_data): Likewise.
8384 (scalb_test_data): Likewise.
8385 (scalbn_test_data): Likewise.
8386 (scalbln_test_data): Likewise.
8387 (signbit_test_data): Likewise.
8388 (sin_test_data): Likewise.
8389 (sin_tonearest_test_data): Likewise.
8390 (sin_towardzero_test_data): Likewise.
8391 (sin_downward_test_data): Likewise.
8392 (sin_upward_test_data): Likewise.
8393 (sincos_test_data): Likewise.
8394 (sinh_test_data): Likewise.
8395 (sinh_tonearest_test_data): Likewise.
8396 (sinh_towardzero_test_data): Likewise.
8397 (sinh_downward_test_data): Likewise.
8398 (sinh_upward_test_data): Likewise.
8399 (sqrt_test_data): Likewise.
8400 (tan_test_data): Likewise.
8401 (tan_tonearest_test_data): Likewise.
8402 (tan_towardzero_test_data): Likewise.
8403 (tan_downward_test_data): Likewise.
8404 (tan_upward_test_data): Likewise.
8405 (tanh_test_data): Likewise.
8406 (tgamma_test_data): Likewise.
8407 (trunc_test_data): Likewise.
8408 (y0_test_data): Likewise.
8409 (y1_test_data): Likewise.
8410 (yn_test_data): Likewise.
8411 (significand_test_data): Likewise.
8412
8413 * math/gen-libm-test.pl (@functions): Remove variable.
8414 (generate_testfile): Don't handle START and END lines.
8415 * math/libm-test.inc (START): New macro.
8416 (END): Likewise.
8417 (END_COMPLEX): Likewise.
8418 (acos_test): Use END macro without arguments.
8419 (acos_test_tonearest): Likewise.
8420 (acos_test_towardzero): Likewise.
8421 (acos_test_downward): Likewise.
8422 (acos_test_upward): Likewise.
8423 (acosh_test): Likewise.
8424 (asin_test): Likewise.
8425 (asin_test_tonearest): Likewise.
8426 (asin_test_towardzero): Likewise.
8427 (asin_test_downward): Likewise.
8428 (asin_test_upward): Likewise.
8429 (asinh_test): Likewise.
8430 (atan_test): Likewise.
8431 (atanh_test): Likewise.
8432 (atan2_test): Likewise.
8433 (cabs_test): Likewise.
8434 (cacos_test): Use END_COMPLEX macro without arguments.
8435 (cacosh_test): Likewise.
8436 (carg_test): Use END macro without arguments.
8437 (casin_test): Use END_COMPLEX macro without arguments.
8438 (casinh_test): Likewise.
8439 (catan_test): Likewise.
8440 (catanh_test): Likewise.
8441 (cbrt_test): Use END macro without arguments.
8442 (ccos_test): Use END_COMPLEX macro without arguments.
8443 (ccosh_test): Likewise.
8444 (ceil_test): Use END macro without arguments.
8445 (cexp_test): Use END_COMPLEX macro without arguments.
8446 (cimag_test): Use END macro without arguments.
8447 (clog_test): Use END_COMPLEX macro without arguments.
8448 (clog10_test): Likewise.
8449 (conj_test): Likewise.
8450 (copysign_test): Use END macro without arguments.
8451 (cos_test): Likewise.
8452 (cos_test_tonearest): Likewise.
8453 (cos_test_towardzero): Likewise.
8454 (cos_test_downward): Likewise.
8455 (cos_test_upward): Likewise.
8456 (cosh_test): Likewise.
8457 (cosh_test_tonearest): Likewise.
8458 (cosh_test_towardzero): Likewise.
8459 (cosh_test_downward): Likewise.
8460 (cosh_test_upward): Likewise.
8461 (cpow_test): Use END_COMPLEX macro without arguments.
8462 (cproj_test): Likewise.
8463 (creal_test): Use END macro without arguments.
8464 (csin_test): Use END_COMPLEX macro without arguments.
8465 (csinh_test): Likewise.
8466 (csqrt_test): Likewise.
8467 (ctan_test): Likewise.
8468 (ctan_test_tonearest): Likewise.
8469 (ctan_test_towardzero): Likewise.
8470 (ctan_test_downward): Likewise.
8471 (ctan_test_upward): Likewise.
8472 (ctanh_test): Likewise.
8473 (ctanh_test_tonearest): Likewise.
8474 (ctanh_test_towardzero): Likewise.
8475 (ctanh_test_downward): Likewise.
8476 (ctanh_test_upward): Likewise.
8477 (erf_test): Use END macro without arguments.
8478 (erfc_test): Likewise.
8479 (exp_test): Likewise.
8480 (exp_test_tonearest): Likewise.
8481 (exp_test_towardzero): Likewise.
8482 (exp_test_downward): Likewise.
8483 (exp_test_upward): Likewise.
8484 (exp10_test): Likewise.
8485 (exp2_test): Likewise.
8486 (expm1_test): Likewise.
8487 (fabs_test): Likewise.
8488 (fdim_test): Likewise.
8489 (finite_test): Likewise.
8490 (floor_test): Likewise.
8491 (fma_test): Likewise.
8492 (fma_test_towardzero): Likewise.
8493 (fma_test_downward): Likewise.
8494 (fma_test_upward): Likewise.
8495 (fmax_test): Likewise.
8496 (fmin_test): Likewise.
8497 (fmod_test): Likewise.
8498 (fpclassify_test): Likewise.
8499 (frexp_test): Likewise.
8500 (gamma_test): Likewise.
8501 (hypot_test): Likewise.
8502 (ilogb_test): Likewise.
8503 (isfinite_test): Likewise.
8504 (isgreater_test): Likewise.
8505 (isgreaterequal_test): Likewise.
8506 (isinf_test): Likewise.
8507 (isless_test): Likewise.
8508 (islessequal_test): Likewise.
8509 (islessgreater_test): Likewise.
8510 (isnan_test): Likewise.
8511 (isnormal_test): Likewise.
8512 (issignaling_test): Likewise.
8513 (isunordered_test): Likewise.
8514 (j0_test): Likewise.
8515 (j1_test): Likewise.
8516 (jn_test): Likewise.
8517 (ldexp_test): Likewise.
8518 (lgamma_test): Likewise.
8519 (lrint_test): Likewise.
8520 (lrint_test_tonearest): Likewise.
8521 (lrint_test_towardzero): Likewise.
8522 (lrint_test_downward): Likewise.
8523 (lrint_test_upward): Likewise.
8524 (llrint_test): Likewise.
8525 (llrint_test_tonearest): Likewise.
8526 (llrint_test_towardzero): Likewise.
8527 (llrint_test_downward): Likewise.
8528 (llrint_test_upward): Likewise.
8529 (log_test): Likewise.
8530 (log10_test): Likewise.
8531 (log1p_test): Likewise.
8532 (log2_test): Likewise.
8533 (logb_test): Likewise.
8534 (logb_test_downward): Likewise.
8535 (lround_test): Likewise.
8536 (llround_test): Likewise.
8537 (modf_test): Likewise.
8538 (nearbyint_test): Likewise.
8539 (nextafter_test): Likewise.
8540 (nexttoward_test): Likewise.
8541 (pow_test): Likewise.
8542 (pow_test_tonearest): Likewise.
8543 (pow_test_towardzero): Likewise.
8544 (pow_test_downward): Likewise.
8545 (pow_test_upward): Likewise.
8546 (remainder_test): Likewise.
8547 (remainder_test_tonearest): Likewise.
8548 (remainder_test_towardzero): Likewise.
8549 (remainder_test_downward): Likewise.
8550 (remainder_test_upward): Likewise.
8551 (remquo_test): Likewise.
8552 (rint_test): Likewise.
8553 (rint_test_tonearest): Likewise.
8554 (rint_test_towardzero): Likewise.
8555 (rint_test_downward): Likewise.
8556 (rint_test_upward): Likewise.
8557 (round_test): Likewise.
8558 (scalb_test): Likewise.
8559 (scalbn_test): Likewise.
8560 (scalbln_test): Likewise.
8561 (signbit_test): Likewise.
8562 (sin_test): Likewise.
8563 (sin_test_tonearest): Likewise.
8564 (sin_test_towardzero): Likewise.
8565 (sin_test_downward): Likewise.
8566 (sin_test_upward): Likewise.
8567 (sincos_test): Likewise.
8568 (sinh_test): Likewise.
8569 (sinh_test_tonearest): Likewise.
8570 (sinh_test_towardzero): Likewise.
8571 (sinh_test_downward): Likewise.
8572 (sinh_test_upward): Likewise.
8573 (sqrt_test): Likewise.
8574 (tan_test): Likewise.
8575 (tan_test_tonearest): Likewise.
8576 (tan_test_towardzero): Likewise.
8577 (tan_test_downward): Likewise.
8578 (tan_test_upward): Likewise.
8579 (tanh_test): Likewise.
8580 (tgamma_test): Likewise.
8581 (trunc_test): Likewise.
8582 (y0_test): Likewise.
8583 (y1_test): Likewise.
8584 (yn_test): Likewise.
8585 (significand_test): Likewise.
8586
8587 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
8588
8589 [BZ #15381]
8590 * libio/genops.c (_IO_no_init): Initialize wide struct info.
8591
8592 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
8593
8594 [BZ #14894]
8595 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8596 __ppc_mdoio and __ppc_mdoom.
8597 * manual/platform.texi: Document new functions __ppc_yield,
8598 __ppc_mdoio and __ppc_mdoom.
8599
8600 2013-05-22 Carlos O'Donell <carlos@redhat.com>
8601
8602 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8603 (main): Mention "tls" pseudo-hwcap is legacy.
8604 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8605
8606 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8607
8608 * math/gen-libm-test.pl (parse_args): Output only string of
8609 arguments as text for test name, not full call or descriptions of
8610 tests for extra outputs.
8611 (generate_testfile): Do not pass function name to parse_args.
8612 Generate this_func variable from START.
8613 * math/libm-test.inc (struct test_f_f_data): Rename test_name
8614 field to arg_str.
8615 (struct test_ff_f_data): Likewise.
8616 (test_ff_f_data_nexttoward): Likewise.
8617 (struct test_fi_f_data): Likewise.
8618 (struct test_fl_f_data): Likewise.
8619 (struct test_if_f_data): Likewise.
8620 (struct test_fff_f_data): Likewise.
8621 (struct test_c_f_data): Likewise.
8622 (struct test_f_f1_data): Likewise. Remove field extra_name.
8623 (struct test_fF_f1_data): Likewise.
8624 (struct test_ffI_f1_data): Likewise.
8625 (struct test_c_c_data): Rename test_name field to arg_str.
8626 (struct test_cc_c_data): Likewise.
8627 (struct test_f_i_data): Likewise.
8628 (struct test_ff_i_data): Likewise.
8629 (struct test_f_l_data): Likewise.
8630 (struct test_f_L_data): Likewise.
8631 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
8632 and extra2_name.
8633 (COMMON_TEST_SETUP): New macro.
8634 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8635 (COMMON_TEST_CLEANUP): Likewise.
8636 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8637 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
8638 macros.
8639 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8640 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
8641 macros.
8642 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8643 (RUN_TEST_fff_f): Take argument string. Call new setup and
8644 cleanup macros.
8645 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8646 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
8647 macros.
8648 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8649 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
8650 macros.
8651 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8652 (RUN_TEST_fF_f1): Take argument string. Call new setup and
8653 cleanup macros.
8654 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8655 (RUN_TEST_fI_f1): Take argument string. Call new setup and
8656 cleanup macros.
8657 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8658 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
8659 cleanup macros.
8660 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8661 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
8662 macros.
8663 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8664 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
8665 macros.
8666 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8667 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
8668 macros.
8669 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8670 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
8671 cleanup macros.
8672 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8673 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
8674 cleanup macros.
8675 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8676 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
8677 macros.
8678 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8679 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
8680 cleanup macros.
8681 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8682 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
8683 macros.
8684 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8685 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
8686 macros.
8687 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8688 (RUN_TEST_fFF_11): Take argument string. Call new setup and
8689 cleanup macros.
8690 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8691
8692 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8693
8694 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8695 to _sifields.sigfault.
8696 (si_addr_lsb): Define new macro.
8697 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8698 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8699 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8700
8701 2013-05-03 Carlos O'Donell <carlos at redhat.com>
8702
8703 [BZ #15441]
8704 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8705 returns -1.
8706 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8707 null return -1.
8708 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8709 loading the domain.
8710
8711 2013-05-22 Joseph Myers <joseph@codesourcery.com>
8712
8713 * math/gen-libm-test.pl (parse_args): Do not include expected
8714 result in test name.
8715 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8716 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8717 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8718 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8719 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8721
8722 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8723
8724 * benchtests/Makefile: Sort function entries.
8725
8726 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8727 tanh, asinh, acosh, atanh.
8728 * benchtests/acos-inputs: New file.
8729 * benchtests/acosh-inputs: New file.
8730 * benchtests/asin-inputs: New file.
8731 * benchtests/asinh-inputs: New file.
8732 * benchtests/atanh-inputs: New file.
8733 * benchtests/cosh-inputs: New file.
8734 * benchtests/log-inputs: New file.
8735 * benchtests/sinh-inputs: New file.
8736 * benchtests/tanh-inputs: New file.
8737
8738 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
8739
8740 [BZ #15339]
8741 * posix/tst-getaddrinfo4.c: New test.
8742 * posix/Makefile (tests): Add it.
8743
8744 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8745
8746 [BZ #15339]
8747 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8748 when no services were used.
8749 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8750 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8751
8752 2013-05-21 Andreas Schwab <schwab@suse.de>
8753
8754 [BZ #15014]
8755 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8756 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8757 successful.
8758 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8759 redundant variable declarations and reallocation of buffer when
8760 parsing as IPv6 address. Always set NSS status when called from
8761 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
8762 buffer too small. Correct computation of needed size.
8763 * nss/Makefile (tests): Add test-digits-dots.
8764 * nss/test-digits-dots.c: New test.
8765
8766 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8767
8768 * benchtests/Makefile: Remove instructions for adding
8769 benchmark tests.
8770 * benchtests/README: New file to explain how to execute and
8771 enhance the benchmark tests.
8772
8773 2013-05-21 Andreas Schwab <schwab@suse.de>
8774
8775 [BZ #15493]
8776 * setjmp/Makefile (tests): Add tst-sigsetjmp.
8777 * setjmp/tst-sigsetjmp.c: New test.
8778
8779 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8780
8781 * sysdeps/x86_64/memset.S (memset): New implementation.
8782 (__bzero): Likewise.
8783 (__memset_tail): New function.
8784
8785 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
8786
8787 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8788 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8789 __memcpy_sse2_unaligned ifunc selection.
8790 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8791 Add memcpy-sse2-unaligned.S.
8792 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8793 Add: __memcpy_sse2_unaligned.
8794
8795 2013-05-19 Joseph Myers <joseph@codesourcery.com>
8796
8797 [BZ #15490]
8798 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8799 math_force_eval before restoring floating-point envrionment.
8800 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8801 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8802 Likewise.
8803 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8804 <math_private.h>.
8805 (__nearbyintl): Use math_force_eval before restoring
8806 floating-point environment.
8807 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8808
8809 * math/gen-libm-test.pl (special_functions): Remove.
8810 (parse_args): Don't handle TEST_extra. Handle functions with no
8811 return value.
8812 * math/libm-test.inc (struct test_sincos_data): Replace with
8813 struct test_fFF_11_data.
8814 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8815 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8816 (sincos_test_data): Change element type to struct
8817 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
8818 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8819 RUN_TEST_LOOP_sincos.
8820 * math/README.libm-test: Don't mention special handling of
8821 individual functions.
8822 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8823 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8824 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8825 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8826 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8828
8829 * math/gen-libm-test.pl (get_variable): Remove function.
8830 (parse_args): Don't show pointer parameters to call in test
8831 names. Use "extra output N" in test names for extra outputs
8832 rather than naming variables.
8833
8834 2013-05-18 Joseph Myers <joseph@codesourcery.com>
8835
8836 [BZ #15488]
8837 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8838 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8839 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8840 double tests.
8841 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8842 disable.
8843 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8844 check_long_double.
8845
8846 * math/gen-libm-test.pl (@tests): Remove variable.
8847 ($count): Likewise.
8848 (new_test): Remove function.
8849 (show_exceptions): New function.
8850 (special_functions): Use show_exceptions instead of new_test.
8851 (parse_args): Likewise.
8852 (generate_testfile): Pass only function name in generated call to
8853 print_max_error or print_complex_max_error.
8854 (get_ulps): Do not handle complex tests specially.
8855 (output_test): Rename to ...
8856 (get_all_ulps_for_test): ... this. Return a string rather than
8857 printing to a file. Require ulps to be present.
8858 (output_ulps): Generate arrays rather than #defines.
8859 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8860 (struct ulp_data): New type.
8861 (BUILD_COMPLEX_ULP): Remove macro.
8862 (compare_ulp_data): New function.
8863 (find_ulps): Likewise.
8864 (find_test_ulps): Likewise.
8865 (find_function_ulps): Likewise.
8866 (find_complex_function_ulps): Likewise.
8867 (print_max_error): Determine allowed ulps using
8868 find_function_ulps.
8869 (print_complex_max_error): Determine allowed ulps using
8870 find_complex_function_ulps.
8871 (check_float_internal): Determine max ulps using find_test_ulps.
8872 (check_float): Do not take max_ulp parameter. Update call to
8873 check_float_internal.
8874 (check_complex): Likewise.
8875 (check_int): Do not take max_ulp parameter.
8876 (check_long): Likewise.
8877 (check_bool): Likewise.
8878 (check_longlong): Likewise.
8879 (struct test_f_f_data): Remove max_ulp field.
8880 (struct test_ff_f_data): Likewise.
8881 (struct test_ff_f_data_nexttoward): Likewise.
8882 (struct test_fi_f_data): Likewise.
8883 (struct test_fl_f_data): Likewise.
8884 (struct test_if_f_data): Likewise.
8885 (struct test_fff_f_data): Likewise.
8886 (struct test_c_f_data): Likewise.
8887 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8888 (struct test_fF_f1_data): Likewise.
8889 (struct test_ffI_f1_data): Likewise.
8890 (struct test_c_c_data): Remove max_ulp field.
8891 (struct test_cc_c_data): Likewise.
8892 (struct test_f_i_data): Likewise.
8893 (struct test_ff_i_data): Likewise.
8894 (struct test_f_l_data): Likewise.
8895 (struct test_f_L_data): Likewise.
8896 (struct test_sincos_data): Likewise.
8897 (RUN_TEST_f_f): Do not handle ulps.
8898 (RUN_TEST_LOOP_f_f): Likewise.
8899 (RUN_TEST_2_f): Likewise.
8900 (RUN_TEST_LOOP_2_f): Likewise.
8901 (RUN_TEST_fff_f): Likewise.
8902 (RUN_TEST_LOOP_fff_f): Likewise.
8903 (RUN_TEST_c_f): Likewise.
8904 (RUN_TEST_LOOP_c_f): Likewise.
8905 (RUN_TEST_f_f1): Likewise.
8906 (RUN_TEST_LOOP_f_f1): Likewise.
8907 (RUN_TEST_fF_f1): Likewise.
8908 (RUN_TEST_LOOP_fF_f1): Likewise.
8909 (RUN_TEST_fI_f1): Likewise.
8910 (RUN_TEST_LOOP_fI_f1): Likewise.
8911 (RUN_TEST_ffI_f1): Likewise.
8912 (RUN_TEST_LOOP_ffI_f1): Likewise.
8913 (RUN_TEST_c_c): Likewise.
8914 (RUN_TEST_LOOP_c_c): Likewise.
8915 (RUN_TEST_cc_c): Likewise.
8916 (RUN_TEST_LOOP_cc_c): Likewise.
8917 (RUN_TEST_f_i): Likewise.
8918 (RUN_TEST_LOOP_f_i): Likewise.
8919 (RUN_TEST_f_i_tg): Likewise.
8920 (RUN_TEST_LOOP_f_i_tg): Likewise.
8921 (RUN_TEST_ff_i_tg): Likewise.
8922 (RUN_TEST_LOOP_ff_i_tg): Likewise.
8923 (RUN_TEST_f_b): Likewise.
8924 (RUN_TEST_LOOP_f_b): Likewise.
8925 (RUN_TEST_f_b_tg): Likewise.
8926 (RUN_TEST_LOOP_f_b_tg): Likewise.
8927 (RUN_TEST_f_l): Likewise.
8928 (RUN_TEST_LOOP_f_l): Likewise.
8929 (RUN_TEST_f_L): Likewise.
8930 (RUN_TEST_LOOP_f_L): Likewise.
8931 (RUN_TEST_sincos): Likewise.
8932 (RUN_TEST_LOOP_sincos): Likewise.
8933
8934 2013-05-17 Joseph Myers <joseph@codesourcery.com>
8935
8936 [BZ #15480]
8937 [BZ #15485]
8938 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
8939 main case of finite arguments, set rounding mode to FE_TONEAREST
8940 and discard exceptions.
8941 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
8942 exceptions.
8943 (remainder_tonearest_test_data): New variable.
8944 (remainder_test_tonearest): New function.
8945 (remainder_towardzero_test_data): New variable.
8946 (remainder_test_towardzero): New function.
8947 (remainder_downward_test_data): New variable.
8948 (remainder_test_downward): New function.
8949 (remainder_upward_test_data): New variable.
8950 (remainder_test_upward): New function.
8951 (main): Call the new test functions.
8952
8953 * math/libm-test.inc (struct test_f_f1_data): Remove field
8954 extra_init.
8955 (struct test_fF_f1_data): Likewise.
8956 (struct test_ffI_f1_data): Likewise.
8957 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
8958 based on value of EXTRA_EXPECTED.
8959 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8960 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
8961 EXTRA_VAR based on value of EXTRA_EXPECTED.
8962 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8963 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
8964 EXTRA_VAR based on value of EXTRA_EXPECTED.
8965 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8966 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
8967 EXTRA_VAR based on value of EXTRA_EXPECTED.
8968 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8969 * math/gen-libm-test.pl (parse_args): Don't output initializers
8970 for extra output values.
8971
8972 * math/libm-test.inc (check_int): Expect result to be exactly
8973 equal to expected value and do not handle ulps.
8974 (check_long): Likewise.
8975 (check_longlong): Likewise.
8976
8977 * math/libm-test.inc (ceil_test_data): Test for "inexact"
8978 exceptions.
8979 (cimag_test_data): Likewise.
8980 (conj_test_data): Likewise.
8981 (copysign_test_data): Likewise.
8982 (cproj_test_data): Likewise.
8983 (creal_test_data): Likewise.
8984 (fabs_test_data): Likewise.
8985 (fdim_test_data): Likewise.
8986 (finite_test_data): Likewise.
8987 (floor_test_data): Likewise.
8988 (fmax_test_data): Likewise.
8989 (fmin_test_data): Likewise.
8990 (fmod_test_data): Likewise.
8991 (fpclassify_test_data): Likewise.
8992 (frexp_test_data): Likewise.
8993 (ilogb_test_data): Likewise.
8994 (isfinite_test_data): Likewise.
8995 (isgreater_test_data): Likewise.
8996 (isgreaterequal_test_data): Likewise.
8997 (isinf_test_data): Likewise.
8998 (isless_test_data): Likewise.
8999 (islessequal_test_data): Likewise.
9000 (islessgreater_test_data): Likewise.
9001 (isnan_test_data): Likewise.
9002 (isnormal_test_data): Likewise.
9003 (issignaling_test_data): Likewise.
9004 (isunordered_test_data): Likewise.
9005 (ldexp_test_data): Likewise.
9006 (lrint_test_data): Likewise.
9007 (lrint_test_data) [TEST_FLOAT]: Disable one test.
9008 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9009 (lrint_tonearest_test_data): Test for "inexact" exceptions.
9010 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9011 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9012 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9013 test input.
9014 (lrint_towardzero_test_data): Test for "inexact" exceptions.
9015 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9016 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9017 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9018 that test input.
9019 (lrint_downward_test_data): Test for "inexact" exceptions.
9020 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9021 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9022 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9023 test input.
9024 (lrint_upward_test_data): Test for "inexact" exceptions.
9025 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9026 test input.
9027 (llrint_test_data): Test for "inexact" exceptions.
9028 (llrint_test_data) [TEST_FLOAT]: Disable one test.
9029 (llrint_tonearest_test_data): Test for "inexact" exceptions.
9030 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9031 (llrint_towardzero_test_data): Test for "inexact" exceptions.
9032 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9033 (llrint_downward_test_data): Test for "inexact" exceptions.
9034 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9035 (llrint_upward_test_data): Test for "inexact" exceptions.
9036 (logb_test_data): Likewise.
9037 (logb_downward_test_data): Likewise.
9038 (nextafter_test_data): Likewise.
9039 (nexttoward_test_data): Likewise.
9040 (remainder_test_data): Likewise.
9041 (remquo_test_data): Likewise.
9042 (scalbn_test_data): Likewise.
9043 (scalbln_test_data): Likewise.
9044 (signbit_test_data): Likewise.
9045 (sqrt_test_data): Likewise.
9046 (significand_test_data): Likewise.
9047
9048 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9049
9050 [BZ #15424]
9051 * benchtests/bench-modf.c (struct args): Mark arg0 as
9052 volatile.
9053 * scripts/bench.pl: Mark members of struct args as volatile.
9054
9055 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9056
9057 [BZ # 15497]
9058 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9059 negative infinity on POWER6 or lower.
9060 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9061
9062 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
9063
9064 [BZ #15442]
9065 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9066 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9067 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9068 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9069 (_FP_SETQNAN): New macro.
9070 (_FP_SETQNAN_SEMIRAW): Likewise.
9071 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9072 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9073 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9074 (FP_EXTEND): Use _FP_FRAC_SNANP.
9075 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9076 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9077 into account.
9078 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9079 New macro.
9080 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9081 Likewise.
9082
9083 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9084
9085 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9086 with DIVIDE_BY_ZERO_EXCEPTION.
9087 (gamma_test_data): Likewise.
9088 (lgamma_test_data): Likewise.
9089 (log_test_data): Likewise.
9090 (log10_test_data): Likewise.
9091 (log2_test_data): Likewise.
9092 (tgamma_test_data): Likewise.
9093
9094 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9095 (acos_test_tonearest): Likewise.
9096 (acos_test_towardzero): Likewise.
9097 (acos_test_downward): Likewise.
9098 (acos_test_upward): Likewise.
9099 (acosh_test): Likewise.
9100 (asin_test): Likewise.
9101 (asin_test_tonearest): Likewise.
9102 (asin_test_towardzero): Likewise.
9103 (asin_test_downward): Likewise.
9104 (asin_test_upward): Likewise.
9105 (asinh_test): Likewise.
9106 (atan_test): Likewise.
9107 (atanh_test): Likewise.
9108 (atan2_test): Likewise.
9109 (cabs_test): Likewise.
9110 (cacos_test): Likewise.
9111 (cacosh_test): Likewise.
9112 (casin_test): Likewise.
9113 (casinh_test): Likewise.
9114 (catan_test): Likewise.
9115 (catanh_test): Likewise.
9116 (cbrt_test): Likewise.
9117 (ccos_test): Likewise.
9118 (ccosh_test): Likewise.
9119 (cexp_test): Likewise.
9120 (clog_test): Likewise.
9121 (clog10_test): Likewise.
9122 (cos_test): Likewise.
9123 (cos_test_tonearest): Likewise.
9124 (cos_test_towardzero): Likewise.
9125 (cos_test_downward): Likewise.
9126 (cos_test_upward): Likewise.
9127 (cosh_test): Likewise.
9128 (cosh_test_tonearest): Likewise.
9129 (cosh_test_towardzero): Likewise.
9130 (cosh_test_downward): Likewise.
9131 (cosh_test_upward): Likewise.
9132 (cpow_test): Likewise.
9133 (csin_test): Likewise.
9134 (csinh_test): Likewise.
9135 (csqrt_test): Likewise.
9136 (ctan_test): Likewise.
9137 (ctan_test_tonearest): Likewise.
9138 (ctan_test_towardzero): Likewise.
9139 (ctan_test_downward): Likewise.
9140 (ctan_test_upward): Likewise.
9141 (ctanh_test): Likewise.
9142 (ctanh_test_tonearest): Likewise.
9143 (ctanh_test_towardzero): Likewise.
9144 (ctanh_test_downward): Likewise.
9145 (ctanh_test_upward): Likewise.
9146 (erf_test): Likewise.
9147 (erfc_test): Likewise.
9148 (exp_test): Likewise.
9149 (exp_test_tonearest): Likewise.
9150 (exp_test_towardzero): Likewise.
9151 (exp_test_downward): Likewise.
9152 (exp_test_upward): Likewise.
9153 (exp10_test): Likewise.
9154 (exp2_test): Likewise.
9155 (expm1_test): Likewise.
9156 (fmod_test): Likewise.
9157 (gamma_test): Likewise.
9158 (hypot_test): Likewise.
9159 (j0_test): Likewise.
9160 (j1_test): Likewise.
9161 (jn_test): Likewise.
9162 (lgamma_test): Likewise.
9163 (log_test): Likewise.
9164 (log10_test): Likewise.
9165 (log1p_test): Likewise.
9166 (log2_test): Likewise.
9167 (logb_test_downward): Likewise.
9168 (pow_test): Likewise.
9169 (pow_test_tonearest): Likewise.
9170 (pow_test_towardzero): Likewise.
9171 (pow_test_downward): Likewise.
9172 (pow_test_upward): Likewise.
9173 (remainder_test): Likewise.
9174 (remquo_test): Likewise.
9175 (sin_test): Likewise.
9176 (sin_test_tonearest): Likewise.
9177 (sin_test_towardzero): Likewise.
9178 (sin_test_downward): Likewise.
9179 (sin_test_upward): Likewise.
9180 (sincos_test): Likewise.
9181 (sinh_test): Likewise.
9182 (sinh_test_tonearest): Likewise.
9183 (sinh_test_towardzero): Likewise.
9184 (sinh_test_downward): Likewise.
9185 (sinh_test_upward): Likewise.
9186 (sqrt_test): Likewise.
9187 (tan_test): Likewise.
9188 (tan_test_tonearest): Likewise.
9189 (tan_test_towardzero): Likewise.
9190 (tan_test_downward): Likewise.
9191 (tan_test_upward): Likewise.
9192 (tanh_test): Likewise.
9193 (tgamma_test): Likewise.
9194 (y0_test): Likewise.
9195 (y1_test): Likewise.
9196 (yn_test): Likewise.
9197
9198 * math/gen-libm-test.pl (adjust_arg): Remove function.
9199 (special_function): Remove argument $in_func. Only handle
9200 generating output for tables of tests, not inside functions.
9201 (parse_args): Likewise.
9202 (generate_testfile): Remove variable $in_func. Update call to
9203 parse_args.
9204 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9205 (MINUS_ZERO_INIT): Rename macro to minus_zero.
9206 (PLUS_INFTY_INIT): Rename macro to plus_infty.
9207 (MINUS_INFTY_INIT): Rename macro to minus_infty.
9208 (QNAN_VALUE_INIT): Rename macro to qnan_value.
9209 (MAX_VALUE_INIT): Rename macro to max_value.
9210 (MIN_VALUE_INIT): Rename macro to min_value.
9211 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9212 (plus_zero): Remove variable.
9213 (minus_zero): Likewise.
9214 (plus_infty): Likewise.
9215 (minus_infty): Likewise.
9216 (qnan_value): Likewise.
9217 (max_value): Likewise.
9218 (min_value): Likewise.
9219 (min_subnorm_value): Likewise.
9220
9221 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9222
9223 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9224 uint64_t or uint32_t usage.
9225 * crypt/sha256-block.c: Likewise.
9226 * crypt/sha256-crypt.c: Likewise.
9227 * crypt/sha256.c: Likewise.
9228 * crypt/sha512-block.c: Likewise.
9229 * crypt/sha512-crypt.c: Likewise.
9230 * crypt/sha512.c: Likewise.
9231 * debug/backtrace-tst.c: Likewise.
9232 * debug/pcprofiledump.c: Likewise.
9233 * elf/cache.c: Likewise.
9234 * elf/dl-cache.c: Likewise.
9235 * elf/dl-misc.c: Likewise.
9236 * elf/dl-profile.c: Likewise.
9237 * elf/dl-support.c: Likewise.
9238 * elf/ldconfig.c: Likewise.
9239 * elf/sprof.c: Likewise.
9240 * iconv/dummy-repertoire.c: Likewise.
9241 * iconv/iconv_charmap.c: Likewise.
9242 * iconv/skeleton.c: Likewise.
9243 * iconvdata/8bit-generic.c: Likewise.
9244 * iconvdata/cp737.h: Likewise.
9245 * iconvdata/cp775.h: Likewise.
9246 * iconvdata/ibm1008.h: Likewise.
9247 * iconvdata/ibm1025.h: Likewise.
9248 * iconvdata/ibm1046.h: Likewise.
9249 * iconvdata/ibm1097.h: Likewise.
9250 * iconvdata/ibm1112.h: Likewise.
9251 * iconvdata/ibm1122.h: Likewise.
9252 * iconvdata/ibm1123.h: Likewise.
9253 * iconvdata/ibm1124.h: Likewise.
9254 * iconvdata/ibm1129.h: Likewise.
9255 * iconvdata/ibm1130.h: Likewise.
9256 * iconvdata/ibm1132.h: Likewise.
9257 * iconvdata/ibm1133.h: Likewise.
9258 * iconvdata/ibm1137.h: Likewise.
9259 * iconvdata/ibm1140.h: Likewise.
9260 * iconvdata/ibm1141.h: Likewise.
9261 * iconvdata/ibm1142.h: Likewise.
9262 * iconvdata/ibm1143.h: Likewise.
9263 * iconvdata/ibm1144.h: Likewise.
9264 * iconvdata/ibm1145.h: Likewise.
9265 * iconvdata/ibm1146.h: Likewise.
9266 * iconvdata/ibm1147.h: Likewise.
9267 * iconvdata/ibm1148.h: Likewise.
9268 * iconvdata/ibm1149.h: Likewise.
9269 * iconvdata/ibm1153.h: Likewise.
9270 * iconvdata/ibm1154.h: Likewise.
9271 * iconvdata/ibm1155.h: Likewise.
9272 * iconvdata/ibm1156.h: Likewise.
9273 * iconvdata/ibm1157.h: Likewise.
9274 * iconvdata/ibm1158.h: Likewise.
9275 * iconvdata/ibm1160.h: Likewise.
9276 * iconvdata/ibm1161.h: Likewise.
9277 * iconvdata/ibm1162.h: Likewise.
9278 * iconvdata/ibm1163.h: Likewise.
9279 * iconvdata/ibm1164.h: Likewise.
9280 * iconvdata/ibm1166.h: Likewise.
9281 * iconvdata/ibm1167.h: Likewise.
9282 * iconvdata/ibm12712.h: Likewise.
9283 * iconvdata/ibm1390.h: Likewise.
9284 * iconvdata/ibm1399.h: Likewise.
9285 * iconvdata/ibm16804.h: Likewise.
9286 * iconvdata/ibm4517.h: Likewise.
9287 * iconvdata/ibm4899.h: Likewise.
9288 * iconvdata/ibm4909.h: Likewise.
9289 * iconvdata/ibm4971.h: Likewise.
9290 * iconvdata/ibm5347.h: Likewise.
9291 * iconvdata/ibm803.h: Likewise.
9292 * iconvdata/ibm856.h: Likewise.
9293 * iconvdata/ibm901.h: Likewise.
9294 * iconvdata/ibm902.h: Likewise.
9295 * iconvdata/ibm9030.h: Likewise.
9296 * iconvdata/ibm9066.h: Likewise.
9297 * iconvdata/ibm921.h: Likewise.
9298 * iconvdata/ibm922.h: Likewise.
9299 * iconvdata/ibm9448.h: Likewise.
9300 * iconvdata/isiri-3342.h: Likewise.
9301 * iconvdata/jis0201.h: Likewise.
9302 * include/link.h: Likewise.
9303 * include/netdb.h: Likewise.
9304 * inet/check_native.c: Likewise.
9305 * inet/check_pf.c: Likewise.
9306 * inet/getipv4sourcefilter.c: Likewise.
9307 * inet/getnameinfo.c: Likewise.
9308 * inet/getsourcefilter.c: Likewise.
9309 * inet/htonl.c: Likewise.
9310 * inet/setipv4sourcefilter.c: Likewise.
9311 * inet/setsourcefilter.c: Likewise.
9312 * inet/test-inet6_opt.c: Likewise.
9313 * inet/tst-network.c: Likewise.
9314 * locale/C-collate.c: Likewise.
9315 * locale/C-ctype.c: Likewise.
9316 * locale/C-time.c: Likewise.
9317 * locale/C-translit.h: Likewise.
9318 * locale/loadarchive.c: Likewise.
9319 * locale/programs/3level.h: Likewise.
9320 * locale/programs/charmap.c: Likewise.
9321 * locale/programs/charmap.h: Likewise.
9322 * locale/programs/ld-address.c: Likewise.
9323 * locale/programs/ld-collate.c: Likewise.
9324 * locale/programs/ld-ctype.c: Likewise.
9325 * locale/programs/ld-identification.c: Likewise.
9326 * locale/programs/ld-measurement.c: Likewise.
9327 * locale/programs/ld-messages.c: Likewise.
9328 * locale/programs/ld-monetary.c: Likewise.
9329 * locale/programs/ld-name.c: Likewise.
9330 * locale/programs/ld-numeric.c: Likewise.
9331 * locale/programs/ld-paper.c: Likewise.
9332 * locale/programs/ld-telephone.c: Likewise.
9333 * locale/programs/ld-time.c: Likewise.
9334 * locale/programs/linereader.c: Likewise.
9335 * locale/programs/locale.c: Likewise.
9336 * locale/programs/locarchive.c: Likewise.
9337 * locale/programs/locfile.h: Likewise.
9338 * locale/programs/repertoire.c: Likewise.
9339 * locale/programs/simple-hash.c: Likewise.
9340 * locale/programs/simple-hash.h: Likewise.
9341 * malloc/memusage.c: Likewise.
9342 * malloc/memusagestat.c: Likewise.
9343 * nis/nis_defaults.c: Likewise.
9344 * nis/nis_hash.c: Likewise.
9345 * nis/nis_print.c: Likewise.
9346 * nis/nis_xdr.c: Likewise.
9347 * nscd/connections.c: Likewise.
9348 * nscd/hstcache.c: Likewise.
9349 * nscd/nscd_gethst_r.c: Likewise.
9350 * nscd/nscd_getserv_r.c: Likewise.
9351 * nscd/nscd_helper.c: Likewise.
9352 * nscd/servicescache.c: Likewise.
9353 * nss/makedb.c: Likewise.
9354 * nss/nss_db/db-XXX.c: Likewise.
9355 * nss/nss_db/db-initgroups.c: Likewise.
9356 * nss/nss_db/db-netgrp.c: Likewise.
9357 * nss/nss_files/files-network.c: Likewise.
9358 * nss/nss_files/files-parse.c: Likewise.
9359 * posix/bug-regex5.c: Likewise.
9360 * posix/fnmatch_loop.c: Likewise.
9361 * posix/regcomp.c: Likewise.
9362 * posix/regexec.c: Likewise.
9363 * posix/tst-rfc3484-2.c: Likewise.
9364 * posix/tst-rfc3484-3.c: Likewise.
9365 * posix/tst-rfc3484.c: Likewise.
9366 * resolv/nss_dns/dns-canon.c: Likewise.
9367 * resolv/nss_dns/dns-network.c: Likewise.
9368 * resolv/res_init.c: Likewise.
9369 * resolv/res_mkquery.c: Likewise.
9370 * resolv/tst-aton.c: Likewise.
9371 * stdlib/cxa_atexit.c: Likewise.
9372 * stdlib/cxa_finalize.c: Likewise.
9373 * stdlib/gen-fpioconst.c: Likewise.
9374 * stdlib/strtol_l.c: Likewise.
9375 * string/tst-endian.c: Likewise.
9376 * sunrpc/auth_des.c: Likewise.
9377 * sunrpc/clnt_udp.c: Likewise.
9378 * sunrpc/rtime.c: Likewise.
9379 * sunrpc/svcauth_des.c: Likewise.
9380 * sunrpc/xdr.c: Likewise.
9381 * sunrpc/xdr_intXX_t.c: Likewise.
9382 * sunrpc/xdr_rec.c: Likewise.
9383 * sysdeps/generic/ldconfig.h: Likewise.
9384 * sysdeps/generic/ldsodefs.h: Likewise.
9385 * sysdeps/generic/memusage.h: Likewise.
9386 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9387 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9388 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9389 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9390 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9391 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9392 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9393 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9394 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9395 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9396 * sysdeps/posix/getaddrinfo.c: Likewise.
9397 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9398 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9399 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9400 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9401 * sysdeps/powerpc/test-gettimebase.c: Likewise.
9402 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9403 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9404 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9405 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9406 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9407 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9408 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9409 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9410 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9411 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9412 * sysdeps/x86_64/dl-tls.h: Likewise.
9413 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9414 * time/alt_digit.c: Likewise.
9415 * time/era.c: Likewise.
9416 * wcsmbs/tst-c16c32-1.c: Likewise.
9417
9418 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9419
9420 * math/libm-test.inc (struct test_sincos_data): New type.
9421 (RUN_TEST_LOOP_sincos): New macro.
9422 (sincos_test_data): New variable.
9423 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9424
9425 2013-05-16 Richard Henderson <rth@redhat.com>
9426
9427 * math/atest-exp2.c (LIMB64): New macro.
9428 (CONSTSZ): New macro.
9429 (mp_exp1, mp_exp_m1, mp_log2): New variables.
9430 (hexdig): Move ...
9431 (print_mpn_fp): ... to function scope.
9432 (read_mpn_hex): Remove.
9433 (get_log2): Remove.
9434 (exp2_mpn): Use mp_log2.
9435 (main): Use mp_exp1.
9436
9437 2013-05-16 Joseph Myers <joseph@codesourcery.com>
9438
9439 * math/libm-test.inc: Remove comment about not testing "inexact"
9440 exceptions.
9441 (INEXACT_EXCEPTION): New macro.
9442 (NO_INEXACT_EXCEPTION): Likewise.
9443 (INVALID_EXCEPTION_OK): Update value.
9444 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9445 (OVERFLOW_EXCEPTION_OK): Likewise.
9446 (UNDERFLOW_EXCEPTION_OK): Likewise.
9447 (IGNORE_ZERO_INF_SIGN): Likewise.
9448 (ERRNO_UNCHANGED): Likewise.
9449 (ERRNO_EDOM): Likewise.
9450 (ERRNO_ERANGE): Likewise.
9451 (test_exceptions): Handle testing "inexact" exceptions.
9452 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9453 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9454 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9455 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9456 INEXACT_EXCEPTION.
9457 (rint_towardzero_test_data): Likewise.
9458 (rint_downward_test_data): Likewise.
9459 (rint_upward_test_data): Likewise.
9460
9461 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9462 with OVERFLOW_EXCEPTION.
9463 (exp10_test_data): Likewise.
9464 (exp2_test_data): Likewise.
9465 (expm1_test_data): Likewise.
9466 (lgamma_test_data): Likewise.
9467 (pow_test_data): Likewise.
9468 (tgamma_test_data): Likewise.
9469 (yn_test_data): Remove duplicate test of overflow.
9470
9471 * math/libm-test.inc (struct test_cc_c_data): New type.
9472 (RUN_TEST_LOOP_cc_c): New macro.
9473 (cpow_test_data): New variable.
9474 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9475
9476 * math/libm-test.inc (struct test_f_L_data): New type.
9477 (RUN_TEST_LOOP_f_L): New macro.
9478 (llrint_test_data): New variable.
9479 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9480 (llrint_tonearest_test_data): New variable.
9481 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9482 (llrint_towardzero_test_data): New variable.
9483 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9484 (llrint_downward_test_data): New variable.
9485 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9486 (llrint_upward_test_data): New variable.
9487 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9488 (llround_test_data): New variable.
9489 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9490
9491 2013-05-13 Peter Collingbourne <pcc@google.com>
9492
9493 * math/atest-exp2.c (get_log2): Remove const attribute.
9494
9495 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9496
9497 * math/libm-test.inc (struct test_f_l_data): New type.
9498 (RUN_TEST_LOOP_f_l): New macro.
9499 (lrint_test_data): New variable.
9500 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9501 (lrint_tonearest_test_data): New variable.
9502 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9503 (lrint_towardzero_test_data): New variable.
9504 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9505 (lrint_downward_test_data): New variable.
9506 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9507 (lrint_upward_test_data): New variable.
9508 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9509 (lround_test_data): New variable.
9510 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9511
9512 2013-05-15 Peter Collingbourne <pcc@google.com>
9513
9514 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9515 (EXTRACT_WORDS64) Use where appropriate.
9516 (INSERT_WORDS64) Likewise.
9517
9518 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9519 constraints with x constraints.
9520 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9521
9522 * malloc/obstack.c (_obstack_compat): Add initializer.
9523
9524 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
9525
9526 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9527 si_trapno and add si_addr_lsb to _sifields.sigfault.
9528 (si_trapno): Remove macro.
9529 (si_addr_lsb): Define new macro.
9530 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9531
9532 2013-05-15 Joseph Myers <joseph@codesourcery.com>
9533
9534 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9535 instead of TEST_f_l.
9536 (llrint_test_tonearest): Likewise.
9537 (llrint_test_towardzero): Likewise.
9538 (llrint_test_downward): Likewise.
9539 (llrint_test_upward): Likewise.
9540 (llround_test): Likewise.
9541
9542 * math/libm-test.inc (struct test_f_i_data): Add comment.
9543 (RUN_TEST_LOOP_f_b): New macro.
9544 (RUN_TEST_LOOP_f_b_tg): Likewise.
9545 (finite_test_data): New variable.
9546 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9547 (isfinite_test_data): New variable.
9548 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9549 (isinf_test_data): New variable.
9550 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9551 (isnan_test_data): New variable.
9552 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9553 (isnormal_test_data): New variable.
9554 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9555 (issignaling_test_data): New variable.
9556 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9557 (signbit_test_data): New variable.
9558 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9559
9560 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9561 with INVALID_EXCEPTION.
9562 (acosh_test_data): Likewise.
9563 (asin_test_data): Likewise.
9564 (atanh_test_data): Likewise.
9565 (fmod_test_data): Likewise.
9566 (log_test_data): Likewise.
9567 (log10_test_data): Likewise.
9568 (log2_test_data): Likewise.
9569 (pow_test_data): Likewise.
9570 (sqrt_test_data): Likewise.
9571 (y0_test_data): Likewise.
9572 (y1_test_data): Likewise.
9573 (yn_test_data): Likewise.
9574
9575 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9576 function contents.
9577
9578 * math/libm-test.inc (struct test_ff_i_data): New type.
9579 (RUN_TEST_LOOP_ff_i_tg): New macro.
9580 (isgreater_test_data): New variable.
9581 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9582 (isgreaterequal_test_data): New variable.
9583 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9584 (isless_test_data): New variable.
9585 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9586 (islessequal_test_data): New variable.
9587 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9588 (islessgreater_test_data): New variable.
9589 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9590 (isunordered_test_data): New variable.
9591 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9592
9593 2013-05-14 David S. Miller <davem@davemloft.net>
9594
9595 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9596
9597 2013-05-14 Joseph Myers <joseph@codesourcery.com>
9598
9599 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9600
9601 * math/libm-test.inc (struct test_fF_f1_data): Change type of
9602 extra_test to int.
9603 (struct test_f_i_data): Change type of max_ulp to int.
9604
9605 * math/libm-test.inc (test_ffI_f1_data): New type.
9606 (RUN_TEST_LOOP_ffI_f1): New macro.
9607 (remquo_test_data): New variable.
9608 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9609
9610 * setjmp/tst-setjmp-fp.c: New file.
9611 * setjmp/Makefile (tests): Add tst-setjmp-fp.
9612 (link-libm): New variable.
9613 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9614
9615 * math/libm-test.inc (struct test_f_i_data): New type.
9616 (RUN_TEST_LOOP_f_i): New macro.
9617 (RUN_TEST_LOOP_f_i_tg): Likewise.
9618 (fpclassify_test_data): New variable.
9619 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9620 (ilogb_test_data): New variable.
9621 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9622
9623 * math/libm-test.inc (scalbln_test): Correct function name in END
9624 call.
9625
9626 * math/libm-test.inc (struct test_f_f1_data): Add comment.
9627 (RUN_TEST_LOOP_fI_f1): New macro.
9628 (frexp_test_data): New variable.
9629 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9630
9631 * math/libm-test.inc (struct test_fF_f1_data): New type.
9632 (RUN_TEST_LOOP_fF_f1): New macro.
9633 (modf_test_data): New variable.
9634 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9635
9636 * math/libm-test.inc (struct test_f_f1_data): New type.
9637 (RUN_TEST_LOOP_f_f1): New macro.
9638 (gamma_test_data): New variable.
9639 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9640 (lgamma_test_data): New variable.
9641 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9642
9643 2013-05-13 Carlos O'Donell <carlos@redhat.com>
9644
9645 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9646 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9647 (main): Comment "tls" pseudo-hwcap.
9648
9649 2013-05-13 Joseph Myers <joseph@codesourcery.com>
9650
9651 * math/libm-test.inc (struct test_fl_f_data): New type.
9652 (RUN_TEST_LOOP_fl_f): New variable.
9653 (scalbln_test_data): New variable.
9654 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9655
9656 * math/libm-test.inc (struct test_fi_f_data): New type.
9657 (RUN_TEST_LOOP_fi_f): New macro.
9658 (ldexp_test_data): New variable.
9659 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9660 (scalbn_test_data): New variable.
9661 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9662
9663 * math/libm-test.inc (struct test_c_f_data): New type.
9664 (RUN_TEST_LOOP_c_f): New macro.
9665 (cabs_test_data): New variable.
9666 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9667 (carg_test_data): New variable.
9668 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9669 (cimag_test_data): New variable.
9670 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9671 (creal_test_data): New variable.
9672 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9673
9674 * math/libm-test.inc (struct test_if_f_data): New type.
9675 (RUN_TEST_LOOP_if_f): New macro.
9676 (jn_test_data): New variable.
9677 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9678 (yn_test_data): New variable.
9679 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9680
9681 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9682
9683 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9684
9685 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9686 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9687
9688 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9689
9690 * benchtests/Makefile (CPPFLAGS-nonlib): Add
9691 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9692 (bench-deps): Add bench-timing.h.
9693 * benchtests-bench-skeleton.c: Include bench-timing.h.
9694 (main): Use TIMING_* macros instead of clock_gettime.
9695 * benchtests/bench-timing.h: New file.
9696
9697 [BZ #14582]
9698 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9699 Renamed from _LIB_VERSION.
9700 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9701
9702 2013-05-12 Joseph Myers <joseph@codesourcery.com>
9703
9704 * math/libm-test.inc (struct test_fff_f_data): New type.
9705 (RUN_TEST_LOOP_fff_f): New macro.
9706 (fma_test_data): New variable.
9707 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9708 (fma_towardzero_test_data): New variable.
9709 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9710 (fma_downward_test_data): New variable.
9711 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9712 (fma_upward_test_data): New variable.
9713 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9714
9715 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9716 (struct test_c_c_data): New type.
9717 (RUN_TEST_LOOP_c_c): New macro.
9718 (cacos_test_data): New variable.
9719 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9720 (cacosh_test_data): New variable.
9721 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9722 (casin_test_data): New variable.
9723 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9724 (casinh_test_data): New variable.
9725 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9726 (catan_test_data): New variable.
9727 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9728 (catanh_test_data): New variable.
9729 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9730 (ccos_test_data): New variable.
9731 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9732 (ccosh_test_data): New variable.
9733 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9734 (cexp_test_data): New variable.
9735 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9736 (clog_test_data): New variable.
9737 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9738 (clog10_test_data): New variable.
9739 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9740 (conj_test_data): New variable.
9741 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9742 (cproj_test_data): New variable.
9743 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9744 (csin_test_data): New variable.
9745 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9746 (csinh_test_data): New variable.
9747 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9748 (csqrt_test_data): New variable.
9749 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9750 (ctan_test_data): New variable.
9751 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9752 (ctan_tonearest_test_data): New variable.
9753 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9754 (ctan_towardzero_test_data): New variable.
9755 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9756 (ctan_downward_test_data): New variable.
9757 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9758 (ctan_upward_test_data): New variable.
9759 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9760 (ctanh_test_data): New variable.
9761 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9762 (ctanh_tonearest_test_data): New variable.
9763 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9764 (ctanh_towardzero_test_data): New variable.
9765 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9766 (ctanh_downward_test_data): New variable.
9767 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9768 (ctanh_upward_test_data): New variable.
9769 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9770 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9771 of BUILD_COMPLEX.
9772
9773 * math/libm-test.inc (struct test_ff_f_data): New type.
9774 (struct test_ff_f_data_nexttoward): Likewise.
9775 (RUN_TEST_LOOP_2_f): New macro.
9776 (RUN_TEST_LOOP_ff_f): Likewise.
9777 (atan2_test_data): New variable.
9778 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9779 (copysign_test_data): New variable.
9780 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9781 (fdim_test_data): New variable.
9782 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9783 (fmax_test_data): New variable.
9784 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9785 (fmin_test_data): New variable.
9786 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9787 (fmod_test_data): New variable.
9788 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9789 (hypot_test_data): New variable.
9790 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9791 (nextafter_test_data): New variable.
9792 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9793 (nexttoward_test_data): New variable.
9794 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9795 (pow_test_data): New variable.
9796 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9797 (pow_tonearest_test_data): New variable.
9798 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9799 (pow_towardzero_test_data): New variable.
9800 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9801 (pow_downward_test_data): New variable.
9802 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9803 (pow_upward_test_data): New variable.
9804 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9805 (remainder_test_data): New variable.
9806 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9807 (scalb_test_data): New variable.
9808 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9809 * sysdeps/i386/fpu/libm-test-ulps: Update.
9810
9811 2013-05-11 Joseph Myers <joseph@codesourcery.com>
9812
9813 * math/libm-test.inc (fma_test): Use max_value instead of local
9814 variable fltmax.
9815 (nextafter_test): Likewise.
9816
9817 * math/libm-test.inc (acos_towardzero_test_data): New variable.
9818 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9819 (acos_downward_test_data): New variable.
9820 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9821 (acos_upward_test_data): New variable.
9822 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9823 (acosh_test_data): New variable.
9824 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9825 (asin_test_data): New variable.
9826 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9827 (asin_tonearest_test_data): New variable.
9828 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9829 (asin_towardzero_test_data): New variable.
9830 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9831 (asin_downward_test_data): New variable.
9832 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9833 (asin_upward_test_data): New variable.
9834 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9835 (asinh_test_data): New variable.
9836 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9837 (atan_test_data): New variable.
9838 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9839 (atanh_test_data): New variable.
9840 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9841 (cbrt_test_data): New variable.
9842 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9843 (ceil_test_data): New variable.
9844 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9845 (cos_test_data): New variable.
9846 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9847 (cos_tonearest_test_data): New variable.
9848 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9849 (cos_towardzero_test_data): New variable.
9850 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9851 (cos_downward_test_data): New variable.
9852 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9853 (cos_upward_test_data): New variable.
9854 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9855 (cosh_test_data): New variable.
9856 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9857 (cosh_tonearest_test_data): New variable.
9858 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9859 (cosh_towardzero_test_data): New variable.
9860 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9861 (cosh_downward_test_data): New variable.
9862 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9863 (cosh_upward_test_data): New variable.
9864 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9865 (erf_test_data): New variable.
9866 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9867 (erfc_test_data): New variable.
9868 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9869 (exp_test_data): New variable.
9870 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9871 (exp_tonearest_test_data): New variable.
9872 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9873 (exp_towardzero_test_data): New variable.
9874 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9875 (exp_downward_test_data): New variable.
9876 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9877 (exp_upward_test_data): New variable.
9878 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9879 (exp10_test_data): New variable.
9880 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9881 (exp2_test_data): New variable.
9882 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9883 (expm1_test_data): New variable.
9884 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9885 (fabs_test_data): New variable.
9886 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9887 (floor_test_data): New variable.
9888 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9889 (j0_test_data): New variable.
9890 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9891 (j1_test_data): New variable.
9892 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9893 (log_test_data): New variable.
9894 (log_test): Run tests with RUN_TEST_LOOP_f_f.
9895 (log10_test_data): New variable.
9896 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9897 (log1p_test_data): New variable.
9898 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9899 (log2_test_data): New variable.
9900 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9901 (logb_test_data): New variable.
9902 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9903 (logb_downward_test_data): New variable.
9904 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9905 (nearbyint_test_data): New variable.
9906 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9907 (rint_test_data): New variable.
9908 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9909 (rint_tonearest_test_data): New variable.
9910 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9911 (rint_towardzero_test_data): New variable.
9912 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9913 (rint_downward_test_data): New variable.
9914 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9915 (rint_upward_test_data): New variable.
9916 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9917 (round_test_data): New variable.
9918 (round_test): Run tests with RUN_TEST_LOOP_f_f.
9919 (sin_test_data): New variable.
9920 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9921 (sin_tonearest_test_data): New variable.
9922 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9923 (sin_towardzero_test_data): New variable.
9924 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9925 (sin_downward_test_data): New variable.
9926 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9927 (sin_upward_test_data): New variable.
9928 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9929 (sinh_test_data): New variable.
9930 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9931 (sinh_tonearest_test_data): New variable.
9932 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9933 (sinh_towardzero_test_data): New variable.
9934 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9935 (sinh_downward_test_data): New variable.
9936 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9937 (sinh_upward_test_data): New variable.
9938 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9939 (sqrt_test_data): New variable.
9940 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
9941 (tan_test_data): New variable.
9942 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
9943 (tan_tonearest_test_data): New variable.
9944 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9945 (tan_towardzero_test_data): New variable.
9946 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9947 (tan_downward_test_data): New variable.
9948 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9949 (tan_upward_test_data): New variable.
9950 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9951 (tanh_test_data): New variable.
9952 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
9953 (tgamma_test_data): New variable.
9954 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
9955 (trunc_test_data): New variable.
9956 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
9957 (y0_test_data): New variable.
9958 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
9959 (y1_test_data): New variable.
9960 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
9961 (significand_test_data): New variable.
9962 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
9963
9964 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
9965
9966 [BZ #12387]
9967 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
9968
9969 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
9970
9971 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
9972
9973 2013-05-10 Andreas Jaeger <aj@suse.de>
9974
9975 [BZ #15448]
9976 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
9977 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
9978
9979 2013-05-10 Joseph Myers <joseph@codesourcery.com>
9980
9981 * math/gen-libm-test.pl (adjust_arg): New function.
9982 (special_functions): Handle generating output in both functions
9983 and arrays.
9984 (parse_args): Likewise.
9985 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
9986 $in_func argument to parse_args.
9987 * math/libm-test.inc (struct test_f_f_data): New type.
9988 (IF_ROUND_INIT_): New macro.
9989 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9990 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9991 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9992 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9993 (ROUND_RESTORE_): Likewise.
9994 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9995 (ROUND_RESTORE_FE_TONEAREST): Likewise.
9996 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9997 (ROUND_RESTORE_FE_UPWARD): Likewise.
9998 (RUN_TEST_LOOP_f_f): New macro.
9999 (acos_test_data): New variable.
10000 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10001 (acos_tonearest_test_data): New variable.
10002 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10003
10004 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10005
10006 * benchtests/bench-skeleton.c (startup): Fix coding style.
10007
10008 2013-05-10 Joseph Myers <joseph@codesourcery.com>
10009
10010 [BZ #6809]
10011 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10012 negative infinity argument.
10013 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10014 negative infinity argument.
10015 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10016 negative infinity argument.
10017 * math/libm-test.inc (tgamma_test): Expect errno to be set for
10018 domain errors.
10019
10020 2013-05-10 Florian Weimer <fweimer@redhat.com>
10021
10022 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10023 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10024 * iconv/iconv_prog.c (main): Likewise.
10025 * locale/programs/charmap-dir.c (charmap_readdir)
10026 (fopen_uncompressed): Likewise.
10027 * locale/programs/locfile.c (siblings_uncached)
10028 (write_locale_data): Use lstat64 instead of lstat.
10029 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10030 stat.
10031
10032 2013-05-10 Andreas Jaeger <aj@suse.de>
10033
10034 [BZ #15395]
10035 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10036 localization.
10037 Include <locale.h>.
10038
10039 2013-05-09 Carlos O'Donell <carlos@redhat.com>
10040
10041 * elf/dl-close.c (_dl_close_worker): Add comments.
10042
10043 2013-05-09 Joseph Myers <joseph@codesourcery.com>
10044
10045 [BZ #15359]
10046 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10047 high part of pi/2.
10048 (__ieee754_rem_pio2l): Update comments.
10049
10050 [BZ #15429]
10051 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10052 high part of pi/2.
10053 (__ieee754_rem_pio2l): Update comments.
10054
10055 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10056 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10057
10058 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10059 M_PI_4l.
10060
10061 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10062 (M_PI_34_LOG10El): Likewise.
10063 (M_PI2_LOG10El): Likewise.
10064 (M_PI4_LOG10El): Likewise.
10065 (M_PI_LOG10El): Likewise.
10066
10067 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10068
10069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10070
10071 2013-05-08 Joseph Myers <joseph@codesourcery.com>
10072
10073 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10074 (MINUS_ZERO_INIT): Likewise.
10075 (PLUS_INFTY_INIT): Likewise.
10076 (MINUS_INFTY_INIT): Likewise.
10077 (QNAN_VALUE_INIT): Likewise.
10078 (MAX_VALUE_INIT): Likewise.
10079 (MIN_VALUE_INIT): Likewise.
10080 (MIN_SUBNORM_VALUE_INIT): Likewise.
10081 (plus_zero): Initialize with PLUS_ZERO_INIT.
10082 (minus_zero): Initialize with MINUS_ZERO_INIT.
10083 (plus_infty): Initialize with PLUS_INFTY_INIT.
10084 (minus_infty): Initialize with MINUS_INFTY_INIT.
10085 (qnan_value): Initialize with QNAN_VALUE_INIT.
10086 (max_value): Initialize with MAX_VALUE_INIT.
10087 (min_value): Initialize with MIN_VALUE_INIT.
10088 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10089
10090 * math/libm-test.inc (RUN_TEST_if_f): New macro.
10091 (jn_test): Use TEST_if_f instead of TEST_ff_f.
10092 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10093 (yn_test): Use TEST_if_f instead of TEST_ff_f.
10094
10095 * math/libm-test.inc (RUN_TEST_f_f): New macro.
10096 (RUN_TEST_2_f): Likewise.
10097 (RUN_TEST_ff_f): Likewise.
10098 (RUN_TEST_fi_f): Likewise.
10099 (RUN_TEST_fl_f): Likewise.
10100 (RUN_TEST_fff_f): Likewise.
10101 (RUN_TEST_c_f): Likewise.
10102 (RUN_TEST_f_f1): Likewise.
10103 (RUN_TEST_fF_f1): Likewise.
10104 (RUN_TEST_fI_f1): Likewise.
10105 (RUN_TEST_ffI_f1): Likewise.
10106 (RUN_TEST_c_c): Likewise.
10107 (RUN_TEST_cc_c): Likewise.
10108 (RUN_TEST_f_i): Likewise.
10109 (RUN_TEST_f_i_tg): Likewise.
10110 (RUN_TEST_ff_i_tg): Likewise.
10111 (RUN_TEST_f_b): Likewise.
10112 (RUN_TEST_f_b_tg): Likewise.
10113 (RUN_TEST_f_l): Likewise.
10114 (RUN_TEST_f_L): Likewise.
10115 (RUN_TEST_sincos): Likewise.
10116 * math/gen-libm-test.pl (new_test): Take new argument to indicate
10117 whether to show exceptions. Do not include ");\n" in return
10118 value.
10119 (special_functions): Output call to RUN_TEST_sincos instead of
10120 check_float calls. Update calls to new_test.
10121 (parse_args): Output call to single RUN_TEST_* macro instead of
10122 check_* calls and other assignments. Update calls to new_test.
10123
10124 [BZ #2546]
10125 [BZ #2560]
10126 [BZ #5159]
10127 [BZ #15426]
10128 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10129 input to result for tgamma overflow.
10130 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10131 (gamma_coeff): New variable.
10132 (NCOEFF): New macro.
10133 (gamma_positive): New function.
10134 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10135 underflow here. Use gamma_positive instead of exp (lgamma) for
10136 other arguments.
10137 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10138 (gamma_coeff): New variable.
10139 (NCOEFF): New macro.
10140 (gammaf_positive): New function.
10141 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10142 underflow here. Use gamma_positive instead of exp (lgamma) for
10143 other arguments.
10144 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10145 (gamma_coeff): New variable.
10146 (NCOEFF): New macro.
10147 (gammal_positive): New function.
10148 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10149 underflow here. Use gamma_positive instead of exp (lgamma) for
10150 other arguments.
10151 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10152 (gamma_coeff): New variable.
10153 (NCOEFF): New macro.
10154 (gammal_positive): New function.
10155 (__ieee754_gammal_r): Handle positive infinity, overflow and
10156 underflow here. Handle NaN the same as positive infinity. Remove
10157 check x < 0xffffffff for negative integers. Use gamma_positive
10158 instead of exp (lgamma) for other arguments.
10159 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10160 (gamma_coeff): New variable.
10161 (NCOEFF): New macro.
10162 (gammal_positive): New function.
10163 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10164 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10165 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10166 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10167 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10168 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10169 * sysdeps/generic/math_private.h (__gamma_productf): New
10170 prototype.
10171 (__gamma_product): Likewise.
10172 (__gamma_productl): Likewise.
10173 * math/Makefile (libm-calls): Add gamma_product.
10174 * math/libm-test.inc (tgamma_test): Add more tests.
10175 * sysdeps/i386/fpu/libm-test-ulps: Update.
10176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10177
10178 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
10179
10180 * benchtests/bench-skeleton.c (main): Preheat CPU.
10181
10182 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
10183
10184 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10185
10186 2013-05-07 Roland McGrath <roland@hack.frob.com>
10187
10188 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10189 and _dl_skip_args_internal.
10190
10191 2013-05-07 Carlos O'Donell <carlos@redhat.com>
10192
10193 * manual/message.texi (Message Translation): Talk about users.
10194 Message to key mapping impacts design.
10195
10196 2013-05-06 Roland McGrath <roland@hack.frob.com>
10197
10198 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10199
10200 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10201
10202 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10203 * sysdeps/wordsize-64/glob64.c: ... here.
10204
10205 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10206 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10207 New macros.
10208
10209 * debug/getlogin_r_chk.c: Moved to ...
10210 * login/getlogin_r_chk.c: ... here.
10211 * debug/Makefile (routines): Move getlogin_r_chk to ...
10212 * login/Makefile (routines): ... here.
10213 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10214 * login/Versions (libc: GLIBC_2.4): ... here.
10215
10216 * io/poll.c (__poll): Renamed from poll.
10217 Add libc_hidden_def.
10218 (poll): Define as weak alias.
10219
10220 * debug/ptsname_r_chk.c: Moved to ...
10221 * login/ptsname_r_chk.c: ... here.
10222 * debug/Makefile (routines): Move ptsname_r_chk to ...
10223 * login/Makefile (routines): ... here.
10224 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10225 * login/Versions (libc: GLIBC_2.4): ... here.
10226
10227 * posix/getlogin.c: Moved to ...
10228 * login/getlogin.c: ... here.
10229 * posix/getlogin_r.c: Moved to ...
10230 * login/getlogin_r.c: ... here.
10231 * posix/getlogin_r.c: Moved to ...
10232 * login/getlogin_r.c: ... here.
10233 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10234 * login/Makefile (routines): ... here.
10235 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10236 * login/Versions (libc: GLIBC_2.0): ... here.
10237
10238 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10239 (setrlimit): Define as weak alias.
10240
10241 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10242 Call __ names for open, ftruncate, and close.
10243 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10244 (truncate): Define as weak alias.
10245
10246 2013-05-06 Joseph Myers <joseph@codesourcery.com>
10247
10248 * math/gen-libm-test.pl (parse_args): Initialize x before each
10249 test of frexp, modf and remquo.
10250
10251 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10252 test signgam value.
10253
10254 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10255
10256 [BZ #15418]
10257 [BZ #15419]
10258 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10259 internal tests.
10260 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10261
10262 2013-05-06 Roland McGrath <roland@hack.frob.com>
10263
10264 * elf/dl-writev.h: New file.
10265 * elf/dl-misc.c: Include it.
10266 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10267 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10268
10269 2013-05-04 Joseph Myers <joseph@codesourcery.com>
10270
10271 * math/libm-test.inc (noXFails): Remove variable.
10272 (noXPasses): Likewise.
10273 (BUILD_COMPLEX_INT): Remove macro.
10274 (print_screen): Remove xfail argument.
10275 (print_screen_max_error): Likewise.
10276 (update_stats): Likewise.
10277 (print_max_error): Likewise. Update calls to other affected
10278 functions.
10279 (print_complex_max_error): Likewise.
10280 (test_single_exception): Update calls to print_screen.
10281 (test_single_errno): Likewise.
10282 (check_float_internal): Remove xfail argument. Update calls to
10283 other affected functions.
10284 (check_float): Likewise.
10285 (check_complex): Likewise.
10286 (check_int): Likewise.
10287 (check_long): Likewise.
10288 (check_bool): Likewise.
10289 (check_longlong): Likewise.
10290 (main): Don't print noXFails and noXPasses.
10291 * math/gen-libm-test.pl (top level): Don't mention expected
10292 failure handling in comment.
10293 (new_test): Don't handle expected failures.
10294 (parse_args): Don't mention expected failure handling in comment.
10295 (generate_testfile): Don't handle expected failures.
10296 (parse_ulps): Likewise.
10297 (print_ulps_file): Likewise.
10298 (get_failure): Remove function.
10299 (output_test): Don't handle expected failures.
10300 * make/README.libm-test: Don't mention expected failure handling.
10301
10302 * math/libm-test.inc (plus_zero): Make const. Add initializer.
10303 (minus_zero): Likewise.
10304 (plus_infty): Likewise.
10305 (minus_infty): Likewise.
10306 (qnan_value): Likewise.
10307 (max_value): Likewise.
10308 (min_value): Likewise.
10309 (min_subnorm_value): Likewise.
10310 (initialize): Do not initialize those variables dynamically.
10311
10312 2013-05-03 Roland McGrath <roland@hack.frob.com>
10313
10314 * io/open.c (__open_2): Moved to ...
10315 * io/open_2.c: ... this new file.
10316 * io/open64.c (__open64_2): Moved to ...
10317 * io/open64_2.c: ... this new file.
10318 * io/openat.c (__openat_2): Moved to ...
10319 * io/openat_2.c: ... this new file.
10320 * io/openat64.c (__openat64_2): Moved to ...
10321 * io/openat64_2.c: ... this new file.
10322 * io/Makefile (routines): Add them.
10323 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10324 * sysdeps/unix/sysv/linux/open_2.c: File removed.
10325 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10326 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10327 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10328 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10329 (__openat64): Add hidden_ver.
10330 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10331 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10332
10333 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10334 Separately conditionalize setting of GLRO(dl_sysinfo) so
10335 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10336 as well, but the actual setting is only under [NEED_DL_SYSINFO].
10337
10338 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10339
10340 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10341 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10342 definition.
10343 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10344 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10345 (_libc_vdso_platform_setup): Add __vdso_time initialization.
10346 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10347 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10348
10349 2013-05-03 Joseph Myers <joseph@codesourcery.com>
10350
10351 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10352 test signgam value.
10353
10354 * math/libm-test.inc (hypot_test): Do not use
10355 IGNORE_ZERO_INF_SIGN.
10356
10357 2013-05-03 Andreas Jaeger <aj@suse.de>
10358
10359 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10360 Linux 3.9.
10361 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10362 (PF_MAX): Adjust for VSOCK change.
10363
10364 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10365
10366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10367
10368 2013-05-02 Carlos O'Donell <carlos@redhat.com>
10369
10370 [BZ #15264]
10371 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10372 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10373 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10374
10375 2013-05-02 David S. Miller <davem@davemloft.net>
10376
10377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10378
10379 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
10380
10381 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10382
10383 2013-05-01 Roland McGrath <roland@hack.frob.com>
10384
10385 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10386
10387 2013-05-01 Richard Smith <richard@metafoo.co.uk>
10388
10389 [BZ #14952]
10390 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10391 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10392 Use __attribute__ ((__gnu_inline__)).
10393 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10394 Don't use __attribute__ ((__gnu_inline__)).
10395
10396 2013-05-01 Joseph Myers <joseph@codesourcery.com>
10397
10398 [BZ #15423]
10399 * math/s_catan.c (__catan): Handle small real or imaginary part of
10400 input specially to avoid spurious underflow.
10401 * math/s_catanf.c (__catanf): Likewise.
10402 * math/s_catanh.c (__catanh): Likewise.
10403 * math/s_catanhf.c (__catanhf): Likewise.
10404 * math/s_catanhl.c (__catanhl): Likewise.
10405 * math/s_catanl.c (__catanl): Likewise.
10406 * math/libm-test.inc (catan_test): Add more tests.
10407 (catanh_test): Likewise.
10408 * sysdeps/i386/fpu/libm-test-ulps: Update.
10409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10410
10411 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10412
10413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10414
10415 2013-04-30 Joseph Myers <joseph@codesourcery.com>
10416
10417 [BZ #15416]
10418 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10419 accurately for denominator in atan2.
10420 * math/s_catanf.c (__catanf): Likewise.
10421 * math/s_catanh.c (__catanh): Likewise.
10422 * math/s_catanhf.c (__catanhf): Likewise.
10423 * math/s_catanhl.c (__catanhl): Likewise.
10424 * math/s_catanl.c (__catanl): Likewise.
10425 * math/libm-test.inc (catan_test): Add more tests.
10426 (catanh_test): Likewise.
10427 * sysdeps/i386/fpu/libm-test-ulps: Update.
10428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10429
10430 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10431
10432 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10433
10434 * benchtests/Makefile (bench): Remove slow benchmarks.
10435 * benchtests/atan-inputs: Add slow benchmark inputs.
10436 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10437 (BENCH_FUNC): Accept variant offset.
10438 (VARIANT): Define.
10439 * benchtests/bench-skeleton.c (main): Run benchmark for each
10440 variant.
10441 * benchtests/cos-inputs: Add slow benchmark inputs.
10442 * benchtests/exp-inputs: Likewise.
10443 * benchtests/pow-inputs: Likewise.
10444 * benchtests/sin-inputs: Likewise.
10445 * benchtests/slowatan-inputs: Remove.
10446 * benchtests/slowatan.c: Remove.
10447 * benchtests/slowcos-inputs: Remove.
10448 * benchtests/slowcos.c: Remove.
10449 * benchtests/slowexp-inputs: Remove.
10450 * benchtests/slowexp.c: Remove.
10451 * benchtests/slowpow-inputs: Remove.
10452 * benchtests/slowpow.c: Remove.
10453 * benchtests/slowsin-inputs: Remove.
10454 * benchtests/slowsin.c: Remove.
10455 * benchtests/slowtan-inputs: Remove.
10456 * benchtests/slowtan.c: Remove.
10457 * benchtests/tan-inputs: Add slow benchmark inputs.
10458 * scripts/bench.pl: Parse comments and directives.
10459
10460 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
10461 in CPPFLAGS.
10462 ($(objpfx)bench-%.c): Remove *-ITER.
10463 * benchtests/bench-modf.c: Remove definition of ITER.
10464 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10465 (main): Loop for DURATION seconds instead of fixed number of
10466 iterations.
10467 * scripts/bench.pl: Don't expect iterations in parameters.
10468
10469 2013-04-29 Roland McGrath <roland@hack.frob.com>
10470
10471 * io/fchdir.c (__fchdir): Renamed from fchdir.
10472 (fchdir): Define as weak alias.
10473
10474 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10475
10476 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10477 (ERRNO_EDOM): Likewise.
10478 (ERRNO_ERANGE): Likewise.
10479 (noErrnoTests): New variable.
10480 (init_max_error): Set errno to 0.
10481 (test_single_errno): New function.
10482 (test_errno): Likewise.
10483 (check_float_internal): Call test_errno. Set errno to 0.
10484 (check_complex): Refer to errno tests in comment.
10485 (check_int): Call test_errno. Set errno to 0.
10486 (check_long): Likewise.
10487 (check_bool): Likewise.
10488 (check_longlong): Likewise.
10489 (cos_test): Use ERRNO_* flags for errno tests instead of
10490 check_int.
10491 (expm1_test): Likewise.
10492 (fmod_test): Likewise.
10493 (ilogb_test): Likewise.
10494 (lgamma_test): Likewise.
10495 (pow_test): Likewise.
10496 (remainder_test): Likewise.
10497 (sin_test): Likewise.
10498 (tan_test): Likewise.
10499 (yn_test): Likewise.
10500 (initialize): Set errno to 0.
10501 (main): Print number of errno tests.
10502 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10503
10504 2013-04-29 Andreas Jaeger <aj@suse.de>
10505
10506 [BZ #15084]
10507 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10508 and RES_USEVC.
10509
10510 [BZ #15085]
10511 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10512 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10513 unimplemented.
10514
10515 [BZ #15380]
10516 * stdlib/random.c (__initstate): Return NULL if
10517 __initstate fails.
10518
10519 [BZ #15086]
10520 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10521 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10522 RES_SNGLKUPREOP.
10523
10524 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10525
10526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10527
10528 2013-04-29 Joseph Myers <joseph@codesourcery.com>
10529
10530 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10531 of individual tests.
10532 (casin_test): Likewise.
10533 (casinh_test): Likewise.
10534
10535 2013-04-27 Joseph Myers <joseph@codesourcery.com>
10536
10537 [BZ #15409]
10538 * math/s_catan.c (__catan): Handle arguments with large real or
10539 imaginary part separately without squaring.
10540 * math/s_catanf.c (__catanf): Likewise.
10541 * math/s_catanh.c (__catanh): Likewise.
10542 * math/s_catanhf.c (__catanhf): Likewise.
10543 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10544 and redefine.
10545 (__catanhl): Handle arguments with large real or imaginary part
10546 separately without squaring.
10547 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10548 and redefine.
10549 (__catanl): Handle arguments with large real or imaginary part
10550 separately without squaring.
10551 * math/libm-test.inc (catan_test): Add more tests.
10552 (catanh_test): Likewise.
10553 * sysdeps/i386/fpu/libm-test-ulps: Update.
10554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10555
10556 2013-04-27 Andreas Jaeger <aj@suse.de>
10557
10558 [BZ #15007]
10559 * stdlib/stdlib.h: Update guards for qecvt.
10560 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10561 <stdlib.h>.
10562
10563 2013-04-27 Allan McRae <allan@archlinux.org>
10564
10565 * sysdeps/i386/fpu/libm-test-ulps: Update.
10566
10567 2013-04-26 Joseph Myers <joseph@codesourcery.com>
10568
10569 [BZ #15406]
10570 * math/s_catan.c: Include <float.h>.
10571 (__catan): Ensure underflow exception occurs for underflowed
10572 result.
10573 * math/s_catanf.c: Include <float.h>.
10574 (__catanf): Ensure underflow exception occurs for underflowed
10575 result.
10576 * math/s_catanh.c: Include <float.h>.
10577 (__catanh): Ensure underflow exception occurs for underflowed
10578 result.
10579 * math/s_catanhf.c: Include <float.h>.
10580 (__catanhf): Ensure underflow exception occurs for underflowed
10581 result.
10582 * math/s_catanhl.c: Include <float.h>.
10583 (__catanhl): Ensure underflow exception occurs for underflowed
10584 result.
10585 * math/s_catanl.c: Include <float.h>.
10586 (__catanl): Ensure underflow exception occurs for underflowed
10587 result.
10588 * math/libm-test.inc (catan_test): Add more tests.
10589 (catanh_test): Likewise.
10590
10591 [BZ #15405]
10592 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10593 underflowed result.
10594 * math/s_ccoshf.c (__ccoshf): Likewise.
10595 * math/s_ccoshl.c (__ccoshl): Likewise.
10596 * math/s_csin.c (__csin): Likewise.
10597 * math/s_csinf.c (__csinf): Likewise.
10598 * math/s_csinh.c (__csinh): Likewise.
10599 * math/s_csinhf.c (__csinhf): Likewise.
10600 * math/s_csinhl.c (__csinhl): Likewise.
10601 * math/s_csinl.c (__csinl): Likewise.
10602 * math/libm-test.inc (ccos_test): Add more tests.
10603 (ccosh_test): Likewise.
10604 (csin_test): Likewise.
10605 (csinh_test): Likewise.
10606
10607 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10608
10609 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10610 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10611 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10612 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10613 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10614 powerpc/power5+/fpu folders.
10615 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10616
10617
10618 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
10619
10620 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10621
10622 2013-04-25 Joseph Myers <joseph@codesourcery.com>
10623
10624 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10625 additions to variable.
10626 [$(config-machine) = x86_64] (modules-names): Likewise.
10627 ($(objpfx)tst-audit3): Remove dependency.
10628 ($(objpfx)tst-audit3.out): Likewise.
10629 ($(objpfx)tst-audit4): Likewise.
10630 ($(objpfx)tst-audit4.out): Likewise.
10631 ($(objpfx)tst-audit5): Likewise.
10632 ($(objpfx)tst-audit5.out): Likewise.
10633 ($(objpfx)tst-audit6): Likewise.
10634 ($(objpfx)tst-audit6.out): Likewise.
10635 ($(objpfx)tst-audit7): Likewise.
10636 ($(objpfx)tst-audit7.out): Likewise.
10637 (tst-audit3-ENV): Remove variable.
10638 (tst-audit4-ENV): Likewise.
10639 (tst-audit5-ENV): Likewise.
10640 (tst-audit6-ENV): Likewise.
10641 (tst-audit7-ENV): Likewise.
10642 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10643 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10644 addition to variable.
10645 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10646 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10647 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10648 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10649 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10650 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10651 tst-audit3, tst-audit4 and tst-audit5.
10652 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10653 tst-audit6 and tst-audit7.
10654 [$(subdir) = elf] (modules-names): Add audit modules for those
10655 tests.
10656 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10657 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10658 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10659 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10660 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10661 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10662 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10663 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10664 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10665 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10666 [$(subdir) = elf] (tst-audit3-ENV): New variable.
10667 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10668 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10669 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10670 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10671 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10672 Likewise.
10673 [$(subdir) = elf && $(config-cflags-avx) = yes]
10674 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10675 [$(subdir) = elf && $(config-cflags-avx) = yes]
10676 (CFLAGS-tst-auditmod4a.c): Likewise.
10677 [$(subdir) = elf && $(config-cflags-avx) = yes]
10678 (CFLAGS-tst-auditmod4b.c): Likewise.
10679 [$(subdir) = elf && $(config-cflags-avx) = yes]
10680 (CFLAGS-tst-auditmod6b.c): Likewise.
10681 [$(subdir) = elf && $(config-cflags-avx) = yes]
10682 (CFLAGS-tst-auditmod6c.c): Likewise.
10683 [$(subdir) = elf && $(config-cflags-avx) = yes]
10684 (CFLAGS-tst-auditmod7b.c): Likewise.
10685 * elf/tst-audit3.c: Move to ...
10686 * sysdeps/x86_64/tst-audit3.c: ... here.
10687 * elf/tst-audit4.c: Move to ...
10688 * sysdeps/x86_64/tst-audit4.c: ... here.
10689 * elf/tst-audit5.c: Move to ...
10690 * sysdeps/x86_64/tst-audit5.c: ... here.
10691 * elf/tst-audit6.c: Move to ...
10692 * sysdeps/x86_64/tst-audit6.c: ... here.
10693 * elf/tst-audit7.c: Move to ...
10694 * sysdeps/x86_64/tst-audit7.c: ... here.
10695 * elf/tst-auditmod3a.c: Move to ...
10696 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10697 * elf/tst-auditmod3b.c: Move to ...
10698 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10699 * elf/tst-auditmod4a.c: Move to ...
10700 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10701 * elf/tst-auditmod4b.c: Move to ...
10702 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10703 * elf/tst-auditmod5a.c: Move to ...
10704 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10705 * elf/tst-auditmod5b.c: Move to ...
10706 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10707 * elf/tst-auditmod6a.c: Move to ...
10708 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10709 * elf/tst-auditmod6b.c: Move to ...
10710 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10711 * elf/tst-auditmod6c.c: Move to ...
10712 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10713 * elf/tst-auditmod7a.c: Move to ...
10714 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10715 * elf/tst-auditmod7b.c: Move to ...
10716 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10717
10718 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
10719
10720 [BZ #15366]
10721 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10722 define unconditionally.
10723 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10724 define unconditionally.
10725 (INT8_C, INT16_C, etc.): Likewise.
10726
10727 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
10728
10729 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10730 __ehdr_start with hidden visibility.
10731
10732 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10733
10734 2013-04-24 Carlos O'Donell <carlos@redhat.com>
10735
10736 * math/libm-test.inc (cos_test): Use accurate hex constants.
10737 (sincost_test): Likewise.
10738
10739 2013-04-24 Joseph Myers <joseph@codesourcery.com>
10740
10741 * math/libm-test.inc (catan_test): Add more tests.
10742 (catanh_test): Likewise.
10743
10744 * math/s_catanf.c (__catanf): Use suffixed floating-point
10745 constants.
10746 * math/s_catanhf.c (__catanhf): Likewise.
10747 * math/s_catanhl.c (__catanhl): Likewise.
10748 * math/s_catanl.c (__catanl): Likewise.
10749
10750 [BZ #15394]
10751 * math/s_catan.c (__catan): Calculate imaginary part of result
10752 with log1p not log unless computing log of number close to 0.
10753 * math/s_catanf.c (__catanf): Likewise.
10754 * math/s_catanl.c (__catanl): Likewise.
10755 * math/s_catanh.c (__catanh): Calculate real part of result with
10756 log1p not log unless computing log of number close to 0.
10757 * math/s_catanhf.c (__catanhf): Likewise.
10758 * math/s_catanhl.c (__catanhl): Likewise.
10759 * math/libm-test.inc (catan_test): Add more tests.
10760 (catanh_test): Likewise.
10761 * sysdeps/i386/fpu/libm-test-ulps: Update.
10762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10763
10764 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10765
10766 * benchtests/Makefile: Mention files in which fast and slow
10767 paths of math functions are implemented.
10768
10769 2013-04-23 Roland McGrath <roland@hack.frob.com>
10770
10771 * sysdeps/posix/timespec_get.c: New file.
10772
10773 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10774
10775 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10776 POWER.
10777 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10778 for POWER.
10779 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10780 powerpc/power5/fpu folders.
10781 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10782 * benchtests/Makefile: Add modf testcase.
10783 * benchtests/bench-modf.c: New file: Benchmark test for mo
10784
10785 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10786
10787 [BZ #14888]
10788 * time/Makefile (tests): Add tst-strptime-whitespace.
10789 * time/strptime_l.c (get_number): Use ISSPACE.
10790 (__strptime_internal): Likewise.
10791 * time/tst-strptime-whitespace.c: New test case.
10792
10793 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
10794
10795 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10796 member.
10797 (_nss_files_init): Set it here.
10798
10799 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
10800
10801 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10802 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10803 unsigned.
10804
10805 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
10806
10807 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10808
10809 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10810
10811 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10812 size just once.
10813
10814 2013-04-21 David S. Miller <davem@davemloft.net>
10815
10816 * po/ru.po: Update Russion translation from translation project.
10817
10818 2013-04-17 Adam Conrad <adconrad@0c3.net>
10819
10820 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10821 and setfsgid.
10822
10823 2013-04-17 Carlos O'Donell <carlos@redhat.com>
10824
10825 * configure.in: Remove i386 configure warning. Remove i386 case.
10826 * configure: Regenerate.
10827 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10828 Add example to error message.
10829 * sysdeps/i386/configure: Regenerate.
10830
10831 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10832
10833 * benchtests/Makefile (bench): Add cos, tan, slowcos and
10834 slowtan.
10835 * benchtests/cos-inputs: New file.
10836 * benchtests/slowcos-inputs: New file.
10837 * benchtests/slowcos.c: New file.
10838 * benchtests/slowtan-inputs: New file.
10839 * benchtests/slowtan.c: New file.
10840 * benchtests/tan-inputs: New file.
10841
10842 2013-04-16 Roland McGrath <roland@hack.frob.com>
10843
10844 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10845 considered kosher.
10846
10847 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10848
10849 * benchtests/Makefile: Include cppflags-iterator.mk to add
10850 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10851
10852 * Makefile.in (bench-clean): New target.
10853 * benchtests/Makefile (bench-clean): Likewise.
10854
10855 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
10856
10857 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10858
10859 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
10860
10861 * stdio-common/tstdiomisc.c: Fix coding-style violation.
10862
10863 2013-04-15 Andreas Schwab <schwab@suse.de>
10864
10865 * nscd/grpcache.c (cache_addgr): Properly check for short write.
10866 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10867 * nscd/pwdcache.c (cache_addpw): Likewise.
10868 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
10869 more than recsize.
10870
10871 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10872
10873 * benchtests/Makefile (bench): Write all output to
10874 bench-out.tmp together.
10875
10876 2013-04-15 Andreas Schwab <schwab@suse.de>
10877
10878 * nscd/nscd.c (main): Don't fork again after closing files.
10879
10880 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10881
10882 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10883
10884 * benchtests/Rules (bench-deps): Collect dependencies into a
10885 single variable. Add Makefile to dependencies.
10886 ($(objpfx)bench-%.c): Depend on bench-deps.
10887
10888 2013-04-12 Roland McGrath <roland@hack.frob.com>
10889 Xavier Roche <roche+kml2@exalead.com>
10890
10891 [BZ #15361]
10892 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10893 just that it's a file descriptor.
10894 * manual/llio.texi (Synchronizing AIO Operations): Update description
10895 for EBADF error from aio_fsync.
10896
10897 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10898
10899 * Rules (bench): Move target definition...
10900 * benchtests/Makefile: ... here.
10901
10902 2013-04-11 Carlos O'Donell <carlos@redhat.com>
10903
10904 * math/libm-test.inc (cos_test): Fix PI/2 test.
10905 (sincos_test): Likewise.
10906 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10907 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10908
10909 2013-04-11 Andreas Schwab <schwab@suse.de>
10910
10911 [BZ #13988]
10912 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10913 accept exponent character only when digits were seen.
10914 * stdio-common/Makefile (tests): Add bug26.
10915 * stdio-common/bug26.c: New file.
10916
10917 [BZ #14293]
10918 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10919 non-freeable.
10920
10921 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10922
10923 * Makeconfig (rtld-prefix): Define built linker prefix.
10924 * Rules (run-bench): Use it.
10925 * math/Makefile (run-regen-ulps): Likewise.
10926
10927 * Rules (bench): Remove eval.
10928
10929 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10930 Roland McGrath <roland@hack.frob.com>
10931 Ondrej Bilka <neleai@seznam.cz>
10932
10933 [BZ #15346]
10934 * time/getdate.c: Include ctype.h and alloca.h.
10935 (__getdate_r): Trim leading and trailing spaces of input.
10936 * time/tst-getdate.c (tests): Add tests with leading and
10937 trailing spaces.
10938
10939 2013-04-08 Roland McGrath <roland@hack.frob.com>
10940
10941 [BZ #14280]
10942 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
10943 when computing value.
10944
10945 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10946
10947 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10948 Use testrun.sh to run libm tests.
10949
10950 [BZ #15309]
10951 * elf/dl-open.c (dl_open_worker): memset all of seen array.
10952
10953 2013-04-06 Marko Myllynen <myllynen@redhat.com>
10954
10955 [BZ #15264]
10956 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
10957
10958 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10959
10960 * Makefile.in (regen-ulps): New target.
10961 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
10962 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
10963 [ifneq (no,$(PERL)] (regen-ulps): New target.
10964 [ifeq (no,$(PERL)] (regen-ulps): New target.
10965 * math/libm-test.inc (ulps_file_name): Define.
10966 (output_dir): New variable.
10967 (options): Add "output-dir" option.
10968 (parse_opt): Handle 'o' case.
10969 (main): If output_dir is non-NULL use it as a prefix
10970 otherwise use "".
10971 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
10972
10973 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10974
10975 [BZ #10060, #10062]
10976 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
10977 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
10978 fail configure if __sync_val_compare_and_swap is not inlined.
10979 * sysdeps/i386/configure: Regenerate.
10980 * configure.in: Build for i686 when configured for i386.
10981 * configure: Regenerate.
10982 * README: Remove i386 reference.
10983
10984 2013-04-06 Carlos O'Donell <carlos@redhat.com>
10985
10986 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
10987 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10988
10989 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
10990
10991 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
10992 (lmsnanval): New variables.
10993 (F): Add conversion tests.
10994 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
10995 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
10996
10997 * stdio-common/tstdiomisc.c (F): Properly collect individual
10998 tests' results.
10999
11000 [BZ #14686, #15336]
11001 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11002 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11003 Instead, use input NaN values or generate a qNaN by arithmetic
11004 operation. Also fix bugs to comply with the standard.
11005 * math/libm-test.inc (remainder_test): Add more tests.
11006
11007 [BZ #15335, #15342]
11008 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11009 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11010 input NaN values or generate a qNaN by arithmetic operation.
11011
11012 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11013 unreachable code.
11014
11015 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11016 definitions.
11017
11018 2013-04-03 Joseph Myers <joseph@codesourcery.com>
11019
11020 [BZ #14478]
11021 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11022 underflowed result.
11023 * math/s_cexpf.c (__cexpf): Likewise.
11024 * math/s_cexpl.c (__cexpl): Likewise.
11025 * math/libm-test.inc (cexp_test): Add more tests.
11026
11027 2013-04-03 Andreas Schwab <schwab@suse.de>
11028
11029 [BZ #15330]
11030 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11031 order arrays from heap if bigger than alloca cutoff.
11032
11033 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
11034
11035 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11036 (SNAN_TESTS_double): Refer to GCC PR56831.
11037 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11038 GCC PR56828.
11039
11040 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11041
11042 * Rules (bench): Move bench.out after the run is complete.
11043
11044 * Rules (bench): Echo currently running benchmark.
11045
11046 * benchtests/Makefile (bench): Add atan and slowatan.
11047 * benchtests/atan-inputs: New file.
11048 * benchtests/slowatan-inputs: New file.
11049 * benchtests/slowatan.c: New file.
11050
11051 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11052 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11053 its value.
11054
11055 [BZ #15305]
11056 * sysdeps/unix/sysv/linux/kernel-features.h
11057 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11058 __ASSUME_XFS_RESTRICTED_CHOWN.
11059 * sysdeps/unix/sysv/linux/pathconf.c
11060 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11061 Save and restore errno.
11062
11063 2013-04-02 Joseph Myers <joseph@codesourcery.com>
11064
11065 [BZ #15327]
11066 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11067 arguments using __kernel_casinh.
11068 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11069 arguments using __kernel_casinhf.
11070 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11071 arguments using __kernel_casinhl.
11072 * math/libm-test.inc (cacosh_test): Add more tests.
11073 * sysdeps/i386/fpu/libm-test-ulps: Update.
11074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11075
11076 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11077
11078 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11079 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11080
11081 * bench/Makefile (bench): Add sin and slowsin.
11082 * benchtests/sin-inputs: New file.
11083 * benchtests/slowsin-inputs: New file.
11084 * benchtests/slowsin.c: New file.
11085
11086 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11087 (bench): Add slowexp and slowpow.
11088 (exp-ITER): Increase iterations.
11089 (pow-ITER): Likewise.
11090 * benchtests/exp-inputs: Change input.
11091 * benchtests/pow-inputs: Likewise.
11092 * benchtests/slowexp-inputs: New file.
11093 * benchtests/slowexp.c: New file.
11094 * benchtests/slowpow-inputs: New file.
11095 * benchtests/slowpow.c: New file.
11096
11097 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11098
11099 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11100 instructions.
11101 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11102 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11103 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11104 * benchtests/Makefile: Add rint benchtest.
11105 * benchtests/rint-inputs: Input for rint benchtest.
11106
11107 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
11108
11109 * Versions.def (libm): Add GLIBC_2.18.
11110 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11111 hidden libm prototypes.
11112 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11113 * math/Makefile (libm-calls): Add s_issignaling.
11114 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11115 __issignalingf, __issignalingl. Adjust all libm.abilist files.
11116 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11117 declaration.
11118 * math/math.h [__USE_GNU] (issignaling): New macro.
11119 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11120 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11121 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11122 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11123 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11124 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11125 * manual/arith.texi (issignaling): New section.
11126 * manual/libm-err-tab.pl (@all_functions): Update comment.
11127 * math/gen-libm-test.pl (parse_args): Apply special handling for
11128 issignaling.
11129 * math/libm-test.inc (print_float, issignaling_test): New
11130 functions.
11131 (check_float_internal): Add issignaling checks.
11132 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11133 default definition.
11134 * sysdeps/powerpc/math-tests.h: New file.
11135 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11136 tests.
11137 * math/test-snan.c (TEST_FUNC): Likewise.
11138
11139 2013-03-30 David S. Miller <davem@davemloft.net>
11140
11141 * po/de.po: Update from translation team.
11142
11143 2013-03-30 Joseph Myers <joseph@codesourcery.com>
11144
11145 [BZ #10357]
11146 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11147 imaginary part less than 1.0 and real part less than 0.5
11148 specially.
11149 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11150 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11151 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11152 (cacos_test): Add more tests.
11153 (casin_test): Likewise.
11154 (casinh_test): Likewise.
11155 * sysdeps/i386/fpu/libm-test-ulps: Update.
11156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11157
11158 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11159
11160 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11161 ONE with its value.
11162
11163 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11164 (__pow_mp): Replace ONE and MONE with their values.
11165 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11166 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11167 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11168 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11169 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11170 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11171
11172 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11173
11174 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11175 (__pow_mp): Replace ZERO and MZERO with their values.
11176 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11177 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11178 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11179 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11180 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11181 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11182 (__sqr): Likewise.
11183
11184 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11185
11186 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11187
11188 2013-03-28 Roland McGrath <roland@hack.frob.com>
11189
11190 * include/stdlib.h [!SHARED] (__call_tls_dtors):
11191 Declare with __attribute__ ((weak)).
11192 * stdlib/exit.c (__libc_atexit) [!SHARED]:
11193 Call __call_tls_dtors only if it's not NULL.
11194
11195 2013-03-28 Roland McGrath <roland@hack.frob.com>
11196
11197 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11198 didn't do it already, then set _dl_phdr and _dl_phnum based on the
11199 magic __ehdr_start linker symbol if it's defined.
11200 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11201 them up here if it was already done.
11202
11203 * elf/dl-support.c (_dl_phdr): Make pointer to const.
11204 (_dl_aux_init): Use const in cast when setting it.
11205 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11206 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11207 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11208
11209 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11210 Declare them here.
11211 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11212 * csu/libc-tls.c: Nor here.
11213 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11214
11215 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11216 (__libc_message): Never call vsyslog.
11217
11218 2013-03-28 Alan Modra <amodra@gmail.com>
11219
11220 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11221 Define as empty.
11222 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11223 Likewise.
11224
11225 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11226
11227 [BZ #15214]
11228 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11229 underflow.
11230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11231
11232 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11233
11234 [BZ #15304]
11235 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11236 Don't add gid passed as argument.
11237
11238 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11239
11240 2013-03-27 Joseph Myers <joseph@codesourcery.com>
11241
11242 [BZ #15307]
11243 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11244 imaginary part between 1.0 and 1.5 and real part less than 0.5
11245 specially.
11246 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11247 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11248 * math/libm-test.inc (cacos_test): Add more tests.
11249 (casin_test): Likewise.
11250 (casinh_test): Likewise.
11251 * sysdeps/i386/fpu/libm-test-ulps: Update.
11252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11253
11254 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11255
11256 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11257 constants.
11258 (norm): Likewise.
11259 (denorm): Likewise.
11260 (__dbl_mp): Likewise.
11261 (add_magnitudes): Likewise.
11262 (sub_magnitudes): Likewise.
11263 (__add): Likewise.
11264 (__sub): Likewise.
11265 (__mul): Likewise.
11266 (__sqr): Likewise.
11267 (__inv): Likewise.
11268 (__dvd): Likewise.
11269
11270 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11271 commented code.
11272 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11273 (__dubcos): Likewise.
11274 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11275 (__ieee754_acos): Likewise.
11276 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11277 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11278 (__exp1): Likewise.
11279 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11280 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11281 (log1): Likewise.
11282 (my_log2): Likewise.
11283 (checkint): Likewise.
11284 * sysdeps/ieee754/dbl-64/e_remainder.c
11285 (__ieee754_remainder): Likewise.
11286 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11287 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11288 (bsloww): Likewise.
11289 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11290
11291 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11292 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11293 MANTISSA_STORE_T to store computations on mantissa. Use
11294 macros for rounding and division.
11295 (denorm): Likewise.
11296 (__dbl_mp): Likewise.
11297 (add_magnitudes): Likewise.
11298 (sub_magnitudes): Likewise.
11299 (__mul): Likewise.
11300 (__sqr): Likewise.
11301 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11302 powers of two in terms of TWOPOW macro.
11303 (mp_no): Make type of mantissa as MANTISSA_T.
11304 [!RADIXI]: Define RADIXI.
11305 [!TWO52]: Define TWO52.
11306 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11307
11308 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11309
11310 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11311 llroundl symbol when building for PPC32.
11312
11313 2013-03-24 Mark H Weaver <mhw@netris.org>
11314
11315 * manual/arith.texi (Normalization Functions): Fix prototypes for
11316 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11317
11318 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11319
11320 [BZ #13889]
11321 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11322 high value to check if expl overflow.
11323 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11324 to check for underflow and overflow.
11325 * math/libm-test.inc: Add exp test.
11326
11327 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
11328
11329 [BZ #11120]
11330 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11331 with NOT_IN_libc.
11332
11333 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11334
11335 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11336 symbol.
11337
11338 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
11339
11340 * math/gen-libm-test.pl (parse_args, special_functions): Properly
11341 wrap blocks consisting of several statements.
11342
11343 * sysdeps/generic/math-tests.h: New file.
11344 * sysdeps/i386/fpu/math-tests.h: Likewise.
11345 * math/test-snan.c: Include it.
11346 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11347
11348 2013-03-21 Joseph Myers <joseph@codesourcery.com>
11349
11350 [BZ #15285]
11351 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11352 (__ieee754_j0l): Do not improve calculations using cos of twice
11353 input for inputs above LDBL_MAX / 2.0L.
11354 (__ieee754_y0l): Likewise.
11355 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11356 (__ieee754_j1l): Do not improve calculations using cos of twice
11357 input for inputs above LDBL_MAX / 2.0L.
11358 (__ieee754_y1l): Likewise.
11359 * math/libm-test.inc (j0_test): Add another test.
11360 (j1_test): Likewise.
11361 (y0_test): Likewise.
11362 (y1_test): Likewise.
11363 * sysdeps/i386/fpu/libm-test-ulps: Update.
11364
11365 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11366
11367 * Rules ($(objpfx)bench-%.c): Include code from a C source
11368 file.
11369
11370 2013-03-21 Joseph Myers <joseph@codesourcery.com>
11371
11372 [BZ #15287]
11373 * math/k_casinh.c (__kernel_casinh): Handle arguments with
11374 imaginary part 1.0 and real part less than 0.5 specially.
11375 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11376 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11377 * math/libm-test.inc (cacos_test): Add more tests.
11378 (casin_test): Likewise.
11379 (casinh_test): Likewise.
11380 * sysdeps/i386/fpu/libm-test-ulps: Update.
11381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11382
11383 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11384
11385 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11386 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11387
11388 2013-03-20 Joseph Myers <joseph@codesourcery.com>
11389
11390 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11391 * config.make.in (config-cflags-sse4): Remove variable.
11392 (config-cflags-avx): Likewise.
11393 (config-cflags-sse2avx): Likewise.
11394 (config-cflags-novzeroupper): Likewise.
11395 (config-asflags-i686): Likewise.
11396 (have-mfma4): Likewise.
11397 (have-as-vis3): Likewise.
11398 (MIG): Likewise.
11399 * configure.in (MIG): Do not AC_SUBST.
11400 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11401 (libc_cv_cc_sse4): Do not AC_SUBST.
11402 (libc_cv_cc_avx): Likewise.
11403 (libc_cv_cc_sse2avx): Likewise.
11404 (libc_cv_cc_novzeroupper): Likewise.
11405 (libc_cv_cc_fma4): Likewise.
11406 (libc_cv_as_i686): Likewise.
11407 (libc_cv_sparc_as_vis3): Likewise.
11408 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11409 LIBC_CONFIG_VAR.
11410 (config-asflags-i686): Likewise.
11411 (config-cflags-avx): Likewise.
11412 (config-cflags-sse2avx): Likewise.
11413 (have-mfma4): Likewise.
11414 (config-cflags-novzeroupper): Likewise.
11415 * sysdeps/mach/configure.in (MIG): Likewise.
11416 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11417 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11418 LIBC_CONFIG_VAR.
11419 (config-cflags-avx): Likewise.
11420 (config-cflags-sse2avx): Likewise.
11421 (have-mfma4): Likewise.
11422 (config-cflags-novzeroupper): Likewise.
11423 * configure: Regenerated.
11424 * sysdeps/i386/configure: Likewise.
11425 * sysdeps/mach/configure: Likewise.
11426 * sysdeps/sparc/configure: Likewise.
11427 * sysdeps/x86_64/configure: Likewise.
11428
11429 2013-03-20 Roland McGrath <roland@hack.frob.com>
11430
11431 [BZ #14812]
11432 * locale/programs/localedef.c (options): Put N_ translation marker
11433 on argument names, not just descriptions.
11434
11435 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11436
11437 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11438
11439 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
11440
11441 [BZ #14176]
11442 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11443
11444 2013-03-19 Roland McGrath <roland@hack.frob.com>
11445
11446 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11447 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11448 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11449 [!BEFORE_ABORT] (before_abort): New function.
11450 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11451 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11452 (writev_for_fatal): New function.
11453 (WRITEV_FOR_FATAL): New macro; call that.
11454 (backtrace_and_maps): New function.
11455 (BEFORE_ABORT): New macro; call that.
11456 (struct str_list): Type removed.
11457 (__libc_message, __libc_fatal): Functions removed.
11458 Include <sysdeps/posix/libc_fatal.c> instead.
11459
11460 2013-03-19 Joseph Myers <joseph@codesourcery.com>
11461
11462 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11463 constants.
11464 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11465 double constants.
11466
11467 2013-03-19 Andreas Schwab <schwab@suse.de>
11468
11469 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11470 * sysdeps/gnu/configure: Regenerate.
11471
11472 * configure.in: Substitute libc_cv_rtlddir.
11473 * configure: Regenerate.
11474 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11475 * Makeconfig (rtlddir, inst_rtlddir): New variables.
11476 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11477 * elf/Makefile (install-others, CFLAGS-interp.c)
11478 (ldso_install, common-ldd-rewrite): Likewise.
11479 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11480 $(inst_slibdir)/$(rtld-installed-name).
11481 * scripts/rellns-sh: Add -p option.
11482 * Makerules (make-shlib-link): Use rellns-sh to get relative name
11483 for source.
11484
11485 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11486
11487 * manual/nptl.texi: Renamed to ...
11488 * manual/threads.texi: ... this.
11489 * manual/Makefile (chapters): Update.
11490
11491 2013-03-18 Roland McGrath <roland@hack.frob.com>
11492
11493 [BZ #14812]
11494 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11495 on argument names, not just descriptions.
11496 * malloc/memusagestat.c (options): Likewise.
11497 * nss/getent.c (options): Likewise.
11498
11499 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
11500
11501 [BZ #14812]
11502 * iconv/iconv_prog.c (options): Put N_ translation marker
11503 on argument names, not just descriptions.
11504 * iconv/iconvconfig.c (options): Likewise.
11505
11506 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
11507
11508 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11509 implementation which is faster on all x86_64 architectures.
11510 Tested on AMD, Intel Nehalem, SNB, IVB.
11511 * sysdeps/x86_64/strnlen.S: Likewise.
11512
11513 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11514 Remove all multiarch strlen and strnlen versions.
11515 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11516 Remove strlen and strnlen related parts.
11517
11518 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11519 Inline strlen part.
11520 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11521
11522 * sysdeps/x86_64/multiarch/strlen.S: Remove.
11523 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11524 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11525 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11526 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11527 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11528
11529 2013-03-17 Carlos O'Donell <carlos@redhat.com>
11530
11531 * manual/memory.texi (Malloc Tunable Parameters):
11532 Sort parameters alphabetically. Add comments for missing entries.
11533
11534 2013-03-17 David S. Miller <davem@davemloft.net>
11535
11536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11537
11538 2013-03-16 Joseph Myers <joseph@codesourcery.com>
11539
11540 [BZ #15283]
11541 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11542 for arguments at most half maximum finite value.
11543 * math/libm-test.inc (j0_test): Add more tests.
11544 (j1_test): Likewise.
11545 (y0_test): Likewise.
11546 (y1_test): Likewise.
11547 * sysdeps/i386/fpu/libm-test-ulps: Update.
11548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11549
11550 [BZ #14155]
11551 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11552 1 / x and functions P and Q for arguments above 0x1p256L.
11553 (__ieee754_y0l): Likewise.
11554 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11555 (__ieee754_y1l): Likewise.
11556 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11557 (j1_test): Likewise.
11558 (y0_test): Likewise.
11559 (y1_test): Likewise.
11560
11561 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
11562
11563 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11564 variable.
11565
11566 2013-03-15 Roland McGrath <roland@hack.frob.com>
11567
11568 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11569 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11570 zero since it's initialized to EXEC_PAGESIZE.
11571
11572 * sysdeps/unix/sysv/linux/ldsodefs.h
11573 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11574 * sysdeps/generic/ldsodefs.h: ... here.
11575
11576 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
11577
11578 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11579
11580 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11581 math/test-snan.c.
11582 * math/test-snan.c: Renamed from
11583 sysdeps/powerpc/fpu/test-powerpc-snan.c.
11584 * math/Makefile (tests): Add test-snan.
11585 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11586 test-powerpc-snan.
11587
11588 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11589 SUFFIX. Initialize qNaN_var with __builtin_nan family of
11590 functions.
11591 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
11592 __builtin_nan family of functions.
11593 * math/libm-test.inc (initialize): Initialize qnan_value with
11594 __builtin_nan family of functions.
11595 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11596 Remove variables.
11597 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11598 Remove functions.
11599 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
11600 storage class. Initialize qNaN_var and sNaN_var with
11601 __builtin_nan and __builtin_nans families of functions,
11602 respectively.
11603
11604 * math/libm-test.inc (acosh_test): Also test with qNaN input.
11605 (sqrt_test): Remove duplicate test with qNaN input.
11606 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11607 (round_test, signbit_test, significand_test): Note missing +/-Inf
11608 as well as qNaN tests.
11609
11610 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11611 qNaN_var. Fix a few strings, too.
11612 * math/libm-test.inc (nan_value): Rename to qnan_value.
11613 * math/gen-libm-test.pl (%beautify): Adjust to that.
11614 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11615 * math/test-misc.c (main): Likewise.
11616 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11617 to __qnan_bytes, and __qnan_union, respectively.
11618 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11619 Likewise.
11620 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11621 and lqnanval, respectively.
11622 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11623 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11624 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11625 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11626
11627 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11628 * math/test-misc.c (main) [__x86_64__]: Enable test for long
11629 doubles.
11630
11631 * math/test-misc.c (main): Fix copy'n'pastos.
11632 * misc/tst-efgcvt.c (special): Likewise.
11633
11634 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11635 Remove declarations.
11636
11637 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11638
11639 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11640 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11641 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11642 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11643
11644 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11645
11646 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11647 macro to return vdso values correctly in IFUNC implementations.
11648 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11649 Optimization by using IFUNC.
11650
11651 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11652 Richard Henderson <rth@redhat.com>
11653 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11654
11655 * Makefile.in (bench): New target.
11656 * NEWS: Mention the benchmark framework.
11657 * Rules (bench): Likewise.
11658 (binaries-bench): Generate binaries for functions to
11659 benchmark.
11660 * benchtests/Makefile: New makefile for benchmark tests.
11661 * benchtests/bench-skeleton.c: New skeleton file for benchmark
11662 programs.
11663 * benchtests/exp-inputs: New input file for EXP function.
11664 * benchtests/pow-inputs: New input file for POW function.
11665 * scripts/bench.pl: New script to generate source files for
11666 benchmark programs.
11667
11668 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11669
11670 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11671 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11672 computations on mantissa. Use macros for rounding and
11673 division.
11674 (denorm): Likewise.
11675 (__dbl_mp): Likewise.
11676 (add_magnitudes): Likewise.
11677 (sub_magnitudes): Likewise.
11678 (__mul): Likewise.
11679 (__sqr): Likewise.
11680 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
11681 powers of two in terms of TWOPOW macro.
11682 (mp_no): Make type of mantissa as MANTISSA_T.
11683 [!RADIXI]: Define RADIXI.
11684 [!TWO52]: Define TWO52.
11685 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11686
11687 * manual/nptl.texi (cindex): Modify threads to pthreads.
11688
11689 2013-03-15 Joseph Myers <joseph@codesourcery.com>
11690
11691 * sysdeps/x86_64/preconfigure: Regenerated.
11692
11693 2013-03-14 Joseph Myers <joseph@codesourcery.com>
11694
11695 [BZ #14155]
11696 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11697 0x1p28 and above.
11698 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11699 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11700 0x1p28 and above.
11701 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11702 * math/libm-test.inc (j0_test): Do not allow one spurious
11703 underflow exception.
11704 (y1_test): Likewise.
11705
11706 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11707
11708 * manual/Makefile (chapters): Add nptl.
11709 * manual/debug.texi (Debugging Support): Add link to Threads
11710 chapter.
11711 * manual/nptl.texi: New file.
11712
11713 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11714
11715 2013-03-14 Petr Baudis <pasky@ucw.cz>
11716
11717 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11718 for non-NULL pointer before the memory validity test. Pointed
11719 out by Holger Brunck <holger.brunck@keymile.com>.
11720
11721 2013-03-13 Andreas Schwab <schwab@suse.de>
11722
11723 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11724 instead of .os.
11725
11726 2013-03-13 Joseph Myers <joseph@codesourcery.com>
11727
11728 * timezone/zic.c: Update from tzcode 2013b.
11729
11730 2013-03-12 Carlos O'Donell <carlos@redhat.com>
11731
11732 * manual/install.texi (Configuring and compiling):
11733 Mention i686 and i586.
11734 * INSTALL: Regenerate.
11735
11736 2013-03-12 Roland McGrath <roland@hack.frob.com>
11737
11738 * sysdeps/init_array/elf-init.c: New file.
11739 * csu/elf-init.c
11740 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11741 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11742
11743 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11744 __gmon_start__ as global, but as static with a .preinit_array pointer.
11745 * sysdeps/init_array/gmon-start.c: New file. Use that.
11746 * sysdeps/init_array/crti.S: New file, empty except for comments.
11747 * sysdeps/init_array/crtn.S: Likewise.
11748
11749 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
11750
11751 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11752 definining bcopy.
11753 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11754 Remove Prefer_SSE_for_memop.
11755 * sysdeps/x86_64/multiarch/init-arch.h: Remove
11756 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11757 HAS_PREFER_SSE_FOR_MEMOP.
11758 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11759 memset-x86-64.
11760 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11761 Remove bzero, memset ifunc support.
11762 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11763 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11764 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11765 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11766
11767 2013-03-11 Andreas Schwab <schwab@suse.de>
11768
11769 [BZ #15234]
11770 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11771 by SHLIB_COMPAT.
11772 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11773 (GLIBC_2.16): Remove pthread_atfork.
11774
11775 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
11776
11777 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11778 (ptestcases.h): Likewise.
11779
11780 2013-03-08 Roland McGrath <roland@hack.frob.com>
11781
11782 * Makeconfig ($(common-objpfx)config.status): Depend on
11783 sysdeps/*/preconfigure{,.in} too.
11784
11785 2013-03-08 Joseph Myers <joseph@codesourcery.com>
11786
11787 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11788 (__free_hook): Use void * instead of __malloc_ptr_t.
11789 (__malloc_hook): Likewise.
11790 (__realloc_hook): Likewise.
11791 (__memalign_hook): Likewise.
11792 (__after_morecore_hook): Likewise.
11793 * malloc/arena.c (save_malloc_hook): Likewise.
11794 (save_free_hook): Likewise.
11795 * malloc/hooks.c (malloc_hook_ini): Likewise.
11796 (realloc_hook_ini): Likewise.
11797 (memalign_hook_ini): Likewise.
11798 * malloc/malloc.c (malloc_hook_ini): Likewise.
11799 (realloc_hook_ini): Likewise.
11800 (memalign_hook_ini): Likewise.
11801 (__free_hook): Likewise.
11802 (__malloc_hook): Likewise.
11803 (__realloc_hook): Likewise.
11804 (__memalign_hook): Likewise.
11805 (__libc_malloc): Likewise.
11806 (__libc_free): Likewise.
11807 (__libc_realloc): Likewise.
11808 (__libc_memalign): Likewise.
11809 (__libc_valloc): Likewise.
11810 (__libc_pvalloc): Likewise.
11811 (__libc_calloc): Likewise.
11812 (__posix_memalign): Likewise.
11813 * malloc/morecore.c (__sbrk): Likewise.
11814 (__default_morecore): Likewise.
11815
11816 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11817
11818 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11819 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11820 __malloc_ptrdiff_t.
11821
11822 * malloc/malloc.h (__malloc_size_t): Remove macro.
11823 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11824 __malloc_size_t.
11825 (old_memalign_hook): Likewise.
11826 (old_realloc_hook): Likewise.
11827 (struct hdr): Likewise.
11828 (flood): Likewise.
11829 (mallochook): Likewise.
11830 (memalignhook): Likewise.
11831 (reallochook): Likewise.
11832 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11833 (tr_old_realloc_hook): Likewise.
11834 (tr_old_memalign_hook): Likewise.
11835 (tr_mallochook): Likewise.
11836 (tr_reallochook): Likewise.
11837 (tr_memalignhook): Likewise.
11838
11839 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11840
11841 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11842 default_ldbl_pack and using as default implementation.
11843 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11844 implementation.
11845 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11846 redundant definition.
11847 (ldbl_insert_mantissa): Likewise.
11848 (ldbl_canonicalize): Likewise.
11849 (ldbl_nearbyint): Likewise.
11850 (ldbl_pack): Rename to ldbl_pack_ppc.
11851 (ldbl_unpack): Rename to ldbl_unpack_ppc.
11852 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11853 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11854
11855 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11856
11857 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11858 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11859 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11860 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11861 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11862 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11863 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11864 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11865
11866 2013-03-07 Andreas Jaeger <aj@suse.de>
11867
11868 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11869 bits/mman-linux.h.
11870
11871 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
11872
11873 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11874 Include mpa.h and declare __MPEXP.
11875 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11876 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11877 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11878 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11879 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11880 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11881 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11882
11883 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11884 (__slowpow): Use long double EXPL and LOGL functions to
11885 compute POW.
11886 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11887 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11888 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11889 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11890 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11891 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11892
11893 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11894 intermediate variable to calculate exponent.
11895 (__sqr): Likewise.
11896 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11897 Likewise.
11898 (__sqr): Likewise.
11899
11900 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11901 [!NO__SQR]: Define __sqr.
11902 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11903 and NO__SQR. Remove all code except __mul and __sqr. Include
11904 sysdeps/ieee754/dbl-64/mpa.c.
11905 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11906
11907 [BZ #12723]
11908 * posix/Makefile (tests): Add tst-pathconf.
11909 * posix/tst-pathconf.c: New test case.
11910 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11911 _PC_PIPE_BUF.
11912 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11913
11914 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
11915
11916 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11917
11918 2013-03-06 Andreas Jaeger <aj@suse.de>
11919
11920 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11921 definition via __MAP_ANONYMOUS.
11922
11923 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11924 it's not part of Linux headers.
11925
11926 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11927 (MAP_HUGE_MASK): Define.
11928
11929 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11930 Define.
11931 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11932 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11933 Define.
11934 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11935 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11936 Define.
11937 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11938 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
11939 Define.
11940 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11941
11942 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
11943 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
11944 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
11945 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
11946 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
11947 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
11948
11949 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11950 Handle f2fs.
11951
11952 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11953 Handle f2fs and efivarfs.
11954
11955 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
11956 f2fs.
11957
11958 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
11959 (EFIVARFS_MAGIC): Add.
11960 (F2FS_LINK_MAX): Add.
11961
11962 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11963
11964 * stdio-common/vfprintf.c: Replace __builtin_expect with
11965 __glibc_unlikely.
11966
11967 2013-03-06 Joseph Myers <joseph@codesourcery.com>
11968
11969 [BZ #13550]
11970 * sysdeps/generic/bp-sym.h: Remove file.
11971 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
11972 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
11973 <bp-sym.h> and <bp-asm.h>.
11974 (__longjmp): Don't use BP_SYM.
11975 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
11976 and <bp-asm.h>.
11977 (memcpy): Don't use BP_SYM.
11978 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
11979 <bp-sym.h> and <bp-asm.h>.
11980 (memcpy): Don't use BP_SYM.
11981 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
11982 <bp-asm.h>.
11983 (memcpy): Don't use BP_SYM.
11984 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
11985 <bp-asm.h>.
11986 (memset): Don't use BP_SYM.
11987 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
11988 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
11989 (__bzero): Don't use BP_SYM.
11990 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
11991 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
11992 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
11993 <bp-sym.h> and <bp-asm.h>.
11994 (memcmp): Don't use BP_SYM. Remove comment about bounded
11995 pointers.
11996 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
11997 <bp-sym.h> and <bp-asm.h>.
11998 (memcpy): Don't use BP_SYM.
11999 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12000 <bp-sym.h> and <bp-asm.h>.
12001 (memset): Don't use BP_SYM.
12002 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12003 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12004 (__bzero): Don't use BP_SYM.
12005 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12006 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12007 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12008 <bp-sym.h> and <bp-asm.h>.
12009 (strncmp): Don't use BP_SYM. Remove comment about bounded
12010 pointers.
12011 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12012 <bp-sym.h> and <bp-asm.h>.
12013 (memcpy): Don't use BP_SYM.
12014 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12015 <bp-sym.h> and <bp-asm.h>.
12016 (memset): Don't use BP_SYM.
12017 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12018 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12019 (__bzero): Don't use BP_SYM.
12020 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12021 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12022 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12023 <bp-sym.h> and <bp-asm.h>.
12024 (__memchr): Don't use BP_SYM.
12025 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12026 <bp-sym.h> and <bp-asm.h>.
12027 (memcmp): Don't use BP_SYM. Remove comment about bounded
12028 pointers.
12029 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12030 <bp-sym.h> and <bp-asm.h>.
12031 (memcpy): Don't use BP_SYM.
12032 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12033 <bp-sym.h> and <bp-asm.h>.
12034 (__mempcpy): Don't use BP_SYM.
12035 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12036 <bp-sym.h> and <bp-asm.h>.
12037 (__memrchr): Don't use BP_SYM.
12038 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12039 <bp-sym.h> and <bp-asm.h>.
12040 (memset): Don't use BP_SYM.
12041 (__bzero): Likewise.
12042 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12043 <bp-sym.h> and <bp-asm.h>.
12044 (__rawmemchr): Don't use BP_SYM.
12045 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12046 <bp-sym.h> and <bp-asm.h>.
12047 (__STRCMP): Don't use BP_SYM.
12048 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12049 <bp-sym.h> and <bp-asm.h>.
12050 (strchr): Don't use BP_SYM.
12051 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12052 <bp-sym.h> and <bp-asm.h>.
12053 (__strchrnul): Don't use BP_SYM.
12054 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12055 <bp-sym.h> and <bp-asm.h>.
12056 (strlen): Don't use BP_SYM.
12057 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12058 <bp-sym.h> and <bp-asm.h>.
12059 (strncmp): Don't use BP_SYM. Remove comment about bounded
12060 pointers.
12061 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12062 <bp-sym.h> and <bp-asm.h>.
12063 (__strnlen): Don't use BP_SYM.
12064 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12065 <bp-sym.h> and <bp-asm.h>.
12066 (__GI__setjmp): Don't use BP_SYM.
12067 (_setjmp): Likewise.
12068 (__sigsetjmp): Likewise.
12069 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12070 (L(start_addresses)): Don't use BP_SYM.
12071 (_start): Likewise.
12072 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12073 <bp-asm.h>.
12074 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12075 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12076 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12077 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12078 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12079 <bp-asm.h>.
12080 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12081 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
12082 about bounded pointers.
12083 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12084 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12085 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12086 <bp-asm.h>.
12087 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12088 about bounded pointers. Remove GKM FIXME comments.
12089 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12090 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12091 <bp-asm.h>.
12092 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12093 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
12094 Remove GKM FIXME comments.
12095 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12096 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12097 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12098 <bp-asm.h>.
12099 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
12100 about bounded pointers. Remove GKM FIXME comment.
12101 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12102 and <bp-asm.h>.
12103 (strncmp): Don't use BP_SYM. Remove comment about bounded
12104 pointers.
12105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12106 <bp-sym.h> and <bp-asm.h>.
12107 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12109 <bp-sym.h> and <bp-asm.h>.
12110 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12111 comment.
12112
12113 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12114
12115 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12116 call free(NULL).
12117
12118 2013-03-05 David S. Miller <davem@davemloft.net>
12119
12120 * po/es.po: Update from translation team.
12121
12122 2013-03-05 Andreas Jaeger <aj@suse.de>
12123
12124 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12125 <bits/mman-linux.h>.
12126 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12127 is fine.
12128 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12129 <bits/mman-linux.h> to end of file.
12130 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12131 is fine.
12132 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12133 <bits/mman-linux.h> to end of file.
12134 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12135 is fine.
12136 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12137 <bits/mman-linux.h> to end of file.
12138
12139 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12140 (MCL_CURRENT, MCL_FUTURE): Define here.
12141
12142 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12143
12144 [BZ #15232]
12145 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12146 attribute_hidden.
12147 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12148
12149 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12150
12151 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12152 fourth parameter needed for rt_sigprocmask syscall.
12153 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12154 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12155 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12156 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12157 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12158 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12159
12160 2013-03-04 Joseph Myers <joseph@codesourcery.com>
12161
12162 [BZ #13550]
12163 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12164 comment about bounded pointers.
12165 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12166 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12167
12168 2013-03-04 Andreas Jaeger <aj@suse.de>
12169
12170 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12171 common definitions.
12172
12173 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12174 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12175 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12176 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12177 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12178 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12179
12180 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12181
12182 [BZ #15055]
12183 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12184 __ieee754_sqrl instead of __sqrl.
12185
12186 2013-03-01 Joseph Myers <joseph@codesourcery.com>
12187
12188 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12189 * sysdeps/powerpc/fpu_control.h: ... here.
12190 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12191 * sysdeps/powerpc/bits/fenvinline.h: ... here.
12192 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12193 * sysdeps/powerpc/bits/mathinline.h: ... here.
12194
12195 2013-03-01 Roland McGrath <roland@hack.frob.com>
12196
12197 * elf/dl-hwcaps.c (_dl_important_hwcaps):
12198 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12199 to just [NEED_DL_SYSINFO_DSO].
12200 * elf/dl-support.c: Likewise.
12201 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12202 * elf/rtld.c (dl_main): Likewise.
12203 * elf/setup-vdso.h (setup_vdso): Likewise.
12204 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12205 * sysdeps/unix/sysv/linux/dl-sysdep.c
12206 (_dl_discover_osversion): Likewise.
12207
12208 2013-03-01 Carlos O'Donell <carlos@redhat.com>
12209
12210 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12211 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12212
12213 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
12214
12215 * NEWS: Mention libm performance improvements and non-x86 PI
12216 futex support.
12217
12218 * csu/libc-start.c (__pthread_initialize_minimal): Change
12219 function arguments.
12220 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12221
12222 2013-02-28 Joseph Myers <joseph@codesourcery.com>
12223
12224 [BZ #13550]
12225 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12226 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12227 <bp-sym.h> and <bp-asm.h>.
12228 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12229 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12230 and <bp-asm.h>.
12231 (memcpy): Don't use BP_SYM.
12232 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12233 <bp-asm.h>.
12234 (__mpn_add_n): Don't use BP_SYM.
12235 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12236 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12237 and <bp-asm.h>.
12238 (__mpn_addmul_1): Don't use BP_SYM.
12239 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12240 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12241 <bp-sym.h>.
12242 (_setjmp): Don't use BP_SYM.
12243 (__novmx_setjmp): Likewise.
12244 (__GI__setjmp): Likewise.
12245 (__vmx_setjmp): Likewise.
12246 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12247 <bp-sym.h>.
12248 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12249 (__bzero): Don't use BP_SYM.
12250 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12251 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12252 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12253 <bp-sym.h> and <bp-asm.h>.
12254 (memcpy): Don't use BP_SYM.
12255 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12256 <bp-sym.h> and <bp-asm.h>.
12257 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12258 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12259 <bp-sym.h> and <bp-asm.h>.
12260 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12261 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12262 <bp-asm.h>.
12263 (__mpn_lshift): Don't use BP_SYM.
12264 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12265 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12266 <bp-asm.h>.
12267 (memset): Don't use BP_SYM.
12268 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12269 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12270 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12271 <bp-asm.h>.
12272 (__mpn_mul_1): Don't use BP_SYM.
12273 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12274 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12275 <bp-sym.h> and <bp-asm.h>.
12276 (memcmp): Don't use BP_SYM.
12277 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12278 <bp-sym.h> and <bp-asm.h>.
12279 (memcpy): Don't use BP_SYM.
12280 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12281 <bp-sym.h> and <bp-asm.h>.
12282 (memset): Don't use BP_SYM.
12283 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12284 <bp-sym.h> and <bp-asm.h>.
12285 (strncmp): Don't use BP_SYM.
12286 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12287 <bp-sym.h> and <bp-asm.h>.
12288 (memcpy): Don't use BP_SYM.
12289 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12290 <bp-sym.h> and <bp-asm.h>.
12291 (memset): Don't use BP_SYM.
12292 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12293 <bp-sym.h> and <bp-asm.h>.
12294 (__memchr): Don't use BP_SYM.
12295 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12296 <bp-sym.h> and <bp-asm.h>.
12297 (memcmp): Don't use BP_SYM.
12298 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12299 <bp-sym.h> and <bp-asm.h>.
12300 (memcpy): Don't use BP_SYM.
12301 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12302 <bp-sym.h> and <bp-asm.h>.
12303 (__mempcpy): Don't use BP_SYM.
12304 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12305 <bp-sym.h> and <bp-asm.h>.
12306 (__memrchr): Don't use BP_SYM.
12307 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12308 <bp-sym.h> and <bp-asm.h>.
12309 (memset): Don't use BP_SYM.
12310 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12311 <bp-sym.h> and <bp-asm.h>.
12312 (__rawmemchr): Don't use BP_SYM.
12313 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12314 <bp-sym.h> and <bp-asm.h>.
12315 (__STRCMP): Don't use BP_SYM.
12316 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12317 <bp-sym.h> and <bp-asm.h>.
12318 (strchr): Don't use BP_SYM.
12319 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12320 <bp-sym.h> and <bp-asm.h>.
12321 (__strchrnul): Don't use BP_SYM.
12322 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12323 <bp-sym.h> and <bp-asm.h>.
12324 (strlen): Don't use BP_SYM.
12325 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12326 <bp-sym.h> and <bp-asm.h>.
12327 (strncmp): Don't use BP_SYM.
12328 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12329 <bp-sym.h> and <bp-asm.h>.
12330 (__strnlen): Don't use BP_SYM.
12331 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12332 <bp-asm.h>.
12333 (__mpn_rshift): Don't use BP_SYM.
12334 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12335 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12336 <bp-sym.h> and <bp-asm.h>.
12337 (__sigsetjmp): Don't use BP_SYM.
12338 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12339 (L(start_addresses)): Don't use BP_SYM.
12340 (_start): Likewise.
12341 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12342 <bp-asm.h>.
12343 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12344 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12345 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12346 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12347 <bp-asm.h>.
12348 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12349 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12350 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12351 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12352 <bp-asm.h>.
12353 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12354 comments.
12355 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12356 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12357 <bp-asm.h>.
12358 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
12359 FIXME comments.
12360 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12361 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12362 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12363 <bp-asm.h>.
12364 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
12365 comment.
12366 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12367 and <bp-asm.h>.
12368 (strncmp): Don't use BP_SYM,
12369 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12370 <bp-asm.h>.
12371 (__mpn_sub_n): Don't use BP_SYM.
12372 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12373 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12374 and <bp-asm.h>.
12375 (__mpn_submul_1): Don't use BP_SYM.
12376 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12378 <bp-sym.h> and <bp-asm.h>.
12379 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12381 <bp-sym.h> and <bp-asm.h>.
12382 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
12383 comment.
12384
12385 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12386
12387 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12388 Use ZK to minimize writes to Z.
12389 (sub_magnitudes): Simplify code a bit.
12390 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12391 Use ZK to minimize writes to Z.
12392 (sub_magnitudes): Simplify code a bit.
12393
12394 2013-02-27 Roland McGrath <roland@hack.frob.com>
12395
12396 * csu/gmon-start.c: Add special exception to license text.
12397
12398 2013-02-27 Richard Henderson <rth@redhat.com>
12399
12400 * scripts/config.guess: Update from config.git.
12401 * scripts/config.sub: Likewise.
12402
12403 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12404
12405 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12406
12407 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12408
12409 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12410
12411 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12412
12413 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12414
12415 2013-02-26 Roland McGrath <roland@hack.frob.com>
12416
12417 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12418 [$(build-shared = yes].
12419
12420 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12421
12422 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12423 (__mul): Reduce iterations for calculating mantissa.
12424
12425 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12426 MPTWO.
12427 (__mpranred): Likewise.
12428
12429 [BZ #15160]
12430 * malloc/memusagestat.c (main): Draw graphs for heap and stack
12431 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12432
12433 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
12434
12435 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12436 Define __attribute__.
12437
12438 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12439
12440 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12441 unused.
12442 * posix/regex_internal.h (__attribute): Remove.
12443 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12444 (re_string_context_at): Likewise.
12445 (bitset_not): Use __attribute__ and mark function as possibly
12446 unused.
12447 (bitset_merge): Likewise.
12448 (bitset_mask): Likewise.
12449 (re_string_char_size_at): Likewise.
12450 (re_string_wchar_at): Likewise.
12451 (re_string_elem_size_at): Likewise.
12452
12453 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12454
12455 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12456 code.
12457 (cc32): Likewise.
12458
12459 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12460 (__acr): Likewise.
12461 (__cpy): Likewise.
12462 (norm): Likewise.
12463 (denorm): Likewise.
12464 (__dbl_mp): Likewise.
12465 (add_magnitudes): Likewise.
12466 (sub_magnitudes): Likewise.
12467 (__mul): Likewise.
12468 (__inv): Likewise.
12469
12470 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12471 style.
12472
12473 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12474 style.
12475
12476 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12477 code.
12478
12479 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12480 up changes with default code.
12481 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12482 Likewise.
12483
12484 2013-02-24 Allan McRae <allan@archlinux.org>
12485
12486 * manual/socket.texi (The Internet Namespace): Order menu items
12487 to match that in the file.
12488
12489 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12490 node listing of the info page menu.
12491
12492 2013-02-21 Joseph Myers <joseph@codesourcery.com>
12493
12494 [BZ #13550]
12495 * sysdeps/i386/bp-asm.h: Remove file.
12496 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12497 (PARMS): Do not use macros from bp-asm.h.
12498 (S1): Likewise.
12499 (S2): Likewise.
12500 (SIZE): Likewise.
12501 (__mpn_add_n): Do not use BP_SYM
12502 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12503 "bp-asm.h".
12504 (PARMS): Do not use macros from bp-asm.h.
12505 (S1): Likewise.
12506 (SIZE): Likewise.
12507 (__mpn_addmul_1): Do not use BP_SYM
12508 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12509 "bp-asm.h".
12510 (PARMS): Do not use macros from bp-asm.h.
12511 (SIGMSK): Likewise.
12512 (_setjmp): Likewise. Do not use BP_SYM.
12513 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12514 "bp-asm.h".
12515 (PARMS): Do not use macros from bp-asm.h.
12516 (SIGMSK): Likewise.
12517 (setjmp): Likewise. Do not use BP_SYM.
12518 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12519 "bp-asm.h".
12520 (PARMS): Do not use macros from bp-asm.h.
12521 (__frexp): Do not use BP_SYM.
12522 (frexp): Likewise.
12523 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12524 "bp-asm.h".
12525 (PARMS): Do not use macros from bp-asm.h.
12526 (__frexpf): Do not use BP_SYM.
12527 (frexpf): Likewise.
12528 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12529 "bp-asm.h".
12530 (PARMS): Do not use macros from bp-asm.h.
12531 (__frexpl): Do not use BP_SYM.
12532 (frexpl): Likewise.
12533 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12534 "bp-asm.h".
12535 (PARMS): Do not use macros from bp-asm.h.
12536 (__remquo): Do not use BP_SYM.
12537 (remquo): Likewise.
12538 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12539 "bp-asm.h".
12540 (PARMS): Do not use macros from bp-asm.h.
12541 (__remquof): Do not use BP_SYM.
12542 (remquof): Likewise.
12543 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12544 "bp-asm.h".
12545 (PARMS): Do not use macros from bp-asm.h.
12546 (__remquol): Do not use BP_SYM.
12547 (remquol): Likewise.
12548 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12549 "bp-asm.h".
12550 (PARMS): Do not use macros from bp-asm.h.
12551 (DEST): Likewise.
12552 (SRC): Likewise.
12553 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
12554 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12555 "bp-asm.h".
12556 (PARMS): Do not use macros from bp-asm.h.
12557 (strlen): Do not use BP_SYM.
12558 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12559 "bp-asm.h".
12560 (PARMS): Do not use macros from bp-asm.h.
12561 (S1): Likewise.
12562 (S2): Likewise.
12563 (SIZE): Likewise.
12564 (__mpn_add_n): Do not use BP_SYM.
12565 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
12566 "bp-asm.h".
12567 (PARMS): Do not use macros from bp-asm.h.
12568 (S1): Likewise.
12569 (SIZE): Likewise.
12570 (__mpn_addmul_1): Do not use BP_SYM.
12571 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12572 weak_alias.
12573 (bzero): Likewise.
12574 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12575 "bp-asm.h".
12576 (PARMS): Do not use macros from bp-asm.h.
12577 (S): Likewise.
12578 (SIZE): Likewise.
12579 (__mpn_lshift): Do not use BP_SYM.
12580 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12581 "bp-asm.h".
12582 (PARMS): Do not use macros from bp-asm.h.
12583 (DEST): Likewise.
12584 (SRC): Likewise.
12585 (LEN): Likewise.
12586 (memcpy): Likewise. Do not use BP_SYM.
12587 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12588 libc_hidden_def and weak_alias.
12589 (mempcpy): Do not use BP_SYM in weak_alias.
12590 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12591 "bp-asm.h".
12592 (PARMS): Do not use macros from bp-asm.h.
12593 (DEST): Likewise.
12594 (LEN): Likewise.
12595 [!BZERO_P] (CHR): Likewise.
12596 (memset): Likewise. Do not use BP_SYM.
12597 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12598 "bp-asm.h".
12599 (PARMS): Do not use macros from bp-asm.h.
12600 (S1): Likewise.
12601 (SIZE): Likewise.
12602 (__mpn_mul_1): Do not use BP_SYM.
12603 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12604 "bp-asm.h".
12605 (PARMS): Do not use macros from bp-asm.h.
12606 (S): Likewise.
12607 (SIZE): Likewise.
12608 (__mpn_rshift): Do not use BP_SYM.
12609 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12610 "bp-asm.h".
12611 (PARMS): Do not use macros from bp-asm.h.
12612 (STR): Likewise.
12613 (CHR): Likewise.
12614 (strchr): Likewise. Do not use BP_SYM.
12615 (index): Do not use BP_SYM in weak_alias.
12616 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12617 "bp-asm.h".
12618 (PARMS): Do not use macros from bp-asm.h.
12619 (DEST): Likewise.
12620 (SRC): Likewise.
12621 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
12622 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12623 "bp-asm.h".
12624 (PARMS): Do not use macros from bp-asm.h.
12625 (strlen): Do not use BP_SYM.
12626 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12627 "bp-asm.h".
12628 (PARMS): Do not use macros from bp-asm.h.
12629 (S1): Likewise.
12630 (S2): Likewise.
12631 (SIZE): Likewise.
12632 (__mpn_sub_n): Do not use BP_SYM.
12633 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12634 "bp-asm.h".
12635 (PARMS): Do not use macros from bp-asm.h.
12636 (S1): Likewise.
12637 (SIZE): Likewise.
12638 (__mpn_submul_1): Do not use BP_SYM.
12639 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12640 "bp-asm.h".
12641 (PARMS): Do not use macros from bp-asm.h.
12642 (S1): Likewise.
12643 (S2): Likewise.
12644 (SIZE): Likewise.
12645 (__mpn_add_n): Do not use BP_SYM.
12646 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12647 weak_alias.
12648 (bzero): Likewise.
12649 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12650 "bp-asm.h".
12651 (PARMS): Do not use macros from bp-asm.h.
12652 (BLK2): Likewise.
12653 (LEN): Likewise.
12654 (memcmp): Do not use BP_SYM.
12655 (bcmp): Do not use BP_SYM in weak_alias.
12656 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12657 "bp-asm.h".
12658 (PARMS): Do not use macros from bp-asm.h.
12659 (DEST): Likewise.
12660 (SRC): Likewise.
12661 (LEN): Likewise.
12662 (memcpy): Likewise. Do not use BP_SYM.
12663 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12664 "bp-asm.h".
12665 (PARMS): Do not use macros from bp-asm.h.
12666 (DEST): Likewise.
12667 (SRC): Likewise.
12668 (LEN): Likewise.
12669 (memmove): Likewise. Do not use BP_SYM.
12670 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12671 "bp-asm.h".
12672 (PARMS): Do not use macros from bp-asm.h.
12673 (DEST): Likewise.
12674 (SRC): Likewise.
12675 (LEN): Likewise.
12676 (__mempcpy): Likewise. Do not use BP_SYM.
12677 (mempcpy): Do not use BP_SYM in weak_alias.
12678 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12679 "bp-asm.h".
12680 (PARMS): Do not use macros from bp-asm.h.
12681 (DEST): Likewise.
12682 (LEN): Likewise.
12683 [!BZERO_P] (CHR): Likewise.
12684 (memset): Likewise. Do not use BP_SYM.
12685 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12686 "bp-asm.h".
12687 (PARMS): Do not use macros from bp-asm.h.
12688 (STR2): Likewise.
12689 (strcmp): Do not use BP_SYM.
12690 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12691 "bp-asm.h".
12692 (PARMS): Do not use macros from bp-asm.h.
12693 (STR): Likewise.
12694 (DELIM): Likewise.
12695 [USE_AS_STRTOK_R] (SAVE): Likewise.
12696 (FUNCTION): Likewise. Do not use BP_SYM.
12697 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12698 aliases.
12699 (strtok_r): Likewise.
12700 (__GI___strtok_r): Likewise.
12701 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12702 (PARMS): Do not use macros from bp-asm.h.
12703 (S): Likewise.
12704 (SIZE): Likewise.
12705 (__mpn_lshift): Do not use BP_SYM.
12706 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12707 (PARMS): Do not use macros from bp-asm.h.
12708 (STR): Likewise.
12709 (CHR): Likewise.
12710 (__memchr): Do not use BP_SYM.
12711 (memchr): Do not use BP_SYM in weak_alias.
12712 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12713 (PARMS): Do not use macros from bp-asm.h.
12714 (BLK2): Likewise.
12715 (LEN): Likewise.
12716 (memcmp): Do not use BP_SYM.
12717 (bcmp): Do not use BP_SYM in weak_alias.
12718 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12719 (PARMS): Do not use macros from bp-asm.h.
12720 (S1): Likewise.
12721 (SIZE): Likewise.
12722 (__mpn_mul_1): Do not use BP_SYM.
12723 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12724 "bp-asm.h".
12725 (PARMS): Do not use macros from bp-asm.h.
12726 (STR): Likewise.
12727 (CHR): Likewise.
12728 (__rawmemchr): Do not use BP_SYM.
12729 (rawmemchr): Do not use BP_SYM in weak_alias.
12730 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12731 (PARMS): Do not use macros from bp-asm.h.
12732 (S): Likewise.
12733 (SIZE): Likewise.
12734 (__mpn_rshift): Do not use BP_SYM.
12735 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12736 (PARMS): Do not use macros from bp-asm.h.
12737 (SIGMSK): Likewise.
12738 (__sigsetjmp): Likewise. Do not use BP_SYM.
12739 * sysdeps/i386/start.S: Do not include "bp-sym.h".
12740 (_start): Do not use BP_SYM.
12741 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12742 (PARMS): Do not use macros from bp-asm.h.
12743 (DEST): Likewise.
12744 (SRC): Likewise.
12745 (__stpcpy): Likewise. Do not use BP_SYM.
12746 (stpcpy): Do not use BP_SYM in weak_alias.
12747 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12748 "bp-asm.h".
12749 (PARMS): Do not use macros from bp-asm.h.
12750 (DEST): Likewise.
12751 (SRC): Likewise.
12752 (LEN): Likewise.
12753 (__stpncpy): Likewise. Do not use BP_SYM.
12754 (stpncpy): Do not use BP_SYM in weak_alias.
12755 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12756 (PARMS): Do not use macros from bp-asm.h.
12757 (STR): Likewise.
12758 (CHR): Likewise.
12759 (strchr): Likewise. Do not use BP_SYM.
12760 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12761 "bp-asm.h".
12762 (PARMS): Do not use macros from bp-asm.h.
12763 (STR): Likewise.
12764 (CHR): Likewise.
12765 (__strchrnul): Likewise. Do not use BP_SYM.
12766 (strchrnul): Do not use BP_SYM in weak_alias.
12767 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12768 "bp-asm.h".
12769 (PARMS): Do not use macros from bp-asm.h.
12770 (STOP): Likewise.
12771 (strcspn): Do not use BP_SYM.
12772 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12773 "bp-asm.h".
12774 (PARMS): Do not use macros from bp-asm.h.
12775 (STR): Likewise.
12776 (STOP): Likewise.
12777 (strpbrk): Likewise. Do not use BP_SYM.
12778 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12779 "bp-asm.h".
12780 (PARMS): Do not use macros from bp-asm.h.
12781 (STR): Likewise.
12782 (CHR): Likewise.
12783 (strrchr): Likewise. Do not use BP_SYM.
12784 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12785 (PARMS): Do not use macros from bp-asm.h.
12786 (SKIP): Likewise.
12787 (strspn): Do not use BP_SYM.
12788 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12789 (PARMS): Do not use macros from bp-asm.h.
12790 (STR): Likewise.
12791 (DELIM): Likewise.
12792 (SAVE): Likewise.
12793 (FUNCTION): Likewise. Do not use BP_SYM.
12794 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12795 aliases.
12796 (strtok_r): Likewise.
12797 (__GI___strtok_r): Likewise.
12798 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12799 (PARMS): Do not use macros from bp-asm.h.
12800 (S1): Likewise.
12801 (S2): Likewise.
12802 (SIZE): Likewise.
12803 (__mpn_sub_n): Do not use BP_SYM.
12804 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12805 "bp-asm.h".
12806 (PARMS): Do not use macros from bp-asm.h.
12807 (S1): Likewise.
12808 (SIZE): Likewise.
12809 (__mpn_submul_1): Do not use BP_SYM.
12810 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12811 <bp-sym.h>.
12812 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12813 and <bp-asm.h>.
12814 (PARMS): Do not use macros from bp-asm.h.
12815 (FLAGS): Likewise.
12816 (PTID): Likewise.
12817 (TLS): Likewise.
12818 (CTID): Likewise.
12819 (__clone): Do not use BP_SYM.
12820 (clone): Do not use BP_SYM in weak_alias.
12821 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12822 and <bp-asm.h>.
12823 (PARMS): Do not use macros from bp-asm.h.
12824 (LEN): Likewise.
12825 (__mmap64): Do not use BP_SYM.
12826 (mmap64): Do not use BP_SYM in weak_alias.
12827 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12828 <bp-sym.h> and <bp-asm.h>.
12829 (PARMS): Do not use macros from bp-asm.h.
12830 (__posix_fadvise64_l64): Do not use BP_SYM.
12831 * sysdeps/unix/sysv/linux/i386/semtimedop.S
12832 (PARMS): Do not use macros from bp-asm.h.
12833 (NSOPS): Likewise.
12834 (semtimedop): Do not use BP_SYM.
12835 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12836 and <bp-asm.h>.
12837
12838 2013-02-21 Allan McRae <allan@archlinux.org>
12839
12840 * manual/message.texi (Charset conversion in gettext):
12841 Move @end statement to beginning of line.
12842
12843 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12844
12845 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12846 static.
12847 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12848 Likewise.
12849
12850 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12851 (denorm): Likewise.
12852 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12853 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12854
12855 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12856
12857 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12858 tail-call to the resolved function if pltexit isn't needed.
12859
12860 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12861
12862 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12863 or Y being zero as being unlikely.
12864 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12865 Likewise.
12866
12867 2013-02-20 Carlos O'Donell <carlos@redhat.com>
12868
12869 * manual/nss.texi (System Databases and Name Service Switch):
12870 Remove frobnicate @pxref.
12871
12872 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12873
12874 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12875 __attribute__ ((unused)) to __attribute__ ((__unused__)).
12876
12877 2013-02-20 Petr Machata <pmachata@redhat.com>
12878
12879 * elf/elf.h (R_ARM_TARGET1): New macro.
12880 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12881 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12882 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12883 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12884 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12885 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12886 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12887 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12888 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12889 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12890 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12891 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12892 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12893 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12894 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12895 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12896 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12897 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12898 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12899 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12900 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12901 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12902 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12903 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12904 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12905 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12906 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12907 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12908 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12909 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12910 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12911 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12912 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12913 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12914 (R_ARM_THM_GOT_BREL12): Likewise.
12915 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12916 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12917 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12918 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12919 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12920 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12921 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12922 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12923 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12924
12925 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
12926
12927 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12928 __attribute_used__ to __attribute__ ((unused)).
12929
12930 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12931
12932 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12933 powerpc mpa.c.
12934 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12935 comment formatting.
12936 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12937
12938 2013-02-19 Joseph Myers <joseph@codesourcery.com>
12939
12940 [BZ #13550]
12941 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
12942 Remove macro.
12943 (ENTER): Remove both macro definitions.
12944 (LEAVE): Likewise.
12945 (CHECK_BOUNDS_LOW): Likewise.
12946 (CHECK_BOUNDS_HIGH): Likewise.
12947 (CHECK_BOUNDS_BOTH): Likewise.
12948 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
12949 (RETURN_BOUNDED_POINTER): Likewise.
12950 (RETURN_NULL_BOUNDED_POINTER): Likewise.
12951 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
12952 (POP_ERRNO_LOCATION_RETURN): Likewise.
12953 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
12954 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12955 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
12956 macros.
12957 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12958 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
12959 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
12960 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
12961 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
12962 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
12963 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
12964 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
12965 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
12966 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
12967 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
12968 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
12969 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12970 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
12971 removed macros.
12972 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12973 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
12974 macros.
12975 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12976 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
12977 * sysdeps/i386/i586/memset.S (memset): Likewise.
12978 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
12979 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12980 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
12981 macros.
12982 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12983 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
12984 Change uses of L(2) to L(out).
12985 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
12986 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
12987 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
12988 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12989 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
12990 removed macros.
12991 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12992 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
12993 macros.
12994 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12995 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
12996 (RETURN): Do not use macro LEAVE.
12997 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
12998 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
12999 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13000 * sysdeps/i386/i686/memset.S (memset): Likewise.
13001 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13002 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13003 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13004 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13005 Likewise.
13006 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13007 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
13008 L(1_2) and L(1_3) into L(1).
13009 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13010 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13011 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13012 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13013 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13014 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13015 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13016 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13017 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13018 macros.
13019 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13020 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13021 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13022 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13023 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13024 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13025 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13026 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13027 * sysdeps/i386/strcspn.S (strcspn): Likewise.
13028 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13029 * sysdeps/i386/strrchr.S (strrchr): Likewise.
13030 * sysdeps/i386/strspn.S (strspn): Likewise.
13031 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13032 conditional code.
13033 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13034 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13035 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13036 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
13037 L(1_3) into L(1_1).
13038 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13039 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13040 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13041 macros.
13042 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13043
13044 2013-02-19 Jakub Jelinek <jakub@redhat.com>
13045
13046 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13047 macro.
13048
13049 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13050
13051 * math/atest-exp.c (exp_mpn): Remove ROUND.
13052 * math/atest-exp2.c (exp_mpn): Likewise.
13053 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13054
13055 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13056 * stdlib/tst-tls-atexit-lib.c: Likewise.
13057 * stdlib/tst-tls-atexit.c: Likewise.
13058
13059 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13060
13061 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13062 and __attribute_alloc_size__.
13063
13064 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13065
13066 * include/programs/xmalloc.h: Change __attribute_alloc_size to
13067 __attribute_alloc_size__.
13068 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13069 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13070
13071 2013-02-18 Mike Frysinger <vapier@gentoo.org>
13072
13073 * include/programs/xmalloc.h: New file.
13074 * catgets/gencat.c: Include it.
13075 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13076 * elf/pldd.c: Likewise.
13077 * iconv/iconv_charmap.c: Likewise.
13078 * iconv/iconvconfig.c: Likewise.
13079 * iconv/strtab.c: Likewise.
13080 * locale/programs/locale.c: Likewise.
13081 * locale/programs/localedef.h: Likewise.
13082 * locale/programs/simple-hash.c: Likewise.
13083 * nscd/nscd.h: Likewise.
13084 * nss/makedb.c: Likewise.
13085 * sysdeps/generic/ldconfig.h: Likewise.
13086
13087 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
13088
13089 * Versions.def: Add GLIBC_2.18.
13090 * include/link.h (struct link_map): New member l_tls_dtor_count.
13091 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13092 (__call_tls_dtors): Likewise.
13093 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13094 __cxa_thread_atexit_impl.
13095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13096 Likewise.
13097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13098 Likewise.
13099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13100 Likewise.
13101 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13102 Likewise.
13103 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13104 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13105 Likewise.
13106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13107 Likewise.
13108 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13109 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13110 Likewise.
13111 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13112 (tests): Add test case tst-tls-atexit.
13113 (modules-names): Add shared library for tst-tls-atexit.
13114 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
13115 (GLIBC_PRIVATE): Add __call_tls_dtors.
13116 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13117 for libstdc++.
13118 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13119 * stdlib/tst-tls-atexit.c: New test case.
13120 * stdlib/tst-tls-atexit-lib.c: New test case.
13121
13122 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
13123
13124 * elf/Versions (ld): Add _dl_find_dso_for_object.
13125 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13126 * elf/dl-open.c (_dl_find_dso_for_object): New function.
13127 (dl_open_worker): Use _dl_find_dso_for_object.
13128 * elf/dl-sym.c (do_sym): Likewise.
13129 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13130
13131 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13132
13133 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13134 Syntactic changes only.
13135 (_dl_runtime_profile): Do a tail-call to the resolved function.
13136
13137 2013-02-17 Joseph Myers <joseph@codesourcery.com>
13138
13139 [BZ #13550]
13140 * sysdeps/x86_64/bp-asm.h: Remove file.
13141 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13142 <bp-sym.h> and <bp-asm.h>.
13143 (__clone): Do not use BP_SYM.
13144 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13145 <bp-sym.h> and <bp-asm.h>.
13146 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13147 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13148 "bp-asm.h".
13149 (_setjmp): Do not use BP_SYM.
13150 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13151 "bp-asm.h".
13152 (setjmp): Do not use BP_SYM.
13153 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13154 libc_hidden_def.
13155 (mempcpy): Do not use BP_SYM in weak_alias.
13156 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13157 "bp-asm.h".
13158 (strchr): Do not use BP_SYM.
13159 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13160 "bp-asm.h".
13161 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13162 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13163 (_start): Do not use BP_SYM.
13164 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13165 "bp-asm.h".
13166 (strcat): Do not use BP_SYM.
13167 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13168 "bp-asm.h".
13169 (STRCMP): Do not use BP_SYM.
13170 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13171 "bp-asm.h".
13172 (STRCPY): Do not use BP_SYM.
13173 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13174 "bp-asm.h".
13175 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13176 "bp-asm.h".
13177 (FUNCTION): Do not use BP_SYM.
13178 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13179 weak_alias.
13180 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13181
13182 2013-02-17 Andreas Jaeger <aj@suse.de>
13183
13184 * time/Versions: Sort entries.
13185 * string/Versions: Likewise.
13186 * resolv/Versions: Likewise.
13187 * posix/Versions: Likewise.
13188 * iconv/Versions: Likewise.
13189 * elf/Versions: Likewise.
13190 * wcsmbs/Versions: Likewise.
13191
13192 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13193
13194 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13195 loop termination condition.
13196
13197 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13198 variable to calculate EZ.
13199 (__sqr): Likewise.
13200
13201 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13202 the lower precision input.
13203
13204 2013-02-15 Joseph Myers <joseph@codesourcery.com>
13205
13206 [BZ #13550]
13207 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13208 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13209 (run-via-rtld-prefix): Do not handle %-bp tests.
13210 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13211 (all-object-suffixes): Remove .ob.
13212 (bppfx): Remove variable.
13213 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13214 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13215 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13216 [$(build-bounded) = yes] (libtype.ob): Likewise.
13217 * Makerules (elide-routines.ob): Remove variable.
13218 (do-tests-clean): Do not handle *-bp.out.
13219 (common-mostlyclean): Do not handle *-bp and *-bp.out.
13220 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13221 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13222 (tests): Do not include $(tests-bp.out).
13223 (xtests): Do not include $(xtests-bp.out).
13224 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13225 [$(build-bounded) = yes] ($(addprefix
13226 $(objpfx),$(binaries-bounded))): Remove rule.
13227 ($(objpfx)%-bp.out): Remove rule.
13228 * config.make.in (build-bounded): Remove variable.
13229 * crypt/Makefile [$(build-bounded) = yes]
13230 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13231 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13232 append to variable.
13233 [$(build-bounded) = yes] (install-lib): Likewise.
13234 [$(build-bounded) = yes] (generated): Likewise.
13235 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13236 Remove rule.
13237 * intl/Makefile [$(build-bounded) = yes]
13238 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13239 * math/Makefile [$(build-bounded) = yes]
13240 ($(tests:%=$(objpfx)%-bp): Likewise.
13241 * misc/Makefile [$(build-bounded) = yes]
13242 ($(objpfx)tst-tsearch-bp): Likewise.
13243 * nptl/Makeconfig (bounded-thread-library): Remove variable.
13244 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13245 Remove dependency.
13246 * string/Makefile (o-objects.ob): Remove variable.
13247 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13248 (CFLAGS-.ob): Remove variable.
13249 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13250 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13251 both definitions of variable.
13252 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13253 (ASFLAGS-.ob): Remove variable.
13254
13255 2013-02-14 Joseph Myers <joseph@codesourcery.com>
13256
13257 [BZ #13550]
13258 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13259 Remove __BOUNDED_POINTERS__ from condition.
13260 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13261 * string/bits/string2.h [!__NO_STRING_INLINES &&
13262 !__BOUNDED_POINTERS__]: Likewise.
13263 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13264 Likewise.
13265 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13266 Remove conditional code.
13267 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13268 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13269 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13270 condition.
13271
13272 [BZ #13550]
13273 * csu/libc-start.c: Do not include <bp-sym.h>.
13274 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13275 * elf/dl-open.c: Do not include <bp-sym.h>.
13276 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13277 * math/fegetenv.c: Do not include <bp-sym.h>.
13278 (fegetenv): Do not use BP_SYM in versioned symbols.
13279 * nptl/sysdeps/pthread/bits/libc-lockP.h
13280 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13281 <bp-sym.h>.
13282 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13283 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13284 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13285 (__pthread_mutex_destroy): Likewise.
13286 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13287 (__pthread_mutex_lock): Likewise.
13288 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13289 (__pthread_mutex_trylock): Likewise.
13290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13291 (__pthread_mutex_unlock): Likewise.
13292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13293 (__pthread_mutexattr_init): Likewise.
13294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13295 (__pthread_mutexattr_destroy): Likewise.
13296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13297 (__pthread_mutexattr_settype): Likewise.
13298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13299 (__pthread_rwlock_init): Likewise.
13300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13301 (__pthread_rwlock_destroy): Likewise.
13302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13303 (__pthread_rwlock_rdlock): Likewise.
13304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13305 (__pthread_rwlock_tryrdlock): Likewise.
13306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13307 (__pthread_rwlock_wrlock): Likewise.
13308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13309 (__pthread_rwlock_trywrlock): Likewise.
13310 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13311 (__pthread_rwlock_unlock): Likewise.
13312 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13313 (__pthread_key_create): Likewise.
13314 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13315 (__pthread_setspecific): Likewise.
13316 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13317 (__pthread_getspecific): Likewise.
13318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13319 Likewise.
13320 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13321 (_pthread_cleanup_push_defer): Likewise.
13322 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13323 (_pthread_cleanup_pop_restore): Likewise.
13324 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13325 (pthread_setcancelstate): Likewise.
13326 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13327 <bp-sym.h>.
13328 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13329 (memchr): Do not use BP_SYM in weak_alias.
13330 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13331 (fegetenv): Do not use BP_SYM in versioned symbols.
13332 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13333 (fesetenv): Do not use BP_SYM in versioned symbols.
13334 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13335 (feupdateenv): Do not use BP_SYM in versioned symbols.
13336 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13337 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13338 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13339 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13340 (open64): Do not use BP_SYM in weak_alias.
13341 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13342 (fegetenv): Do not use BP_SYM in versioned symbols.
13343 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13344 (fesetenv): Do not use BP_SYM in versioned symbols.
13345 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13346 (feupdateenv): Do not use BP_SYM in versioned symbols.
13347 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13348 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13349 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13350 (feraiseexcept): Do not use BP_SYM in versioned symbols.
13351 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13352 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13353 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13354 <bp-sym.h>.
13355 (__libc_start_main): Do not use BP_SYM.
13356
13357 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13358
13359 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13360 redundant return line.
13361 (norm): Likewise.
13362 (denorm): Likewise.
13363 (dbl_mp): Likewise.
13364 (sub_magnitudes): Likewise.
13365 (__add): Likewise.
13366 (__sub): Likewise.
13367 (__mul): Likewise.
13368 (__inv): Likewise.
13369 (__dvd): Likewise.
13370 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13371 (norm): Likewise.
13372 (denorm): Likewise.
13373 (dbl_mp): Likewise.
13374 (sub_magnitudes): Likewise.
13375 (__add): Likewise.
13376 (__sub): Likewise.
13377 (__mul): Likewise.
13378 (__inv): Likewise.
13379 (__dvd): Likewise.
13380
13381 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13382 instead of __mul.
13383 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13384 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13385 (cc32): Likewise.
13386
13387 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13388 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13389 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13390 of __mul for squares.
13391 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13392 function
13393 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13394 Likewise.
13395 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13396 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13397
13398 2013-02-13 Joseph Myers <joseph@codesourcery.com>
13399
13400 [BZ #13550]
13401 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13402 code.
13403 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13404 prototype or function definition. Rename ubp_* variables and
13405 parameters. Remove argv definitions conditional on
13406 [__BOUNDED_POINTERS__].
13407 * debug/backtrace.c (__backtrace): Do not use __unbounded.
13408 * elf/dl-runtime.c (_dl_fixup): Likewise.
13409 * include/set-hooks.h (RUN_HOOK): Likewise.
13410 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13411 definition.
13412 * string/strcpy.c (strcpy): Do not use __unbounded.
13413 * sysdeps/generic/frame.h (struct layout): Likewise.
13414 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13415 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13416 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13417 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13418 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13419 (__backtrace): Likewise.
13420 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13421 use __ptrvalue.
13422 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13423 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13424 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13425 Likewise.
13426 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13427 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13428 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13429 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13430 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13431 Do not use __unbounded.
13432 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13433 Rename __unboundedrlimits parameter to rlimits in prototype.
13434 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13435 Do not use __unbounded.
13436 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13437 not use __ptrvalue.
13438 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13439 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13440 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13441 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13442 __ptrvalue or __unbounded.
13443 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13444 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13445 use __unbounded.
13446 (__new_msgctl): Do not use __ptrvalue.
13447 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13448 __unbounded.
13449 (__libc_msgrcv): Do not use __ptrvalue.
13450 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13451 startup_info): Do not use __unbounded.
13452 (__libc_start_main): Likewise. Rename ubp_* variables and
13453 parameters. Remove argv definitions conditional on
13454 [__BOUNDED_POINTERS__].
13455 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13456 __ptrvalue.
13457 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13458 use __unbounded.
13459 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13460 or __ptrvalue.
13461 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13462 use __unbounded.
13463 (__new_shmctl): Do not use __ptrvalue.
13464 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13465 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13466 Likewise.
13467 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13468 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13469 (__libc_sigaction): Likewise.
13470 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13471 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13472 Likewise.
13473 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13474
13475 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
13476
13477 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
13478
13479 * string/mempcpy.c: Implement by calling memcpy.
13480
13481 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13482
13483 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13484
13485 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13486 evaluation.
13487
13488 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13489 values in the mantissa.
13490
13491 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13492 minimize writes to Z.
13493 (sub_magnitudes): Simplify code a bit.
13494
13495 2013-02-12 Roland McGrath <roland@hack.frob.com>
13496
13497 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13498 from the message. The linker prefixes all warnings with that already.
13499
13500 2013-02-12 Andreas Schwab <schwab@suse.de>
13501
13502 [BZ #15078]
13503 * posix/regexec.c (extend_buffers): Add parameter min_len.
13504 (check_matching): Pass minimum needed length.
13505 (clean_state_log_if_needed): Likewise.
13506 (get_subexp): Likewise.
13507 * posix/Makefile (tests): Add bug-regex34.
13508 (bug-regex34-ENV): Define.
13509 * posix/bug-regex34.c: New file.
13510
13511 [BZ #11561]
13512 * posix/regcomp.c (parse_bracket_exp): When looking up collating
13513 elements compare against the byte sequence of it, not its name.
13514 * posix/Makefile (tests): Add bug-regex35.
13515 (bug-regex35-ENV): Define.
13516 * posix/bug-regex35.c: New file.
13517
13518 2013-02-11 Tom de Vries <tom@codesourcery.com>
13519
13520 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
13521 comment.
13522 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13523 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13524 (CHECK_EOL): Add undef.
13525
13526 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
13527
13528 * bits/stdlib-bsearch.h: New file.
13529 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
13530 * stdlib/stdlib.h: Likewise.
13531
13532 2013-02-11 Roland McGrath <roland@hack.frob.com>
13533
13534 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13535 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13536 declaration.
13537 * manual/search.texi (Array Search Function): Add missing const in
13538 lfind prototype.
13539 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13540 declaration to use rlim_t.
13541 (Basic Scheduling Functions): Remove erroneous const from
13542 sched_getparam prototype. Remove erroneous * from
13543 sched_get_priority_max and sched_get_priority_min prototypes.
13544 (Resource Usage): Fix summary @comment on vtimes to refer to
13545 sys/vtimes.h rather than vtimes.h.
13546 Add missing *s in vtimes prototype.
13547 (Limits on Resources): Fix ulimit prototype to return long int.
13548 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13549 prototypes to use long int rather than double.
13550 (BSD Random): Fix initstate and setstate to use char *, not void *.
13551 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13552 prototype to make second argument 'struct aiocb64 *const[]'.
13553 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13554 (Status of AIO Operations): Remove erroneous const in aio_return and
13555 aio_return64 prototypes.
13556 (Synchronizing I/O): Fix sync prototype to return void.
13557 * manual/startup.texi (Suboptions): Remove an erroneous const in
13558 getsubopt prototype.
13559 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13560 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13561 use size_t rather than int.
13562 (Scanning All Users): Likewise for getpwent_r.
13563 (Setting Groups): Add missing const to setgroups prototype.
13564 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13565 * manual/socket.texi (Host Names): Fix gethostbyaddr and
13566 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13567 'const void *' rather than 'const char *'.
13568 (Host Address Functions): Likewise for inet_ntop.
13569 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13570 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13571 ssize_t for return value.
13572 (Sending Data): Likewise for send, sendto, sendmsg.
13573 (Socket Option Functions): Add a missing const in setsockopt prototype.
13574 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13575 use wchar_t for the argument.
13576 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13577 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13578 take no arguments.
13579 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13580 double/float/long double for second argument.
13581 Fix return types of significand, significandf, significandl.
13582 * manual/filesys.texi (Setting Permissions): Use mode_t for second
13583 argument in fchmod prototype.
13584 (File Owner): Use uid_t and gid_t in fchown prototype.
13585 (File Times): Add const to utimes, futimes, and lutimes prototypes.
13586 (Making Special Files): Use mode_t and dev_t in mknod prototype.
13587 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13588 use 'const struct dirent **' as argument types to CMP function pointer
13589 argument.
13590 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13591 (File Times): Fix summary magic @comment for struct utimbuf and utime
13592 to refer to utime.h, not time.h.
13593 * manual/string.texi (Argz Functions): Add missing const in
13594 argz_extract and argz_next prototypes.
13595 (Finding Tokens in a String): Likewise for basename.
13596 (String/Array Comparison): Fix typo in wcscasecmp prototype.
13597 (Copying and Concatenation): Fix typo in wmemmove prototype.
13598 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13599 (Signal Stack): Remove erroneous const in sigstack prototype.
13600 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13601 prototype.
13602 (Simple Calendar Time): Likewise for stime.
13603 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13604 prototype.
13605 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13606 say sys/sysctl.h instead.
13607 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13608 and vsyslog prototypes.
13609
13610 2013-02-11 Tom de Vries <tom@codesourcery.com>
13611
13612 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13613 Remove.
13614
13615 2013-02-11 Roland McGrath <roland@hack.frob.com>
13616
13617 * misc/sys/mman.h: Fix typo in mremap comment.
13618
13619 2013-02-08 Roland McGrath <roland@hack.frob.com>
13620
13621 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13622 the '\0' terminator.
13623
13624 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13625
13626 [BZ #13550]
13627 * debug/segfault.c: Don't include <bp-checks.h>.
13628 * sysdeps/generic/bp-checks.h: Remove file.
13629 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13630 (__GETDENTS): Don't use CHECK_N.
13631 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13632 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13633 (__getgroups): Don't use CHECK_N.
13634 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13635 (setgroups): Don't use CHECK_N.
13636 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13637 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13638 (__libc_msgrcv): Don't use CHECK_N.
13639 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13640 (__libc_msgsnd): Don't use CHECK_N.
13641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13642 <bp-checks.h>.
13643 (__libc_pread): Don't use CHECK_N.
13644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13645 include <bp-checks.h>.
13646 (__libc_pread64): Don't use CHECK_N.
13647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13648 include <bp-checks.h>.
13649 (__libc_pwrite): Don't use CHECK_N.
13650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13651 include <bp-checks.h>.
13652 (__libc_pwrite64): Don't use CHECK_N.
13653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13654 <bp-checks.h>.
13655 (__libc_pread): Don't use CHECK_N.
13656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13657 include <bp-checks.h>.
13658 (__libc_pread64): Don't use CHECK_N.
13659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13660 include <bp-checks.h>.
13661 (__libc_pwrite): Don't use CHECK_N.
13662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13663 include <bp-checks.h>.
13664 (__libc_pwrite64): Don't use CHECK_N.
13665 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13666 (do_pread): Don't use CHECK_N.
13667 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13668 (do_pread64): Don't use CHECK_N.
13669 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13670 (do_pwrite): Don't use CHECK_N.
13671 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13672 (do_pwrite64): Don't use CHECK_N.
13673 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13674 (__libc_readv): Don't use CHECK_N.
13675 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13676 (semop): Don't use CHECK_N.
13677 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13678 <bp-checks.h>.
13679 (semtimedop): Don't use CHECK_N.
13680 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13681 (__libc_pread): Don't use CHECK_N.
13682 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13683 <bp-checks.h>.
13684 (__libc_pread64): Don't use CHECK_N.
13685 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13686 <bp-checks.h>.
13687 (__libc_pwrite): Don't use CHECK_N.
13688 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13689 <bp-checks.h>.
13690 (__libc_pwrite64): Don't use CHECK_N.
13691 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13692 <bp-checks.h>.
13693 (__libc_msgrcv): Don't use CHECK_N.
13694 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13695 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
13696 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13697 (__libc_writev): Don't use CHECK_N.
13698
13699 2013-02-08 Roland McGrath <roland@hack.frob.com>
13700
13701 * string/strcpy.c: Removed unused variable.
13702
13703 * Makeconfig (+sysdep-includes): Define with := rather than =.
13704 Use an existing include/ subdir of each sysdeps dir before it.
13705
13706 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13707
13708 * nscd/connection.c (register_traced_file): Comment function.
13709 [HAVE_INOTIFY] (union __inev): Define.
13710 [HAVE_INOTIFY] (inotify_check_files): New function.
13711 [HAVE_INOTIFY] (clear_db_cache): Likewise.
13712 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13713 clear_db_cache.
13714 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13715
13716 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13717
13718 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13719 loaded if not already and that a failure is permanent.
13720
13721 2013-02-08 Carlos O'Donell <carlos@redhat.com>
13722
13723 [BZ #15006]
13724 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13725 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13726
13727 2013-02-08 Joseph Myers <joseph@codesourcery.com>
13728
13729 [BZ #13550]
13730 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13731 (CHECK_1_NULL_OK): Likewise.
13732 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13733 (__fxstat): Do not use CHECK_1.
13734 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13735 <bp-checks.h>.
13736 (___fxstat64): Do not use CHECK_1.
13737 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13738 <bp-checks.h>.
13739 (__fxstatat): Do not use CHECK_1.
13740 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13741 <bp-checks.h>.
13742 (__fxstatat64): Do not use CHECK_1.
13743 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13744 <bp-checks.h>.
13745 (__fxstat): Do not use CHECK_1.
13746 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13747 <bp-checks.h>.
13748 (__fxstatat): Do not use CHECK_1.
13749 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13750 <bp-checks.h>.
13751 (__getresgid): Do not use CHECK_1.
13752 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13753 <bp-checks.h>.
13754 (__getresuid): Do not use CHECK_1.
13755 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13756 <bp-checks.h>.
13757 (__lxstat): Do not use CHECK_1.
13758 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13759 <bp-checks.h>.
13760 (__old_msgctl): Do not use CHECK_1.
13761 (__new_msgctl): Likewise.
13762 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13763 <bp-checks.h>.
13764 (__new_setrlimit): Do not use CHECK_1.
13765 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13766 <bp-checks.h>.
13767 (__old_shmctl): Do not use CHECK_1.
13768 (__new_shmctl): Likewise.
13769 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13770 <bp-checks.h>.
13771 (__xstat): Do not use CHECK_1.
13772 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13773 (__lxstat): Do not use CHECK_1.
13774 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13775 <bp-checks.h>.
13776 (___lxstat64): Do not use CHECK_1.
13777 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13778 (__old_msgctl): Do not use CHECK_1.
13779 (__new_msgctl): Likewise.
13780 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13781 <bp-checks.h>.
13782 (__gettimeofday): Do not use CHECK_1.
13783 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13784 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13785 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13786 <bp-checks.h>.
13787 (__gettimeofday): Do not use CHECK_1.
13788 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13789 (__old_shmctl): Do not use CHECK_1_NULL_OK.
13790 (__new_shmctl): Do not use CHECK_1.
13791 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13792 <bp-checks.h>.
13793 (do_sigtimedwait): Do not use CHECK_1.
13794 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13795 <bp-checks.h>.
13796 (do_sigwaitinfo): Do not use CHECK_1.
13797 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13798 <bp-checks.h>.
13799 (msgctl): Do not use CHECK_1.
13800 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13801 <bp-checks.h>.
13802 (shmctl): Do not use CHECK_1.
13803 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13804 (ustat): Do not use CHECK_1.
13805 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13806 <bp-checks.h>.
13807 (__fxstat): Do not use CHECK_1.
13808 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13809 <bp-checks.h>.
13810 (__fxstatat): Do not use CHECK_1.
13811 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13812 <bp-checks.h>.
13813 (__lxstat): Do not use CHECK_1.
13814 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13815 <bp-checks.h>.
13816 (__xstat): Do not use CHECK_1.
13817 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13818 (__xstat): Do not use CHECK_1.
13819 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13820 (___xstat64): Do not use CHECK_1.
13821
13822 [BZ #13550]
13823 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13824 definitions.
13825 (CHECK_BOUNDS_HIGH): Likewise.
13826 * string/strcpy.c: Do not include <bp-checks.h>.
13827 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13828
13829 2013-02-07 Roland McGrath <roland@hack.frob.com>
13830
13831 * nscd/nscd-client.h (__nscd_drop_map_ref):
13832 Add __attribute__ ((unused)).
13833 * nis/nss-nisplus.h (niserr2nss): Likewise.
13834
13835 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13836 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13837
13838 * csu/libc-tls.c (init_static_tls, init_slotinfo):
13839 Remove inline keyword.
13840 * include/rounding-mode.h (round_away): Likewise.
13841 * libio/wfileops.c (adjust_wide_data): Likewise.
13842 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13843 (__m128i_strloadu_tolower): Likewise.
13844 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13845 (__m128i_strloadu_tolower): Likewise.
13846 * time/mktime.c (ydhms_diff): Likewise.
13847 * locale/elem-hash.h (elem_hash): Likewise.
13848 * locale/setlocale.c (setdata): Likewise.
13849 * posix/regex_internal.h (re_string_char_size_at): Likewise.
13850 (re_string_wchar_at): Likewise.
13851 (bitset_not, bitset_merge, bitset_mask): Likewise.
13852 [!(__GNUC__ > 3)] (inline): Remove macro.
13853 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13854 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13855 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13856 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13857 * string/memcmp.c (memcmp_bytes): Likewise.
13858 * locale/programs/locarchive.c (compute_hashval): Likewise.
13859 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13860 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13861 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13862 * nss/getent.c (print_rpc, print_protocols): Likewise.
13863 (print_passwd, print_group, print_aliases): Likewise.
13864 * nis/nss-nisplus.h (niserr2nss): Likewise.
13865 * nscd/connections.c (restart_p): Likewise.
13866 Change return type to bool.
13867
13868 2013-02-05 Roland McGrath <roland@hack.frob.com>
13869
13870 * Makeconfig (all-Depend-files): Add existing
13871 $(sorted-subdirs:=/Depend) files.
13872 (all-subdirs): Remove nss.
13873 * sysdeps/unix/inet/Subdirs: Add it here instead.
13874 * hesiod/Depend: New file.
13875
13876 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13877 instead of calling alloca.
13878
13879 * io/lseek.c (__lseek): Rename to __libc_lseek.
13880 Define __lseek as an alias.
13881
13882 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13883
13884 2013-02-04 Carlos O'Donell <carlos@redhat.com>
13885
13886 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13887 else clause and remove check for non-standard endianness.
13888
13889 2013-02-04 David S. Miller <davem@davemloft.net>
13890
13891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13892
13893 2013-02-04 Joseph Myers <joseph@codesourcery.com>
13894
13895 [BZ #13550]
13896 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13897 (__ubp_memchr): Remove prototype.
13898 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13899 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13900 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13901 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13902 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13903 Remove alias.
13904 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13905 (__ubp_memchr): Likewise.
13906 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13907 (__ubp_memchr): Likewise.
13908 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13909 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13910 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13911 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13912 CHECK_STRING.
13913 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13914 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13915 (__getcwd): Do not use CHECK_STRING.
13916 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13917 <bp-checks.h>.
13918 (__real_chown): Do not use CHECK_STRING.
13919 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13920 <bp-checks.h>.
13921 (fchownat): Do not use CHECK_STRING.
13922 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13923 CHECK_STRING.
13924 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13925 <bp-checks.h>.
13926 (__lchown): Do not use CHECK_STRING.
13927 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13928 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13929 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13930 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13932 include <bp-checks.h>.
13933 (truncate64): Do not use CHECK_STRING.
13934 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13935 <bp-checks.h>.
13936 (__real_chown): Do not use CHECK_STRING.
13937 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13938 <bp-checks.h>.
13939 (__lchown): Do not use CHECK_STRING.
13940 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
13941 <bp-checks.h>.
13942 (__chown): Do not use CHECK_STRING.
13943 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
13944 <bp-checks.h>.
13945 (truncate64): Do not use CHECK_STRING.
13946 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
13947 Likewise.
13948 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
13949 (__xmknod): Do not use CHECK_STRING.
13950 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13951 <bp-checks.h>.
13952 (__xmknodat): Do not use CHECK_STRING.
13953 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13954 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13955
13956 2013-02-04 Andreas Schwab <schwab@suse.de>
13957
13958 [BZ #14142]
13959 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
13960 * include/netdb.h: Likewise for h_errno.
13961 * elf/tst-stackguard1.c: Include <tls.h>.
13962
13963 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
13964
13965 * elf/link.h (struct link_map): Extend the l_addr comment.
13966 * include/link.h (struct link_map): Likewise.
13967
13968 2013-02-01 Joseph Myers <joseph@codesourcery.com>
13969
13970 [BZ #13550]
13971 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
13972 (BOUNDED_1): Remove macro.
13973 * debug/backtrace.c: Don't include <bp-checks.h>.
13974 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
13975 (__backtrace): Likewise.
13976 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
13977 <bp-checks.h>.
13978 (__backtrace): Don't use BOUNDED_1.
13979 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
13980 <bp-checks.h>.
13981 (__backtrace): Don't use BOUNDED_1.
13982 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
13983 (__backtrace): Don't use BOUNDED_1.
13984 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
13985 (shmat): Don't use BOUNDED_N.
13986
13987 2013-01-31 Joseph Myers <joseph@codesourcery.com>
13988
13989 [BZ #13550]
13990 * sysdeps/generic/bp-start.h: Remove file.
13991 * csu/libc-start.c: Don't include <bp-start.h>.
13992 (LIBC_START_MAIN): Set up __environ directly instead of using
13993 INIT_ARGV_and_ENVIRON.
13994 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
13995 <bp-start.h>.
13996
13997 [BZ #13550]
13998 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
13999 definitions.
14000 (CHECK_FCNTL): Likewise.
14001 (CHECK_N_PAGES): Likewise.
14002
14003 [BZ #13550]
14004 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14005 definitions.
14006 (CHECK_SIGSET_NULL_OK): Likewise.
14007 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14008 <bp-checks.h>.
14009 (sigpending): Don't use CHECK_SIGSET.
14010 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14011 <bp-checks.h>.
14012 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14013 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14014 <bp-checks.h>.
14015 (do_sigsuspend): Don't use CHECK_SIGSET.
14016 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14017 use CHECK_SIGSET.
14018 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14019 (do_sigwait): Don't use CHECK_SIGSET.
14020 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14021 use CHECK_SIGSET.
14022 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14023 include <bp-checks.h>.
14024 (sigpending): Don't use CHECK_SIGSET.
14025 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14026 include <bp-checks.h>.
14027 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14028 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14029 <bp-checks.h>.
14030 (sigpending): Don't use CHECK_SIGSET.
14031 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14032 <bp-checks.h>.
14033 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14034
14035 [BZ #13550]
14036 * sysdeps/generic/bp-semctl.h: Remove file.
14037 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14038 <bp-checks.h> and <bp-semctl.h>.
14039 (__old_semctl): Don't use CHECK_SEMCTL.
14040 (__new_semctl): Likewise.
14041 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14042 and <bp-semctl.h>.
14043 (__old_semctl): Don't use CHECK_SEMCTL.
14044 (__new_semctl): Likewise.
14045 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14046 <bp-checks.h> and <bp-semctl.h>.
14047 (__old_semctl): Don't use CHECK_SEMCTL.
14048 (__new_semctl): Likewise.
14049 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14050 <bp-checks.h> and <bp-semctl.h>.
14051 (semctl): Don't use CHECK_SEMCTL.
14052
14053 [BZ #13550]
14054 * Makerules (elide-bp-thunks): Remove variable.
14055 (elide-routines.oS): Don't use $(elide-bp-thunks).
14056 (elide-routines.os): Likewise.
14057 (elide-routines.o): Likewise.
14058 (elide-routines.op): Likewise.
14059 (elide-routines.og): Likewise.
14060 (objects): Don't use $(bp-thunks).
14061 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14062 include.
14063 (common-generated): Do not add s-proto-bp.d.
14064 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14065 (int): Likewise.
14066 (typ): Likewise.
14067 Do not generate makefile rules for bounded-pointer thunks.
14068 * sysdeps/generic/bp-thunks.h: Remove file.
14069 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14070 * sysdeps/unix/s-proto-bp.S: Likewise.
14071
14072 [BZ #15062]
14073 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14074 parts of result separately when argument is not close to line from
14075 -i to i and one part of argument is small.
14076 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14077 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14078 * math/libm-test.inc (cacos_test): Add more tests.
14079 (casin_test): Likewise.
14080 (casinh_test): Likewise.
14081 * sysdeps/i386/fpu/libm-test-ulps: Update.
14082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14083
14084 2013-01-31 David S. Miller <davem@davemloft.net>
14085
14086 * po/de.po: Update from translation team.
14087
14088 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
14089
14090 * time/tzfile.c: Include stdint.h for SIZE_MAX.
14091
14092 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
14093
14094 * configure.in (_AC_PROG_CC_C89): New definition.
14095 * configure: Regenerate.
14096
14097 * configure.in (AC_PROG_CPP): New definition.
14098 * configure: Regenerate.
14099
14100 2013-01-23 Joseph Myers <joseph@codesourcery.com>
14101
14102 * debug/tst-backtrace.h: New file.
14103 * debug/tst-backtrace2.c: Include tst-backtrace.h.
14104 (ret): Remove variable.
14105 (x): Likewise.
14106 (FAIL): Remove macro.
14107 (NO_INLINE): Likewise.
14108 (fn1): Use match function instead of strstr.
14109 * debug/tst-backtrace3.c: Include tst-backtrace.h.
14110 (ret): Remove variable.
14111 (x): Likewise.
14112 (FAIL): Remove macro.
14113 (NO_INLINE): Likewise.
14114 (fn): Use match function instead of strstr.
14115 * debug/tst-backtrace4.c: Include tst-backtrace.h.
14116 (ret): Remove variable.
14117 (x): Likewise.
14118 (FAIL): Remove macro.
14119 (NO_INLINE): Likewise.
14120 (handle_signal): Use match function instead of strstr.
14121 * debug/tst-backtrace5.c: Include tst-backtrace.h.
14122 (ret): Remove variable.
14123 (x): Likewise.
14124 (FAIL): Remove macro.
14125 (NO_INLINE): Likewise.
14126 (handle_signal): Use match function instead of strstr.
14127
14128 2013-01-23 Roland McGrath <roland@hack.frob.com>
14129
14130 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14131
14132 2013-01-23 David S. Miller <davem@davemloft.net>
14133
14134 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14135 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14136 argument of CAS if possible.
14137 * sysdeps/sparc/sparc64/bits/atomic.h
14138 (__arch_compare_and_exchange_val_32_acq): Likewise.
14139 (__arch_compare_and_exchange_val_64_acq): Likewise.
14140
14141 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
14142
14143 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14144 * sysdeps/posix/ulimit.c: ... this.
14145 Include <limits.h>.
14146 * sysdeps/unix/bsd/ulimit.c: Remove file.
14147
14148 2013-01-23 Adam Conrad <adconrad@0c3.net>
14149
14150 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14151 (LDFLAGS-tst-array5): Likewise.
14152
14153 2013-01-23 Joseph Myers <joseph@codesourcery.com>
14154
14155 [BZ #15036]
14156 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14157 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14158 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14159 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14160
14161 2013-01-21 David S. Miller <davem@davemloft.net>
14162
14163 * sysdeps/sparc/backtrace.c: New file.
14164 * sysdeps/sparc/sparc32/backtrace.h: New file.
14165 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14166 * sysdeps/sparc/sparc64/backtrace.h: New file.
14167 * sysdeps/sparc/sparc64/backtrace.c: Delete.
14168 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14169 -funwind-tables.
14170
14171 2013-01-21 Andreas Schwab <schwab@suse.de>
14172
14173 [BZ #15020]
14174 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14175 closed its stdout.
14176
14177 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
14178
14179 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14180 "mpa2.h".
14181 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14182
14183 2013-01-18 Joseph Myers <joseph@codesourcery.com>
14184 Mark Mitchell <mark@codesourcery.com>
14185 Tom de Vries <tom@codesourcery.com>
14186 Paul Pluzhnikov <ppluzhnikov@google.com>
14187
14188 * debug/tst-backtrace2.c: New file.
14189 * debug/tst-backtrace3.c: Likewise.
14190 * debug/tst-backtrace4.c: Likewise.
14191 * debug/tst-backtrace5.c: Likewise.
14192 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14193 (CFLAGS-tst-backtrace3.c): Likewise.
14194 (CFLAGS-tst-backtrace4.c): Likewise.
14195 (CFLAGS-tst-backtrace5.c): Likewise.
14196 (LDFLAGS-tst-backtrace2): Likewise.
14197 (LDFLAGS-tst-backtrace3): Likewise.
14198 (LDFLAGS-tst-backtrace4): Likewise.
14199 (LDFLAGS-tst-backtrace5): Likewise.
14200 (tests): Add new tests tst-backtrace2, tst-backtrace3,
14201 tst-backtrace4 and tst-backtrace5.
14202
14203 2013-01-18 Anton Blanchard <anton@samba.org>
14204 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14205
14206 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14207 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14208 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14209 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14211 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14212 "+r" and remove output regs list as redundant. Add explicit inline
14213 asm to specify register of return val to work around compiler codegen
14214 bug. Remove (int) cast on return value. Add return type parameter to
14215 use in macro so that this macro does not truncate return value for
14216 64-bit values.
14217 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14218 pass to INTERNAL_VSYSCALL_NCS.
14219 (INLINE_VSYSCALL): Add 'long int' as return type to
14220 INTERNAL_VSYSCALL_NCS macro invocation.
14221 (INTERNAL_VSYSCALL): Add 'long int' as return type to
14222 INTERNAL_VSYSCALL_NCS macro invocation.
14223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14224
14225 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14226
14227 [BZ #14496]
14228 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14229 Fix application of SIMD FP exception mask.
14230
14231 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14232 mp_no from a power of two.
14233 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14234 __mpexp_twomm1. Use __pow_mp.
14235
14236 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14237 multiplication.
14238
14239 2013-01-17 David S. Miller <davem@davemloft.net>
14240
14241 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14242
14243 2013-01-17 Joseph Myers <joseph@codesourcery.com>
14244
14245 [BZ #15023]
14246 * include/complex.h: Condition contents on [!_COMPLEX_H].
14247 (__kernel_casinhf): New prototype.
14248 (__kernel_casinh): Likewise.
14249 (__kernel_casinhl): Likewise.
14250 * math/Makefile (libm_calls): Add k_casinh.
14251 * math/k_casinh.c: New file.
14252 * math/k_casinhf.c: Likewise.
14253 * math/k_casinhl.c: Likewise.
14254 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14255 finite nonzero arguments.
14256 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14257 finite nonzero arguments.
14258 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14259 finite nonzero arguments.
14260 * math/s_casinh.c: Do not include <float.h>.
14261 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14262 * math/s_casinhf.c: Do not include <float.h>.
14263 (__casinhf): Move code for finite nonzero arguments to
14264 k_casinhf.c.
14265 * math/s_casinhl.c: Do not include <float.h>.
14266 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14267 redefine.
14268 (__casinhl): Move code for finite nonzero arguments to
14269 k_casinhl.c.
14270 * math/libm-test.inc (cacos_test): Add more tests.
14271 * sysdeps/i386/fpu/libm-test-ulps: Update.
14272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14273
14274 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
14275
14276 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14277 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14278 [!HAVE_MREMAP]: Remove [defined linux] case.
14279 * malloc/arena.c: Do not include <malloc-sysdep.h>.
14280
14281 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14282
14283 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14284
14285 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
14286
14287 * elf/elf.h (R_386_SIZE32): New relocation.
14288 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14289 R_386_SIZE32.
14290 (elf_machine_rela): Likewise.
14291 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14292 R_X86_64_SIZE64 and R_X86_64_SIZE32.
14293
14294 2013-01-17 Joseph Myers <joseph@codesourcery.com>
14295
14296 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14297 (FP_FAST_FMA): Do not define.
14298 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14299 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14300 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14301 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14302 !_SOFT_FLOAT]: Likewise.
14303 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14304 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14305 value.
14306 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14307 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14308 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14309 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14310 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14311 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14312 file.
14313
14314 2013-01-16 Andreas Schwab <schwab@suse.de>
14315
14316 [BZ #14327]
14317 * include/stdlib.h (__mktemp): Add declaration.
14318 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14319 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14320
14321 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14322
14323 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14324 definitions.
14325 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14326 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14327 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14328 definitions here.
14329 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14330 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14331 definitions.
14332 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14333 and ONE.
14334 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14335 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14336 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14337 definitions.
14338 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14339 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14340 definitions.
14341 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14342
14343 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14344
14345 2013-01-15 David S. Miller <davem@davemloft.net>
14346
14347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14348 trunc{,f} to libm-sysdep_routes.
14349 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14351 file.
14352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14354 file.
14355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14356 file.
14357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14359 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14360 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14361 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14362 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14363 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14364 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14365
14366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14367 nearbyint{,f} to libm-sysdep_routes.
14368 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14370 New file.
14371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14372 file.
14373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14374 New file.
14375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14376 file.
14377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14378 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14379 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14380 file.
14381 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14382 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14383 file.
14384 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14385 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14386 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14387
14388 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14389 libc_feholdexcept and libc_fesetenv.
14390
14391 2013-01-15 Mike Frysinger <vapier@gentoo.org>
14392
14393 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14394
14395 2013-01-14 David S. Miller <davem@davemloft.net>
14396
14397 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14398 (SPARC_ASM_VIS2_IFUNC): Likewise.
14399 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14401 use of 'siam' instruction.
14402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14403 Likewise.
14404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14405 Likewise.
14406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14407 Likewise.
14408 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14409 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14410 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14411 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14413 file.
14414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14415 file.
14416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14417 file.
14418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14419 file.
14420 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14421 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14422 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14423 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14425 new VIS2 routines.
14426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14429 Likewise.
14430 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14431 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14432 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14433 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14435 routines to libm-sysdep_routines.
14436 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14437
14438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14439 fdim/fdimf to libm-sysdep_routines.
14440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14441 file.
14442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14444 file.
14445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14448 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14449 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14450 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14451 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14452
14453 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
14454
14455 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14456 to optimize copies.
14457
14458 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14459 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14460 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14461
14462 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14463 local variable MPTWO.
14464 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14465 Likewise.
14466
14467 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14468
14469 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14470 GLOB_NOESCAPE.
14471
14472 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14473
14474 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14475
14476 2013-01-13 Mike Frysinger <vapier@gentoo.org>
14477
14478 * manual/pattern.texi (glob_t): Document gl_flags.
14479 (glob64_t): Likewise.
14480
14481 2013-01-11 David S. Miller <davem@davemloft.net>
14482
14483 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14484 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14485 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
14486 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14487 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14488 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14489 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14490 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14491 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14492 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14493 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14494 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14495 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14496
14497 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14498 sparc V9 rather than using V8 code.
14499 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14500 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14501
14502 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14503 Move to...
14504 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14505 Here.
14506
14507 2013-01-11 Roland McGrath <roland@hack.frob.com>
14508
14509 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14510 not in the main loop.
14511 * configure: Regenerated.
14512
14513 2013-01-11 Joseph Myers <joseph@codesourcery.com>
14514
14515 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14516 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14517 to just #else.
14518 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
14519 [!__GLIBC_HAVE_LONG_LONG] case.
14520 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14521 condition to just #else.
14522 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14523 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14524 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14525 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14526 unconditional.
14527 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14528 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14529 #elif condition to just #else.
14530 * sysdeps/unix/sysv/linux/sys/sysmacros.h
14531 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14532 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14533 #elif condition to just #else.
14534
14535 2013-01-11 Steve Ellcey <sellcey@mips.com>
14536
14537 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14538 (EF_MIPS_ARCH_64): Fix value.
14539 (EF_MIPS_ARCH_32R2): New.
14540 (EF_MIPS_ARCH_64R2): New.
14541
14542 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
14543
14544 * Makeconfig (+link-pie-before-libc): New.
14545 (+link-pie-after-libc): Likewise.
14546 (+link-pie-tests): Likewise.
14547 (+link-pie): Rewritten.
14548 (link-before-libc): Remove $(config-LDFLAGS).
14549 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14550 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14551 (config-LDFLAGS): Renamed to ...
14552 (rtld-LDFLAGS): This.
14553 (rtld-tests-LDFLAGS): New macro.
14554 (link-libc-rpath-link): Likewise.
14555 (link-libc-tests-rpath-link): Likewise.
14556 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14557 (link-libc): Prepand $(link-libc-rpath-link).
14558 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14559 (test-program-prefix): New macro.
14560 (test-via-rtld-prefix): Likewise.
14561 (test-program-cmd): Likewise.
14562 (host-test-program-cmd): Likewise.
14563 * Makefile ($(common-objpfx)testrun.sh): Replace
14564 $(run-program-prefix) with $(test-program-prefix).
14565 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14566 $(rtld-LDFLAGS).
14567 ($(common-objpfx)shlib.lds): Likewise.
14568 (build-module-helper): Likewise.
14569 ($(common-objpfx)format.lds): Likewise.
14570 * Rules (binaries-pie-tests): New.
14571 (binaries-pie-notests): Likewise.
14572 (binaries-pie): Rewritten.
14573 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14574 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14575 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14576 (make-test-out): Replace $(host-built-program-cmd) with
14577 $(host-test-program-cmd).
14578 * config.make.in (build-hardcoded-path-in-tests): New variable.
14579 * configure.in (--enable-hardcoded-path-in-tests): New configure
14580 option.
14581 (hardcoded_path_in_tests): New AC_SUBST.
14582 * configure: Regenerated.
14583 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14584 $(built-program-cmd) with $(test-program-cmd).
14585 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14586 (test_program_cmd): This.
14587 * elf/Makefile ($(objpfx)order.out): Run test with
14588 $(test-program-prefix).
14589 ($(objpfx)order2.out): Likewise.
14590 ($(objpfx)tst-initorder.out): Likewise.
14591 ($(objpfx)tst-initorder2.out): Likewise.
14592 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14593 $(test-program-cmd).
14594 ($(objpfx)tst-array1-static.out): Likewise.
14595 ($(objpfx)tst-array2.out): Likewise.
14596 ($(objpfx)tst-array3.out): Likewise.
14597 ($(objpfx)tst-array4.out): Likewise.
14598 ($(objpfx)tst-array5.out): Likewise.
14599 ($(objpfx)tst-array5-static.out): Likewise.
14600 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14601 $(test-program-cmd).
14602 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14603 $(run-program-prefix) with $(test-program-prefix).
14604 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14605 (test_program_prefix): This.
14606 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14607 $(run-program-prefix) with $(test-program-prefix).
14608 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14609 (test_program_prefix): This.
14610 * iconvdata/tst-tables.sh: Likewise.
14611 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14612 $(run-program-prefix) with $(test-program-prefix).
14613 ($(objpfx)tst-translit.out): Likewise.
14614 ($(objpfx)tst-gettext2.out): Likewise.
14615 ($(objpfx)tst-gettext4.out): Likewise.
14616 ($(objpfx)tst-gettext6.out): Likewise.
14617 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14618 (test_program_prefix): This.
14619 * intl/tst-gettext2.sh: Likewise.
14620 * intl/tst-gettext4.sh Likewise.
14621 * intl/tst-gettext6.sh: Likewise.
14622 * intl/tst-translit.sh: Likewise.
14623 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14624 with $(test-program-cmd).
14625 * libio/Makefile ($(objpfx)test-freopen.out): Replace
14626 $(run-program-prefix) with $(test-program-prefix).
14627 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14628 (test_program_prefix): This.
14629 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14630 $(run-program-prefix) with $(test-program-prefix).
14631 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14632 (test_program_prefix): This.
14633 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14634 * posix/Makefile ($(objpfx)globtest.out): Replace
14635 $(run-via-rtld-prefix) and $(test-wrapper) with
14636 $(test-program-prefix) and $(test-via-rtld-prefix).
14637 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14638 $(test-program-prefix).
14639 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14640 $(host-test-program-cmd).
14641 (tst-spawn-ARGS): Likewise.
14642 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14643 $(test-program-prefix).
14644 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14645 (test_via_rtld_prefix): This.
14646 (test_wrapper): Renamed to ...
14647 (test_program_prefix): This.
14648 (run_program_prefix): Replaced by test_program_prefix.
14649 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14650 (test_program_prefix): This.
14651 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14652 with $(host-test-program-cmd).
14653 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14654 $(run-program-prefix) with $(test-program-prefix).
14655 ($(objpfx)tst-printf.out): Likewise.
14656 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14657 $(test-program-cmd).
14658 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14659 (test_program_prefix): This.
14660 * stdio-common/tst-unbputc.sh: Likewise.
14661 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14662 $(run-program-prefix) with $(test-program-prefix).
14663 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14664 (test_program_prefix): This.
14665 * string/Makefile ($(objpfx)tst-svc.out): Replace
14666 $(built-program-cmd) with $(test-program-cmd).
14667
14668 2013-01-11 Andreas Jaeger <aj@suse.de>
14669
14670 [BZ #15003]
14671 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14672 value. Sync with Linux 3.7.
14673
14674 2013-01-10 David S. Miller <davem@davemloft.net>
14675
14676 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14677 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14678 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14679
14680 2013-01-10 Roland McGrath <roland@hack.frob.com>
14681
14682 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14683 never set.
14684 * configure: Regenerated.
14685
14686 2013-01-10 David S. Miller <davem@davemloft.net>
14687
14688 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14689 sparc V9 rather than using V8 code.
14690 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14691 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14692
14693 2013-01-10 Roland McGrath <roland@hack.frob.com>
14694
14695 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14696 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14697 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14698 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14699 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14700 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14701 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14702 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14703 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14704 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14705 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14706 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14707 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14708 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14709 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14710 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14711 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14712 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14713 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14714 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14715 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14716 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14717 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14718 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14719 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14720 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14721 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14722
14723 2013-01-10 David S. Miller <davem@davemloft.net>
14724
14725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14726
14727 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14728
14729 * posix/Makefile (tests-static): New variable.
14730 (tests): Add $(tests-static).
14731 (tst-exec-static-ARGS): New variable.
14732 (tst-spawn-static-ARGS): Likewise.
14733 * posix/tst-exec-static.c: New file.
14734 * posix/tst-spawn-static.c: Likewise.
14735 * posix/tst-exec.c: Support run directly.
14736 * posix/tst-spawn.c: Likewise.
14737
14738 2013-01-10 Joseph Myers <joseph@codesourcery.com>
14739
14740 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14741 long.
14742 * math/bits/mathcalls.h (llrint): Likewise.
14743 (llround): Likewise.
14744 * stdlib/stdlib.h (struct drand48_data): Likewise.
14745 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14746 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14747 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14748 Likewise.
14749 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14750 Likewise.
14751 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14752 (elf_greg_t): Likewise.
14753 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14754 (__jmp_buf): Likewise.
14755 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14756 definitions.
14757 (llrint): Likewise, for all definitions.
14758 (llrintl): Likewise.
14759
14760 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14761 Remove [__GNUC__] condition.
14762 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14763 condition to just [__USE_ISOC99].
14764 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14765
14766 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
14767
14768 [BZ #14200]
14769 * sysdeps/unix/sysv/linux/x86/bits/environments.h
14770 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14771 defined.
14772 (_POSIX_V6_ILP32_OFF32): Likewise.
14773 (_XBS5_ILP32_OFF32): Likewise.
14774 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14775 (__ILP32_OFFBIG_LDFLAGS): Likewise.
14776
14777 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14778
14779 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14780
14781 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14782 doubles __mpexp_twomm1. Adjust usage.
14783 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14784 Remove.
14785
14786 2013-01-10 Andreas Schwab <schwab@suse.de>
14787
14788 [BZ #14964]
14789 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14790 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14791
14792 2013-01-09 David S. Miller <davem@davemloft.net>
14793
14794 [BZ #15003]
14795 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14796 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14797 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14798 TCP_FASTOPEN): Define.
14799 (tcp_repair_opt): New structure.
14800 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14801 enum values.
14802 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14803 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14804 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14805 (tcp_cookie_transactions): New structure.
14806
14807 2013-01-09 Anton Blanchard <anton@samba.org>
14808
14809 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14810 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14811 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14812 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14813
14814 2013-01-09 Joseph Myers <joseph@codesourcery.com>
14815
14816 * include/features.h (__USE_ANSI): Remove.
14817
14818 2013-01-09 Roland McGrath <roland@hack.frob.com>
14819
14820 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14821
14822 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14823
14824 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
14825
14826 * sysdeps/s390/fpu/libm-test-ulps: Update.
14827
14828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14829
14830 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14831 (__acr): Likewise.
14832 (__cpy): Likewise.
14833 (norm): Likewise.
14834 (denorm): Likewise.
14835 (__mp_dbl): Likewise.
14836 (__dbl_mp): Likewise.
14837 (add_magnitudes): Likewise.
14838 (sub_magnitudes): Likewise.
14839 (__add): Likewise.
14840 (__sub): Likewise.
14841 (__mul): Likewise.
14842 (__inv): Likewise.
14843 (__dvd): Likewise.
14844 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14845 (__acr): Likewise.
14846 (__cpy): Likewise.
14847 (norm): Likewise.
14848 (denorm): Likewise.
14849 (__mp_dbl): Likewise.
14850 (__dbl_mp): Likewise.
14851 (add_magnitudes): Likewise.
14852 (sub_magnitudes): Likewise.
14853 (__add): Likewise.
14854 (__sub): Likewise.
14855 (__mul): Likewise.
14856 (__inv): Likewise.
14857 (__dvd): Likewise.
14858 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14859 (__acr): Likewise.
14860 (__cpy): Likewise.
14861 (norm): Likewise.
14862 (denorm): Likewise.
14863 (__mp_dbl): Likewise.
14864 (__dbl_mp): Likewise.
14865 (add_magnitudes): Likewise.
14866 (sub_magnitudes): Likewise.
14867 (__add): Likewise.
14868 (__sub): Likewise.
14869 (__mul): Likewise.
14870 (__inv): Likewise.
14871 (__dvd): Likewise.
14872
14873 2013-01-08 Joseph Myers <joseph@codesourcery.com>
14874
14875 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14876 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14877 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14878 2 && __USE_EXTERN_INLINES]: Likewise.
14879
14880 2013-01-08 Andreas Jaeger <aj@suse.de>
14881
14882 [BZ# 14985]
14883 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14884 Remove.
14885 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14886 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14887
14888 2013-01-07 Anton Blanchard <anton@samba.org>
14889
14890 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14891 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14892 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14893 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14894 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14895 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14896 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14897 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14898 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14899 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14900 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14901 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14902 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14903 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14904 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14905 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14906 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14907 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14908 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14909 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14910 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14911 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14912 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14913 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14914 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14915 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14916 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14917 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14918 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14919 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14920 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14921 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14922 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14923 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14924 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14925 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14926 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14927 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14928 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14929 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14930 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14931 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14932 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14933
14934 2013-01-07 Joseph Myers <joseph@codesourcery.com>
14935
14936 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14937 (__MALLOC_PMT): Likewise.
14938 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
14939 [__GNUC__], only on [_LIBC].
14940 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14941 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
14942 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
14943 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
14944 forward declaration.
14945 (realloc_hook_ini): Likewise.
14946 (memalign_hook_ini): Likewise.
14947 (__libc_memalign): Do not use __MALLOC_PMT in variable
14948 declaration.
14949 (__libc_valloc): Likewise.
14950 (__libc_pvalloc): Likewise.
14951 (__libc_calloc): Likewise.
14952 (__posix_memalign): Likewise.
14953
14954 [BZ #14996]
14955 * math/s_casinh.c: Include <float.h>.
14956 (__casinh): Do not do computation with squaring and square root
14957 for large arguments.
14958 * math/s_casinhf.c: Include <float.h>.
14959 (__casinhf): Do not do computation with squaring and square root
14960 for large arguments.
14961 * math/s_casinhl.c: Include <float.h>.
14962 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
14963 (__casinhl): Do not do computation with squaring and square root
14964 for large arguments.
14965 * math/libm-test.inc (casin_test): Add more tests.
14966 (casinh_test): Likewise.
14967 * sysdeps/i386/fpu/libm-test-ulps: Update.
14968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14969
14970 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
14971
14972 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
14973 (__x86_64_raw_data_cache_size): Likewise.
14974 (__x86_64_data_cache_size_half): Likewise.
14975 (__x86_64_raw_data_cache_size_half): Likewise.
14976 (__x86_64_shared_cache_size): Likewise.
14977 (__x86_64_raw_shared_cache_size): Likewise.
14978 (__x86_64_shared_cache_size_half): Likewise.
14979 (__x86_64_raw_shared_cache_size_half): Likewise.
14980 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
14981 to ...
14982 (__x86_data_cache_size): This.
14983 (__x86_64_raw_data_cache_size): Renamed to ...
14984 (__x86_raw_data_cache_size): This.
14985 (__x86_64_data_cache_size_half): Renamed to ...
14986 (__x86_data_cache_size_half): This.
14987 (__x86_64_raw_data_cache_size_half): Renamed to ...
14988 (__x86_raw_data_cache_size_half): This.
14989 (__x86_64_shared_cache_size): Renamed to ...
14990 (__x86_shared_cache_size): This.
14991 (__x86_64_raw_shared_cache_size): Renamed to ...
14992 (__x86_raw_shared_cache_size): This.
14993 (__x86_64_shared_cache_size_half): Renamed to ...
14994 (__x86_shared_cache_size_half): This.
14995 (__x86_64_raw_shared_cache_size_half): Renamed to ...
14996 (__x86_raw_shared_cache_size_half): This.
14997 * sysdeps/x86_64/memcpy.S: Updated.
14998 * sysdeps/x86_64/memset.S: Likewise.
14999 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15000 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15001 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15002
15003 2013-01-04 David S. Miller <davem@davemloft.net>
15004
15005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15006
15007 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
15008
15009 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15010 1 to avoid redefinition warning.
15011 (__USE_GNU): Don't define.
15012 (init_signaling_nan): Protoize.
15013
15014 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15015
15016 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15017
15018 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15019 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15020 (__cpymn): Likewise.
15021 (norm): Remove commented code.
15022 (denorm): Likewise.
15023 (__mp_dbl): Likewise.
15024 (__inv): Likewise.
15025 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15026 (__cpymn): Likewise.
15027 (norm): Remove commented code.
15028 (denorm): Likewise.
15029 (__mp_dbl): Likewise.
15030 (__inv): Likewise.
15031
15032 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15033 mp_no value for 1.0 and 2.0.
15034 (norm): Use RADIXI instead of radixi.d.
15035 (denorm): Likewise.
15036 (__mul): Use 0.0 instead of zero.d.
15037 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15038 mp_no value for 1.0 and 2.0.
15039 (norm): Use RADIXI instead of radixi.d.
15040 (denorm): Likewise.
15041 (__mul): Use 0.0 instead of zero.d.
15042
15043 2013-01-04 Joseph Myers <joseph@codesourcery.com>
15044
15045 [BZ #14994]
15046 * math/s_casinh.c (__casinh): Reduce finite argument to first
15047 quadrant then set signs of results at the end.
15048 * math/s_casinhf.c (__casinhf): Likewise.
15049 * math/s_casinhl.c (__casinhl): Likewise.
15050 * math/libm-test.inc (casin_test): Add more tests.
15051 (casinh_test): Likewise.
15052 * sysdeps/i386/fpu/libm-test-ulps: Update.
15053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15054
15055 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15056
15057 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15058
15059 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15060
15061 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15062 declarations.
15063 (denorm): Likewise.
15064 (__mp_dbl): Likewise.
15065 (__inv): Likewise.
15066
15067 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15068 and adjust the header comment.
15069
15070 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15071 variable name from declaration.
15072
15073 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
15074
15075 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15076 Initialize COMMON_CPUID_INDEX_7 element.
15077 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15078 (CPUID_RTM): Likewise.
15079 (HAS_RTM): Likewise.
15080 (COMMON_CPUID_INDEX_7): New enum.
15081
15082 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
15083
15084 [BZ #14981]
15085 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15086 size is zero, record memory as freed.
15087
15088 2013-01-03 Andreas Jaeger <aj@suse.de>
15089
15090 * po/ia.po: Add new Interlingua translation.
15091
15092 2012-01-03 Allan McRae <allan@archlinux.org>
15093
15094 * locale/programs/localedef.c: Fix description of '--posix' flag.
15095
15096 2013-01-02 Joseph Myers <joseph@codesourcery.com>
15097
15098 * NEWS: Update dates in second copyright notice.
15099 * README: Update copyright dates in example.
15100 * manual/libc.texinfo: Update copyright dates.
15101 * scripts/test-installation.pl: Update copyright date in --version
15102 output.
15103
15104 * hurd/ctty-input.c: Fix copyright notice formatting.
15105 * hurd/ctty-output.c: Likewise.
15106 * hurd/dtable.c: Likewise.
15107 * hurd/hurd-raise.c: Likewise.
15108 * hurd/hurdprio.c: Likewise.
15109 * hurd/msgportdemux.c: Likewise.
15110 * misc/sys/file.h: Likewise.
15111 * misc/sys/ioctl.h: Likewise.
15112 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15113 * sysdeps/mach/hurd/chdir.c: Likewise.
15114 * sysdeps/mach/hurd/fchdir.c: Likewise.
15115 * sysdeps/mach/hurd/rename.c: Likewise.
15116 * sysdeps/mach/hurd/rmdir.c: Likewise.
15117 * sysdeps/mach/hurd/seekdir.c: Likewise.
15118 * sysdeps/mach/hurd/setsid.c: Likewise.
15119 * sysdeps/posix/wait3.c: Likewise.
15120
15121 * All files with FSF copyright notices: Update copyright dates
15122 using scripts/update-copyrights.
15123 * intl/plural.c: Regenerated.
15124 * locale/programs/charmap-kw.h: Likewise.
15125 * locale/programs/locfile-kw.h: Likewise.
15126
15127 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15128
15129 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15130 four values.
15131
15132 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15133 calculation loop and add branch prediction.
15134
15135 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15136 check access beyond bounds of m1np.
15137
15138 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15139 MPTWO.
15140 (__inv): Remove local variable MPTWO to use the global
15141 constant.
15142 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15143 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15144 variable MPTWO.
15145 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15146 MP3HALFS static const.
15147
15148 2013-01-01 David S. Miller <davem@davemloft.net>
15149
15150 * po/ca.po: Update from translation team.
15151
15152 2013-01-01 Joseph Myers <joseph@codesourcery.com>
15153
15154 * scripts/update-copyrights: New file.
15155 * Makeconfig: Reformat copyright notice.
15156 * ctype/ctype.h: Likewise.
15157 * debug/swprintf_chk.c: Likewise.
15158 * elf/dl-cache.c: Likewise.
15159 * elf/dl-debug.c: Likewise.
15160 * elf/dl-object.c: Likewise.
15161 * grp/initgroups.c: Likewise.
15162 * hurd/Makefile: Likewise.
15163 * hurd/hurd/signal.h: Likewise.
15164 * hurd/hurdfault.c: Likewise.
15165 * hurd/hurdioctl.c: Likewise.
15166 * hurd/hurdlookup.c: Likewise.
15167 * hurd/intr-msg.c: Likewise.
15168 * iconv/gconv_open.c: Likewise.
15169 * libio/swprintf.c: Likewise.
15170 * locale/lc-ctype.c: Likewise.
15171 * locale/nl_langinfo.c: Likewise.
15172 * mach/Machrules: Likewise.
15173 * mach/Makefile: Likewise.
15174 * malloc/obstack.h: Likewise.
15175 * manual/Makefile: Likewise.
15176 * manual/tsort.awk: Likewise.
15177 * misc/bits/stab.def: Likewise.
15178 * nis/nis_print_group_entry.c: Likewise.
15179 * nis/nis_table.c: Likewise.
15180 * nis/nss_compat/compat-pwd.c: Likewise.
15181 * nis/nss_compat/compat-spwd.c: Likewise.
15182 * po/Makefile: Likewise.
15183 * posix/fnmatch.c: Likewise.
15184 * posix/regex.h: Likewise.
15185 * resolv/Makefile: Likewise.
15186 * resolv/nss_dns/dns-network.c: Likewise.
15187 * resolv/res_hconf.c: Likewise.
15188 * scripts/gen-sorted.awk: Likewise.
15189 * soft-fp/soft-fp.h: Likewise.
15190 * stdio-common/printf.h: Likewise.
15191 * stdlib/monetary.h: Likewise.
15192 * stdlib/random.c: Likewise.
15193 * stdlib/random_r.c: Likewise.
15194 * sysdeps/generic/Makefile: Likewise.
15195 * sysdeps/gnu/Makefile: Likewise.
15196 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15197 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15198 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15199 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15200 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15201 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15202 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15203 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15204 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15205 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15206 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15207 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15208 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15209 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15210 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15211 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15212 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15213 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15214 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15215 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15216 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15217 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15218 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15219 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15220 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15221 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15222 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15223 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15224 * sysdeps/mach/hurd/errnos.awk: Likewise.
15225 * sysdeps/mach/hurd/fork.c: Likewise.
15226 * sysdeps/mach/hurd/getcwd.c: Likewise.
15227 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15228 * sysdeps/mach/hurd/mmap.c: Likewise.
15229 * sysdeps/mach/hurd/utimes.c: Likewise.
15230 * sysdeps/mach/hurd/xmknod.c: Likewise.
15231 * sysdeps/posix/profil.c: Likewise.
15232 * sysdeps/posix/readdir_r.c: Likewise.
15233 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15234 * sysdeps/powerpc/bits/setjmp.h: Likewise.
15235 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15236 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15237 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15238 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15239 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15240 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15241 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15242 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15243 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15244 * sysdeps/pthread/lio_listio.c: Likewise.
15245 * sysdeps/sparc/dl-procinfo.h: Likewise.
15246 * sysdeps/unix/i386/sysdep.S: Likewise.
15247 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15248 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15249 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15250 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15252 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15253 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15254 * sysdeps/unix/sysv/linux/speed.c: Likewise.
15255 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15256 * sysdeps/wordsize-32/divdi3.c: Likewise.
15257 * time/sys/time.h: Likewise.
15258 * wcsmbs/Makefile: Likewise.
15259
15260 2013-01-01 David S. Miller <davem@davemloft.net>
15261
15262 * po/fr.po: Update from translation team.
15263
15264 * catgets/gencat.c: Update copyright year.
15265 * csu/version.c: Likewise.
15266 * debug/catchsegv.sh: Likewise.
15267 * debug/pcprofiledump.c: Likewise.
15268 * debug/xtrace.sh: Likewise.
15269 * elf/ldconfig.c: Likewise.
15270 * elf/ldd.bash.in: Likewise.
15271 * elf/pldd.c: Likewise.
15272 * elf/sotruss.ksh: Likewise.
15273 * elf/sprof.c: Likewise.
15274 * iconv/iconv_prog.c: Likewise.
15275 * iconv/iconvconfig.c: Likewise.
15276 * locale/programs/locale.c: Likewise.
15277 * locale/programs/localedef.c: Likewise.
15278 * login/programs/pt_chown.c: Likewise.
15279 * malloc/memusage.sh: Likewise.
15280 * malloc/memusagestat.c: Likewise.
15281 * malloc/mtrace.pl: Likewise.
15282 * nscd/nscd.c: Likewise.
15283 * nss/getent.c: Likewise.
15284 * nss/makedb.c: Likewise.
15285 * posix/getconf.c: Likewise.
15286
15287 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15288
15289 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15290 numbers.
15291
15292 2012-12-30 Mike Frysinger <vapier@gentoo.org>
15293
15294 * math/bits/mathcalls.h (modf): Use __nonnull.
15295
15296 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15297
15298 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15299 (split): Use macro CN instead of the bare value.
15300 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15301 could be used.
15302 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15303 instead of the bare value.
15304 (power1): Likewise.
15305
15306 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15307
15308 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15309 __ATAN_TWOM.
15310 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15311
15312 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15313 their values.
15314 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15315 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15316 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15317 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15318
15319 2012-12-28 Andreas Jaeger <aj@suse.de>
15320
15321 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
15322 values are from Linux 3.7.
15323
15324 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15325 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
15326
15327 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15328
15329 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
15330 TRUE case.
15331
15332 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15333 (norm): Likewise.
15334 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15335 variables with preprocessor constants.
15336 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15337 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15338 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15339
15340 2012-12-27 Bruno Haible <bruno@clisp.org>
15341
15342 [BZ #14317]
15343 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15344 only if needed.
15345
15346 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15347
15348 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15349 and use variable directly.
15350 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15351
15352 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15353 MPONE.
15354 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15355 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15356 variable MPONE.
15357 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15358 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15359 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15360 include directive. Remove local variable MPONE.
15361 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15362 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15363 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15364
15365 2012-12-25 David S. Miller <davem@davemloft.net>
15366
15367 * version.h (RELEASE): Set to "development".
15368 (VERSION): Set to "2.17.90".
15369 * NEWS: Add 2.18 section.
15370
15371 2012-12-21 David S. Miller <davem@davemloft.net>
15372
15373 * po/hr.po: Update from translation team.
15374
15375 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15376
15377 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15378
15379 2012-12-19 Steve Ellcey <sellcey@mips.com>
15380
15381 * NEWS: Mention new memcpy for MIPS.
15382
15383 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15384
15385 * manual/contrib.texi (Contributors): Spelling correction.
15386
15387 2012-12-15 David S. Miller <davem@davemloft.net>
15388
15389 * po/ru.po: Update from translation team.
15390
15391 2012-12-13 David S. Miller <davem@davemloft.net>
15392
15393 * NEWS: Mention IFUNC testsuite enhancements.
15394
15395 * po/pl.po: Update from translation team.
15396 * po/bg.po: Likewise.
15397
15398 * manual/contrib.texi (Contributors): Update entries for Hongjiu
15399 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
15400
15401 2012-12-11 David S. Miller <davem@davemloft.net>
15402
15403 * po/sv.po: Update from translation team.
15404
15405 * po/vi.po: Update from translation team.
15406
15407 * po/cs.po: Update from translation team.
15408
15409 * po/de.po: Update from translation team.
15410 * po/eo.po: Likewise.
15411 * po/nl.po: Likewise.
15412
15413 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15414
15415 [BZ #14246]
15416 * manual/argp.texi (Argp Helper Functions): Move node to follow
15417 Argp Parsing State.
15418
15419 [BZ #14872]
15420 * manual/conf.texi (Limits on File System Capacity): Mention if
15421 terminating null is included in the max size.
15422
15423 2012-12-10 Andreas Jaeger <aj@suse.de>
15424
15425 * po/cs.po: Update from translation team.
15426
15427 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15428
15429 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15430 void pointer and cast to uintptr_t.
15431 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15432 path.
15433 * sysdeps/s390/s390-64/memcpy.S: Likewise.
15434 * sysdeps/s390/s390-64/memset.S: Likewise.
15435
15436 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
15437
15438 [BZ #14833]
15439 * menual/message.texi (Message Translation): Fix typos.
15440 (Helper programs for gettext): Likewise.
15441
15442 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
15443
15444 [BZ #14898]
15445 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15446 Change to -1.
15447
15448 2012-12-07 David S. Miller <davem@davemloft.net>
15449
15450 * po/libc.pot: Update.
15451
15452 2012-12-07 Richard Henderson <rth@redhat.com>
15453
15454 [BZ #10114]
15455 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15456 normal/normal case to before the switch.
15457 (_FP_DIV): Likewise.
15458
15459 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
15460 Mike Frysinger <vapier@gentoo.org>
15461
15462 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15463 check for __NR_fadvise64_64.
15464
15465 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
15466
15467 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15468 0, not just to plain "0" as a statement.
15469 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15470 with cw.
15471
15472 2012-12-06 Joseph Myers <joseph@codesourcery.com>
15473
15474 * NEWS: Use sourceware.org in Bugzilla URL.
15475
15476 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15477
15478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15479 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15480
15481 * stdio-common/tst-put-error.c (do_test): Add newline to the
15482 padded test to ensure flush.
15483
15484 2012-12-05 Jeff Law <law@redhat.com>
15485
15486 * sunrpc/etc.rpc (fedfs_admin): Add entry.
15487
15488 2012-12-05 Joseph Myers <joseph@codesourcery.com>
15489
15490 * README: Don't refer to ports add-on as distributed separately.
15491 Mention AArch64 in list of systems supported in the ports add-on.
15492
15493 * LICENSES: Add more non-FSF copyright and license notices.
15494
15495 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15496 ((unused)).
15497
15498 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15499
15500 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15501 10000 as width of padded output.
15502
15503 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15504
15505 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15506
15507 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15508 variable LX with __attribute__ ((unused)).
15509 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15510 Likewise.
15511 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15512 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15513 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15514 with __attribute__ ((unused)).
15515
15516 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
15517
15518 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15519
15520 2012-12-04 Joseph Myers <joseph@codesourcery.com>
15521
15522 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15523 (CFLAGS-nldbl-acos.c): New variable.
15524 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15525 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15526 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15527 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15528 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15529 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15530 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15531 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15532 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15533 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15534 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15535 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15536 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15537 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15538 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15539 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15540 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15541 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15542 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15543 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15544 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15545 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15546 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15547 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15548 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15549 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15550 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15551 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15552 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15553 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15554 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15555 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15556 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15557 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15558 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15559 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15560 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15561 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15562 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15563 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15564 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15565 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15566 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15567 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15568 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15569 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15570 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15571 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15572 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15573 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15574 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15575 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15576 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15577 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15578 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15579 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15580 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15581 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15582 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15583 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15584 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15585 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15586 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15587 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15588 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15589 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15590 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15591 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15592 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15593 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15594 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15595 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15596 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15597 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15598 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15599 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15600 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15601 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15602 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15603 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15604 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15605 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15606 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15607 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15608 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15609 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15610 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15611 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15612 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15613 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15614 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15615 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15616 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15617 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15618 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15619 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15620 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15621
15622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15623 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15624
15625 [BZ #14914]
15626 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15627 whole low double instead of just low 47 bits when splitting values
15628 into two parts.
15629
15630 2012-12-03 Allan McRae <allan@archlinux.org>
15631
15632 * manual/stdio.texi (Predefined Printf Handlers): Remove
15633 @hsep and @vsep usage.
15634
15635 2012-12-03 Mike Frysinger <vapier@gentoo.org>
15636
15637 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15638 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15639
15640 2012-12-03 Jeff Law <law@redhat.com>
15641
15642 * time/sys/time.h (settimeofday): Do not mark TV argument
15643 as __nonnull.
15644
15645 2012-12-01 Mike Frysinger <vapier@gentoo.org>
15646
15647 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15648 when currently writing and seek to current position when not.
15649 * libio/Makefile (tests): Remove bug-fclose1.
15650 * libio/bug-fclose1.c: Delete.
15651
15652 2012-12-01 Joseph Myers <joseph@codesourcery.com>
15653
15654 * manual/arith.texi (feenableexcept): Fix typo.
15655 (fedisableexcept): Likewise.
15656
15657 2012-11-30 Roland McGrath <roland@hack.frob.com>
15658
15659 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15660 second, differently-typed declaration, rather than a cast.
15661
15662 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15663
15664 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15665 * include/rpc/svc.h: ... here.
15666
15667 2012-11-30 Aurelien Jarno <aurel32@debian.org>
15668
15669 [BZ #13013]
15670 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15671 depending n and resplen2 to catch cases where answer
15672 equals answerp2.
15673
15674 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
15675
15676 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15677 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15678
15679 2012-11-29 Mike Frysinger <vapier@gentoo.org>
15680
15681 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15682
15683 2012-11-29 Roland McGrath <roland@hack.frob.com>
15684
15685 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15686
15687 2012-11-28 Jeff Law <law@redhat.com>
15688
15689 [BZ #13761]
15690 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15691 dataset_temporary. Track alloca usage into alloca_used.
15692 If dataset is large allocate and release it via malloc/free.
15693
15694 2012-06-04 Florian Weimer <fweimer@redhat.com>
15695
15696 [BZ #14197]
15697 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15698
15699 2012-11-28 David S. Miller <davem@davemloft.net>
15700
15701 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15702
15703 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15704
15705 [BZ #14803]
15706 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15707 of pi/2 rounded to nearest to 64 bits.
15708 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15709 nearest to 64 bits.
15710 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15711 bits.
15712
15713 2012-11-28 Jeff Law <law@redhat.com>
15714 Martin Osvald <mosvald@redhat.com>
15715
15716 [BZ #14889]
15717 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15718 * sunrpc/svc.c: Include time.h.
15719 (__svc_accept_failed): New function.
15720 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15721 any reason other than EINTR, call __svc_accept_failed.
15722 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15723 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15724
15725 2012-11-28 Andreas Schwab <schwab@suse.de>
15726
15727 * scripts/abilist.awk: Also handle indirect functions in .opd
15728 section.
15729
15730 2012-11-28 Joseph Myers <joseph@codesourcery.com>
15731
15732 [BZ #13881]
15733 * sysdeps/x86/fpu/powl_helper.c: New file.
15734 * sysdeps/x86/fpu/Makefile: Likewise.
15735 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15736 (p3): New object.
15737 (__ieee754_powl): Use __powl_helper for finite arguments except
15738 integer exponents below 8.
15739 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15740 (p3): New object.
15741 (__ieee754_powl): Use __powl_helper for finite arguments except
15742 integer exponents below 8.
15743 * math/libm-test.inc (pow_test): Add more tests and enable some
15744 previously disabled tests.
15745 * sysdeps/i386/fpu/libm-test-ulps: Update.
15746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15747
15748 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15749 Carlos O'Donell <carlos_odonell@mentor.com>
15750
15751 * nss/makedb.c (is_prime): Assert that input is odd and greater
15752 than 4. Note that fact in a comment too.
15753 (next_prime): Add 4 to input.
15754
15755 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15756
15757 [BZ #11741]
15758 * libio/Makefile (tests): Add test case tst-fwrite-error.
15759 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15760 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15761 * libio/tst-fwrite-error.c: New test case.
15762
15763 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
15764
15765 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15766 before casting to void *.
15767 * include/libc-internal.h (__pointer_type): New macro.
15768 (__integer_if_pointer_type_sub): Likewise.
15769 (__integer_if_pointer_type): Likewise.
15770 (cast_to_integer): Likewise.
15771 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15772 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15773 before casting to atomic64_t.
15774 (atomic_exchange_acq): Likewise.
15775 (__arch_exchange_and_add_body): Likewise.
15776 (__arch_add_body): Likewise.
15777 (atomic_add_negative): Likewise.
15778 (atomic_add_zero): Likewise.
15779
15780 2012-11-26 Joseph Myers <joseph@codesourcery.com>
15781
15782 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15783 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15784 (add_fdes): Likewise.
15785 (linear_search_fdes): Likewise.
15786 (binary_search_unencoded_fdes): Likewise.
15787
15788 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
15789
15790 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15791
15792 2012-11-24 Adam Conrad <adconrad@0c3.net>
15793
15794 * configure.in: Autodetect C++ header directories.
15795 * configure: Regenerated.
15796
15797 2012-11-23 Mike Frysinger <vapier@gentoo.org>
15798
15799 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15800
15801 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
15802
15803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15804
15805 2012-11-22 Joseph Myers <joseph@codesourcery.com>
15806
15807 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15808 LDBL_MANT_DIG == 106]: Disable some tests.
15809 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15810 Likewise.
15811 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15812 Likewise.
15813
15814 [BZ #14871]
15815 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15816 input for small inputs. Return +/- pi/2 for large inputs.
15817 * math/libm-test.inc (atan_test): Add more tests.
15818
15819 * sysdeps/generic/unwind-dw2-fde-glibc.c
15820 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15821 __attribute__ ((unused)).
15822
15823 [BZ #14645]
15824 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15825 x * y if x and y are nonzero and z is zero.
15826
15827 [BZ #14811]
15828 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15829 nonzero exponents with absolute value below 0x1p-117 to +/-
15830 0x1p-117.
15831
15832 [BZ #14869]
15833 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15834 up arguments below 2**-450, not just those below 2**-500.
15835 * math/libm-test.inc (hypot_test): Add another test.
15836
15837 [BZ #14868]
15838 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15839 Return a+b for ratio over 2**120, not 2**60.
15840 * math/libm-test.inc (hypot_test): Add another test.
15841
15842 * math/libm-test.inc (clog_test): Use
15843 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15844 (clog10_test): Likewise.
15845
15846 [BZ #6778]
15847 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15848
15849 2012-11-22 Andreas Schwab <schwab@suse.de>
15850
15851 * sysdeps/i386/fpu/libm-test-ulps: Update.
15852
15853 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
15854
15855 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15856 printf output with newline.
15857
15858 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
15859
15860 [BZ #14865]
15861 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15862 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15863 -z nodlopen, -z initfirst and -z execstack support.
15864 * configure: Regenerated.
15865
15866 * elf/elf.h (DF_1_NODIRECT): New macro.
15867 (DF_1_IGNMULDEF): Likewise.
15868 (DF_1_NOKSYMS): Likewise.
15869 (DF_1_NOHDR): Likewise.
15870 (DF_1_EDITED): Likewise.
15871 (DF_1_NORELOC): Likewise.
15872 (DF_1_SYMINTPOSE): Likewise.
15873 (DF_1_GLOBAUDIT): Likewise.
15874 (DF_1_SINGLETON): Likewise.
15875 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15876 DT_1_SUPPORTED_MASK bits.
15877 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15878
15879 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
15880
15881 * sysdeps/unix/make-syscalls.sh: Document prefixes.
15882
15883 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
15884
15885 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15886 macro.
15887
15888 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15889 (sendmmsg): Move declarations...
15890 * socket/sys/socket.h: ... here.
15891 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15892 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15893 include it from...
15894 * socket/recvmmsg.c: ... this new file.
15895 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15896 (sendmmsg): Rename to __sendmmsg, create weak alias and make
15897 definition of __sendmmsg hidden.
15898 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15899 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15900 Move ENOSYS stub into and include it from...
15901 * socket/sendmmsg.c: ... this new file.
15902 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15903 (sysdep_routines): Move recvmmsg and sendmmsg...
15904 * socket/Makefile (routines): ... here.
15905 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15906 (GLIBC_PRIVATE): Add __sendmmsg.
15907 * include/sys/socket.h (__sendmmsg): Add declarations.
15908 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15909 sendmmsg.
15910
15911 2012-11-20 Joseph Myers <joseph@codesourcery.com>
15912
15913 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15914 variable I1 with __attribute__ ((unused)).
15915 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15916
15917 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15918
15919 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15920 DUMMY variables with __attribute__ ((unused)).
15921
15922 * bits/byteswap.h: Include <bits/types.h>.
15923 (__bswap_64): Use __uint64_t instead of unsigned long long int.
15924
15925 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
15926
15927 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15928 string_t. Do not manually set errno.
15929 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15930 length with __strnlen. Make sure to both set errno and return it on
15931 failure.
15932
15933 2012-11-19 David S. Miller <davem@davemloft.net>
15934
15935 With help from Joseph Myers.
15936 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15937 very large arguments properly.
15938 * math/libm-test.inc (atan_test): New tests.
15939 (atan2_test): New tests.
15940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15941 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15942
15943 2012-11-19 Joseph Myers <joseph@codesourcery.com>
15944
15945 [BZ #14856]
15946 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
15947 Define to 3.
15948
15949 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
15950 [POSIX] (EADDRNOTAVAIL): Likewise.
15951 [POSIX] (EAFNOSUPPORT): Likewise.
15952 [POSIX] (EALREADY): Likewise.
15953 [POSIX] (ECONNABORTED): Likewise.
15954 [POSIX] (ECONNREFUSED): Likewise.
15955 [POSIX] (ECONNRESET): Likewise.
15956 [POSIX] (EDESTADDRREQ): Likewise.
15957 [POSIX] (EDQUOT): Likewise.
15958 [POSIX] (EHOSTUNREACH): Likewise.
15959 [POSIX] (EIDRM): Likewise.
15960 [POSIX] (EISCONN): Likewise.
15961 [POSIX] (ELOOP): Likewise.
15962 [POSIX] (EMULTIHOP): Likewise.
15963 [POSIX] (ENETDOWN): Likewise.
15964 [POSIX] (ENETUNREACH): Likewise.
15965 [POSIX] (ENOBUFS): Likewise.
15966 [POSIX] (ENODATA): Likewise.
15967 [POSIX] (ENOLINK): Likewise.
15968 [POSIX] (ENOMSG): Likewise.
15969 [POSIX] (ENOPROTOOPT): Likewise.
15970 [POSIX] (ENOSR): Likewise.
15971 [POSIX] (ENOSTR): Likewise.
15972 [POSIX] (ENOTCONN): Likewise.
15973 [POSIX] (ENOTSOCK): Likewise.
15974 [POSIX] (EOPNOTSUPP): Likewise.
15975 [POSIX] (EOVERFLOW): Likewise.
15976 [POSIX] (EPROTO): Likewise.
15977 [POSIX] (EPROTONOSUPPORT): Likewise.
15978 [POSIX] (EPROTOTYPE): Likewise.
15979 [POSIX] (ESTALE): Likewise.
15980 [POSIX] (ETIME): Likewise.
15981 [POSIX] (ETXTBSY): Likewise.
15982 [POSIX] (EWOULDBLOCK): Likewise.
15983 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
15984 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
15985 [POSIX] (SEEK_CUR): Likewise.
15986 [POSIX] (SEEK_END): Likewise.
15987 [POSIX || UNIX98] (mode_t): Do not require.
15988 [POSIX] (off_t): Likewise.
15989 [POSIX] (pid_t): Likewise.
15990 [POSIX] (sys/stat.h): Do not allow header.
15991 [POSIX] (unistd.h): Likewise.
15992 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
15993 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
15994 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
15995 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
15996 require.
15997 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
15998 sigevent): Specify elements.
15999 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16000 entry.
16001 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16002 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16003
16004 * conform/data/cpio.h-data [POSIX]: Disable whole file.
16005 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16006 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16007 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16008 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16009 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16010 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16011 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16012 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16013 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16014 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16015 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16016 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16017 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16018 Likewise.
16019 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16020 Likewise.
16021 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16022 Likewise.
16023 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16024 Likewise.
16025 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16026 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16027 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16028 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16029 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16030 Specify lower bound on value.
16031 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16032 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16033 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16034 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16035 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16036 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16037 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16038 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16039 value.
16040 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16041 as optional.
16042 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16043 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16044 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16045 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16046 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16047 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16048 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16049 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16050 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16051 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16052 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16053 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16054 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16055 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16056 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16057 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16058 entry.
16059 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16060 optional.
16061 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16062 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16063 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16064 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16065 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16066 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16067 Likewise.
16068 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16069 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16070 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16071 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16072 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
16073 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16074 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16075 as optional.
16076 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16077 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16078 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16079 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16080 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16081 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16082 specify as optional.
16083 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16084 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16085 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16086 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16087 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16088 [XPG3] (NL_LANGMAX): Likewise.
16089 [POSIX || XPG3] (NL_MSGMAX): Likewise.
16090 [POSIX || XPG3] (NL_NMAX): Likewise.
16091 [POSIX || XPG3] (NL_SETMAX): Likewise.
16092 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16093 [XPG3] (NZERO): Likewise.
16094 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16095 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16096 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16097 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16098 (REG_ERANGE): Expect.
16099 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16100 optional-constant.
16101 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16102 Use (void) in prototype.
16103 [POSIX] (*_t): Allow.
16104 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16105 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16106 (WRDE_BADVAL): Expect.
16107
16108 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16109 expect.
16110 [XPG3 || XPG4] (O_RSYNC): Likewise.
16111 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16112 Likewise.
16113 [XPG3 || XPG4] (pthread_sigmask): Likewise.
16114 [XPG3 || XPG4] (sigqueue): Likewise.
16115 [XPG3 || XPG4] (sigtimedwait): Likewise.
16116 [XPG3 || XPG4] (sigwaitinfo): Likewise.
16117 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16118 [XPG3 || XPG4] (vsnprintf): Likewise.
16119 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16120 Likewise.
16121 [XPG3 || XPG4] (blksize_t): Likewise.
16122 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16123 Likewise.
16124 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16125 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16126 [XPG3 || XPG4] (struct itimerspec): Likewise.
16127 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16128 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16129 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16130 [XPG3 || XPG4] (clockid_t): Likewise.
16131 [XPG3 || XPG4] (timer_t): Likewise.
16132 [XPG3 || XPG4] (clock_getres): Likewise.
16133 [XPG3 || XPG4] (clock_gettime): Likewise.
16134 [XPG3 || XPG4] (clock_settime): Likewise.
16135 [XPG3 || XPG4] (nanosleep): Likewise.
16136 [XPG3 || XPG4] (timer_create): Likewise.
16137 [XPG3 || XPG4] (timer_delete): Likewise.
16138 [XPG3 || XPG4] (timer_gettime): Likewise.
16139 [XPG3 || XPG4] (timer_getoverrun): Likewise.
16140 [XPG3 || XPG4] (timer_settime): Likewise.
16141 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16142 [XPG3 || XPG4] (getlogin_r): Likewise.
16143 [XPG3 || XPG4] (pread): Likewise.
16144 [XPG3 || XPG4] (pthread_atfork): Likewise.
16145 [XPG3 || XPG4] (pwrite): Likewise.
16146
16147 [BZ #14835]
16148 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16149 <bits/siginfo.h>.
16150
16151 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
16152
16153 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16154 finalizing MALLSTREAM.
16155
16156 * sysdeps/mach/hurd/syncfs.c: New file.
16157
16158 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16159
16160 [BZ #14719]
16161 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16162 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16163 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16164 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16165 (_nss_dns_gethostbyname4_r): Likewise.
16166 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16167 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16168
16169 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
16170
16171 [BZ #13763]
16172 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16173
16174 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
16175
16176 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16177 * elf/cache.c (print_entry): Print ",AArch64" for
16178 FLAG_AARCH64_LIB64
16179
16180 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16181 * elf/cache.c (print_entry): Print ",hard-float" for
16182 FLAG_ARM_LIBHF.
16183
16184 2012-11-18 David S. Miller <davem@davemloft.net>
16185
16186 With help from Joseph Myers.
16187 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16188 cutoff to 2**-13.
16189 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16190 cutoff to 2**-25.
16191 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16192 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16193 small.
16194 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16195 * math/libm-test.inc (y0_test): New tests.
16196 (y1_test): New tests.
16197 * sysdeps/i386/fpu/libm-test-ulps: Update.
16198 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16200
16201 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
16202
16203 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16204 64-bit targets.
16205 * configure: Regenerated.
16206
16207 2012-11-17 David S. Miller <davem@davemloft.net>
16208
16209 [BZ #14811]
16210 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16211 nonzero exponents with absolute value below 0x1p-128 to +/-
16212 0x1p-128.
16213
16214 2012-11-17 Joseph Myers <joseph@codesourcery.com>
16215
16216 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16217
16218 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16219
16220 * posix/getconf-speclist.c: New file.
16221 * posix/posix-envs.def: Likewise.
16222 * posix/confstr.c (START_ENV_GROUP): New macro.
16223 (END_ENV_GROUP): Likewise.
16224 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16225 (KNOWN_PRESENT_ENV_STRING): Likewise.
16226 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16227 (UNKNOWN_ENVIRONMENT): Likewise.
16228 (confstr): Include posix-envs.def instead of handling
16229 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16230 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16231 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16232 (END_ENV_GROUP): Likewise.
16233 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16234 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16235 (UNKNOWN_ENVIRONMENT): Likewise.
16236 (__sysconf): Include posix-envs.def instead of handling associated
16237 cases directly here.
16238 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16239 preprocessing getconf-speclist.c rather than running getconf or
16240 generating empty file.
16241
16242 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
16243
16244 * scripts/check-local-headers.sh: Ignore 'mach' headers.
16245
16246 2012-11-16 Andrej Lajovic <natrij@gmail.com>
16247
16248 [BZ #14672]
16249 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16250
16251 2012-11-16 David S. Miller <davem@davemloft.net>
16252
16253 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16254 smaller than LDBL_EPSILON/2.0L, just return xm1.
16255
16256 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
16257
16258 * elf/tst-array1.c (init): Set constructor priority to 1000.
16259 (fini): Set destructor priority to 1000.
16260 * elf/tst-array2dep.c: Likewise.
16261
16262 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16263
16264 [BZ #11741]
16265 * libio/fileops.c (_IO_new_file_write): Correctly return error.
16266 (_IO_new_file_xsputn): Also return EOF if none of the input
16267 data was written when overflow failed.
16268 * libio/iopadn.c (_IO_padn): Likewise.
16269 * libio/iowpadn.c (_IO_wpadn): Likewise.
16270 * stdio-common/tst-put-error.c: Add copyright notice.
16271 (do_test): Add case for printing padded string.
16272 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16273 _IO_padn returned error.
16274 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16275 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16276 return EOF.
16277
16278 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16279
16280 * libio/libioP.h: Add comment note that the references to C++
16281 bits are now obsolete.
16282
16283 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16284
16285 * math/libm-test.inc (check_complex): Use asprintf.
16286
16287 2012-11-14 Joseph Myers <joseph@codesourcery.com>
16288
16289 * debug/pcprofiledump.c (print_version): Update copyright year.
16290 * malloc/memusagestat.c (print_version): Likewise.
16291
16292 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
16293
16294 [BZ #14831]
16295 * elf/Makefile (tests): Add tst-audit8.
16296 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16297 ($(objpfx)tst-audit8.out): New target.
16298 (tst-audit8-ENV): New variable.
16299 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16300 audit if l_reloc_result is NULL.
16301 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16302 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16303 * elf/tst-audit8.c: New file.
16304
16305 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16306
16307 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16308 * misc/Makefile (CFLAGS-select.c): Define.
16309 * posix/Makefile (CFLAGS-pause.c): Define.
16310
16311 2012-11-13 David S. Miller <davem@davemloft.net>
16312
16313 * crypt/Makefile: Move test targets after toplevel Rules
16314 inclusion. Grab any necessary sysdep routines when linking.
16315 * crypt/md5.c (md5_process_block): Remove define, we will always
16316 name it __md5_process_block.
16317 (md5_finish_ctx): Update md5_process_block call.
16318 (md5_stream): Likewise.
16319 (md5_process_bytes): Likewise.
16320 (md5_process_block): Rename to __md5_process_block and move to ...
16321 * crypt/md5-block.c: ... here.
16322 * crypt/sha256.c (sha256_process_block): Move to ...
16323 * crypt/sha256-block.c: ... here.
16324 * crypt/sha512.c (sha512_process_block): Move to ...
16325 * crypt/sha512-block.c: ... here.
16326 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16327 path.
16328 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16329 * sysdeps/sparc/sparc64/multiarch/Makefile
16330 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16331 crypt subdir.
16332 (localedef-aux): Add md5 crypto assembler when in locale subdir.
16333 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16334 multiarch changes.
16335 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16336 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16337 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16338 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16339 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16340 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16341 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16342 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16343 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16344 file.
16345 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16346 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16347 file.
16348 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16349
16350 2012-11-13 Joseph Myers <joseph@codesourcery.com>
16351
16352 * timezone/tzselect.ksh: Update from tzcode git revision
16353 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16354 * timezone/zdump.c: Likewise.
16355 * timezone/zic.c: Likewise.
16356 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16357 in TZVERSION setting, not $(PKGVERSION).
16358 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
16359 REPORT_BUGS_TO settings.
16360
16361 [BZ #14838]
16362 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16363 macro.
16364
16365 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16366
16367 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16368 detection to immediately after _FP_ROUND().
16369 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16370 bits are 0.
16371
16372 2012-11-11 David S. Miller <davem@davemloft.net>
16373
16374 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16375 inttypes.h
16376 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16377 __close rather than their public counterparts.
16378
16379 2012-11-10 Joseph Myers <joseph@codesourcery.com>
16380
16381 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16382 file.
16383 [UNIX98] (sem_timedwait): Do not expect.
16384 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16385 [XPG4 || UNIX98] (sockatmark): Do not expect.
16386 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16387 (clock_getcpuclockid): Do not expect.
16388 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16389 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16390 Do not expect.
16391 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16392 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16393 [UNIX98] (vwscanf): Likewise.
16394 [UNIX98] (vswscanf): Likewise.
16395
16396 2012-11-09 Joseph Myers <joseph@codesourcery.com>
16397
16398 * timezone/version.h: Remove file.
16399 * timezone/README: Do not refer to version.h.
16400 * timezone/Makefile ($(objpfx)zic.o): New dependency on
16401 $(objpfx)version.h.
16402 ($(objpfx)zdump.o): Likewise.
16403 ($(objpfx)version.h): New target.
16404
16405 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16406 2012i.
16407 * timezone/README: Don't mention modification to tzselect.ksh.
16408 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16409 work on unmodified tzselect.ksh. Substitute version numbers in
16410 tzselect.ksh.
16411
16412 * Makefile (format-me): Remove.
16413 (INSTALL): Adjust indentation. Use commands directly instead of
16414 using $(format-me).
16415
16416 * aclocal.m4 (ACX_PKGVERSION): New macro.
16417 (ACX_BUGURL): Likewise.
16418 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16419 (PKGVERSION): New AC_DEFINE_UNQUOTED.
16420 (REPORT_BUGS_TO): Likewise.
16421 * configure: Regenerated.
16422 * config.h.in (PKGVERSION): New macro.
16423 (REPORT_BUGS_TO): Likewise.
16424 * config.make.in (PKGVERSION): New variable.
16425 (PKGVERSION_TEXI): Likewise.
16426 (REPORT_BUGS_TO): Likewise.
16427 (REPORT_BUGS_TEXI): Likewise.
16428 * Makefile (format-me): Use -I$(common-objpfx)manual.
16429 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16430 ($(common-objpfx)manual/%): New target.
16431 (manual/%): Remove target.
16432 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16433 (print_version): Use PKGVERSION.
16434 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16435 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16436 and REPORT_BUGS_TO.
16437 ($(objpfx)xtrace): Likewise.
16438 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16439 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16440 (print_version): Use PKGVERSION.
16441 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16442 (do_version): Use PKGVERSION.
16443 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16444 REPORT_BUGS_TO.
16445 (common-ldd-rewrite): Likewise.
16446 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16447 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16448 (print_version): Use PKGVERSION.
16449 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16450 * elf/pldd.c (argp_program_bug_address): Remove variable.
16451 (more_help): New function.
16452 (argp): Use more_help.
16453 (print_version): Use PKGVERSION.
16454 * elf/sln.c (main): Use PKGVERSION.
16455 (usage): Use REPORT_BUGS_TO.
16456 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16457 (top level): Use PKGVERSION.
16458 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16459 (print_version): Use PKGVERSION.
16460 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16461 (print_version): Use PKGVERSION.
16462 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16463 (print_version): Use PKGVERSION.
16464 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16465 (print_version): Use PKGVERSION.
16466 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16467 (print_version): Use PKGVERSION.
16468 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16469 (print_version): Use PKGVERSION.
16470 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16471 and BUGURL.
16472 ($(objpfx)memusage): Likewise.
16473 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16474 (do_version): Use PKGVERSION.
16475 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16476 (print_version): Use PKGVERSION.
16477 * malloc/mtrace.pl ($PACKAGE): Remove variable.
16478 ($PKGVERSION): New variable.
16479 ($REPORT_BUGS_TO): Likewise.
16480 (usage): Use $REPORT_BUGS_TO.
16481 (top level): Use $PKGVERSION.
16482 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16483 ($(objpfx)pkgvers.texi): New rule.
16484 ($(objpfx)stamp-pkgvers): Likewise.
16485 * manual/install.texi: Include pkgvers.texi.
16486 (--with-pkgversion): Document new configure option.
16487 (--with-bugurl): Likewise.
16488 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16489 than necessarily for this particular distribution. Use
16490 REPORT_BUGS_TO for where to report bugs.
16491 * INSTALL: Regenerated.
16492 * manual/libc.texinfo: Include pkgvers.texi.
16493 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16494 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16495 (print_version): Use PKGVERSION.
16496 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16497 (print_version): Use PKGVERSION.
16498 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16499 (print_version): Use PKGVERSION.
16500 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16501 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16502 macro.
16503 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16504 (print_version): Use PKGVERSION.
16505 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16506 (print_version): Use PKGVERSION.
16507 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16508 and PKGVERSION.
16509
16510 * timezone/checktab.awk: Update from tzcode 2012i.
16511 * timezone/ialloc.c: Likewise.
16512 * timezone/private.h: Likewise.
16513 * timezone/scheck.c: Likewise.
16514 * timezone/tzfile.h: Likewise.
16515 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16516 (TZVERSION): Hardcode tzcode version number.
16517 * timezone/zdump.c: Update from tzcode 2012i.
16518 * timezone/zic.c: Likewise.
16519 * timezone/version.h: New file.
16520 * timezone/README: Describe version.h. Update upstream location.
16521
16522 [BZ #14824]
16523 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16524 (mktemp): Enable declaration.
16525 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16526 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16527 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16528 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16529 Likewise.
16530 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16531 Likewise.
16532 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16533 Likewise.
16534 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16535 Likewise.
16536 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16537 Likewise.
16538 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16539 Likewise.
16540
16541 [BZ #14821]
16542 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16543 offset in buffer as u_int32_t not u_long. Consistently use memcpy
16544 for copies of such integer values.
16545 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16546 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16547
16548 2012-11-09 Andreas Jaeger <aj@suse.de>
16549
16550 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16551 definitions and declarations that are provided by
16552 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16553
16554 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16555
16556 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16557 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16558 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16559 definition.
16560
16561 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16562
16563 * elf/elf.h: Update comment before AArch64 relocations.
16564
16565 2012-11-07 David S. Miller <davem@davemloft.net>
16566
16567 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16568 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16569 (__start_context): Declare.
16570 (__makecontext_ret): Delete.
16571 (__makecontext): Hook up __start_context instead of
16572 __makecontext_ret.
16573 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16574 (sysdep_routines): Add __start_context when in stdlib.
16575
16576 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16577
16578 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16579 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16580 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
16581 hardcoded "nm".
16582 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
16583 (READELF): New variable. Use it instead of hardcoded "readelf".
16584
16585 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
16586
16587 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16588 * sysdeps/x86/Makefile: Here.
16589 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16590 * sysdeps/x86/tst-xmmymm.sh: This.
16591
16592 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16593
16594 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16595 expectations.
16596 [UNIX98] (pthread_barrier_t): Do not expect.
16597 [UNIX98] (pthread_barrierattr_t): Likewise.
16598 [UNIX98] (pthread_spinlock_t): Likewise.
16599 [UNIX98] (pthread_barrier_destroy): Likewise.
16600 [UNIX98] (pthread_barrier_init): Likewise.
16601 [UNIX98] (pthread_barrier_wait): Likewise.
16602 [UNIX98] (pthread_barrierattr_destroy): Likewise.
16603 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16604 [UNIX98] (pthread_barrierattr_init): Likewise.
16605 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16606 [UNIX98] (pthread_getcpuclockid): Likewise.
16607 [UNIX98] (pthread_mutex_timedlock): Likewise.
16608 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16609 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16610 [UNIX98] (pthread_sigmask): Likewise.
16611 [UNIX98] (pthread_spin_destroy): Likewise.
16612 [UNIX98] (pthread_spin_init): Likewise.
16613 [UNIX98] (pthread_spin_lock): Likewise.
16614 [UNIX98] (pthread_spin_trylock): Likewise.
16615 [UNIX98] (pthread_spin_unlock): Likewise.
16616 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16617 Do not expect.
16618 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16619 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16620 [XPG3 || XPG4] (pthread_cond_t): Likewise.
16621 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16622 [XPG3 || XPG4] (pthread_key_t): Likewise.
16623 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16624 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16625 [XPG3 || XPG4] (pthread_once_t): Likewise.
16626 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16627 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16628 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16629 [XPG3 || XPG4] (pthread_t): Likewise.
16630
16631 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16632 not expect.
16633 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16634
16635 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16636 Change function return type to int.
16637
16638 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16639 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16640 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16641 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16642 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16643 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16644 [!POSIX] (posix_madvise): Likewise.
16645 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16646 && !UNIX98].
16647 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16648 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16649 (mode_t): Likewise.
16650 (posix_mem_offset): Likewise.
16651 (posix_typed_mem_get_info): Likewise.
16652 (posix_typed_mem_open): Likewise.
16653
16654 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16655 Change condition to [XOPEN2K8].
16656
16657 * conform/conformtest.pl: Preprocess allow-header data with -x c
16658 instead of from stdin.
16659 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16660 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16661 [C99-based standards] (cerfc): Likewise.
16662 [C99-based standards] (cexp2): Likewise.
16663 [C99-based standards] (cexpm1): Likewise.
16664 [C99-based standards] (clog10): Likewise.
16665 [C99-based standards] (clog1p): Likewise.
16666 [C99-based standards] (clog2): Likewise.
16667 [C99-based standards] (clgamma): Likewise.
16668 [C99-based standards] (ctgamma): Likewise.
16669 [C99-based standards] (cerff): Likewise.
16670 [C99-based standards] (cerfcf): Likewise.
16671 [C99-based standards] (cexp2f): Likewise.
16672 [C99-based standards] (cexpm1f): Likewise.
16673 [C99-based standards] (clog10f): Likewise.
16674 [C99-based standards] (clog1pf): Likewise.
16675 [C99-based standards] (clog2f): Likewise.
16676 [C99-based standards] (clgammaf): Likewise.
16677 [C99-based standards] (ctgammaf): Likewise.
16678 [C99-based standards] (cerfl): Likewise.
16679 [C99-based standards] (cerfcl): Likewise.
16680 [C99-based standards] (cexp2l): Likewise.
16681 [C99-based standards] (cexpm1l): Likewise.
16682 [C99-based standards] (clog10l): Likewise.
16683 [C99-based standards] (clog1pl): Likewise.
16684 [C99-based standards] (clog2l): Likewise.
16685 [C99-based standards] (clgammal): Likewise.
16686 [C99-based standards] (ctgammal): Likewise.
16687 * conform/data/inttypes.h-data [C99-based standards]: Include
16688 stdint.h-data. Remove all expectations for stdint.h contents.
16689 [C99-based standards] (PRI*): Do not allow.
16690 [C99-based standards] (SCN*): Likewise.
16691 [C99-based standards] (*_t): Likewise.
16692 [C99-based-standards] (PRId8): Expect macro.
16693 [C99-based-standards] (PRIi8): Likewise.
16694 [C99-based-standards] (PRIo8): Likewise.
16695 [C99-based-standards] (PRIu8): Likewise.
16696 [C99-based-standards] (PRIx8): Likewise.
16697 [C99-based-standards] (PRIX8): Likewise.
16698 [C99-based-standards] (SCNd8): Likewise.
16699 [C99-based-standards] (SCNi8): Likewise.
16700 [C99-based-standards] (SCNo8): Likewise.
16701 [C99-based-standards] (SCNu8): Likewise.
16702 [C99-based-standards] (SCNx8): Likewise.
16703 [C99-based-standards] (PRIdLEAST8): Likewise.
16704 [C99-based-standards] (PRIiLEAST8): Likewise.
16705 [C99-based-standards] (PRIoLEAST8): Likewise.
16706 [C99-based-standards] (PRIuLEAST8): Likewise.
16707 [C99-based-standards] (PRIxLEAST8): Likewise.
16708 [C99-based-standards] (PRIXLEAST8): Likewise.
16709 [C99-based-standards] (SCNdLEAST8): Likewise.
16710 [C99-based-standards] (SCNiLEAST8): Likewise.
16711 [C99-based-standards] (SCNoLEAST8): Likewise.
16712 [C99-based-standards] (SCNuLEAST8): Likewise.
16713 [C99-based-standards] (SCNxLEAST8): Likewise.
16714 [C99-based-standards] (PRIdFAST8): Likewise.
16715 [C99-based-standards] (PRIiFAST8): Likewise.
16716 [C99-based-standards] (PRIoFAST8): Likewise.
16717 [C99-based-standards] (PRIuFAST8): Likewise.
16718 [C99-based-standards] (PRIxFAST8): Likewise.
16719 [C99-based-standards] (PRIXFAST8): Likewise.
16720 [C99-based-standards] (SCNdFAST8): Likewise.
16721 [C99-based-standards] (SCNiFAST8): Likewise.
16722 [C99-based-standards] (SCNoFAST8): Likewise.
16723 [C99-based-standards] (SCNuFAST8): Likewise.
16724 [C99-based-standards] (SCNxFAST8): Likewise.
16725 [C99-based-standards] (PRId16): Likewise.
16726 [C99-based-standards] (PRIi16): Likewise.
16727 [C99-based-standards] (PRIo16): Likewise.
16728 [C99-based-standards] (PRIu16): Likewise.
16729 [C99-based-standards] (PRIx16): Likewise.
16730 [C99-based-standards] (PRIX16): Likewise.
16731 [C99-based-standards] (SCNd16): Likewise.
16732 [C99-based-standards] (SCNi16): Likewise.
16733 [C99-based-standards] (SCNo16): Likewise.
16734 [C99-based-standards] (SCNu16): Likewise.
16735 [C99-based-standards] (SCNx16): Likewise.
16736 [C99-based-standards] (PRIdLEAST16): Likewise.
16737 [C99-based-standards] (PRIiLEAST16): Likewise.
16738 [C99-based-standards] (PRIoLEAST16): Likewise.
16739 [C99-based-standards] (PRIuLEAST16): Likewise.
16740 [C99-based-standards] (PRIxLEAST16): Likewise.
16741 [C99-based-standards] (PRIXLEAST16): Likewise.
16742 [C99-based-standards] (SCNdLEAST16): Likewise.
16743 [C99-based-standards] (SCNiLEAST16): Likewise.
16744 [C99-based-standards] (SCNoLEAST16): Likewise.
16745 [C99-based-standards] (SCNuLEAST16): Likewise.
16746 [C99-based-standards] (SCNxLEAST16): Likewise.
16747 [C99-based-standards] (PRIdFAST16): Likewise.
16748 [C99-based-standards] (PRIiFAST16): Likewise.
16749 [C99-based-standards] (PRIoFAST16): Likewise.
16750 [C99-based-standards] (PRIuFAST16): Likewise.
16751 [C99-based-standards] (PRIxFAST16): Likewise.
16752 [C99-based-standards] (PRIXFAST16): Likewise.
16753 [C99-based-standards] (SCNdFAST16): Likewise.
16754 [C99-based-standards] (SCNiFAST16): Likewise.
16755 [C99-based-standards] (SCNoFAST16): Likewise.
16756 [C99-based-standards] (SCNuFAST16): Likewise.
16757 [C99-based-standards] (SCNxFAST16): Likewise.
16758 [C99-based-standards] (PRId32): Likewise.
16759 [C99-based-standards] (PRIi32): Likewise.
16760 [C99-based-standards] (PRIo32): Likewise.
16761 [C99-based-standards] (PRIu32): Likewise.
16762 [C99-based-standards] (PRIx32): Likewise.
16763 [C99-based-standards] (PRIX32): Likewise.
16764 [C99-based-standards] (SCNd32): Likewise.
16765 [C99-based-standards] (SCNi32): Likewise.
16766 [C99-based-standards] (SCNo32): Likewise.
16767 [C99-based-standards] (SCNu32): Likewise.
16768 [C99-based-standards] (SCNx32): Likewise.
16769 [C99-based-standards] (PRIdLEAST32): Likewise.
16770 [C99-based-standards] (PRIiLEAST32): Likewise.
16771 [C99-based-standards] (PRIoLEAST32): Likewise.
16772 [C99-based-standards] (PRIuLEAST32): Likewise.
16773 [C99-based-standards] (PRIxLEAST32): Likewise.
16774 [C99-based-standards] (PRIXLEAST32): Likewise.
16775 [C99-based-standards] (SCNdLEAST32): Likewise.
16776 [C99-based-standards] (SCNiLEAST32): Likewise.
16777 [C99-based-standards] (SCNoLEAST32): Likewise.
16778 [C99-based-standards] (SCNuLEAST32): Likewise.
16779 [C99-based-standards] (SCNxLEAST32): Likewise.
16780 [C99-based-standards] (PRIdFAST32): Likewise.
16781 [C99-based-standards] (PRIiFAST32): Likewise.
16782 [C99-based-standards] (PRIoFAST32): Likewise.
16783 [C99-based-standards] (PRIuFAST32): Likewise.
16784 [C99-based-standards] (PRIxFAST32): Likewise.
16785 [C99-based-standards] (PRIXFAST32): Likewise.
16786 [C99-based-standards] (SCNdFAST32): Likewise.
16787 [C99-based-standards] (SCNiFAST32): Likewise.
16788 [C99-based-standards] (SCNoFAST32): Likewise.
16789 [C99-based-standards] (SCNuFAST32): Likewise.
16790 [C99-based-standards] (SCNxFAST32): Likewise.
16791 [C99-based-standards] (PRId64): Likewise.
16792 [C99-based-standards] (PRIi64): Likewise.
16793 [C99-based-standards] (PRIo64): Likewise.
16794 [C99-based-standards] (PRIu64): Likewise.
16795 [C99-based-standards] (PRIx64): Likewise.
16796 [C99-based-standards] (PRIX64): Likewise.
16797 [C99-based-standards] (SCNd64): Likewise.
16798 [C99-based-standards] (SCNi64): Likewise.
16799 [C99-based-standards] (SCNo64): Likewise.
16800 [C99-based-standards] (SCNu64): Likewise.
16801 [C99-based-standards] (SCNx64): Likewise.
16802 [C99-based-standards] (PRIdLEAST64): Likewise.
16803 [C99-based-standards] (PRIiLEAST64): Likewise.
16804 [C99-based-standards] (PRIoLEAST64): Likewise.
16805 [C99-based-standards] (PRIuLEAST64): Likewise.
16806 [C99-based-standards] (PRIxLEAST64): Likewise.
16807 [C99-based-standards] (PRIXLEAST64): Likewise.
16808 [C99-based-standards] (SCNdLEAST64): Likewise.
16809 [C99-based-standards] (SCNiLEAST64): Likewise.
16810 [C99-based-standards] (SCNoLEAST64): Likewise.
16811 [C99-based-standards] (SCNuLEAST64): Likewise.
16812 [C99-based-standards] (SCNxLEAST64): Likewise.
16813 [C99-based-standards] (PRIdFAST64): Likewise.
16814 [C99-based-standards] (PRIiFAST64): Likewise.
16815 [C99-based-standards] (PRIoFAST64): Likewise.
16816 [C99-based-standards] (PRIuFAST64): Likewise.
16817 [C99-based-standards] (PRIxFAST64): Likewise.
16818 [C99-based-standards] (PRIXFAST64): Likewise.
16819 [C99-based-standards] (SCNdFAST64): Likewise.
16820 [C99-based-standards] (SCNiFAST64): Likewise.
16821 [C99-based-standards] (SCNoFAST64): Likewise.
16822 [C99-based-standards] (SCNuFAST64): Likewise.
16823 [C99-based-standards] (SCNxFAST64): Likewise.
16824 [C99-based-standards] (PRIdMAX): Likewise.
16825 [C99-based-standards] (PRIiMAX): Likewise.
16826 [C99-based-standards] (PRIoMAX): Likewise.
16827 [C99-based-standards] (PRIuMAX): Likewise.
16828 [C99-based-standards] (PRIxMAX): Likewise.
16829 [C99-based-standards] (PRIXMAX): Likewise.
16830 [C99-based-standards] (SCNdMAX): Likewise.
16831 [C99-based-standards] (SCNiMAX): Likewise.
16832 [C99-based-standards] (SCNoMAX): Likewise.
16833 [C99-based-standards] (SCNuMAX): Likewise.
16834 [C99-based-standards] (SCNxMAX): Likewise.
16835 [C99-based-standards] (PRIdPTR): Likewise.
16836 [C99-based-standards] (PRIiPTR): Likewise.
16837 [C99-based-standards] (PRIoPTR): Likewise.
16838 [C99-based-standards] (PRIuPTR): Likewise.
16839 [C99-based-standards] (PRIxPTR): Likewise.
16840 [C99-based-standards] (PRIXPTR): Likewise.
16841 [C99-based-standards] (SCNdPTR): Likewise.
16842 [C99-based-standards] (SCNiPTR): Likewise.
16843 [C99-based-standards] (SCNoPTR): Likewise.
16844 [C99-based-standards] (SCNuPTR): Likewise.
16845 [C99-based-standards] (SCNxPTR): Likewise.
16846 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16847 allow.
16848 * conform/data/stdint.h-data: Update comments to clarify
16849 requirements.
16850 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
16851 type.
16852 [C99-based standards] (INT8_MAX): Likewise.
16853 [C99-based standards] (INT16_MIN): Likewise.
16854 [C99-based standards] (INT16_MAX): Likewise.
16855 [C99-based standards] (INT32_MIN): Likewise.
16856 [C99-based standards] (INT32_MAX): Likewise.
16857 [C99-based standards] (INT64_MIN): Likewise.
16858 [C99-based standards] (INT64_MAX): Likewise.
16859 [C99-based standards] (UINT8_MAX): Likewise.
16860 [C99-based standards] (UINT16_MAX): Likewise.
16861 [C99-based standards] (UINT32_MAX): Likewise.
16862 [C99-based standards] (UINT64_MAX): Likewise.
16863 [C99-based standards] (INT_LEAST8_MIN): Likewise.
16864 [C99-based standards] (INT_LEAST8_MAX): Likewise.
16865 [C99-based standards] (INT_LEAST16_MIN): Likewise.
16866 [C99-based standards] (INT_LEAST16_MAX): Likewise.
16867 [C99-based standards] (INT_LEAST32_MIN): Likewise.
16868 [C99-based standards] (INT_LEAST32_MAX): Likewise.
16869 [C99-based standards] (INT_LEAST64_MIN): Likewise.
16870 [C99-based standards] (INT_LEAST64_MAX): Likewise.
16871 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16872 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16873 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16874 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16875 [C99-based standards] (INT_FAST8_MIN): Likewise.
16876 [C99-based standards] (INT_FAST8_MAX): Likewise.
16877 [C99-based standards] (INT_FAST16_MIN): Likewise.
16878 [C99-based standards] (INT_FAST16_MAX): Likewise.
16879 [C99-based standards] (INT_FAST32_MIN): Likewise.
16880 [C99-based standards] (INT_FAST32_MAX): Likewise.
16881 [C99-based standards] (INT_FAST64_MIN): Likewise.
16882 [C99-based standards] (INT_FAST64_MAX): Likewise.
16883 [C99-based standards] (UINT_FAST8_MAX): Likewise.
16884 [C99-based standards] (UINT_FAST16_MAX): Likewise.
16885 [C99-based standards] (UINT_FAST32_MAX): Likewise.
16886 [C99-based standards] (UINT_FAST64_MAX): Likewise.
16887 [C99-based standards] (INTPTR_MIN): Likewise.
16888 [C99-based standards] (INTPTR_MAX): Likewise.
16889 [C99-based standards] (UINTPTR_MAX): Likewise.
16890 [C99-based standards] (INTMAX_MIN): Likewise.
16891 [C99-based standards] (INTMAX_MAX): Likewise.
16892 [C99-based standards] (UINTMAX_MAX): Likewise.
16893 [C99-based standards] (PTRDIFF_MIN): Likewise.
16894 [C99-based standards] (PTRDIFF_MAX): Likewise.
16895 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16896 [C99-based standards] (SIZE_MAX): Likewise.
16897 [C99-based standards] (WCHAR_MAX): Likewise.
16898 [C99-based standards] (WINT_MAX): Likewise.
16899 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
16900 constraint on value.
16901 [C99-based standards] (WCHAR_MIN): Likewise.
16902 [C99-based standards] (WINT_MIN): Likewise.
16903 [C99-based standards] (*_t): Allow.
16904 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16905 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16906 Include math.h-data and complex.h-data. Remove all expectations
16907 of math.h and complex.h contents.
16908 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16909 at end of line.
16910 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16911 (struct tm): Expect tag.
16912 [C99-based-standards] (wcstof): Expect function.
16913 [C99-based-standards] (wcstold): Likewise.
16914 [C99-based-standards] (wcstoll): Likewise.
16915 [C99-based-standards] (wcstoull): Likewise.
16916 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16917 macro-int-constant. Specify type.
16918 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
16919 constraint on value.
16920 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16921 Specify type.
16922 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16923 Specify value.
16924 [ISO C standards]: Do not allow headers.
16925 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16926 wcs[abcdefghijklmnopqrstuvwxyz]*.
16927 [ISO C standards] (*_t): Do not allow.
16928 * conform/data/wctype.h-data [C99-based standards] (iswblank):
16929 Expect function.
16930 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16931 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16932 Specify type.
16933 [ISO C standards]: Do not allow headers.
16934 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16935 is[abcdefghijklmnopqrstuvwxyz]*.
16936 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16937 to[abcdefghijklmnopqrstuvwxyz]*.
16938 [ISO C standards] (*_t): Do not allow.
16939 * conform/data/stdalign.h-data: New file.
16940 * conform/data/stdbool.h-data: Likewise.
16941 * conform/data/stdnoreturn.h-data: Likewise.
16942
16943 2012-11-07 Roland McGrath <roland@hack.frob.com>
16944
16945 [BZ #14815]
16946 * manual/filesys.texi (Directory Entries): Typo fix.
16947 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
16948
16949 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16950
16951 * elf/elf.h (EM_AARCH64): New macro.
16952 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
16953 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
16954 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
16955 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
16956 (R_AARCH64_TLSDESC): Likewise.
16957 (NT_ARM_TLS): Likewise.
16958 (NT_ARM_HW_BREAK): Likewise.
16959 (NT_ARM_HW_WATCH): Likewise.
16960
16961 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16962
16963 [BZ #14811]
16964 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
16965 (__ieee754_powl): Saturate nonzero exponents with absolute value
16966 below 0x1p-79 to +/- 0x1p-79.
16967 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
16968 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
16969 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
16970 nonzero exponents with absolute value below 0x1p-32 to +/-
16971 0x1p-32.
16972 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
16973 (__ieee754_powl): Saturate nonzero exponents with absolute value
16974 below 0x1p-79 to +/- 0x1p-79.
16975 * math/libm-test.inc (pow_test): Add more tests.
16976
16977 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16978
16979 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
16980 _dl_s390_cap_flags with kernel. Increase string length.
16981 (_dl_s390_platforms): Add z196 and zEC12.
16982
16983 2012-11-07 Joseph Myers <joseph@codesourcery.com>
16984
16985 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
16986 Change XOPEN21K to XOPEN2K.
16987
16988 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
16989
16990 * string/memmove.c: Use memcpy when possible.
16991
16992 2012-11-06 Andreas Jaeger <aj@suse.de>
16993
16994 * po/eo.po: Update from translation team.
16995
16996 2012-11-06 Joseph Myers <joseph@codesourcery.com>
16997
16998 [BZ #14793]
16999 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17000 exponent and small x and y exponents, scale x or y up. Increase
17001 by 2 the exponent used in scaling up.
17002 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17003 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17004 * math/libm-test.inc (fma_test): Add more tests.
17005 (fma_test_towardzero): Likewise.
17006 (fma_test_downward): Likewise.
17007 (fma_test_upward): Likewise.
17008
17009 2012-11-05 Joseph Myers <joseph@codesourcery.com>
17010
17011 [BZ #14805]
17012 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17013 fenv_t *.
17014
17015 [BZ #14801]
17016 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17017 namespace for names of struct fields.
17018 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17019 fenv_t fields.
17020 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17021 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17022
17023 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
17024
17025 [BZ #3665]
17026 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17027
17028 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17029
17030 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17031 PTR_DEMANGLE.
17032
17033 [BZ #5246]
17034 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17035 PTR_DEMANGLE.
17036
17037 2012-11-04 Joseph Myers <joseph@codesourcery.com>
17038
17039 [BZ #14797]
17040 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17041 definitely overflow as x * y not x * y + z.
17042 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17043 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17044 * math/libm-test.inc (fma_test): Add more tests.
17045 (fma_test_towardzero): Likewise.
17046 (fma_test_downward): Likewise.
17047 (fma_test_upward): Likewise.
17048
17049 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
17050
17051 [BZ #157]
17052
17053 * include/stub-tag.h: Remove file.
17054 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17055 '#include' of it.
17056 * manual/maint.texi (Porting): Don't reference it.
17057 * Makerules ($(objpfx)stubs): Likewise.
17058 * dirent/closedir.c: Don't include <stub-tag.h>.
17059 * dirent/dirfd.c: Likewise.
17060 * dirent/fdopendir.c: Likewise.
17061 * dirent/getdents.c: Likewise.
17062 * dirent/getdents64.c: Likewise.
17063 * dirent/opendir.c: Likewise.
17064 * dirent/readdir.c: Likewise.
17065 * dirent/readdir64.c: Likewise.
17066 * dirent/readdir64_r.c: Likewise.
17067 * dirent/readdir_r.c: Likewise.
17068 * dirent/rewinddir.c: Likewise.
17069 * dirent/seekdir.c: Likewise.
17070 * dirent/telldir.c: Likewise.
17071 * gmon/profil.c: Likewise.
17072 * grp/setgroups.c: Likewise.
17073 * inet/if_index.c: Likewise.
17074 * io/access.c: Likewise.
17075 * io/chdir.c: Likewise.
17076 * io/chmod.c: Likewise.
17077 * io/chown.c: Likewise.
17078 * io/close.c: Likewise.
17079 * io/dup.c: Likewise.
17080 * io/dup2.c: Likewise.
17081 * io/dup3.c: Likewise.
17082 * io/euidaccess.c: Likewise.
17083 * io/faccessat.c: Likewise.
17084 * io/fchdir.c: Likewise.
17085 * io/fchmod.c: Likewise.
17086 * io/fchmodat.c: Likewise.
17087 * io/fchown.c: Likewise.
17088 * io/fchownat.c: Likewise.
17089 * io/fcntl.c: Likewise.
17090 * io/flock.c: Likewise.
17091 * io/fstatfs.c: Likewise.
17092 * io/fstatfs64.c: Likewise.
17093 * io/fstatvfs.c: Likewise.
17094 * io/fstatvfs64.c: Likewise.
17095 * io/futimens.c: Likewise.
17096 * io/fxstat.c: Likewise.
17097 * io/fxstat64.c: Likewise.
17098 * io/fxstatat.c: Likewise.
17099 * io/fxstatat64.c: Likewise.
17100 * io/getcwd.c: Likewise.
17101 * io/isatty.c: Likewise.
17102 * io/lchmod.c: Likewise.
17103 * io/lchown.c: Likewise.
17104 * io/link.c: Likewise.
17105 * io/linkat.c: Likewise.
17106 * io/lseek.c: Likewise.
17107 * io/lseek64.c: Likewise.
17108 * io/lxstat64.c: Likewise.
17109 * io/mkdir.c: Likewise.
17110 * io/mkdirat.c: Likewise.
17111 * io/mkfifo.c: Likewise.
17112 * io/mkfifoat.c: Likewise.
17113 * io/open.c: Likewise.
17114 * io/open64.c: Likewise.
17115 * io/openat.c: Likewise.
17116 * io/openat64.c: Likewise.
17117 * io/pipe.c: Likewise.
17118 * io/pipe2.c: Likewise.
17119 * io/poll.c: Likewise.
17120 * io/posix_fadvise.c: Likewise.
17121 * io/posix_fadvise64.c: Likewise.
17122 * io/posix_fallocate.c: Likewise.
17123 * io/posix_fallocate64.c: Likewise.
17124 * io/read.c: Likewise.
17125 * io/readlink.c: Likewise.
17126 * io/readlinkat.c: Likewise.
17127 * io/rmdir.c: Likewise.
17128 * io/sendfile.c: Likewise.
17129 * io/sendfile64.c: Likewise.
17130 * io/statfs.c: Likewise.
17131 * io/statfs64.c: Likewise.
17132 * io/statvfs.c: Likewise.
17133 * io/statvfs64.c: Likewise.
17134 * io/symlink.c: Likewise.
17135 * io/symlinkat.c: Likewise.
17136 * io/ttyname.c: Likewise.
17137 * io/ttyname_r.c: Likewise.
17138 * io/umask.c: Likewise.
17139 * io/unlink.c: Likewise.
17140 * io/unlinkat.c: Likewise.
17141 * io/utime.c: Likewise.
17142 * io/utimensat.c: Likewise.
17143 * io/write.c: Likewise.
17144 * io/xmknod.c: Likewise.
17145 * io/xmknodat.c: Likewise.
17146 * io/xstat.c: Likewise.
17147 * io/xstat64.c: Likewise.
17148 * login/getpt.c: Likewise.
17149 * login/grantpt.c: Likewise.
17150 * login/unlockpt.c: Likewise.
17151 * math/e_acoshl.c: Likewise.
17152 * math/e_acosl.c: Likewise.
17153 * math/e_asinl.c: Likewise.
17154 * math/e_atan2l.c: Likewise.
17155 * math/e_atanhl.c: Likewise.
17156 * math/e_coshl.c: Likewise.
17157 * math/e_expl.c: Likewise.
17158 * math/e_fmodl.c: Likewise.
17159 * math/e_gammal_r.c: Likewise.
17160 * math/e_hypotl.c: Likewise.
17161 * math/e_j0l.c: Likewise.
17162 * math/e_j1l.c: Likewise.
17163 * math/e_jnl.c: Likewise.
17164 * math/e_lgammal_r.c: Likewise.
17165 * math/e_log10l.c: Likewise.
17166 * math/e_log2l.c: Likewise.
17167 * math/e_logl.c: Likewise.
17168 * math/e_powl.c: Likewise.
17169 * math/e_rem_pio2l.c: Likewise.
17170 * math/e_sinhl.c: Likewise.
17171 * math/e_sqrtl.c: Likewise.
17172 * math/fclrexcpt.c: Likewise.
17173 * math/fedisblxcpt.c: Likewise.
17174 * math/feenablxcpt.c: Likewise.
17175 * math/fegetenv.c: Likewise.
17176 * math/fegetexcept.c: Likewise.
17177 * math/fegetround.c: Likewise.
17178 * math/feholdexcpt.c: Likewise.
17179 * math/fesetenv.c: Likewise.
17180 * math/fesetround.c: Likewise.
17181 * math/feupdateenv.c: Likewise.
17182 * math/fgetexcptflg.c: Likewise.
17183 * math/fraiseexcpt.c: Likewise.
17184 * math/fsetexcptflg.c: Likewise.
17185 * math/ftestexcept.c: Likewise.
17186 * math/k_cosl.c: Likewise.
17187 * math/k_rem_pio2l.c: Likewise.
17188 * math/k_sinl.c: Likewise.
17189 * math/k_tanl.c: Likewise.
17190 * math/s_asinhl.c: Likewise.
17191 * math/s_atanl.c: Likewise.
17192 * math/s_cbrtl.c: Likewise.
17193 * math/s_erfl.c: Likewise.
17194 * math/s_expm1l.c: Likewise.
17195 * math/s_log1pl.c: Likewise.
17196 * math/s_tanhl.c: Likewise.
17197 * misc/acct.c: Likewise.
17198 * misc/brk.c: Likewise.
17199 * misc/chflags.c: Likewise.
17200 * misc/chroot.c: Likewise.
17201 * misc/fchflags.c: Likewise.
17202 * misc/fgetxattr.c: Likewise.
17203 * misc/flistxattr.c: Likewise.
17204 * misc/fremovexattr.c: Likewise.
17205 * misc/fsetxattr.c: Likewise.
17206 * misc/fsync.c: Likewise.
17207 * misc/ftruncate.c: Likewise.
17208 * misc/futimes.c: Likewise.
17209 * misc/futimesat.c: Likewise.
17210 * misc/getdomain.c: Likewise.
17211 * misc/getdtsz.c: Likewise.
17212 * misc/gethostid.c: Likewise.
17213 * misc/gethostname.c: Likewise.
17214 * misc/getloadavg.c: Likewise.
17215 * misc/getpagesize.c: Likewise.
17216 * misc/getsysstats.c: Likewise.
17217 * misc/getxattr.c: Likewise.
17218 * misc/gtty.c: Likewise.
17219 * misc/ioctl.c: Likewise.
17220 * misc/lgetxattr.c: Likewise.
17221 * misc/listxattr.c: Likewise.
17222 * misc/llistxattr.c: Likewise.
17223 * misc/lremovexattr.c: Likewise.
17224 * misc/lsetxattr.c: Likewise.
17225 * misc/lutimes.c: Likewise.
17226 * misc/madvise.c: Likewise.
17227 * misc/mincore.c: Likewise.
17228 * misc/mlock.c: Likewise.
17229 * misc/mlockall.c: Likewise.
17230 * misc/mmap.c: Likewise.
17231 * misc/mprotect.c: Likewise.
17232 * misc/msync.c: Likewise.
17233 * misc/munlock.c: Likewise.
17234 * misc/munlockall.c: Likewise.
17235 * misc/munmap.c: Likewise.
17236 * misc/preadv.c: Likewise.
17237 * misc/preadv64.c: Likewise.
17238 * misc/ptrace.c: Likewise.
17239 * misc/pwritev.c: Likewise.
17240 * misc/pwritev64.c: Likewise.
17241 * misc/readv.c: Likewise.
17242 * misc/reboot.c: Likewise.
17243 * misc/remap_file_pages.c: Likewise.
17244 * misc/removexattr.c: Likewise.
17245 * misc/revoke.c: Likewise.
17246 * misc/select.c: Likewise.
17247 * misc/setdomain.c: Likewise.
17248 * misc/setegid.c: Likewise.
17249 * misc/seteuid.c: Likewise.
17250 * misc/sethostid.c: Likewise.
17251 * misc/sethostname.c: Likewise.
17252 * misc/setregid.c: Likewise.
17253 * misc/setreuid.c: Likewise.
17254 * misc/setxattr.c: Likewise.
17255 * misc/sstk.c: Likewise.
17256 * misc/stty.c: Likewise.
17257 * misc/swapoff.c: Likewise.
17258 * misc/swapon.c: Likewise.
17259 * misc/sync.c: Likewise.
17260 * misc/syncfs.c: Likewise.
17261 * misc/syscall.c: Likewise.
17262 * misc/truncate.c: Likewise.
17263 * misc/ualarm.c: Likewise.
17264 * misc/usleep.c: Likewise.
17265 * misc/ustat.c: Likewise.
17266 * misc/utimes.c: Likewise.
17267 * misc/vhangup.c: Likewise.
17268 * misc/writev.c: Likewise.
17269 * posix/_exit.c: Likewise.
17270 * posix/alarm.c: Likewise.
17271 * posix/execve.c: Likewise.
17272 * posix/fexecve.c: Likewise.
17273 * posix/fork.c: Likewise.
17274 * posix/fpathconf.c: Likewise.
17275 * posix/getaddrinfo.c: Likewise.
17276 * posix/getegid.c: Likewise.
17277 * posix/geteuid.c: Likewise.
17278 * posix/getgid.c: Likewise.
17279 * posix/getgroups.c: Likewise.
17280 * posix/getlogin.c: Likewise.
17281 * posix/getlogin_r.c: Likewise.
17282 * posix/getpgid.c: Likewise.
17283 * posix/getpid.c: Likewise.
17284 * posix/getppid.c: Likewise.
17285 * posix/getresgid.c: Likewise.
17286 * posix/getresuid.c: Likewise.
17287 * posix/getsid.c: Likewise.
17288 * posix/getuid.c: Likewise.
17289 * posix/glob64.c: Likewise.
17290 * posix/nanosleep.c: Likewise.
17291 * posix/pathconf.c: Likewise.
17292 * posix/pause.c: Likewise.
17293 * posix/posix_madvise.c: Likewise.
17294 * posix/pread.c: Likewise.
17295 * posix/pread64.c: Likewise.
17296 * posix/pwrite.c: Likewise.
17297 * posix/pwrite64.c: Likewise.
17298 * posix/sched_getaffinity.c: Likewise.
17299 * posix/sched_getp.c: Likewise.
17300 * posix/sched_gets.c: Likewise.
17301 * posix/sched_primax.c: Likewise.
17302 * posix/sched_primin.c: Likewise.
17303 * posix/sched_rr_gi.c: Likewise.
17304 * posix/sched_setaffinity.c: Likewise.
17305 * posix/sched_setp.c: Likewise.
17306 * posix/sched_sets.c: Likewise.
17307 * posix/sched_yield.c: Likewise.
17308 * posix/setgid.c: Likewise.
17309 * posix/setlogin.c: Likewise.
17310 * posix/setpgid.c: Likewise.
17311 * posix/setresgid.c: Likewise.
17312 * posix/setresuid.c: Likewise.
17313 * posix/setsid.c: Likewise.
17314 * posix/setuid.c: Likewise.
17315 * posix/sleep.c: Likewise.
17316 * posix/spawni.c: Likewise.
17317 * posix/sysconf.c: Likewise.
17318 * posix/times.c: Likewise.
17319 * posix/wait.c: Likewise.
17320 * posix/wait3.c: Likewise.
17321 * posix/wait4.c: Likewise.
17322 * posix/waitpid.c: Likewise.
17323 * resolv/gai_sigqueue.c: Likewise.
17324 * resource/getpriority.c: Likewise.
17325 * resource/getrlimit.c: Likewise.
17326 * resource/getrusage.c: Likewise.
17327 * resource/nice.c: Likewise.
17328 * resource/setpriority.c: Likewise.
17329 * resource/setrlimit.c: Likewise.
17330 * resource/ulimit.c: Likewise.
17331 * rt/aio_cancel.c: Likewise.
17332 * rt/aio_fsync.c: Likewise.
17333 * rt/aio_read.c: Likewise.
17334 * rt/aio_sigqueue.c: Likewise.
17335 * rt/aio_suspend.c: Likewise.
17336 * rt/aio_write.c: Likewise.
17337 * rt/clock_getres.c: Likewise.
17338 * rt/clock_gettime.c: Likewise.
17339 * rt/clock_nanosleep.c: Likewise.
17340 * rt/clock_settime.c: Likewise.
17341 * rt/lio_listio.c: Likewise.
17342 * rt/mq_close.c: Likewise.
17343 * rt/mq_getattr.c: Likewise.
17344 * rt/mq_notify.c: Likewise.
17345 * rt/mq_open.c: Likewise.
17346 * rt/mq_receive.c: Likewise.
17347 * rt/mq_send.c: Likewise.
17348 * rt/mq_setattr.c: Likewise.
17349 * rt/mq_timedreceive.c: Likewise.
17350 * rt/mq_timedsend.c: Likewise.
17351 * rt/mq_unlink.c: Likewise.
17352 * rt/shm_open.c: Likewise.
17353 * rt/shm_unlink.c: Likewise.
17354 * rt/timer_create.c: Likewise.
17355 * rt/timer_delete.c: Likewise.
17356 * rt/timer_getoverr.c: Likewise.
17357 * rt/timer_gettime.c: Likewise.
17358 * rt/timer_settime.c: Likewise.
17359 * setjmp/__longjmp.c: Likewise.
17360 * setjmp/setjmp.c: Likewise.
17361 * signal/kill.c: Likewise.
17362 * signal/killpg.c: Likewise.
17363 * signal/raise.c: Likewise.
17364 * signal/sigaction.c: Likewise.
17365 * signal/sigaltstack.c: Likewise.
17366 * signal/sigblock.c: Likewise.
17367 * signal/sigignore.c: Likewise.
17368 * signal/sigintr.c: Likewise.
17369 * signal/signal.c: Likewise.
17370 * signal/sigpause.c: Likewise.
17371 * signal/sigpending.c: Likewise.
17372 * signal/sigqueue.c: Likewise.
17373 * signal/sigreturn.c: Likewise.
17374 * signal/sigset.c: Likewise.
17375 * signal/sigsetmask.c: Likewise.
17376 * signal/sigstack.c: Likewise.
17377 * signal/sigsuspend.c: Likewise.
17378 * signal/sigtimedwait.c: Likewise.
17379 * signal/sigvec.c: Likewise.
17380 * signal/sigwait.c: Likewise.
17381 * signal/sigwaitinfo.c: Likewise.
17382 * signal/sysv_signal.c: Likewise.
17383 * socket/accept.c: Likewise.
17384 * socket/accept4.c: Likewise.
17385 * socket/bind.c: Likewise.
17386 * socket/connect.c: Likewise.
17387 * socket/getpeername.c: Likewise.
17388 * socket/getsockname.c: Likewise.
17389 * socket/getsockopt.c: Likewise.
17390 * socket/isfdtype.c: Likewise.
17391 * socket/listen.c: Likewise.
17392 * socket/recv.c: Likewise.
17393 * socket/recvfrom.c: Likewise.
17394 * socket/recvmsg.c: Likewise.
17395 * socket/send.c: Likewise.
17396 * socket/sendmsg.c: Likewise.
17397 * socket/sendto.c: Likewise.
17398 * socket/setsockopt.c: Likewise.
17399 * socket/shutdown.c: Likewise.
17400 * socket/sockatmark.c: Likewise.
17401 * socket/socket.c: Likewise.
17402 * socket/socketpair.c: Likewise.
17403 * stdio-common/ctermid.c: Likewise.
17404 * stdio-common/cuserid.c: Likewise.
17405 * stdio-common/remove.c: Likewise.
17406 * stdio-common/rename.c: Likewise.
17407 * stdio-common/renameat.c: Likewise.
17408 * stdio-common/tempname.c: Likewise.
17409 * stdlib/getcontext.c: Likewise.
17410 * stdlib/makecontext.c: Likewise.
17411 * stdlib/setcontext.c: Likewise.
17412 * stdlib/swapcontext.c: Likewise.
17413 * stdlib/system.c: Likewise.
17414 * streams/fattach.c: Likewise.
17415 * streams/fdetach.c: Likewise.
17416 * streams/getmsg.c: Likewise.
17417 * streams/getpmsg.c: Likewise.
17418 * streams/putmsg.c: Likewise.
17419 * streams/putpmsg.c: Likewise.
17420 * sysdeps/unix/bsd/getpt.c: Likewise.
17421 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17422 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17423 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17425 Likewise.
17426 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17427 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17428 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17429 * sysvipc/msgctl.c: Likewise.
17430 * sysvipc/msgget.c: Likewise.
17431 * sysvipc/msgrcv.c: Likewise.
17432 * sysvipc/msgsnd.c: Likewise.
17433 * sysvipc/semctl.c: Likewise.
17434 * sysvipc/semget.c: Likewise.
17435 * sysvipc/semop.c: Likewise.
17436 * sysvipc/semtimedop.c: Likewise.
17437 * sysvipc/shmat.c: Likewise.
17438 * sysvipc/shmctl.c: Likewise.
17439 * sysvipc/shmdt.c: Likewise.
17440 * sysvipc/shmget.c: Likewise.
17441 * termios/tcdrain.c: Likewise.
17442 * termios/tcflow.c: Likewise.
17443 * termios/tcflush.c: Likewise.
17444 * termios/tcgetattr.c: Likewise.
17445 * termios/tcgetpgrp.c: Likewise.
17446 * termios/tcsendbrk.c: Likewise.
17447 * termios/tcsetattr.c: Likewise.
17448 * termios/tcsetpgrp.c: Likewise.
17449 * time/adjtime.c: Likewise.
17450 * time/clock.c: Likewise.
17451 * time/getitimer.c: Likewise.
17452 * time/gettimeofday.c: Likewise.
17453 * time/setitimer.c: Likewise.
17454 * time/settimeofday.c: Likewise.
17455 * time/stime.c: Likewise.
17456 * time/time.c: Likewise.
17457
17458 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
17459
17460 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17461 /usr/old/bin.
17462
17463 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17464 instead of spaces.
17465 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17466
17467 2012-11-03 Joseph Myers <joseph@codesourcery.com>
17468
17469 [BZ #14796]
17470 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17471 FE_TONEAREST before applying Dekker multiplication and Knuth
17472 addition. Clear inexact exceptions and check for exact zero
17473 results afterwards.
17474 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17475 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17476 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17477 * math/libm-test.inc (fma_test): Add more tests.
17478 (fma_test_towardzero): Likewise.
17479 (fma_test_downward): Likewise.
17480 (fma_test_upward): Likewise.
17481 * sysdeps/generic/math_private.h (default_libc_fesetround): New
17482 function.
17483 (libc_fesetround): New macro.
17484 (libc_fesetroundf): Likewise.
17485 (libc_fesetroundl): Likewise.
17486 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17487 function.
17488 (libc_fesetround_387): Likewise.
17489 (libc_fesetroundf): New macro.
17490 (libc_fesetround): Likewise.
17491 (libc_fesetroundl): Likewise.
17492 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17493 function.
17494 (libc_fesetroundf): New macro.
17495 (libc_fesetround): Likewise.
17496 (libc_fesetroundl): Likewise.
17497 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17498 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17499 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17500 libm_hidden_ver.
17501 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17502 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17503 libm_hidden_def.
17504 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17505 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17506 libm_hidden_ver.
17507 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17508 libm_hidden_def.
17509
17510 [BZ #3439]
17511 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17512 integer constant usable in #if and use that to give value to enum
17513 constant.
17514 (FE_DIVBYZERO): Likewise.
17515 (FE_UNDERFLOW): Likewise.
17516 (FE_OVERFLOW): Likewise.
17517 (FE_INVALID): Likewise.
17518 (FE_INVALID_SNAN): Likewise.
17519 (FE_INVALID_ISI): Likewise.
17520 (FE_INVALID_IDI): Likewise.
17521 (FE_INVALID_ZDZ): Likewise.
17522 (FE_INVALID_IMZ): Likewise.
17523 (FE_INVALID_COMPARE): Likewise.
17524 (FE_INVALID_SOFTWARE): Likewise.
17525 (FE_INVALID_SQRT): Likewise.
17526 (FE_INVALID_INTEGER_CONVERSION): Likewise.
17527 (FE_TONEAREST): Likewise.
17528 (FE_TOWARDZERO): Likewise.
17529 (FE_UPWARD): Likewise.
17530 (FE_DOWNWARD): Likewise.
17531 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17532 (FE_DIVBYZERO): Likewise.
17533 (FE_OVERFLOW): Likewise.
17534 (FE_UNDERFLOW): Likewise.
17535 (FE_INEXACT): Likewise.
17536 (FE_TONEAREST): Likewise.
17537 (FE_DOWNWARD): Likewise.
17538 (FE_UPWARD): Likewise.
17539 (FE_TOWARDZERO): Likewise.
17540 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17541 (FE_UNDERFLOW): Likewise.
17542 (FE_OVERFLOW): Likewise.
17543 (FE_DIVBYZERO): Likewise.
17544 (FE_INVALID): Likewise.
17545 (FE_TONEAREST): Likewise.
17546 (FE_TOWARDZERO): Likewise.
17547 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17548 (FE_OVERFLOW): Likewise.
17549 (FE_UNDERFLOW): Likewise.
17550 (FE_DIVBYZERO): Likewise.
17551 (FE_INEXACT): Likewise.
17552 (FE_TONEAREST): Likewise.
17553 (FE_TOWARDZERO): Likewise.
17554 (FE_UPWARD): Likewise.
17555 (FE_DOWNWARD): Likewise.
17556 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17557 (FE_DIVBYZERO): Likewise.
17558 (FE_OVERFLOW): Likewise.
17559 (FE_UNDERFLOW): Likewise.
17560 (FE_INEXACT): Likewise.
17561 (FE_TONEAREST): Likewise.
17562 (FE_DOWNWARD): Likewise.
17563 (FE_UPWARD): Likewise.
17564 (FE_TOWARDZERO): Likewise.
17565
17566 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
17567
17568 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17569
17570 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
17571
17572 * scripts/cross-test-ssh.sh (command): Use newlines to separate
17573 commands. Quote $PWD.
17574 (blacklist_exports): Don't use remove_newlines. Replace "declare
17575 -x" by "export".
17576 (remove_newlines): Remove.
17577
17578 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
17579
17580 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17581 * stdlib/stdlib.h (atof): Moved to ...
17582 * include/bits/stdlib-float.h: Here. New file.
17583 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17584 * stdlib/bits/stdlib-float.h: New file.
17585 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17586 -mno-sse -mno-mmx.
17587 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17588 <xmmintrin.h>.
17589
17590 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17591
17592 * conform/conformtest.pl (@headers): Add fenv.h.
17593 * conform/data/fenv.h-data: New file.
17594 * include/fenv.h [_ISOMAC]: Disable all contents of file except
17595 include of <math/fenv.h>.
17596
17597 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17598 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17599 && !UNIX98]. Enables tests for XOPEN2K8.
17600 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17601 POSIX2008]: Likewise.
17602
17603 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17604 (struct rusage): Do not expect type or its members.
17605
17606 [BZ #3439]
17607 * math/math.h (FP_NAN): Define macro to integer constant usable in
17608 #if and use that to give value to enum constant.
17609 (FP_INFINITE): Likewise.
17610 (FP_ZERO): Likewise.
17611 (FP_SUBNORMAL): Likewise.
17612 (FP_NORMAL): Likewise.
17613
17614 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
17615
17616 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17617 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17618 arguments.
17619
17620 2012-11-02 Roland McGrath <roland@hack.frob.com>
17621
17622 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17623 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17624 autoconf-time if not.
17625 * configure.in: Remove AC_PREREQ.
17626
17627 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17628
17629 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17630 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17631 of the internal implementation.
17632
17633 2012-11-02 Joseph Myers <joseph@codesourcery.com>
17634
17635 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17636 except include of <misc/sys/syslog.h>.
17637
17638 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17639
17640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17641 function returns with a NULL context exit with zero.
17642
17643 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17644
17645 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17646
17647 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
17648
17649 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17650 (run_program_cmd): This.
17651 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17652 (tst_langinfo): New variable. Use it.
17653
17654 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
17655
17656 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17657 floating point opcodes.
17658
17659 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17660
17661 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17662 variable.
17663
17664 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17665
17666 * sysdeps/mach/hurd/powerpc: Remove directory.
17667 * sysdeps/mach/powerpc: Likewise.
17668
17669 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
17670
17671 * scripts/check-local-headers.sh: Ignore c++ headers.
17672
17673 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17674
17675 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17676 __libc_cleanup_region_start argument.
17677
17678 2012-11-01 Joseph Myers <joseph@codesourcery.com>
17679
17680 [BZ #14784]
17681 [BZ #14785]
17682 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17683 x * y using scaling, not as x * y + z.
17684 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17685 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17686 * math/libm-test.inc (fma_test): Add more tests.
17687 (fma_test_towardzero): Likewise.
17688 (fma_test_downward): Likewise.
17689 (fma_test_upward): Likewise.
17690
17691 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
17692
17693 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17694
17695 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17696
17697 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17698 New variable.
17699
17700 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
17701
17702 * rt/tst-shm.c (worker): Correct checking for mmap failure.
17703
17704 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17705
17706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17707 Fix sort order.
17708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17709 Likewise.
17710
17711 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17712
17713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17714 Fix the order of the list for glibc 2.17.
17715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17716 Likewise.
17717
17718 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
17719
17720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17721
17722 2012-10-31 Joseph Myers <joseph@codesourcery.com>
17723
17724 [BZ #14610]
17725 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17726 for low part of x being zero before using __atanl (y).
17727 * math/libm-test.inc (atan2_test): Add another test.
17728
17729 * manual/install.texi (Configuring and compiling): Document
17730 general use of test-wrapper and test-wrapper-env.
17731 * INSTALL: Regenerated.
17732
17733 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17734 (__fma): Do not extract and scale down low bits on after-rounding
17735 systems when result rounded to normal precision would have normal
17736 exponent.
17737 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17738 (__fmal): Do not extract and scale down low bits on after-rounding
17739 systems when result rounded to normal precision would have normal
17740 exponent.
17741 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17742 (__fmal): Do not extract and scale down low bits on after-rounding
17743 systems when result rounded to normal precision would have normal
17744 exponent.
17745 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17746 macro.
17747 (fma_test): Add more tests.
17748 (fma_test_towardzero): Likewise.
17749 (fma_test_downward): Likewise.
17750 (fma_test_upward): Likewise.
17751
17752 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
17753
17754 * sysdeps/i386/tininess.h: Renamed to ...
17755 * sysdeps/x86/tininess.h: This.
17756 * sysdeps/x86_64/tininess.h: Removed.
17757
17758 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17759
17760 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17761 input. Use $(build-program-cmd).
17762 ($(objpfx)tst-array1-static.out): Likewise.
17763 ($(objpfx)tst-array2.out): Likewise.
17764 ($(objpfx)tst-array3.out): Likewise.
17765 ($(objpfx)tst-array4.out): Likewise.
17766 ($(objpfx)tst-array5.out): Likewise.
17767 ($(objpfx)tst-array5-static.out): Likewise.
17768
17769 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
17770
17771 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17772 if defined.
17773
17774 * nss/nsswitch.h (nss_interface_function): Provide new
17775 macro for use with NSS functions.
17776 * grp/initgroups.c: Use new macro.
17777 * nss/getXXbyYY.c: Likewise.
17778 * nss/getXXbyYY_r.c: Likewise.
17779 * nss/getXXent.c: Likewise.
17780 * nss/getXXent_r.c: Likewise.
17781 * sysdeps/posix/getaddrinfo.c: Likewise.
17782
17783 2012-10-30 Andreas Jaeger <aj@suse.de>
17784
17785 * po/ru.po: Update Russion translation from translation project.
17786
17787 2012-10-30 Joseph Myers <joseph@codesourcery.com>
17788
17789 [BZ #14152]
17790 [BZ #14783]
17791 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17792 result and shift together with sticky bit instead of replicating
17793 round-to-nearest rounding.
17794 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17795 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17796 * math/libm-test.inc (fma_test): Add more tests. Do not permit
17797 missing underflow exceptions.
17798 (fma_test_towardzero): Add more tests.
17799 (fma_test_downward): Likewise.
17800 (fma_test_upward): Likewise.
17801
17802 [BZ #14047]
17803 * sysdeps/generic/tininess.h: New file.
17804 * sysdeps/i386/tininess.h: Likewise.
17805 * sysdeps/sh/tininess.h: Likewise.
17806 * sysdeps/x86_64/tininess.h: Likewise.
17807 * stdlib/tst-strtod-underflow.c: Likewise.
17808 * stdlib/tst-tininess.c: Likewise.
17809 * stdlib/strtod_l.c: Include <tininess.h>.
17810 (round_and_return): Do not set errno for exact underflow cases.
17811 Force an underflow exception when setting errno for underflow.
17812 Determine underflow based on rounding to normal precision if
17813 TININESS_AFTER_ROUNDING.
17814 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17815 ERANGE for exact underflow cases.
17816 * stdlib/Makefile (tests): Add tst-tininess and
17817 tst-strtod-underflow.
17818 ($(objpfx)tst-tininess): Use $(link-libm).
17819 ($(objpfx)tst-strtod-underflow): Likewise.
17820
17821 2012-10-30 Andreas Jaeger <aj@suse.de>
17822
17823 [BZ#14767]
17824 * elf/Makefile (tests): Remove conditional for have-initfini-array
17825 since this is now always required and the variable does not exist
17826 anymore.
17827 (tests-static): Likewise.
17828 (modules-names): Likewise.
17829
17830 * po/eo.po: Add Esperanto translation from translation project.
17831
17832 * elf/tst-array1.c (fini_array): Make writeable so that it can be
17833 merged with constructor/destructor.
17834 (init_array): Likewise.
17835 * elf/tst-array2dep.c (fini_array): Likewise.
17836 (init_array): Likewise.
17837
17838 2012-10-29 Mike Frysinger <vapier@gentoo.org>
17839
17840 * manual/message.texi: Delete @cartouche tags.
17841
17842 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
17843
17844 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17845 EOPNOTSUPP.
17846 * sysdeps/mach/hurd/fsync.c: Likewise.
17847
17848 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17849 [_POSIX_REALTIME_SIGNALS]: Change condition to
17850 [_POSIX_REALTIME_SIGNALS > 0].
17851
17852 2012-10-27 Andreas Jaeger <aj@suse.de>
17853
17854 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17855 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17856 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17857 [__WORDSIZE != 64]: Likewise.
17858
17859 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
17860
17861 * iconvdata/tst-table.sh: Remove ${SHELL}.
17862 * iconvdata/tst-tables.sh: Likewise.
17863
17864 2012-10-25 David S. Miller <davem@davemloft.net>
17865
17866 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17867 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17868 of strtoull.
17869
17870 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17871 ifunc-impl-list.c
17872 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17873 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17874 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17875 file.
17876
17877 2012-10-25 Roland McGrath <roland@hack.frob.com>
17878
17879 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17880 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17881 __getdirentries.
17882
17883 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17884 Jim Blandy <jimb@codesourcery.com>
17885
17886 * scripts/cross-test-ssh.sh: New file.
17887 * manual/install.texi (Configuring and compiling): Document use of
17888 cross-test-ssh.sh.
17889 * INSTALL: Regenerated.
17890
17891 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
17892
17893 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17894 EOPNOTSUPP.
17895
17896 2012-10-25 Joseph Myers <joseph@codesourcery.com>
17897
17898 * Makeconfig (run-program-prefix): Fix comment.
17899
17900 2012-10-24 Joseph Myers <joseph@codesourcery.com>
17901 Jim Blandy <jimb@codesourcery.com>
17902
17903 * Makeconfig (test-wrapper): New variable,
17904 (test-wrapper-env): Likewise.
17905 [$(cross-compiling) = yes && $(test-wrapper) != ""]
17906 (run-built-tests): Define to yes.
17907 (run-program-prefix): Use $(test-wrapper).
17908 (built-program-cmd): Likewise.
17909 * Rules (make-test-out): Use $(test-wrapper-env) and
17910 $(host-built-program-cmd).
17911 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17912 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17913 tst-pathopt.sh.
17914 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17915 $(test-wrapper-env) to tst-rtld-load-self.sh.
17916 ($(objpfx)order2.out): Use $(test-wrapper).
17917 ($(objpfx)tst-initorder.out): Likewise.
17918 ($(objpfx)tst-initorder2.out): Likewise.
17919 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17920 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17921 (test_wrapper_env): New variable. Use it to run ld.so.
17922 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17923 Use it to run ld.so.
17924 (test_wrapper_env): Likewise.
17925 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17926 $(test-wrapper) to run-iconv-test.sh.
17927 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17928 (ICONV): Use $test_wrapper.
17929 * posix/Makefile ($(objpfx)globtest.out): Pass
17930 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17931 globtest.sh, not $(run-program-prefix).
17932 * posix/globtest.sh (run_via_rtld_prefix): New variable.
17933 (test_wrapper): Likewise.
17934 (test_wrapper_env): Likewise. Use it to run globtest with HOME
17935 set together with run_via_rtld_prefix.
17936 (run_program_prefix): Define in terms of test_wrapper and
17937 run_via_rtld_prefix.
17938
17939 2012-10-24 Roland McGrath <roland@hack.frob.com>
17940
17941 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
17942 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
17943 Targets removed.
17944
17945 [BZ #14743]
17946 * include/time.h: Remove librt_hidden_proto (clock_gettime).
17947 Declare __clock_getres, __clock_gettime, __clock_settime,
17948 __clock_nanosleep, and __clock_getcpuclockid.
17949 * rt/clock_gettime.c: Define __clock_gettime as an alias.
17950 Remove librt_hidden_def (clock_gettime).
17951 * sysdeps/unix/clock_gettime.c: Likewise.
17952 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
17953 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17954 * rt/clock_getres.c: Define __clock_getres as an alias.
17955 * sysdeps/posix/clock_getres.c: Likewise.
17956 * rt/clock_settime.c: Define __clock_settime as an alias.
17957 * sysdeps/unix/clock_settime.c: Likewise.
17958 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
17959 * sysdeps/unix/clock_nanosleep.c: Likewise.
17960 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17961 * rt/clock-compat.c: New file.
17962 * rt/Makefile (librt-routines): Add clock-compat and move
17963 $(clock-routines) to ...
17964 (routines): ... here, new variable.
17965 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
17966 Don't add get_clockfreq here.
17967 * rt/Versions (libc: GLIBC_2.17): New version set.
17968 Add clock_* symbols here.
17969 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
17970 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
17971 (GLIBC_2.17): Add clock_* symbols.
17972 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17974 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17976 Likewise.
17977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17978 Likewise.
17979 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17980 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
17981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17982 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17983 * NEWS: Mention the move.
17984
17985 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17986 Use __open, __read, __close rather than their public counterparts.
17987 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17988 (__get_clockfreq_via_cpuinfo): Likewise.
17989 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
17990 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
17991
17992 * config.h.in (HAVE_IFUNC): New #undef.
17993 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
17994 was successful.
17995 * configure: Regenerated.
17996
17997 2012-10-24 Mike Frysinger <vapier@gentoo.org>
17998
17999 * configure.in: Move READELF check to start of file.
18000 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18001 libc_cv_asm_gnu_indirect_function in the process.
18002 * configure: Regenerated.
18003
18004 2012-10-24 Mike Frysinger <vapier@gentoo.org>
18005
18006 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18007 send the output to /dev/null.
18008 (libc_cv_cc_with_libunwind): Likewise.
18009 (libc_cv_as_noexecstack): Likewise.
18010 * configure: Regenerate.
18011
18012 2012-10-24 Joseph Myers <joseph@codesourcery.com>
18013
18014 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18015
18016 * posix/globtest.sh (TMPDIR): Do not set.
18017 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18018 (testout): Likewise.
18019
18020 2012-10-24 Andreas Jaeger <aj@suse.de>
18021
18022 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18023 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18024 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18025 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18026 posix_fadvise64, posix_fallocate64.
18027
18028 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18029 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18030 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18031 Likewise.
18032 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18033 Likewise.
18034 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18035
18036 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18037 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18038 <bits/fcntl-linux.h>.
18039 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18040
18041 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18042 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18043 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18044 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18045 [__WORDSIZE != 64]: Likewise.
18046
18047 2012-10-23 Joseph Myers <joseph@codesourcery.com>
18048
18049 * Makeconfig (run-built-tests): New variable.
18050 * Rules [$(cross-compiling) = yes]: Change condition to
18051 [$(run-built-tests) = no].
18052 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18053 to [$(run-built-tests) = yes].
18054 * elf/Makefile [$(cross-compiling) = no]: Likewise
18055 * grp/Makefile [$(cross-compiling) = no]: Likewise.
18056 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18057 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18058 * intl/Makefile [$(cross-compiling) = no]: Likewise.
18059 * io/Makefile [$(cross-compiling) = no]: Likewise.
18060 * libio/Makefile [$(cross-compiling) = no]: Likewise.
18061 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18062 * misc/Makefile [$(cross-compiling) = no]: Likewise.
18063 * posix/Makefile [$(cross-compiling) = no]: Likewise.
18064 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18065 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18066 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18067 * string/Makefile [$(cross-compiling) = no]: Likewise.
18068
18069 * posix/Makefile ($(objpfx)globtest.out): Pass
18070 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18071 $(rtld-installed-name).
18072 * posix/globtest.sh (elf_objpfx): Remove variable.
18073 (rtld_installed_name): Likewise.
18074 (library_path): Likewise.
18075 (run_program_prefix): New variable. Use for running globtest
18076 binary.
18077
18078 2012-10-23 Jim Blandy <jimb@codesourcery.com>
18079 Joseph Myers <joseph@codesourcery.com>
18080
18081 * Makeconfig (host-built-program-cmd): New variable.
18082 * elf/Makefile (tst-stackguard1-ARGS): Use
18083 $(host-built-program-cmd).
18084 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18085 (tst-spawn-ARGS): Likewise.
18086 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18087
18088 2012-10-23 Joseph Myers <joseph@codesourcery.com>
18089 Jim Blandy <jimb@codesourcery.com>
18090
18091 * Makeconfig (run-via-rtld-prefix): New variable.
18092 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18093 (built-program-cmd): Likewise.
18094
18095 2012-10-22 Andreas Jaeger <aj@suse.de>
18096
18097 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18098 __O_RSYNC if it exists, otherwise to O_SYNC.
18099
18100 2012-10-22 Jim Blandy <jimb@codesourcery.com>
18101 Joseph Myers <joseph@codesourcery.com>
18102
18103 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18104 /dev/null.
18105 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18106 from /dev/null
18107 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18108 /dev/null.
18109
18110 2012-10-22 Andreas Jaeger <aj@suse.de>
18111
18112 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18113 Define always.
18114 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18115
18116 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18117 bits/fcntl-linux.h.
18118
18119 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18120 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18121
18122 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18123 to __O_LARGEFILE.
18124 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18125 to __O_LARGEFILE.
18126
18127 2012-10-21 Jim Blandy <jimb@codesourcery.com>
18128 Joseph Myers <joseph@codesourcery.com>
18129
18130 * config.make.in (NM): New variable.
18131
18132 2012-10-21 Andreas Jaeger <aj@suse.de>
18133
18134 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18135 definitions and declarations that are provided by
18136 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18137
18138 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18139
18140 [BZ #14683]
18141 * elf/Makefile (tests-static): Add tst-leaks1-static.
18142 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18143 ($(objpfx)tst-leaks1-static): New rule.
18144 ($(objpfx)tst-leaks1-static-mem): Likewise.
18145 (tst-leaks1-static-ENV): New macro.
18146 * elf/dl-open.c (dl_open_worker): Check the main application
18147 only if SHARED is defined.
18148 * elf/tst-leaks1-static.c: New file.
18149
18150 2012-10-20 Andreas Jaeger <aj@suse.de>
18151
18152 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18153 generic values for Linux.
18154 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18155 and declarations that are provided by <bits/fcntl-linux.h> and
18156 include <bits/fcntl-linux.h>.
18157 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18158 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18159
18160 2012-10-20 Roland McGrath <roland@hack.frob.com>
18161
18162 * io/fcntl.h: Move include of <bits/types.h> to the top and
18163 include it unconditionally.
18164
18165 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
18166
18167 * wcsmbs/Makefile (tests-ifunc): New variable.
18168 (tests): Add $(tests-ifunc).
18169 * wcsmbs/test-wcschr-ifunc.c: New file.
18170 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18171 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18172 * wcsmbs/test-wcslen-ifunc.c: Likewise.
18173 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18174 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18175
18176 * string/Makefile (tests-ifunc): New variable.
18177 (tests): Add $(tests-ifunc).
18178 * string/test-memccpy.c (TEST_NAME): New macro.
18179 * string/test-memchr.c (TEST_NAME): Likewise.
18180 * string/test-memcmp.c (TEST_NAME): Likewise.
18181 * string/test-memcpy.c (TEST_NAME): Likewise.
18182 * string/test-memmem.c (TEST_NAME): Likewise.
18183 * string/test-memmove.c (TEST_NAME): Likewise.
18184 * string/test-memset.c (TEST_NAME): Likewise.
18185 * string/test-rawmemchr.c (TEST_NAME): Likewise.
18186 * string/test-stpcpy.c (TEST_NAME): Likewise.
18187 * string/test-stpncpy.c (TEST_NAME): Likewise.
18188 * string/test-strcasecmp.c (TEST_NAME): Likewise.
18189 * string/test-strcasestr.c (TEST_NAME): Likewise.
18190 * string/test-strcat.c (TEST_NAME): Likewise.
18191 * string/test-strchr.c (TEST_NAME): Likewise.
18192 * string/test-strcmp.c(TEST_NAME): Likewise.
18193 * string/test-strcpy.c (TEST_NAME): Likewise.
18194 * string/test-strcspn.c (TEST_NAME): Likewise.
18195 * string/test-strlen.c (TEST_NAME): Likewise.
18196 * string/test-strncasecmp.c (TEST_NAME): Likewise.
18197 * string/test-strncmp.c (TEST_NAME): Likewise.
18198 * string/test-strncpy.c (TEST_NAME): Likewise.
18199 * string/test-strnlen.c (TEST_NAME): Likewise.
18200 * string/test-strpbrk.c (TEST_NAME): Likewise.
18201 * string/test-strrchr.c (TEST_NAME): Likewise.
18202 * string/test-strspn.c (TEST_NAME): Likewise.
18203 * string/test-strstr.c (TEST_NAME): Likewise.
18204 * string/test-bcopy-ifunc.c: New file.
18205 * string/test-bzero-ifunc.c: Likewise.
18206 * string/test-memccpy-ifunc.c: Likewise.
18207 * string/test-memchr-ifunc.c: Likewise.
18208 * string/test-memcmp-ifunc.c: Likewise.
18209 * string/test-memcpy-ifunc.c: Likewise.
18210 * string/test-memmem-ifunc.c: Likewise.
18211 * string/test-memmove-ifunc.c: Likewise.
18212 * string/test-mempcpy-ifunc.c: Likewise.
18213 * string/test-memset-ifunc.c: Likewise.
18214 * string/test-rawmemchr-ifunc.c: Likewise.
18215 * string/test-stpcpy-ifunc.c: Likewise.
18216 * string/test-stpncpy-ifunc.c: Likewise.
18217 * string/test-strcasecmp-ifunc.c: Likewise.
18218 * string/test-strcasestr-ifunc.c: Likewise.
18219 * string/test-strcat-ifunc.c: Likewise.
18220 * string/test-strchr-ifunc.c: Likewise.
18221 * string/test-strchrnul-ifunc.c: Likewise.
18222 * string/test-strcmp-ifunc.c: Likewise.
18223 * string/test-strcpy-ifunc.c: Likewise.
18224 * string/test-strcspn-ifunc.c: Likewise.
18225 * string/test-strlen-ifunc.c: Likewise.
18226 * string/test-strncasecmp-ifunc.c: Likewise.
18227 * string/test-strncat-ifunc.c: Likewise.
18228 * string/test-strncmp-ifunc.c: Likewise.
18229 * string/test-strncpy-ifunc.c: Likewise.
18230 * string/test-strnlen-ifunc.c: Likewise.
18231 * string/test-strpbrk-ifunc.c: Likewise.
18232 * string/test-strrchr-ifunc.c: Likewise.
18233 * string/test-strspn-ifunc.c: Likewise.
18234 * string/test-strstr-ifunc.c: Likewise.
18235
18236 * debug/Makefile (tests-ifunc): New variable.
18237 (tests): Add $(tests-ifunc).
18238 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18239 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18240 * debug/test-stpcpy_chk-ifunc.c: New file.
18241 * debug/test-strcpy_chk-ifunc.c: Likewise.
18242
18243 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18244
18245 [BZ #13601]
18246 * elf/dl-load.c (open_verify): Retry read if the entire ELF
18247 header is not read in.
18248
18249 2012-10-19 Joseph Myers <joseph@codesourcery.com>
18250
18251 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
18252 script to $(SHELL) as $<. Pass $(common-objpfx) to script
18253 directly. Pass built executable to script as
18254 $(built-program-cmd).
18255 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
18256 $testprogram without using LD_LIBRARY_PATH and $ldso.
18257
18258 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18259 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18260 $(rtld-installed-name).
18261 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18262 (rtld_installed_name): Likewise.
18263 (library_path): Likewise.
18264 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
18265 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18266 $(run-program-prefix) to tst-tables.sh.
18267 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
18268 it to run tst-table-from and tst-table-to.
18269 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18270 Pass it to tst-table.sh.
18271 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18272 $(run-program-prefix) to tst-gettext.sh.
18273 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18274 tst-translit.sh.
18275 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18276 tst-gettext2.sh.
18277 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
18278 to run tst-gettext.
18279 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
18280 to run tst-gettext2.
18281 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
18282 to run tst-translit.
18283 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18284 $(run-program-prefix) to tst-mtrace.sh.
18285 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
18286 to run tst-mtrace.
18287 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18288 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18289 $(rtld-installed-name).
18290 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18291 (rtld_installed_name): Likewise.
18292 (run_program_prefix): New variable. Use it to run wordexp-test.
18293
18294 * Makeconfig (ARCH): Remove all definitions.
18295 (machine): Likewise.
18296 [ARCH]: Remove conditional code.
18297 [!objdir]: Give error.
18298 [!objdir] (objpfx): Remove.
18299 [!objdir] (common-objpfx): Likewise.
18300 [!objdir] (common-objdir): Likewise.
18301 * configure.in (config_makefile): Remove. Hardcode Makefile in
18302 AC_CONFIG_FILES call.
18303 * configure: Regenerated.
18304
18305 [BZ #13888]
18306 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18307 or TMPDIR.
18308 (testout): Likewise.
18309
18310 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18311 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18312 $(rtld-installed-name).
18313 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18314 (rtld_installed_name): Likwise.
18315 (runit): Remove function.
18316 (run_getconf): New variable, Use it for running getconf binary.
18317
18318 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
18319
18320 [BZ #14716]
18321 * string/test-memmem.c (check_result): New function.
18322 (do_one_test): Use it.
18323 (check1): New function.
18324 (test_main): Use it.
18325
18326 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
18327
18328 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18329
18330 2012-10-18 Joseph Myers <joseph@codesourcery.com>
18331
18332 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18333 (_G_LSEEK64): Likewise.
18334 (_G_MMAP64): Likewise.
18335 (_G_FSTAT64): Likewise.
18336 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18337 (_G_LSEEK64): Likewise.
18338 (_G_MMAP64): Likewise.
18339 (_G_FSTAT64): Likewise.
18340 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18341 unconditional. Call __mmap64 directly.
18342 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18343 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
18344 __lseek64 directly.
18345 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18346 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
18347 __mmap64 directly.
18348 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18349 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
18350 __lseek64 directly.
18351 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18352 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
18353 __lseek64 directly.
18354 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18355 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
18356 __lseek64 directly.
18357 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18358 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
18359 __fxstat64 directly.
18360 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18361 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18362 unconditional.
18363 (freopen64) [!_G_OPEN64]: Remove conditional code.
18364 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18365 unconditional.
18366 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18367 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18368 unconditional.
18369 (ftello64) [!_G_LSEEK64]: Remove conditional code.
18370 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18371 unconditional.
18372 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18373 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18374 unconditional.
18375 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18376 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18377 unconditional.
18378 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18379 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18380 unconditional.
18381 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18382 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18383 unconditional.
18384 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18385
18386 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18387
18388 [BZ #12140]
18389 * manual/memory.texi (Malloc Tunable Parameters): Add note
18390 about free list pointers overwriting some perturb bytes.
18391 Wording suggested by Roland McGrath.
18392
18393 2012-10-17 Joseph Myers <joseph@codesourcery.com>
18394
18395 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18396 (lgamma_test): Likewise.
18397 (tgamma_test): Likewise.
18398
18399 2012-10-16 Florian Weimer <fweimer@redhat.com>
18400
18401 [BZ #14700]
18402 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18403 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18404
18405 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
18406
18407 * NEWS: Mention BZ #14716.
18408 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18409 when removing AVAILABLE1_USES_J macro.
18410
18411 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
18412
18413 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18414 (__bswap_64): __uint64_t for unsigned 64-bit int.
18415
18416 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
18417
18418 * include/string.h (memmem): Declare libc hidden alias.
18419 * string/memmem.c (memmem): Define libc hidden alias.
18420 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18421 __read, __close instead of open, read, close.
18422
18423 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
18424
18425 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18426 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18427 global and hidden.
18428 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18429 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18430 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18431 Likewise.
18432 (__rawmemchr_sse2): Likewise.
18433 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18434 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18435 (__strchr_sse2): Likewise.
18436 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18437 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18438 (__strcasecmp_sse2): Likewise.
18439 (__strncasecmp_sse2): Likewise.
18440 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18441 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18442 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18443 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18444 (__strrchr_sse2): Likewise.
18445 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18446 ifunc-impl-list.c.
18447 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18448 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18449 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18450 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18451 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18452 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18453 * sysdeps/x86_64/multiarch/memset.S: Likewise.
18454 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18455 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18456 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18457 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18458 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18459 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18460 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18461 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18462 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18463 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18464 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18465 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18466 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18467 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18468 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18469 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18470 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18471 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18472 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18473 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18474 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18475 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18476 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18477
18478 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18479 global and hidden.
18480 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18481 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18482 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18483 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18484 Likewise.
18485 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18486 Likewise.
18487 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18488 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18489 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18490 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18491 ifunc-impl-list.c.
18492 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18493 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18494 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18495 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18496 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18497 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18498 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18499 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18500 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18501 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18502 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18503 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18504 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18505 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18506 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18507 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18508 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18509 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18510 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18511 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18512 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18513 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18514 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18515 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18516 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18517 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18518 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18519 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18520 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18521 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18522 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18523 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18524 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18525 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18526 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18527 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18528 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18529 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18530 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18531 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18532 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18533
18534 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18535 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18536 * include/ifunc-impl-list.h: New file.
18537 * misc/ifunc-impl-list.c: Likewise.
18538 * misc/Makefile (routines): Add ifunc-impl-list.
18539 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18540 * string/test-string.h: Include <ifunc-impl-list.h>.
18541 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18542 impl_array): New variables.
18543 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18544 are defined.
18545 (test_init): Call __libc_ifunc_impl_list to initialize
18546 func_list if TEST_IFUNC and TEST_NAME are defined.
18547
18548 * string/Makefile (strop-tests): Add bcopy and bzero.
18549 * string/test-bcopy.c: New file.
18550 * string/test-bzero.c: Likewise.
18551 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18552 defined.
18553 * string/test-memset.c: Support bzero test if TEST_BZERO is
18554 defined.
18555 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18556 __libc_memmove.
18557 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18558 __libc_memset.
18559 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18560 of memset.
18561
18562 2012-10-10 Joseph Myers <joseph@codesourcery.com>
18563
18564 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18565 * configure: Regenerated.
18566
18567 * Makeconfig (+link-static-before-libc): Don't include
18568 $(link-static-libc).
18569
18570 * libio/libio.h (_IO_pos_t): Remove.
18571
18572 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18573
18574 * NEWS: Add note about FIPS mode. Wording suggested by Roland
18575 McGrath.
18576
18577 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18578
18579 * crypt/crypt-entry.c: Include fips-private.h.
18580 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18581 * crypt/md5c-test.c (main): Tolerate disabled MD5.
18582 * sysdeps/unix/sysv/linux/fips-private.h: New file.
18583 * sysdeps/generic/fips-private.h: New file, dummy fallback.
18584
18585 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
18586
18587 * crypt/crypt-private.h: Include stdbool.h.
18588 (_ufc_setup_salt_r): Return bool.
18589 * crypt/crypt-entry.c: Include errno.h.
18590 (__crypt_r): Return NULL with EINVAL for bad salt.
18591 * crypt/crypt_util.c (bad_for_salt): New.
18592 (_ufc_setup_salt_r): Check that salt is long enough and within
18593 the specified alphabet.
18594 * crypt/badsalttest.c: New file.
18595 * crypt/Makefile (tests): Add it.
18596 ($(objpfx)badsalttest): New.
18597
18598 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
18599
18600 * NEWS: Add entry for BZ #14602.
18601
18602 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18603
18604 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18605 type-generic.
18606 * math/libm-test.inc: Update comment listing what functions and
18607 macros are tested.
18608 (isgreater_test): New function.
18609 (isgreaterequal_test): Likewise.
18610 (isless_test): Likewise.
18611 (islessequal_test): Likewise.
18612 (islessgreater_test): Likewise.
18613 (isunordered_test): Likewise.
18614 (main): Call the new functions.
18615
18616 2012-10-09 Roland McGrath <roland@hack.frob.com>
18617
18618 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18619 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18620 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18621 * sysdeps/i386/configure: Regenerated.
18622 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18623 * sysdeps/mach/configure: Regenerated.
18624 * sysdeps/mach/hurd/configure: Regenerated.
18625 * sysdeps/powerpc/configure: Regenerated.
18626 * sysdeps/powerpc/powerpc32/configure: Regenerated.
18627 * sysdeps/powerpc/powerpc64/configure: Regenerated.
18628 * sysdeps/s390/s390-32/configure: Regenerated.
18629 * sysdeps/s390/s390-64/configure: Regenerated.
18630 * sysdeps/sh/configure: Regenerated.
18631 * sysdeps/sparc/configure: Regenerated.
18632 * sysdeps/unix/sysv/linux/configure: Regenerated.
18633 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18634 * sysdeps/x86_64/configure: Regenerated.
18635
18636 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18637 defined. Don't check if MAP is NULL.
18638
18639 2012-10-09 Joseph Myers <joseph@codesourcery.com>
18640
18641 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18642 (_G_stat64): Likewise.
18643 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18644 (_G_stat64): Likewise.
18645 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18646 instead of struct _G_stat64.
18647 * libio/fileops.c (mmap_remap_check): Likewise.
18648 (decide_maybe_mmap): Likewise.
18649 (_IO_new_file_seekoff): Likewise.
18650 (_IO_file_stat): Likewise.
18651 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18652 _G_off64_t.
18653 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18654 instead of struct _G_stat64.
18655 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18656
18657 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
18658
18659 [BZ #14602]
18660 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18661 Replace with ...
18662 (CHECK_EOL): New macro.
18663 (two_way_short_needle): Check beginning of haystack for EOL. Use
18664 CHECK_EOL.
18665 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18666 Replace with CHECK_EOL.
18667 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18668 Replace with CHECK_EOL.
18669
18670 2012-10-08 Joseph Myers <joseph@codesourcery.com>
18671
18672 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18673 type-generic.
18674 * math/libm-test.inc: Update comment listing what functions and
18675 macros are tested.
18676 (finite_test): New function.
18677 (isinf_test): Likewise.
18678 (isnan_test): Likewise.
18679 (fpclassify_test): Test subnormal input.
18680 (isfinite_test): Likewise.
18681 (isnormal_test): Likewise.
18682 (main): Call the new functions.
18683
18684 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
18685
18686 [BZ #14660]
18687 * Makerules (%.dynsym): Force C locale when running
18688 $(OBJDUMP) --dynamic-syms.
18689
18690 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
18691
18692 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18693 <stdint.h>.
18694
18695 2012-10-06 David S. Miller <davem@davemloft.net>
18696
18697 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18698 upper 32-bits of the length value in %o2 since we use branch-on-register
18699 tests which consider the entire 64-bit register.
18700
18701 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
18702
18703 * string/test-strstr.c (check2): Add a test for page boundary.
18704
18705 2012-10-05 David S. Miller <davem@davemloft.net>
18706
18707 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18708 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18709 file.
18710 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18711 sysdep_routines.
18712 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18713 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18714 and bzero when HWCAP_SPARC_CRYPTO is present.
18715
18716 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
18717
18718 [BZ #14602]
18719 * string/test-strstr.c (check2): New function.
18720 (test_main): Call check2.
18721
18722 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18723 and bug-strchr1.
18724 * string/bug-strcasestr1.c (do_test): Moved to ...
18725 * string/test-strcasestr.c (check1): Here. New function.
18726 (do_one_test): Break out result checking code into ...
18727 (check_result): This. New function.
18728 (do_one_test): Call check_result.
18729 (test_main): Call check1.
18730 * string/bug-strchr1.c (do_test): Moved to ...
18731 * string/test-strchr.c (check1): Here. New function.
18732 (do_one_test): Break out result checking code into ...
18733 (check_result): This. New function.
18734 (do_one_test): Call check_result.
18735 (test_main): Call check1.
18736 * string/bug-strstr1.c (main): Moved to ...
18737 * string/test-strstr.c (check1): Here. New function.
18738 (do_one_test): Break out result checking code into ...
18739 (check_result): This. New function.
18740 (do_one_test): Call check_result.
18741 (test_main): Call check1.
18742 * string/bug-strcasestr1.c: Removed.
18743 * string/bug-strchr1.c: Likewise.
18744 * string/bug-strstr1.c: Likewise.
18745
18746 * elf/Makefile (dl-routines): Add hwcaps.
18747 * elf/dl-support.c (_dl_important_hwcaps): Removed.
18748 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18749 (_dl_important_hwcaps): Moved to ...
18750 * elf/dl-hwcaps.c: Here. New file.
18751 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18752
18753 [BZ #14557]
18754 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18755 if IS_IN_rtld isn't defined.
18756
18757 * elf/dl-support.c (_dl_sysinfo_map): New.
18758 Include "get-dynamic-info.h" and "setup-vdso.h".
18759 (_dl_non_dynamic_init): Call setup_vdso.
18760 * elf/dynamic-link.h: Don't include <assert.h>.
18761 (elf_get_dynamic_info): Moved to ...
18762 * elf/get-dynamic-info.h: Here. New file.
18763 * elf/dynamic-link.h: Include "get-dynamic-info.h".
18764 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18765 * elf/setup-vdso.h: Here. New file.
18766 * elf/rtld.c: Include "setup-vdso.h".
18767 (dl_main): Call setup_vdso.
18768
18769 2012-10-05 Joseph Myers <joseph@codesourcery.com>
18770
18771 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18772 creal in comment listing functions tested. List finite, isinf,
18773 isnan, isless, islessequal, isgreater, isgreaterequal,
18774 islessgreater, isunordered, lgamma_r and pow10 as functions and
18775 macros not tested. Mention which functions not tested are aliases
18776 for other functions. Fix typo. Note that signs of NaNs are not
18777 tested.
18778
18779 * scripts/config.guess: Update from config.git.
18780 * scripts/config.sub: Likewise.
18781
18782 2012-10-04 Roland McGrath <roland@hack.frob.com>
18783
18784 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18785 * misc/madvise.c (madvise): Renamed to __madvise.
18786 Make madvise a weak alias.
18787 * include/sys/mman.h: Declare __madvise.
18788 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18789 * sysdeps/unix/syscalls.list
18790 (madvise): Make __madvise the strong name, and madvise a weak alias.
18791 * sysdeps/unix/sysv/linux/syscalls.list
18792 (madvise, mmap): Remove redundant entries.
18793 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18794 * malloc/malloc.c (mtrim): Likewise.
18795 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18796
18797 2012-10-03 Roland McGrath <roland@hack.frob.com>
18798
18799 * sysdeps/mach/hurd/dl-cache.c: File removed.
18800 * config.h.in (USE_LDCONFIG): New #undef.
18801 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18802 * configure: Regenerated.
18803 * elf/Makefile (dl-routines): Add dl-cache only under
18804 [$(use-ldconfig) = yes].
18805 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18806 cache on [USE_LDCONFIG].
18807 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18808 [USE_LDCONFIG].
18809 * elf/rtld.c (dl_main): Likewise.
18810
18811 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
18812
18813 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18814 _SC_LEVEL4_CACHE_LINESIZE.
18815
18816 2012-10-03 Roland McGrath <roland@hack.frob.com>
18817
18818 * sysdeps/unix/bsd/confstr.h: File removed.
18819
18820 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
18821
18822 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18823 sys/sdt-config.h.
18824
18825 2012-10-02 Roland McGrath <roland@hack.frob.com>
18826
18827 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18828 Make 'mapoff' field ElfW(Off) rather than off_t.
18829
18830 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
18831
18832 * nscd/Makefile: Remove nscd-cflags and all its users.
18833 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18834 (CFLAGS-nonlib): Add compiler flags for nscd modules.
18835
18836 [BZ #10631]
18837 * malloc.c (malloc_printerr): Clarify error message.
18838
18839 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
18840
18841 [BZ #14648]
18842 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18843 Set bit_FMA_Usable if FMA is supported.
18844 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18845 macro.
18846 (bit_FMA4_Usable): Updated.
18847 (index_FMA_Usable): New macro.
18848 (CPUID_FMA): Likewise
18849 (HAS_FMA): Defined with bit_FMA_Usable.
18850
18851 2012-10-01 Roland McGrath <roland@hack.frob.com>
18852
18853 * bits/types.h (__swblk_t): Type removed.
18854 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18855 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18856 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18857 (__SWBLK_T_TYPE): Likewise.
18858 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18859 (__SWBLK_T_TYPE): Likewise.
18860 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18861 (__SWBLK_T_TYPE): Likewise.
18862 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18863 (__SWBLK_T_TYPE): Likewise.
18864
18865 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
18866 Honza Horak <hhorak@redhat.com>
18867
18868 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18869 (xdr_mapname): Use YPMAXMAP as maxsize.
18870 (xdr_peername): Use YPMAXPEER as maxsize.
18871 (xdr_keydat): Use YPAXRECORD as maxsize.
18872 (xdr_valdat): Use YPMAXRECORD as maxsize.
18873
18874 2012-10-01 Roland McGrath <roland@hack.frob.com>
18875
18876 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18877
18878 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18879 * csu/init-first.c: ... here.
18880 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18881 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18882 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18883 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18884 * sysdeps/i386/init-first.c: File removed.
18885 * sysdeps/sh/init-first.c: File removed.
18886
18887 2012-10-01 Joseph Myers <joseph@codesourcery.com>
18888
18889 [BZ #14645]
18890 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18891 if x * y might underflow to zero and z is zero.
18892 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18893 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18894 * math/libm-test.inc (min_subnorm_value): New variable.
18895 (fma_test): Add more tests.
18896 (fma_test_towardzero): Likewise.
18897 (fma_test_downward): Likewise
18898 (fma_test_upward): Likewise.
18899 (initialize): Set min_subnorm_value.
18900
18901 2012-09-29 Joseph Myers <joseph@codesourcery.com>
18902
18903 [BZ #14638]
18904 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18905 0 + 0.
18906 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18907 mode for addition resulting in exact zero.
18908 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18909 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18910 exact 0 + 0.
18911 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18912 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18913 * math/libm-test.inc (fma_test): Add more tests.
18914 (fma_test_towardzero): New function.
18915 (fma_test_downward): Likewise.
18916 (fma_test_upward): Likewise.
18917 (main): Call the new functions.
18918
18919 2012-09-28 David S. Miller <davem@davemloft.net>
18920
18921 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18922
18923 2012-09-28 Roland McGrath <roland@hack.frob.com>
18924
18925 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18926 instead of SIGALRM.
18927
18928 * sysdeps/gnu/_G_config.h: Moved to ...
18929 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18930 * sysdeps/mach/hurd/_G_config.h: Moved to ...
18931 * sysdeps/generic/_G_config.h: ... here.
18932
18933 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
18934
18935 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18936
18937 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18938 Conditionalize target on [libnss_test1.so-version].
18939
18940 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
18941
18942 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
18943 (elfobjdir): Move out of conditionals.
18944
18945 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
18946 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
18947 (__nss_lookup_function): Conditionalize label remove_from_tree on
18948 [!DO_STATIC_NSS || SHARED], matching its only use.
18949
18950 2012-09-28 David S. Miller <davem@davemloft.net>
18951
18952 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
18953 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
18954 file.
18955 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18956 sysdep_routines.
18957 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18958 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
18959 when HWCAP_SPARC_CRYPTO is present.
18960
18961 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18962
18963 * io/tst-mknodat.c: Create a FIFO instead of a socket.
18964
18965 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
18966
18967 [BZ #6530]
18968 * stdio-common/vfprintf.c (process_string_arg): Revert
18969 2000-07-22 change.
18970
18971 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
18972
18973 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
18974 for testcase.
18975 * stdio-common/tst-sprintf.c: Include <locale.h>
18976 (main): Test sprintf's handling of incomplete multibyte
18977 characters.
18978
18979 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
18980
18981 * elf/dl-runtime.c (VERSYMIDX): Removed.
18982 * elf/dl-version.c (VERSYMIDX): Likewise.
18983 * elf/do-rel.h (VERSYMIDX): Likewise.
18984 (VALIDX): Likewise.
18985 * elf/dynamic-link.h (VERSYMIDX): Likewise.
18986 * elf/rtld.c (VALIDX): Likewise.
18987 (ADDRIDX): Likewise.
18988 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
18989 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
18990 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
18991 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
18992 (VALIDX): Likewise.
18993 (ADDRIDX): Likewise.
18994
18995 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
18996
18997 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
18998
18999 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
19000
19001 [BZ #11438]
19002 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19003 to global scope.
19004 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19005 addresses are in the same scope as 192.0.2/24.
19006 * posix/gai.conf: Document new scope table defaults.
19007
19008 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19009
19010 [BZ #5298]
19011 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19012 for ftell. Compute offsets from write pointers instead.
19013 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19014
19015 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19016
19017 [BZ #14543]
19018 * libio/Makefile (tests): New test case tst-fseek.
19019 * libio/tst-fseek.c: New test case to verify that fseek/ftell
19020 combination works in wide mode.
19021 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19022 state when the external buffer state changes.
19023
19024 2012-09-27 David S. Miller <davem@davemloft.net>
19025
19026 [BZ #14376]
19027 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19028 pass reloc->r_addend in as the 'high' argument to
19029 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19030
19031 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19032
19033 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
19034
19035 * rt/tst-aio2.c: Include <pthread.h>.
19036 * rt/tst-aio3.c: Likewise.
19037
19038 2012-09-27 Steve Ellcey <sellcey@mips.com>
19039
19040 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19041
19042 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
19043
19044 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19045 contents on [SHARED].
19046
19047 2012-09-26 Marek Polacek <polacek@redhat.com>
19048
19049 [BZ #14530]
19050 [BZ #13741]
19051 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19052 for C++ and GCC <4.3 as well as for non GCC compilers.
19053
19054 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
19055
19056 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19057
19058 2012-09-25 Roland McGrath <roland@hack.frob.com>
19059
19060 * Makefile.in (all, install): Declare with .PHONY.
19061 Reported by Michael Hope <michael.hope@linaro.org>.
19062
19063 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19064
19065 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19066 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19067 system header.
19068 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19069 Likewise.
19070 (sydep_routines): Add the new and the internal functions.
19071 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19072 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19074 (GLIBC_2.17): Add the new function.
19075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19076 (GLIBC_2.17): Likewise.
19077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19078 (GLIBC_2.17): Likewise.
19079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19080 (GLIBC_2.17): Likewise.
19081 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19082
19083 2012-09-25 Alan Modra <amodra@gmail.com>
19084
19085 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19086 Add release barrier before setting once_control to say
19087 initialisation is done. Add hints on lwarx. Use macro in
19088 place of isync.
19089 (clear_once_control): Add release barrier.
19090
19091 2012-09-25 Joseph Myers <joseph@codesourcery.com>
19092
19093 [BZ #13629]
19094 * math/s_clog.c (__clog): Handle more values close to |z| = 1
19095 specially.
19096 * math/s_clog10.c (__clog10): Likewise.
19097 * math/s_clog10f.c (__clog10f): Likewise.
19098 * math/s_clog10l.c (__clog10l): Likewise.
19099 * math/s_clogf.c (__clogf): Likewise.
19100 * math/s_clogl.c (__clogl): Likewise.
19101 * math/Makefile (libm-calls): Add x2y2m1.
19102 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19103 (__x2y2m1): Likewise.
19104 (__x2y2m1l): Likewise.
19105 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19106 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19107 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19108 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19109 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19110 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19111 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19112 * sysdeps/i386/fpu/libm-test-ulps: Update.
19113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19114
19115 [BZ #14621]
19116 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19117 int as type of variable DEPTH.
19118 (glob): Use size_t instead of int as type of variables NEWCOUNT
19119 and OLD_PATHC.
19120
19121 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19122
19123 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19124 Add s_sincosf-sse2.
19125 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19126 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19127 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19128 macros for using routine as __sincosf_ia32.
19129 Use macro for function declaration and weak_alias.
19130 * sysdeps/i386/fpu/libm-test-ulps: Update.
19131
19132 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19133 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19134
19135 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
19136 subnormal argument.
19137 * math/s_cexpf.c (__cexpf): Likewise.
19138 * math/s_csinf.c (__csinf): Likewise.
19139 * math/s_csinhf.c (__csinhf): Likewise.
19140 * math/s_ctanf.c (__ctanf): Likewise.
19141 * math/s_ctanhf.c (__ctanhf): Likewise.
19142 * math/s_ccosh.c (__ccoshf): Likewise.
19143 * math/s_cexp.c (__cexpl): Likewise.
19144 * math/s_csin.c (__csin): Likewise.
19145 * math/s_csinh.c (__csinh): Likewise.
19146 * math/s_ctan.c (__ctan): Likewise.
19147 * math/s_ctanh.c (ctanh): Likewise.
19148 * math/s_ccoshl.c (__ccoshl): Likewise.
19149 * math/s_cexpl.c (__cexpl): Likewise.
19150 * math/s_csinl.c (__csinl): Likewise.
19151 * math/s_csinhl.c (__csinhl): Likewise.
19152 * math/s_ctanl.c (__ctanl): Likewise.
19153 * math/s_ctanhl.c (__ctanhl): Likewise.
19154
19155 2012-09-25 Joseph Myers <joseph@codesourcery.com>
19156
19157 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19158 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19159 (_IO_off_t): Define to __off_t, not _G_off_t.
19160 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19161 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19162 (_IO_wint_t): Define to wint_t, not _G_wint_t.
19163 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19164 type of __dummy and __dummy2 fields.
19165 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19166 (_G_ssize_t): Likewise.
19167 (_G_off_t): Likewise.
19168 (_G_pid_t): Likewise.
19169 (_G_uid_t): Likewise.
19170 (_G_wchar_t): Likewise.
19171 (_G_wint_t): Likewise.
19172 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19173 (_G_ssize_t): Likewise.
19174 (_G_off_t): Likewise.
19175 (_G_pid_t): Likewise.
19176 (_G_uid_t): Likewise.
19177 (_G_wchar_t): Likewise.
19178 (_G_wint_t): Likewise.
19179 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19180 (_G_ssize_t): Likewise.
19181 (_G_off_t): Likewise.
19182 (_G_pid_t): Likewise.
19183 (_G_uid_t): Likewise.
19184 (_G_wchar_t): Likewise.
19185 (_G_wint_t): Likewise.
19186
19187 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19188
19189 * malloc/arena.c: Include malloc-sysdep.h.
19190 (shrink_heap): Use check_may_shrink_heap to decide if madvise
19191 is sufficient to shrink the heap or an unmap is needed.
19192 * sysdeps/generic/malloc-sysdep.h: New file. Define
19193 new function check_may_shrink_heap.
19194 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
19195 new function check_may_shrink_heap.
19196
19197 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19198
19199 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19200 comments.
19201
19202 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
19203
19204 * catgets/test-gencat.sh: Add "set -e".
19205 * elf/tst-pathopt.sh: Likewise.
19206 * grp/tst_fgetgrent.sh: Likewise.
19207 * iconvdata/run-iconv-test.sh: Likewise.
19208 * intl/tst-gettext.sh: Likewise.
19209 * intl/tst-gettext2.sh: Likewise.
19210 * intl/tst-gettext4.sh: Likewise.
19211 * intl/tst-gettext6.sh: Likewise.
19212 * intl/tst-translit.sh: Likewise.
19213 * io/ftwtest-sh: Likewise.
19214 * libio/test-freopen.sh: Likewise.
19215 * malloc/tst-mtrace.sh: Likewise.
19216 * posix/globtest.sh: Likewise.
19217 * posix/tst-getconf.sh: Likewise.
19218 * posix/wordexp-tst.sh: Likewise.
19219 * stdio-common/tst-printf.sh: Likewise.
19220 * stdio-common/tst-unbputc.sh: Likewise.
19221 * stdlib/tst-fmtmsg.sh: Likewise.
19222 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19223 * catgets/Makefile: Do not specify -e option when running
19224 testsuite shell scripts.
19225 * elf/Makefile: Likewise.
19226 * grp/Makefile: Likewise.
19227 * iconvdata/Makefile: Likewise.
19228 * intl/Makefile: Likewise.
19229 * io/Makefile: Likewise.
19230 * libio/Makefile: Likewise.
19231 * malloc/Makefile: Likewise.
19232 * posix/Makefile: Likewise.
19233 * stdio-common/Makefile: Likewise.
19234 * stdlib/Makefile: Likewise.
19235 * sysdeps/x86_64/Makefile: Likewise.
19236
19237 * io/ftwtest-sh: Add copyright header.
19238 * posix/globtest.sh: Likewise.
19239 * posix/tst-getconf.sh: Likewise.
19240 * posix/wordexp-tst.sh: Likewise.
19241 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19242
19243 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
19244
19245 [BZ #13679]
19246 * Makeconfig (+link): Defined as $(+link-static) if
19247 $(build-shared) isn't yes.
19248 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19249 isn't yes.
19250 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19251
19252 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19253
19254 [BZ #14562]
19255 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19256 new chunk size with MALLOC_ALIGN_MASK.
19257
19258 2012-09-24 Joseph Myers <joseph@codesourcery.com>
19259
19260 [BZ #5044]
19261 * stdio-common/printf_fphex.c: Include <stdbool.h> and
19262 <rounding-mode.h>.
19263 (__printf_fphex): Determine rounding using get_rounding_mode and
19264 round_away.
19265 * stdio-common/tst-printf-round.c (struct hex_test): New
19266 structure.
19267 (hex_tests): New variable.
19268 (test_hex_in_one_mode): New function.
19269 (do_test): Also run tests for hex float output.
19270
19271 2012-09-21 Joseph Myers <joseph@codesourcery.com>
19272
19273 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19274 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19275 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19276 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19277 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19278 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19279 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19280 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19281
19282 2012-09-20 Joseph Myers <joseph@codesourcery.com>
19283
19284 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19285 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19286 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19287 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19288
19289 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
19290
19291 [BZ #14579]
19292 * elf/rtld.c (dl_main): Limit the check for self loading to normal
19293 mode only.
19294 * elf/tst-rtld-load-self.sh: New test.
19295 * elf/Makefile: Run it.
19296
19297 2012-09-18 Joseph Myers <joseph@codesourcery.com>
19298
19299 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19300 (tst-writev-ENV): Remove.
19301 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19302
19303 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
19304
19305 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19306
19307 2012-09-17 Joseph Myers <joseph@codesourcery.com>
19308
19309 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19310 unconditional.
19311 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19312 Likewise.
19313 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19314 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19315 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19316 Likewise.
19317
19318 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
19319
19320 [BZ #14587]
19321 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19322 * config.make.in (have-cpp-asm-debuginfo): Removed.
19323 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19324 * configure: Regenerated.
19325
19326 2012-09-14 Joseph Myers <joseph@codesourcery.com>
19327
19328 [BZ #5044]
19329 * stdio-common/printf_fp.c: Include <stdbool.h> and
19330 <rounding-mode.h>.
19331 (___printf_fp): Determine rounding using get_rounding_mode and
19332 round_away.
19333 * stdio-common/tst-printf-round.c: New file.
19334 * stdio-common/Makefile (tests): Add tst-printf-round.
19335 (link-libm): New variable.
19336 ($(objpfx)tst-printf-round): Depend in $(link-libm).
19337
19338 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
19339
19340 [BZ #14576]
19341 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19342 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19343 Likewise.
19344 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19345 Likewise.
19346
19347 2012-09-13 Joseph Myers <joseph@codesourcery.com>
19348
19349 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19350 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19351 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19352 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19353
19354 2012-09-12 Joseph Myers <joseph@codesourcery.com>
19355
19356 [BZ #14518]
19357 * include/rounding-mode.h: New file.
19358 * sysdeps/generic/get-rounding-mode.h: Likewise.
19359 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19360 * stdlib/strtod_l.c: Include <rounding-mode.h>.
19361 (MAX_VALUE): New macro.
19362 (MIN_VALUE): Likewise.
19363 (overflow_value): New function.
19364 (underflow_value): Likewise.
19365 (round_and_return): Use overflow_value and underflow_value to
19366 determine return values in overflow and underflow cases. Use
19367 round_away to determine rounding depending on rounding mode.
19368 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19369 determine return values in overflow and underflow cases.
19370 * stdlib/tst-strtod-round.c: Include <fenv.h>.
19371 (struct test_results): New structure.
19372 (struct test): Use struct test_results to store expected results
19373 for all rounding modes.
19374 (TEST): Include expected results for all rounding modes.
19375 (test_in_one_mode): New function.
19376 (do_test): Use test_in_one_mode to compute and check results.
19377 Check results for all rounding modes.
19378 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19379 $(link-libm).
19380
19381 2012-12-09 Allan McRae <allan@archlinux.org>
19382
19383 * sysdeps/i386/fpu/libm-test-ulps: Update
19384
19385 2012-09-11 Joseph Myers <joseph@codesourcery.com>
19386
19387 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19388 (_G_int32_t): Likewise.
19389 (_G_uint16_t): Likewise.
19390 (_G_uint32_t): Likewise.
19391 (_G_HAVE_BOOL): Likewise.
19392 (_G_HAVE_ATEXIT): Likewise.
19393 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19394 (_G_HAVE_IO_FILE_OPEN): Likewise.
19395 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19396 (_G_int32_t): Likewise.
19397 (_G_uint16_t): Likewise.
19398 (_G_uint32_t): Likewise.
19399 (_G_HAVE_BOOL): Likewise.
19400 (_G_HAVE_ATEXIT): Likewise.
19401 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19402 (_G_HAVE_IO_FILE_OPEN): Likewise.
19403 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19404 (_G_int32_t): Likewise.
19405 (_G_uint16_t): Likewise.
19406 (_G_uint32_t): Likewise.
19407 (_G_HAVE_BOOL): Likewise.
19408 (_G_HAVE_ATEXIT): Likewise.
19409 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19410 (_G_HAVE_IO_FILE_OPEN): Likewise.
19411
19412 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
19413
19414 * csu/libc-tls.c: Update copyright years.
19415
19416 2012-09-10 Joseph Myers <joseph@codesourcery.com>
19417
19418 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19419 [!_G_USING_THUNKS]: Remove conditional code.
19420 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19421 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19422
19423 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19424 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19425 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19426 (_G_VTABLE_LABEL_PREFIX): Likewise.
19427 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19428 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19429 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19430 (_G_VTABLE_LABEL_PREFIX): Likewise.
19431 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19432 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19433 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19434 (_G_VTABLE_LABEL_PREFIX): Likewise.
19435 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19436
19437 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
19438
19439 * libio/Makefile: Include ../Makeconfig before tests.
19440 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19441 only if $(build-shared) is yes.
19442
19443 * iconv/gconv_db.c: Update copyright years.
19444
19445 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19446
19447 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19448 unwind info if defined PIC. Fix special cases description.
19449 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19450
19451 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19452 DP_HI_MASK entry.
19453 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19454
19455 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
19456
19457 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19458
19459 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19460 is NULL.
19461
19462 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19463 (LDLIBS-tst-chk4): This.
19464 (LDFLAGS-tst-chk5): Renamed to ...
19465 (LDLIBS-tst-chk5): This.
19466 (LDFLAGS-tst-chk6): Renamed to ...
19467 (LDLIBS-tst-chk6): This.
19468 (LDFLAGS-tst-lfschk4): Renamed to ...
19469 (LDLIBS-tst-lfschk4): This.
19470 (LDFLAGS-tst-lfschk5): Renamed to ...
19471 (LDLIBS-tst-lfschk5): This.
19472 (LDFLAGS-tst-lfschk6): Renamed to ...
19473 (LDLIBS-tst-lfschk6): This.
19474
19475 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19476 on $(common-objpfx)soversions.mk.
19477
19478 2012-09-07 Joseph Myers <joseph@codesourcery.com>
19479
19480 [BZ #10014]
19481 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19482 example host name.
19483
19484 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
19485
19486 * malloc/arena.c (arena_get_retry): New function that gets
19487 another arena for the caller to try its request on.
19488 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19489 current arena cannot fulfill the request.
19490 (__libc_memalign): Likewise.
19491 (__libc_memalign): Likewise.
19492 (__libc_pvalloc): Likewise.
19493 (__libc_calloc): Likewise.
19494
19495 2012-09-05 John Tobey <john.tobey@gmail.com>
19496
19497 [BZ #13542]
19498 * manual/arith.texi (Operations on Complex): Fix description
19499 of carg branch cut.
19500
19501 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19502
19503 [BZ #10014]
19504 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19505 host name.
19506
19507 [BZ #10038]
19508 * manual/memory.texi (Memory): Make order of menu items match
19509 order of sections.
19510
19511 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19512
19513 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19514 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
19515 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19516
19517 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19518
19519 * csu/libc-tls.c (static_dtv): Renamed to ...
19520 (_dl_static_dtv): This. Make it global.
19521 (_dl_initial_dtv): Removed.
19522 (__libc_setup_tls): Updated.
19523 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19524 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19525 DL_INITIAL_DTV.
19526
19527 2012-09-06 Petr Machata <pmachata@redhat.com>
19528
19529 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19530 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19531 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19532 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19533
19534 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19535
19536 [BZ #14545]
19537 * csu/libc-tls.c (_dl_initial_dtv): New variable.
19538 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19539 freeing dtv[-1].
19540
19541 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
19542
19543 [BZ #14544]
19544 * Makeconfig (link-static-before-libc): Replace $(+prector)
19545 with $(+prectorT).
19546 (link-static-after-libc): Replace $(+postctor) with
19547 $(+postctorT).
19548 (link-bounded): Replace $(+prector)/$(+postctor) with
19549 $(+prectorT)/$(+postctorT).
19550 (+prectorT): New macro.
19551 (+postctorT): Likewise.
19552
19553 2012-09-06 Joseph Myers <joseph@codesourcery.com>
19554
19555 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19556 (round_str): Handle values above the maximum for IBM long double
19557 as inexact.
19558 * stdlib/tst-strtod-round.c (tests): Regenerated.
19559
19560 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19561
19562 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19563 assembler flag.
19564 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19565 zarch_nohighgprs around the zarch optimized routines.
19566 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19567 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19568 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19569 for zarch.
19570
19571 2012-09-05 David S. Miller <davem@davemloft.net>
19572
19573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19574
19575 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19576 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19577 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19578 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19579 entries.
19580
19581 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19582
19583 * malloc/arena.c: Fold copyright years.
19584 * malloc/mcheck.c, malloc/memusage.c: Likewise.
19585
19586 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19587
19588 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19589
19590 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19591
19592 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
19593
19594 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19595
19596 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19597 change internal state upon failure.
19598
19599 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
19600
19601 * malloc/mcheck.c (mcheck_check_all): Fix typo.
19602 * malloc/memusage.c (mmap): Likewise.
19603 (mmap64, mremap): Likewise. Adjust name in comment.
19604
19605 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19606
19607 * libio/fileops.c: Fix typos in comments.
19608 * libio/oldfileops.c: Likewise.
19609 * libio/wfileops.c: Likewise.
19610
19611 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19612
19613 [BZ #1349]
19614 * malloc/Makefile (tests): Add tst-malloc-usable test case.
19615 (tst-malloc-usable-ENV): Set environment for test case.
19616 * malloc/hooks.c (malloc_check_get_size): New function to get
19617 requested size.
19618 * malloc/malloc.c (musable): Use malloc_check_get_size.
19619 * malloc/tst-malloc-usable.c: New test case.
19620
19621 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19622
19623 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19624
19625 2012-09-05 Allan McRae <allan@archlinux.org>
19626
19627 [BZ #13966]
19628 * configure.in (CXX_SYSINCLUDES): Use compiler output to
19629 determine header location.
19630 * configure: Regenerated.
19631
19632 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
19633
19634 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19635 float format.
19636 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19637 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19638 format.
19639 (test): Regenerate.
19640
19641 2012-09-04 David S. Miller <davem@davemloft.net>
19642
19643 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19644 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19645 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19646
19647 2012-09-04 Florian Weimer <fweimer@redhat.com>
19648
19649 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19650 failures.
19651
19652 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19653
19654 2012-09-04 Joseph Myers <joseph@codesourcery.com>
19655
19656 [BZ #9914]
19657 * libio/iogetdelim.c: Include <limits.h>.
19658 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19659 + len + 1 would overflow.
19660
19661 2012-09-03 Andreas Jaeger <aj@suse.de>
19662
19663 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19664 * sysdeps/i386/fpu/libm-test-ulps: Update.
19665
19666 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19667
19668 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19669 Add s_sinf-sse2, s_conf-sse2.
19670
19671 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19672 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19673 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19674 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19675
19676 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19677 for using routine as __sinf_ia32.
19678 Use macro for function declaration and weak_alias.
19679 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19680 for using routine as __cosf_ia32.
19681 Use macro for function declaration and weak_alias.
19682
19683 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19684 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19685
19686 * sysdeps/x86_64/fpu/s_sinf.S: New file.
19687 * sysdeps/x86_64/fpu/s_cosf.S: New file.
19688 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19689
19690 * math/libm-test.inc (cos_test): Add more test cases.
19691 (sin_test): Likewise.
19692 (sincos_test): Likewise.
19693
19694 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19695
19696 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19697 (IFUNC_RESOLVE): Make pointers to the specialized implementations
19698 hidden.
19699 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19700
19701 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
19702
19703 [BZ #14538]
19704 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19705 first element of the GOT.
19706 (elf_machine_load_address): Return the difference between
19707 the runtime address of _DYNAMIC and elf_machine_dynamic ().
19708
19709 2012-09-01 Allan McRae <allan@archlinux.org>
19710
19711 [BZ #13412]
19712 * configure.in (AWK): Require gawk version 3.0 or later.
19713 * configure: Regenerated.
19714
19715 2012-09-01 Joseph Myers <joseph@codesourcery.com>
19716
19717 * sysdeps/unix/sysv/linux/kernel-features.h
19718 (__ASSUME_POSIX_CPU_TIMERS): Remove.
19719 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19720 [__NR_clock_getres]: Make code unconditional.
19721 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19722 (clock_getcpuclockid): Remove code left unreachable by removal of
19723 conditionals.
19724 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19725 code unconditional.
19726 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19727 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19728 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19729 Make code unconditional.
19730 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19731 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19732 * sysdeps/unix/sysv/linux/clock_settime.c
19733 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19734 conditional code.
19735 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19736 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19737
19738 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
19739
19740 [BZ #14476]
19741 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19742 scripts/test-installation.pl.
19743
19744 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19745 and $ld_so_version if it is set.
19746
19747 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19748
19749 [BZ #14516]
19750 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19751 failure if reading from procfs failed.
19752 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19753
19754 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19755
19756 * sysdeps/unix/sysv/linux/kernel-features.h
19757 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19758 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19759 Remove conditional code.
19760 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19761 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19762 Remove conditional code.
19763 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19764 * sysdeps/unix/sysv/linux/i386/fxstat.c
19765 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19766 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19767 * sysdeps/unix/sysv/linux/i386/fxstatat.c
19768 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19769 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19770 * sysdeps/unix/sysv/linux/i386/lxstat.c
19771 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19772 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19773 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19774 Remove conditional code.
19775 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19776 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19777 Remove conditional code.
19778 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19779 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19780 <kernel-features.h>.
19781 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19782 Remove.
19783 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19784 Remove conditional code.
19785 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19786 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19787 Remove conditional.
19788
19789 2012-08-27 Mike Frysinger <vapier@gentoo.org>
19790
19791 [BZ #5400]
19792 * NEWS: Add fixed bug number.
19793
19794 2012-08-27 Joseph Myers <joseph@codesourcery.com>
19795
19796 [BZ #14519]
19797 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19798 underflowing exponent in case of negative sign.
19799 * stdlib/tst-strtod-round-data: Add more tests.
19800 * stdlib/tst-strtod-round.c (tests): Regenerated.
19801
19802 [BZ #3479]
19803 * stdlib/strtod_l.c (NDIG): Remove.
19804 (HEXNDIG): Likewise.
19805 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19806 smallest representable value.
19807 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19808 lie within an exact representation of 1/2 ulp of the result.
19809 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19810 unconditionally.
19811 (TENS_P9_IDX): Define unconditionally.
19812 (TENS_P9_SIZE): Likewise.
19813 (TENS_P10_IDX): Likewise.
19814 (TENS_P10_SIZE): Likewise.
19815 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19816 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19817 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19818 entries for 10^2^13 and 10^2^14.
19819 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19820 (TENS_P13_IDX): Define.
19821 (TENS_P13_SIZE): Likewise.
19822 (TENS_P14_IDX): Likewise.
19823 (TENS_P14_SIZE): Likewise.
19824 (_fpioconst_pow10): Change array size to
19825 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
19826 unconditional.
19827 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19828 1024]: Add entries for 10^2^13 and 10^2^14.
19829 [LAST_POW10 > _LAST_POW10]: Remove #error.
19830 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19831 (_fpioconst_pow10): Change array size to
19832 FPIOCONST_POW10_ARRAY_SIZE.
19833 * stdlib/gen-fpioconst.c: New file.
19834 * stdlib/gen-tst-strtod-round.c: Likewise.
19835 * stdlib/tst-strtod-round-data: Likewise.
19836 * stdlib/tst-strtod-round.c: Likewise.
19837 * stdlib/Makefile (tests): Add tst-strtod-round.
19838
19839 [BZ #14459]
19840 * stdlib/strtod_l.c: Include <stdint.h>.
19841 (NDEBUG): Do not define.
19842 (round_and_return): Change EXPONENT parameter to type intmax_t.
19843 Rearrange calculations to avoid internal overflow possibilities.
19844 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19845 Rearrange calculations to avoid internal overflow possibilities.
19846 Assert that number fits inside MPNSIZE limbs.
19847 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19848 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
19849 calculations and add assertions to avoid internal overflow
19850 possibilities. Add casts to avoid signed/unsigned operations.
19851 * stdlib/tst-strtod-overflow.c: New file.
19852 * stdlib/Makefile (tests): Add tst-strtod-overflow.
19853
19854 2012-08-25 Marek Polacek <polacek@redhat.com>
19855
19856 * time/time.h: Fix some typos in comments.
19857
19858 2012-08-23 Roland McGrath <roland@hack.frob.com>
19859
19860 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19861 * posix/tst-rfc3484-2.c: Likewise.
19862 * posix/tst-rfc3484-3.c: Likewise.
19863
19864 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
19865
19866 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19867 (EF_ARM_ABI_FLOAT_HARD): Likewise.
19868
19869 2012-08-23 Joseph Myers <joseph@codesourcery.com>
19870
19871 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19872 #include of fxstatat64.c.
19873
19874 2012-08-22 Roland McGrath <roland@hack.frob.com>
19875
19876 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19877 * shadow/getspent_r.c: Likewise.
19878 * shadow/getspnam.c: Likewise.
19879 * shadow/getspnam_r.c: Likewise.
19880 * gshadow/getsgent.c: Likewise.
19881 * gshadow/getsgent_r.c: Likewise.
19882 * gshadow/getsgnam.c: Likewise.
19883 * gshadow/getsgnam_r.c: Likewise.
19884 * inet/getnetbyad.c: Likewise.
19885 * inet/getnetbyad_r.c: Likewise.
19886 * inet/getnetbynm.c: Likewise.
19887 * inet/getnetbynm_r.c: Likewise.
19888 * inet/getnetent.c: Likewise.
19889 * inet/getnetent_r.c: Likewise.
19890 * inet/getproto.c: Likewise.
19891 * inet/getproto_r.c: Likewise.
19892 * inet/getprtent.c: Likewise.
19893 * inet/getprtent_r.c: Likewise.
19894 * inet/getprtname.c: Likewise.
19895 * inet/getprtname_r.c: Likewise.
19896 * inet/getrpcbyname.c: Likewise.
19897 * inet/getrpcbyname_r.c: Likewise.
19898 * inet/getrpcbynumber.c: Likewise.
19899 * inet/getrpcbynumber_r.c: Likewise.
19900 * inet/getrpcent.c: Likewise.
19901 * inet/getrpcent_r.c: Likewise.
19902 * inet/getaliasent.c: Likewise.
19903 * inet/getaliasent_r.c: Likewise.
19904 * inet/getaliasname.c: Likewise.
19905 * inet/getaliasname_r.c: Likewise.
19906 * nscd/getgrgid_r.c: Likewise.
19907 * nscd/getgrnam_r.c: Likewise.
19908 * nscd/gethstbyad_r.c: Likewise.
19909 * nscd/gethstbynm3_r.c: Likewise.
19910 * nscd/getpwnam_r.c: Likewise.
19911 * nscd/getpwuid_r.c: Likewise.
19912 * nscd/getsrvbynm_r.c: Likewise.
19913 * nscd/getsrvbypt_r.c: Likewise.
19914 * nscd/gai.c: Likewise.
19915
19916 * configure.in (build_nscd): New substituted variable, set
19917 by --disable-build-nscd and defaults to $use_nscd.
19918 * configure: Regenerated.
19919 * config.make.in (build-nscd): New substituted variable.
19920 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19921 Change conditional to require [$(build-nscd) = yes] as well.
19922 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19923
19924 [BZ# 13696]
19925 * configure.in (use_nscd): New substituted variable, set by
19926 --disable-nscd. If enabled, define USE_NSCD.
19927 * configure: Regenerated.
19928 * config.h.in: Add USE_NSCD.
19929 * config.make.in (use-nscd): New substituted variable.
19930 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19931 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19932 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19933 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19934 (CFLAGS-getgrnam_r.c): Likewise.
19935 (CFLAGS-initgroups.c): Likewise.
19936 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19937 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19938 Variables removed.
19939 * inet/getnetgrent_r.c
19940 (nscd_setnetgrent): New function, broken out of ...
19941 (setnetgrent): ... here. Call it.
19942 (innetgr): Conditionalize nscd bits on [USE_NSCD].
19943 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
19944 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
19945 * nscd/Makefile (routines, aux): Move definitions after include of
19946 Makeconfig. Conditionalize on [$(use-nscd) != no].
19947 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
19948 Conditionalize on [USE_NSCD].
19949 (is_nscd, nscd_init_cb): Likewise.
19950 (nss_load_library): Conditionalize init callback on [USE_NSCD].
19951 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
19952 * nss/nss_db/db-init.c: Likewise.
19953 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
19954 [USE_NSCD].
19955 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
19956 (make_request): Use it.
19957 (cache_valid_p): New function.
19958 (__check_pf): Use it.
19959 * NEWS: Add item for --disable-nscd.
19960
19961 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
19962
19963 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
19964 to support sed >= 4.2.1-20-ga9bf076.
19965 * configure: Regenerated.
19966
19967 2012-08-22 Roland McGrath <roland@hack.frob.com>
19968
19969 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
19970 Conditionalize whole body on [IREL].
19971
19972 2012-08-22 Jeff Law <law@redhat.com>
19973
19974 [BZ #14505]
19975 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
19976 if the family is PF_UNSPEC.
19977
19978 2012-08-22 Mike Frysinger <vapier@gentoo.org>
19979
19980 * Makerules (lib-version): Rename from V.
19981 (install-lib-nosubdir): Change V to lib-version.
19982
19983 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
19984
19985 [BZ #14252]
19986 * powerpc32/power6/wcschr.c: New file.
19987 * powerpc32/power6/wcscpy.c: New file.
19988 * powerpc32/power6/wcsrchr.c: New file.
19989 * powerpc64/power6/wcschr.c: New file.
19990 * powerpc64/power6/wcscpy.c: New file.
19991 * powerpc64/power6/wcsrchr.c: New file.
19992
19993 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
19994
19995 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
19996 (two_way_short_needle): Use it.
19997 * string/strstr.c (AVAILABLE1_USES_J): Define.
19998 * string/strcasestr.c: Likewise.
19999
20000 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20001 array references.
20002 * string/strcasestr.c (TOLOWER): Make side-effect safe.
20003
20004 [BZ #11607]
20005 * NEWS: Add an entry.
20006 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20007 define their defaults.
20008 (two_way_short_needle): Detect end-of-string on-the-fly.
20009 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20010 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20011 * string/bug-strcasestr1.c: New test.
20012 * string/Makefile: Run it.
20013
20014 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
20015
20016 [BZ #11607]
20017 * string/str-two-way.h (two_way_short_needle): Optimize matching of
20018 the first character.
20019
20020 2012-08-21 Roland McGrath <roland@hack.frob.com>
20021
20022 * csu/elf-init.c (__libc_csu_irel): Function removed.
20023 * csu/libc-start.c (apply_irel): New function.
20024 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20025
20026 2012-08-21 Joseph Myers <joseph@codesourcery.com>
20027
20028 * sysdeps/unix/sysv/linux/kernel-features.h
20029 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20030 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20031 <kernel-features.h>.
20032 [__NR_fadvise64_64]: Make code unconditional.
20033 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20034 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20035 !__NR_fadvise64_64)]: Likewise.
20036 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20037 !__NR_fadvise64_64))]: Likewise.
20038 [__NR_fadvise64]: Make code unconditional.
20039 [!__NR_fadvise64]: Remove conditional code.
20040 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20041 <kernel-features.h>.
20042 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20043 unconditional.
20044 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20045 conditional code.
20046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20047 not include <kernel-features.h>.
20048 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20049 unconditional.
20050 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20051 conditional code.
20052 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20053 include <kernel-features.h>.
20054 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20055 unconditional.
20056 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20057 conditional code.
20058
20059 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20060
20061 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20062 slight instruction rearrangements per scrollpipe analysis.
20063 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20064
20065 2012-08-20 Roland McGrath <roland@hack.frob.com>
20066
20067 * manual/syslog.texi (syslog; vsyslog, closelog):
20068 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20069 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20070
20071 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20072 DSOCAPS to match condition on defining it.
20073
20074 2012-08-20 Joseph Myers <joseph@codesourcery.com>
20075
20076 * sysdeps/unix/sysv/linux/kernel-features.h
20077 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20079 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20080 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20082 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20083 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20085 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20086 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20087
20088 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20089 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20090
20091 * sysdeps/unix/sysv/linux/kernel-features.h
20092 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20093 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20094 unconditional.
20095 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20096 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20097 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20098 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20099 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20100 Make code unconditional.
20101 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20102 (__mmap64) [!__NR_mmap2]: Likewise.
20103 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20104 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20105 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20106 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20107 [__NR_mmap2]: Make code unconditional.
20108 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20109 (__mmap64) [!__NR_mmap2]: Likewise.
20110
20111 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20112
20113 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20114
20115 2012-08-18 Andreas Jaeger <aj@suse.de>
20116
20117 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20118
20119 2012-08-18 Mike Frysinger <vapier@gentoo.org>
20120
20121 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20122 * include/unistd.h (__have_sock_cloexec): Likewise.
20123 (__have_pipe2): Likewise.
20124 (__have_dup3): Likewise.
20125
20126 2012-08-18 Mike Frysinger <vapier@gentoo.org>
20127
20128 [BZ #9685]
20129 * include/unistd.h (__have_pipe2): Change define into an extern int.
20130 (__have_dup3): Likewise.
20131 * socket/have_sock_cloexec.c: Include fcntl.h.
20132 (__have_pipe2): New variable.
20133 (__have_dup3): Likewise.
20134
20135 2012-08-17 Mike Frysinger <vapier@gentoo.org>
20136
20137 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20138
20139 2012-08-17 Marek Polacek <polacek@redhat.com>
20140
20141 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20142 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20143
20144 2012-08-17 Roland McGrath <roland@hack.frob.com>
20145
20146 * configure.in: Add AC_SUBST for sysheaders.
20147 * configure: Regenerated.
20148 * config.make.in (sysheaders): New substituted variable.
20149
20150 * sysdeps/unix/mkfifo.c: Moved ...
20151 * sysdeps/posix/mkfifo.c: ... here.
20152 * sysdeps/unix/mkfifoat.c: Moved ...
20153 * sysdeps/posix/mkfifoat.c: ... here.
20154
20155 * sysdeps/unix/utime.c: Moved ...
20156 * sysdeps/posix/utime.c: ... here.
20157
20158 * sysdeps/unix/time.c: Moved ...
20159 * sysdeps/posix/time.c: ... here.
20160 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20161 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
20162
20163 * sysdeps/unix/nice.c: Moved ...
20164 * sysdeps/posix/nice.c: ... here.
20165
20166 * sysdeps/unix/alarm.c: Moved ...
20167 * sysdeps/posix/alarm.c: ... here.
20168
20169 * intl/Makefile ($(codeset_mo)): Depend on the input file.
20170
20171 2012-08-17 Jeff Law <law@redhat.com>
20172
20173 * intl/Makefile (codeset_mo): New variable.
20174 ($(codeset_mo)): New target.
20175 (tst-codeset.out): Depend on that. Remove explicit rule.
20176 (tst-gettext3.out, tst-gettext5.out): Likewise.
20177 (LOCPATH-ENV, tst-codeset-ENV): New variables.
20178 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20179 * intl/tst-codeset.sh: Remove.
20180 * intl/tst-gettext3.sh: Likewise.
20181 * intl/tst-gettext5.sh: Likewise.
20182
20183 2012-08-17 Roland McGrath <roland@hack.frob.com>
20184
20185 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
20186 * sysdeps/unix/syscalls.list: ... here.
20187
20188 * sysdeps/posix/getaddrinfo.c
20189 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20190 (gaiconf_init, gaiconf_reload): Use them.
20191 [!_STATBUF_ST_NSEC]
20192 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20193 Define using time_t rather than struct timespec.
20194
20195 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20196 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20197 Macros removed.
20198 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20199 [!NO_THREADS].
20200 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20201 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20202 Likewise.
20203
20204 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20205 __libc_cleanup_push argument.
20206
20207 * bits/param.h: New file.
20208 * misc/sys/param.h: New file.
20209 * include/sys/param.h: New file.
20210 * misc/Makefile (headers): Add bits/param.h.
20211 * sysdeps/generic/sys/param.h: File removed.
20212 * sysdeps/unix/sysv/linux/bits/param.h: New file.
20213 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20214 * sysdeps/mach/hurd/bits/param.h: New file.
20215 * sysdeps/mach/hurd/sys/param.h: File removed.
20216
20217 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20218 last change.
20219
20220 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20221 [_IO_MTSAFE_IO].
20222 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20223 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20224 New macros.
20225
20226 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20227 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20228 rather than -D_IO_MTSAFE_IO conditionally.
20229 * stdio-common/Makefile (CPPFLAGS): Likewise.
20230 * wcsmbs/Makefile (CPPFLAGS): Likewise.
20231 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20232 Use $(libio-mtsafe).
20233 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20234 of -D_IO_MTSAFE_IO.
20235 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20236 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20237 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20238 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20239 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20240 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20241 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20242 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20243 (CFLAGS-fread_u_chk.c): Likewise.
20244 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20245 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20246 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20247 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20248 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20249 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20250 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20251 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20252 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20253
20254 * libio/Makefile: Test [$(libc-reentrant) = yes]
20255 instead of [$(filter %REENTRANT, $(defines)) nonempty].
20256
20257 * Makeconfig
20258 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20259 * sysdeps/pthread/configure: File removed.
20260 * sysdeps/pthread/Makeconfig: New file.
20261 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20262 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20263
20264 2012-08-16 Gary Benson <gbenson@redhat.com>
20265
20266 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20267 unmapping the first object in a namespace.
20268
20269 2012-08-16 Roland McGrath <roland@hack.frob.com>
20270
20271 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20272 (__internal_setnetgrent): ... this. Add internal_function to
20273 definition. Add libc_hidden_def.
20274 (setnetgrent): Update caller.
20275 (internal_endnetgrent): Renamed to ...
20276 (__internal_endnetgrent): ... this. Add internal_function to
20277 definition. Add libc_hidden_def.
20278 (endnetgrent): Update caller.
20279 (internal_getnetgrent_r): Renamed to ...
20280 (__internal_getnetgrent_r): ... this. Add internal_function to
20281 definition. Add libc_hidden_def.
20282 (__getnetgrent_r): Update caller.
20283 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
20284
20285 2012-08-16 Joseph Myers <joseph@codesourcery.com>
20286
20287 * stdlib/longlong.h: Update from GCC.
20288
20289 2012-08-16 Roland McGrath <roland@hack.frob.com>
20290
20291 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20292 on _QL, which is set by umul_ppmm but never used.
20293 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20294 variables, which are set by GMP macros but never used.
20295 * stdio-common/_itowa.c (_itowa): Likewise.
20296 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20297 * stdlib/mod_1.c (mpn_mod_1): Likewise.
20298
20299 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
20300
20301 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20302 struct La_sh_regs is not constant.
20303 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20304 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20305 and struct La_sparc64_regs are not constant.
20306
20307 2012-08-16 Joseph Myers <joseph@codesourcery.com>
20308
20309 * sysdeps/unix/sysv/linux/kernel-features.h
20310 (__ASSUME_POSIX_TIMERS): Remove.
20311 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20312 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20313 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20314 Make code unconditional.
20315 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20316 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20317 Make code unconditional.
20318 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20319 * sysdeps/unix/sysv/linux/clock_nanosleep.c
20320 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20321 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20322 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20323 Make code unconditional.
20324 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20325 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20326 (__libc_missing_posix_timers): Remove.
20327
20328 2012-08-15 Roland McGrath <roland@hack.frob.com>
20329
20330 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20331 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20332
20333 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20334
20335 * elf/dl-sym.c: Include <stdlib.h>.
20336
20337 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20338 constants, which avoids warnings in 32-bit builds.
20339
20340 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20341 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20342
20343 * misc/lseek.c: File moved to ...
20344 * io/lseek.c: ... here.
20345
20346 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20347
20348 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20349 shifting LEN more than 31 bits at once.
20350
20351 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20352
20353 [BZ #14195]
20354 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20355 segmentation fault for a case of two empty input strings.
20356 * string/test-strncasecmp.c (check1): Renamed to...
20357 (bz12205): ...this.
20358 (bz14195): Add new testcase for two empty input strings and N > 0.
20359 (test_main): Call new testcase, adapt for renamed function.
20360
20361 2012-08-15 Andreas Jaeger <aj@suse.de>
20362
20363 [BZ #14090]
20364 * crypt/md5test2.c: New test, based on test supplied by Serge
20365 Belyshev <belyshev@depni.sinp.msu.ru>.
20366 * crypt/Makefile (xtests): Add md5test-giant..
20367 * crypt/Makefile ($(objpfx)md5test-giant): Add.
20368
20369 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
20370
20371 [BZ #14090]
20372 * crypt/md5.c (md5_process_block): Don't assume the buffer
20373 length is less than 2**32.
20374 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20375 length is less than 2**64.
20376
20377 2012-08-15 Roland McGrath <roland@hack.frob.com>
20378
20379 * string/str-two-way.h: Include <sys/param.h>.
20380 (MAX): Macro removed.
20381
20382 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20383 Move #define and #undef of memmove to just before and after
20384 including <string.h>.
20385
20386 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20387 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20388 and after including <string.h>. Move declarations of
20389 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20390 to before #include "string/memmove.c".
20391
20392 * include/dirent.h: Declare __getdirentries.
20393
20394 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20395 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20396
20397 2012-08-14 Mike Frysinger <vapier@gentoo.org>
20398
20399 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20400 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20401 * sysdeps/i386/configure: Regenerated.
20402 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20403 STABS_CURRENT_FILE, and STABS_FUN.
20404 (END): Remove call to STABS_FUN_END.
20405 (STABS_CURRENT_FILE1): Delete.
20406 (STABS_CURRENT_FILE): Likewise.
20407 (STABS_FUN): Likewise.
20408 (STABS_FUN_END): Likewise.
20409 (STABS_FUN2): Likewise.
20410 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20411 * sysdeps/x86_64/configure: Regenerated.
20412
20413 2012-08-14 Roland McGrath <roland@hack.frob.com>
20414
20415 * elf/dl-open.c: Include <atomic.h>.
20416 * elf/dl-lookup.c: Likewise.
20417
20418 2012-08-14 Joseph Myers <joseph@codesourcery.com>
20419
20420 * sysdeps/unix/sysv/linux/kernel-features.h
20421 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20422 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20423 unconditionally.
20424 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20425 unconditionally.
20426 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20427 condition on __ASSUME_CLONE_THREAD_FLAGS.
20428
20429 2012-08-14 Andreas Jaeger <aj@suse.de>
20430
20431 * sysdeps/i386/fpu/libm-test-ulps: Update.
20432
20433 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
20434
20435 * include/atomic.h (atomic_exchange_and_add): Split into ...
20436 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20437 New atomic macros.
20438
20439 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
20440
20441 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20442
20443 2012-08-13 Jeff Law <law@redhat.com>
20444
20445 * manual/stdio.texi (snprintf): Clarify handling of the trailing
20446 null byte in the output string.
20447
20448 2012-08-10 Joseph Myers <joseph@codesourcery.com>
20449
20450 * sysdeps/unix/sysv/linux/kernel-features.h
20451 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20452 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20453 (__ASSUME_ARG_MAX_STACK_BASED): Define.
20454 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20455 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20456 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
20457 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20458
20459 2012-08-09 Jeff Law <law@redhat.com>
20460
20461 [BZ #13939]
20462 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20463 When avoid_arena is set, don't retry in the that arena. Pick the
20464 next one, whatever it might be.
20465 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20466 (arena_lock): Pass in new parameter to arena_get2.
20467 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20468 arena_get2.
20469 (__libc_malloc): Unify retrying after main arena failure with
20470 __libc_memalign version.
20471 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20472
20473 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
20474
20475 [BZ #14166]
20476 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20477 to __redirect_strstr.
20478 (__strstr_sse42): Use typeof __redirect_strstr.
20479 (__strstr_ia32): Likewise.
20480 (__libc_strstr): New prototype.
20481 (strstr): Renamed to ...
20482 (__libc_strstr): This.
20483 (strstr): New strong alias of __libc_strstr.
20484 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20485 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20486 __redirect_time.
20487 Include <time.h>.
20488 (__libc_time): New prototype.
20489 (time_ifunc): Replace time with __libc_time.
20490 (time): New strong alias and hidden definition of __libc_time.
20491 (__GI_time): Remove strong alias.
20492 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20493 Include <stddef.h>.
20494 (memmove): Redefined to __redirect_memmove.
20495 (__memmove_sse2): Use typeof __redirect_memmove.
20496 (__memmove_ssse3): Likewise.
20497 (__memmove_ssse3_back): Likewise.
20498 (__libc_memmove): New prototype.
20499 (memmove): Renamed to ...
20500 (__libc_memmove): This.
20501 (memmove): New strong alias of __libc_memmove.
20502
20503 2012-08-08 Mark Salter <msalter@redhat.com>
20504
20505 * elf/elf.h
20506 (R_MN10300_TLS_GD): Define.
20507 (R_MN10300_TLS_LD): Likewise.
20508 (R_MN10300_TLS_LDO): Likewise.
20509 (R_MN10300_TLS_GOTIE): Likewise.
20510 (R_MN10300_TLS_IE): Likewise.
20511 (R_MN10300_TLS_LE): Likewise.
20512 (R_MN10300_TLS_DTPMOD): Likewise.
20513 (R_MN10300_TLS_DTPOFF): Likewise.
20514 (R_MN10300_TLS_TPOFF): Likewise.
20515 (R_MN10300_SYM_DIFF): Likewise.
20516 (R_MN10300_ALIGN): Likewise.
20517 (R_MN10300_NUM): Update.
20518
20519 2012-08-08 Joseph Myers <joseph@codesourcery.com>
20520
20521 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20522 Remove.
20523
20524 2012-08-08 Roland McGrath <roland@hack.frob.com>
20525
20526 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20527
20528 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20529 sysdeps/unix -> sysdeps/posix move.
20530 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20531
20532 2012-08-07 Allan McRae <allan@archlinux.org>
20533
20534 [BZ #14303]
20535 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20536 (SUNOS_CPP): Likewise.
20537 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20538 not found.
20539 (open_input): Call CPP using execvp.
20540
20541 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20542
20543 * sysdeps/unix/sysv/linux/kernel-features.h
20544 (__ASSUME_PROT_GROWSUPDOWN): Remove.
20545 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20546 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20547 (__ASSUME_WAITID_SYSCALL): Likewise.
20548 * sysdeps/unix/sysv/linux/dl-execstack.c
20549 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20550 code unconditional.
20551 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20552 conditional code.
20553 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20554 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20555 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20556 code.
20557 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20558 unconditional.
20559 [__ASSUME_WAITID_SYSCALL]: Likewise.
20560 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20561
20562 2012-08-07 Roland McGrath <roland@hack.frob.com>
20563
20564 * sysdeps/unix/closedir.c: Renamed to ...
20565 * sysdeps/posix/closedir.c: ... here.
20566 * sysdeps/unix/dirfd.c: Renamed to ...
20567 * sysdeps/posix/dirfd.c: ... here.
20568 * sysdeps/unix/dirstream.h: Renamed to ...
20569 * sysdeps/posix/dirstream.h: ... here.
20570 * sysdeps/unix/fdopendir.c: Renamed to ...
20571 * sysdeps/posix/fdopendir.c: ... here.
20572 * sysdeps/unix/opendir.c: Renamed to ...
20573 * sysdeps/posix/opendir.c: ... here.
20574 * sysdeps/unix/readdir.c: Renamed to ...
20575 * sysdeps/posix/readdir.c: ... here.
20576 * sysdeps/unix/readdir_r.c: Renamed to ...
20577 * sysdeps/posix/readdir_r.c: ... here.
20578 * sysdeps/unix/rewinddir.c: Renamed to ...
20579 * sysdeps/posix/rewinddir.c: ... here.
20580 * sysdeps/unix/seekdir.c: Renamed to ...
20581 * sysdeps/posix/seekdir.c: ... here.
20582 * sysdeps/unix/telldir.c: Renamed to ...
20583 * sysdeps/posix/telldir.c: ... here.
20584 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20585 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20586 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20587 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20588
20589 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20590 * bits/fcntl.h: ... here.
20591
20592 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20593 not 0.
20594 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20595 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20596 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20597 (struct flock): Move l_start, l_len to the beginning.
20598 Use __pid_t for l_pid.
20599 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20600 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20601 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20602 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20603 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20604 [__USE_LARGEFILE64] (struct flock64): New type.
20605 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20606
20607 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20608 * bits/dirent.h: ... here.
20609
20610 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20611 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20612
20613 2012-08-07 Joseph Myers <joseph@codesourcery.com>
20614
20615 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20616 Change from 2.6.0 to 2.6.16.
20617 * sysdeps/unix/sysv/linux/configure: Regenerated.
20618 * sysdeps/unix/sysv/linux/kernel-features.h
20619 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20620 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20621 version.
20622 (__ASSUME_UTIMES): Likewise.
20623 (__ASSUME_CLONE_STOPPED): Remove.
20624 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20625 architectures, not kernel version.
20626 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20627 (__ASSUME_NO_CLONE_DETACHED): Likewise.
20628 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20629 (__ASSUME_WAITID_SYSCALL): Likewise.
20630 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20631 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20632 * README: State 2.6.16 as minimum Linux kernel version. Do not
20633 refer to older versions.
20634
20635 2012-08-06 Roland McGrath <roland@hack.frob.com>
20636
20637 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20638 Define alphasort64 as an alias.
20639 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20640 Define versionsort64 as an alias.
20641 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20642 Define scandir64 as an alias.
20643 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20644 Define scandirat64 as an alias.
20645 * dirent/alphasort64.c (alphasort64):
20646 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20647 * dirent/versionsort64.c: Likewise.
20648 * dirent/scandir64.c: Likewise.
20649 * dirent/scandirat64.c: Likewise.
20650 * sysdeps/wordsize-64/alphasort.c: File removed.
20651 * sysdeps/wordsize-64/alphasort64.c: File removed.
20652 * sysdeps/wordsize-64/scandir.c: File removed.
20653 * sysdeps/wordsize-64/scandir64.c: File removed.
20654 * sysdeps/wordsize-64/scandirat.c: File removed.
20655 * sysdeps/wordsize-64/scandirat64.c: File removed.
20656 * sysdeps/wordsize-64/versionsort.c: File removed.
20657 * sysdeps/wordsize-64/versionsort64.c: File removed.
20658 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20659 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20660 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20661 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20662 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20663 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20664 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20665 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20666
20667 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20668 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20669 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20670 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20671 [defined __arch64__ || defined __sparcv9]
20672 (__INO_T_MATCHES_INO64_T): New macro.
20673 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20674 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20675 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20676 * sysdeps/unix/sysv/linux/bits/dirent.h
20677 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20678 (_DIRENT_MATCHES_DIRENT64): New macro.
20679
20680 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20681 Define lockf64 as an alias.
20682 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20683 Define fseeko64 as an alias.
20684 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20685 Define ftello64 as an alias.
20686 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20687 Define _IO_fgetpos64 and fgetpos64 as aliases.
20688 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20689 Define _IO_fsetpos64 and fsetpos64 as aliases.
20690 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20691 Conditionalize body on this.
20692 * libio/fseeko64.c: Likewise.
20693 * libio/ftello64.c: Likewise.
20694 * libio/iofgetpos64.c: Likewise.
20695 * libio/iofsetpos64.c: Likewise.
20696 * sysdeps/wordsize-64/lockf.c: File removed.
20697 * sysdeps/wordsize-64/lockf64.c: File removed.
20698 * sysdeps/wordsize-64/fseeko.c: File removed.
20699 * sysdeps/wordsize-64/fseeko64.c: File removed.
20700 * sysdeps/wordsize-64/ftello.c: File removed.
20701 * sysdeps/wordsize-64/ftello64.c: File removed.
20702 * sysdeps/wordsize-64/iofgetpos.c: File removed.
20703 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20704 * sysdeps/wordsize-64/iofsetpos.c: File removed.
20705 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20706 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20707 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20708 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20709 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20710 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20711 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20712 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20713 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20714 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20715 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20716
20717 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20718 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20719 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20720 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20721 [defined __arch64__ || defined __sparcv9]
20722 (__OFF_T_MATCHES_OFF64_T): New macro.
20723 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20724 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20725 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20726 (__OFF_T_MATCHES_OFF64_T): New macro.
20727
20728 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20729
20730 * stdlib/secure-getenv.c (__secure_getenv): Replace
20731 GLIBC_2_16 with GLIBC_2_17.
20732
20733 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
20734
20735 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20736 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20737
20738 2012-08-03 David S. Miller <davem@davemloft.net>
20739
20740 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20741
20742 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20743
20744 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20745 Remove.
20746 (__ASSUME_CORRECT_SI_PID): Likewise.
20747 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20748 (__ASSUME_TMPFS_NAME): Likewise.
20749 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20750 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20751 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20752 (HAVE_AUX_SECURE): Make definition unconditional.
20753 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20754 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20755
20756 2012-08-03 Roland McGrath <roland@hack.frob.com>
20757
20758 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20759 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20760 * sysdeps/mach/hurd/eloop-threshold.h: New file.
20761 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20762 __eloop_threshold instead of SYMLOOP_MAX.
20763
20764 * sysdeps/generic/eloop-threshold.h: New file.
20765 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20766 of MAXSYMLINKS.
20767 * elf/chroot_canon.c (chroot_canon): Likewise.
20768
20769 2012-08-03 Joseph Myers <joseph@codesourcery.com>
20770
20771 [BZ #13717]
20772 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20773 Change to 2.6.0 everywhere.
20774 * sysdeps/unix/sysv/linux/configure: Regenerated.
20775 * sysdeps/unix/sysv/linux/kernel-features.h
20776 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20777 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20778 kernel versions.
20779 (__ASSUME_POSIX_TIMERS): Define unconditionally.
20780 (__ASSUME_FUTEX_REQUEUE): Remove.
20781 (__ASSUME_STATFS64): Define unconditionally.
20782 (__ASSUME_AT_SECURE): Likewise.
20783 (__ASSUME_CORRECT_SI_PID): Likewise.
20784 (__ASSUME_TGKILL): Define without depending on kernel version for
20785 i386.
20786 (__ASSUME_UTIMES): Likewise.
20787 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20788 kernel version.
20789 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20790 (__ASSUME_TMPFS_NAME): Likewise.
20791 * README: Update reference to Linux kernel versions.
20792
20793 2012-08-02 Marek Polacek <polacek@redhat.com>
20794
20795 [BZ# 14150]
20796 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
20797 libc_cv_asm_type_prefix with %.
20798 * configure: Regenerated.
20799 * include/libc-symbols.h: Remove comment about
20800 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20801 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20802 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20803 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20804 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20805 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20806 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20807 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20808 * elf/tst-unique2mod1.c: Likewise.
20809 * elf/tst-unique1mod2.c: Likewise.
20810 * elf/tst-unique1mod1.c: Likewise.
20811 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20812 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20813 Replace ASM_TYPE_DIRECTIVE with .type.
20814 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20815 * sysdeps/i386/sysdep.h: Likewise.
20816 * sysdeps/x86_64/sysdep.h: Likewise.
20817 * sysdeps/sh/sysdep.h: Likewise.
20818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20819 Do not define ASM_TYPE_DIRECTIVE.
20820 * sysdeps/powerpc/sysdep.h: Likewise.
20821 * sysdeps/powerpc/powerpc32/sysdep.h:
20822 Replace ASM_TYPE_DIRECTIVE with .type.
20823 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20824 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20825 * sysdeps/i386/fpu/e_powf.S: Likewise.
20826 * sysdeps/i386/fpu/e_expl.S: Likewise.
20827 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20828 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20829 * sysdeps/i386/fpu/e_pow.S: Likewise.
20830 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20831 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20832 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20833 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20834 * sysdeps/i386/fpu/e_log2.S: Likewise.
20835 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20836 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20837 * sysdeps/i386/fpu/e_powl.S: Likewise.
20838 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20839 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20840 * sysdeps/i386/fpu/e_logl.S: Likewise.
20841 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20842 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20843 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20844 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20845 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20846 * sysdeps/i386/fpu/e_log.S: Likewise.
20847 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20848 * sysdeps/i386/fpu/e_logf.S: Likewise.
20849 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20850 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20851 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20852 * sysdeps/i386/fpu/e_log10.S: Likewise.
20853 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20854 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20855 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20856 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20857 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20858 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20859 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20860 * sysdeps/i386/i686/strtok.S: Likewise.
20861 * sysdeps/i386/i386-mcount.S: Likewise.
20862 * sysdeps/i386/strtok.S: Likewise.
20863 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20864 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20865 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20866 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20867 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20868 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20869 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20870 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20871 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20872 * sysdeps/x86_64/_mcount.S: Likewise.
20873 * sysdeps/x86_64/strtok.S: Likewise.
20874 * sysdeps/sh/_mcount.S: Likewise.
20875
20876 2012-08-01 Roland McGrath <roland@hack.frob.com>
20877
20878 * libio/iofopen.c: Include <fcntl.h>.
20879 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20880 (_IO_fopen64, fopen64): Define as aliases.
20881 * libio/iofopen64.c: Include <fcntl.h>.
20882 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20883 Conditionalize body on this.
20884 * sysdeps/wordsize-64/iofopen.c: File removed.
20885 * sysdeps/wordsize-64/iofopen64.c: File removed.
20886
20887 2012-08-01 Marek Polacek <polacek@redhat.com>
20888
20889 * libc/Makeconfig: Use elf in place of binfmt-subdir.
20890 Use dlfcn directly instead of a variable.
20891 (binfmt-subdir): Do not define.
20892 (dlfcn): Likewise.
20893
20894 2012-08-01 Joseph Myers <joseph@codesourcery.com>
20895
20896 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20897 Remove all definitions.
20898 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20899 <kernel-features.h>.
20900 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20901 (miss_F_GETOWN_EX): Remove all definitions.
20902 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20903 macro definition.
20904 [!__ASSUME_FCNTL64]: Remove conditional code.
20905 [__ASSUME_FCNTL64]: Make code unconditional.
20906 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20907 <kernel-features.h>.
20908 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20909 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20910 (lockf64) [__NR_fcntl64]: Make code unconditional.
20911 (lockf64) [__ASSUME_FCNTL64]: Likewise.
20912
20913 * sysdeps/unix/sysv/linux/kernel-features.h
20914 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20915 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20916 Make code unconditional.
20917 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20918 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20920 [__NR_vfork]: Make code unconditional.
20921 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20922 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20924 [__NR_vfork]: Make code unconditional.
20925 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20926 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20927
20928 2012-08-01 Roland McGrath <roland@hack.frob.com>
20929
20930 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20931 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20932
20933 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20934 Define mkstemp64 as an alias.
20935 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20936 Define mkstemps64 as an alias.
20937 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20938 Define mkostemp64 as an alias.
20939 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20940 Define mkostemps64 as an alias.
20941 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
20942 Conditionalize body on this.
20943 * misc/mkostemp64.c: Likewise.
20944 * misc/mkostemps64.c: Likewise.
20945 * misc/mkstemps64.c: Likewise.
20946 * sysdeps/wordsize-64/mkstemp64.c: File removed.
20947 * sysdeps/wordsize-64/mkostemp64.c: File removed.
20948 * sysdeps/wordsize-64/mkostemp.c: File removed.
20949 * sysdeps/wordsize-64/mkstemp.c: File removed.
20950 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
20951 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
20952 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
20953 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
20954
20955 [BZ #14138]
20956 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
20957 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
20958 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
20959 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
20960
20961 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
20962 compat_symbol macros from <shlib-compat.h> rather than the underlying
20963 default_symbol_version and symbol_version macros, so that DEFAULT
20964 lines in shlib-versions are respected.
20965 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
20966
20967 2012-08-01 Florian Weimer <fweimer@redhat.com>
20968
20969 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
20970 Declare with warn_unused_result.
20971 (setgid, setregid, setegid, setresgid): Likewise.
20972 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
20973 Likewise.
20974 * WUR-REPORT: Remove set*id functions.
20975
20976 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
20977
20978 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
20979
20980 2012-07-31 Roland McGrath <roland@hack.frob.com>
20981
20982 [BZ #10191]
20983 * include/sys/socket.h (__libc_accept, __libc_accept4):
20984 Add attribute_hidden.
20985 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
20986
20987 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
20988 use of PTR_MANGLE.
20989 * inet/getnetgrent_r.c (setup): Likewise.
20990
20991 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
20992
20993 2012-07-31 David S. Miller <davem@davemloft.net>
20994
20995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20996
20997 2012-07-31 Joseph Myers <joseph@codesourcery.com>
20998
20999 [BZ #13629]
21000 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21001 value between 1.0 and 2.0 and smaller part has absolute value less
21002 than 1.0.
21003 * math/s_clog10.c (__clog10): Likewise.
21004 * math/s_clog10f.c (__clog10f): Likewise.
21005 * math/s_clog10l.c (__clog10l): Likewise.
21006 * math/s_clogf.c (__clogf): Likewise.
21007 * math/s_clogl.c (__clogl): Likewise.
21008 * math/libm-test.inc (clog_test): Add more tests.
21009 (clog10_test): Likewise.
21010 * sysdeps/i386/fpu/libm-test-ulps: Update.
21011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21012
21013 2012-07-31 Florian Weimer <fweimer@redhat.com>
21014
21015 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21016 Exit with zero in case no suitable GID is found, and write a
21017 message to standard error.
21018
21019 2012-07-30 Roland McGrath <roland@hack.frob.com>
21020
21021 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21022 rather than to 1.
21023 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21024 (MAXPATHLEN): Removed.
21025 (NOGROUP, NODEV): New macros.
21026 (setbit, clrbit, isset, isclr): New macros.
21027 (howmany, roundup, powerof2): New macros.
21028 (DEV_BSIZE): New macro.
21029
21030 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21031 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21032
21033 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21034 definition on [!__NO_LONG_DOUBLE_MATH].
21035
21036 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21037 PTR_MANGLE and PTR_DEMANGLE.
21038
21039 * socket/accept4.c (accept4): Rename to __libc_accept4.
21040 Define accept4 as a weak alias.
21041
21042 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21043 on [_DIRENT_HAVE_D_TYPE].
21044 * io/ftw.c (ftw_dir): Likewise.
21045
21046 * io/xmknod.c (__xmknod): Don't check PATH for being null.
21047
21048 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21049
21050 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21051 Use the BSD numbers rather than the arbitrary ones we had.
21052 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21053 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21054 (SIGXCPU, SIGXFSZ): New macros.
21055 (_NSIG): Now 32.
21056
21057 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21058 initializer on [_LIBC_REENTRANT].
21059
21060 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21061 definitions inside [_POSIX_MAPPED_FILES].
21062
21063 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21064
21065 * dirent/opendir.c: Include <fcntl.h>.
21066
21067 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21068 (__libc_getspecific): Likewise.
21069 (__libc_key_create): Likewise.
21070
21071 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21072 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21073 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21074 (tmpfile64): Define as alias.
21075 * sysdeps/wordsize-64/tmpfile.c: File removed.
21076 * sysdeps/wordsize-64/tmpfile64.c: File removed.
21077 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21078 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21079
21080 * stdio-common/vfscanf.c: Include <stdbool.h>.
21081 * nss/makedb.c: Likewise.
21082 * stdio-common/_i18n_number.h: Likewise.
21083 * argp/argp-help.c: Likewise.
21084 * posix/wordexp.c: Likewise.
21085 * sysdeps/posix/spawni.c: Likewise.
21086 * nss/nss_files/files-initgroups.c: Likewise.
21087 * stdio-common/reg-modifier.c: Include <stdlib.h>.
21088 * nss/nss_files/files-initgroups.c: Likewise.
21089 * nss/nss_db/db-netgrp.c: Likewise.
21090 * nss/nss_db/db-initgroups.c: Likewise.
21091 * io/fchmodat.c: Include <sys/stat.h>.
21092
21093 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21094 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21095
21096 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21097 [HAVE_MMAP].
21098
21099 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21100 Add multiple inclusion protection.
21101
21102 2012-07-27 David S. Miller <davem@davemloft.net>
21103
21104 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21105
21106 2012-07-27 Gary Benson <gbenson@redhat.com>
21107
21108 [BZ #14298]
21109 * elf/rtld.c: Include <stap-probe.h>.
21110 (dl_main): Added static probes "init_start" and "init_complete".
21111 * elf/dl-load.c: Include <stap-probe.h>.
21112 (lose): Take new parameter "nsid".
21113 Added static probe "map_failed".
21114 (_dl_map_object_from_fd): Pass namespace id to lose.
21115 Added static probe "map_start".
21116 (open_verify): Pass namespace id to lose.
21117 * elf/dl-open.c: Include <stap-probe.h>.
21118 (dl_open_worker) Added static probes "map_complete", "reloc_start"
21119 and "reloc_complete".
21120 * elf/dl-close.c: Include <stap-probe.h>.
21121 (_dl_close_worker): Added static probes "unmap_start" and
21122 "unmap_complete".
21123 * elf/rtld-debugger-interface.txt: New file documenting the above.
21124
21125 2012-07-26 Roland McGrath <roland@hack.frob.com>
21126
21127 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21128 rather than a string variable.
21129 * sunrpc/rpc_main.c (h_output): Likewise.
21130 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21131
21132 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
21133
21134 * inet/check_native.c: New file.
21135
21136 2012-07-26 Joseph Myers <joseph@codesourcery.com>
21137
21138 [BZ #13629]
21139 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21140 if larger part has absolute value 1.0.
21141 * math/s_clog10.c (__clog10): Likewise.
21142 * math/s_clog10f.c (__clog10f): Likewise.
21143 * math/s_clog10l.c (__clog10l): Likewise.
21144 * math/s_clogf.c (__clogf): Likewise.
21145 * math/s_clogl.c (__clogl): Likewise.
21146 * math/libm-test.inc (clog_test): Add more tests.
21147 (clog10_test): Likewise.
21148 * sysdeps/i386/fpu/libm-test-ulps: Update.
21149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21150
21151 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21152 (pltexit): Likewise.
21153 (La_regs): Likewise.
21154 (La_retval): Likewise.
21155 (int_retval): Likewise.
21156 Update #error for removed macros to refer only to definitions in
21157 tst-audit.h.
21158 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21159 macro.
21160 (pltexit): Likewise.
21161 (La_regs): Likewise.
21162 (La_retval): Likewise.
21163 (int_retval): Likewise.
21164 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21165 macro.
21166 (pltexit): Likewise.
21167 (La_regs): Likewise.
21168 (La_retval): Likewise.
21169 (int_retval): Likewise.
21170 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21171 macro.
21172 (pltexit): Likewise.
21173 (La_regs): Likewise.
21174 (La_retval): Likewise.
21175 (int_retval): Likewise.
21176 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21177 macro.
21178 (pltexit): Likewise.
21179 (La_regs): Likewise.
21180 (La_retval): Likewise.
21181 (int_retval): Likewise.
21182 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21183 macro.
21184 (pltexit): Likewise.
21185 (La_regs): Likewise.
21186 (La_retval): Likewise.
21187 (int_retval): Likewise.
21188 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21189 macro.
21190 (pltexit): Likewise.
21191 (La_regs): Likewise.
21192 (La_retval): Likewise.
21193 (int_retval): Likewise.
21194 * sysdeps/generic/tst-audit.h: Update comment to refer only to
21195 macro definitions in tst-audit.h.
21196 * sysdeps/i386/tst-audit.h: New file.
21197 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21198 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21199 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21200 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21201 * sysdeps/sh/tst-audit.h: Likewise.
21202 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21203 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21204 * sysdeps/x86_64/tst-audit.h: Likewise.
21205
21206 2012-07-26 Andreas Jaeger <aj@suse.de>
21207
21208 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21209 ptrace.
21210
21211 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21212 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21213 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21214 PTRACE_O_MASK.
21215 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21216 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21217 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21218
21219 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21220 value.
21221
21222 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21223 _sigsys.
21224 (si_call_addr, si_syscall, si_arch): Define new macro.
21225 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21226 _sigsys.
21227 (si_call_addr, si_syscall, si_arch): Define new marcro.
21228 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21229 _sigsys.
21230 (si_call_addr, si_syscall, si_arch): Define new macro.
21231 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21232 _sigsys.
21233 (si_call_addr, si_syscall, si_arch): Define new macro.
21234
21235 2012-07-25 Joseph Myers <joseph@codesourcery.com>
21236
21237 [BZ #13717]
21238 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21239 Change to 2.4.21 where previously 2.4.1.
21240 * sysdeps/unix/sysv/linux/configure: Regenerated.
21241 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21242 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21243 Linux kernel version.
21244 (__ASSUME_STD_AUXV): Remove.
21245 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21246 kernel version.
21247 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21248 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21249 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21250 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21251 (__ASSUME_NETLINK_SUPPORT): Likewise.
21252 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21253 (__no_netlink_support): Remove conditional definition.
21254 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21255 Remove.
21256 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21257 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21258 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21259 (if_nameindex_ioctl): Remove.
21260 (if_nameindex_netlink): Do not handle __no_netlink_support.
21261 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21262 code.
21263 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21264 Remove conditional code.
21265 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21266 code.
21267 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21268 unconditional.
21269 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21270 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21271 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21272 Remove.
21273 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21274 [!__ASSUME_STD_AUXV]: Remove conditional code.
21275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21276 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21277 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21279 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21280 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21281 code.
21282 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21284 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21285 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21286 conditional code.
21287 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21289 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21290 code.
21291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21292 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21293 conditional code.
21294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21295 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21296 code unconditional.
21297 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21298 conditional code.
21299 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21300 unconditional.
21301 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21302 conditional code.
21303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21304 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21305 unconditional.
21306 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21307 conditional code.
21308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21309 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21310 code unconditional.
21311 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21312 conditional code.
21313 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21314 unconditional.
21315 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21316 conditional code.
21317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21318 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21319 code unconditional.
21320 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21321 conditional code.
21322 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21323 unconditional.
21324 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21325 conditional code.
21326
21327 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
21328
21329 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21330 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21331 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21332 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21333 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21334 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21335 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21336 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21337 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21338 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21339 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21340 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21341 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21342 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21343 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21344 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21345 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21346 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21347 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21348 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21349 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21350 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21351 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21352
21353 2012-07-25 Florian Weimer <fweimer@redhat.com>
21354
21355 * Versions.def: Add GLIBC_2.17.
21356 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21357 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21358 Introduce __libc_secure_getenv.
21359 * stdlib/Versions (2.17): Add secure_getenv
21360 (GLIBC_PRIVATE): Add __libc_secure_getenv.
21361 * stdlib/secure-getenv.c: Rename __secure_getenv to
21362 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
21363 symbol __secure_getenv for GLIBC_2.0.
21364 * stdlib/tst-secure-getenv.c: New.
21365 * stdlib/Makefile (tests): Add testcase.
21366 * manual/startup.texi (Environment Access): Document
21367 secure_getenv.
21368 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21369 __libc_secure_getenv.
21370 * inet/ruserpass.c (ruserpass): Likewise.
21371 * malloc/mtrace.c (mtrace): Likewise.
21372 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
21373 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21374 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21375 * sysdeps/posix/tempname.c: Likewise. Evaluate
21376 HAVE_SECURE_GETENV.
21377 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
21378 __secure_getenv to __libc_secure_getenv.
21379 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
21380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21381 Likewise.
21382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21383 Likewise.
21384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21385 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21386 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21387 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21388 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21389 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21391
21392 2012-07-25 Joseph Myers <joseph@codesourcery.com>
21393
21394 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21395 (struct La_i86_retval): Likewise.
21396 (struct La_x86_64_regs): Likewise.
21397 (struct La_x86_64_retval): Likewise.
21398 (struct La_x32_regs): Likewise.
21399 (struct La_x32_retval): Likewise.
21400 (struct La_ppc32_regs): Likewise.
21401 (struct La_ppc32_retval): Likewise.
21402 (struct La_ppc64_regs): Likewise.
21403 (struct La_ppc64_retval): Likewise.
21404 (struct La_sh_regs): Likewise.
21405 (struct La_sh_retval): Likewise.
21406 (struct La_s390_32_regs): Likewise.
21407 (struct La_s390_32_retval): Likewise.
21408 (struct La_s390_64_regs): Likewise.
21409 (struct La_s390_64_retval): Likewise.
21410 (struct La_sparc32_regs): Likewise.
21411 (struct La_sparc32_retval): Likewise.
21412 (struct La_sparc64_regs): Likewise.
21413 (struct La_sparc64_retval): Likewise.
21414 (struct audit_ifaces): Remove architecture-specific pltenter and
21415 pltexit members.
21416 * sysdeps/i386/ldsodefs.h: New file.
21417 * sysdeps/powerpc/ldsodefs.h: Likewise.
21418 * sysdeps/s390/ldsodefs.h: Likewise.
21419 * sysdeps/sh/ldsodefs.h: Likewise.
21420 * sysdeps/sparc/ldsodefs.h: Likewise.
21421 * sysdeps/x86_64/ldsodefs.h: Likewise.
21422
21423 2012-07-25 Marek Polacek <polacek@redhat.com>
21424
21425 [BZ #6808]
21426 * math/libm-test.inc (yn_test): Add another test.
21427 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21428 to ERANGE when the result is +-Inf.
21429 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21430 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21431 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21432 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21433
21434 2012-07-24 Joseph Myers <joseph@codesourcery.com>
21435
21436 * conform/data/time.h-data (NULL): Use macro-constant. Require
21437 equal to 0.
21438 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
21439 clock_t.
21440 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
21441
21442 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
21443
21444 * configure.in <sysdeps resolving>: Correct printing
21445 Implies_before.
21446 * configure: Regenerate.
21447
21448 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
21449
21450 * math/w_ilogb.c: Include <limits.h>.
21451 * math/w_ilogbl.c: Likewise.
21452
21453 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21454
21455 * manual/lang.texi (__va_copy): Document primarily as ISO C99
21456 va_copy. Document allowing for unavailable va_copy only as
21457 pre-C99 compatibility.
21458 * manual/string.texi (Copying and Concatenation): Use va_copy
21459 instead of __va_copy in concat example.
21460
21461 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
21462
21463 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21464 (__sendto): Use create_address_port. Initialize APORT and deallocate
21465 it if not null.
21466
21467 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21468 with O_NOLINK passed to __file_name_lookup.
21469
21470 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21471 with O_NOLINK passed to __file_name_lookup.
21472
21473 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21474 negative N or less than NGIDS.
21475
21476 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21477 type to string_t. Set ERANGE as errno and return it if NAME is not big
21478 enough. Use memcpy instead of strncpy.
21479
21480 2012-07-20 Joseph Myers <joseph@codesourcery.com>
21481
21482 * elf/Makefile (check-data): Remove.
21483 (localplt.data): New vpath directive.
21484 ($(objpfx)check-localplt.out): Use localplt.data from vpath
21485 instead of $(check-data).
21486 * scripts/data/localplt-generic.data: Move to ...
21487 * sysdeps/generic/localplt.data: ... here.
21488 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21489 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21490 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21492 ... here.
21493 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21495 ... here.
21496 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21498 ... here.
21499 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21501 ... here.
21502 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21503 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21504 ... here.
21505 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21506 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21507 ... here.
21508
21509 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21510
21511 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21512 PPC32 and PPC64 files.
21513 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21514 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21515
21516 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21517
21518 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21519 __makecontext_ret to ...
21520 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21521 ... here and call exit if uc_link is NULL. New file.
21522 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21523 __makecontext_ret.S.
21524 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21525 __makecontext_ret to ...
21526 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21527 ... here and call exit if uc_link is NULL. New file.
21528 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21529 __makecontext_ret.S.
21530
21531 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21532
21533 * elf/elf.h (R_390_IRELATIVE): New definition.
21534 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21535 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
21536 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21537 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21538 (elf_machine_lazy_rel): Likewise.
21539 * sysdeps/s390/dl-irel.h: New file.
21540 * sysdeps/s390/s390-64/memcpy.S: New asm code.
21541 * sysdeps/s390/s390-64/memset.S: New asm code.
21542 * sysdeps/s390/s390-64/memcmp.S: New asm code.
21543 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21544 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21545 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21546 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21547 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21548 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21549 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21550 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21551 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21552 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21553 * sysdeps/s390/s390-32/memcpy.S: New asm code.
21554 * sysdeps/s390/s390-32/memset.S: New asm code.
21555 * sysdeps/s390/s390-32/memcmp.S: New asm code.
21556
21557 2012-07-17 Marek Polacek <polacek@redhat.com>
21558
21559 [BZ #14349]
21560 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21561 * sysdeps/s390/s390-64/configure.in: Likewise.
21562 * sysdeps/sparc/configure.in: Likewise.
21563 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21564 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21565 * sysdeps/i386/configure.in: Likewise.
21566 * sysdeps/x86_64/configure.in: Likewise.
21567 * sysdeps/sh/configure.in: Likewise.
21568 * sysdeps/s390/s390-32/configure: Regenerated.
21569 * sysdeps/s390/s390-64/configure: Likewise.
21570 * sysdeps/x86_64/configure: Likewise.
21571 * sysdeps/sh/configure: Likewise.
21572 * sysdeps/powerpc/powerpc64/configure: Likewise.
21573 * sysdeps/powerpc/powerpc32/configure: Likewise.
21574 * sysdeps/sparc/configure: Likwise.
21575 * sysdeps/i386/configure: Likewise.
21576
21577 * elf/dl-open.c: Comment fixes.
21578
21579 2012-07-17 Joseph Myers <joseph@codesourcery.com>
21580
21581 * Makefile [CXX] (check-data): Remove.
21582 [CXX] (c++-types.data): New vpath directive.
21583 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21584 vpath. Do not allow for C++ type data being missing.
21585 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21586 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21587 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21588 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21589 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21590 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21591 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21593 ... here.
21594 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21596 ... here.
21597 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21599 ... here.
21600 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21602 ... here.
21603 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21604 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21605 ... here.
21606 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21607 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21608 ... here.
21609 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21610 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21611 ... here.
21612 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21613 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21614
21615 * elf/tls-macros.h (TLS_LE): Move architecture-specific
21616 definitions to architecture-specific files.
21617 (TLS_IE): Likewise.
21618 (TLS_LD): Likewise.
21619 (TLS_GD): Likewise.
21620 * sysdeps/i386/tls-macros.h: New file.
21621 * sysdeps/powerpc/tls-macros.h: Likewise.
21622 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21623 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21624 * sysdeps/sh/tls-macros.h: Likewise.
21625 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21626 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21627 * sysdeps/x86_64/tls-macros.h: Likewise.
21628
21629 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21630
21631 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21632 zero value for regular exit case.
21633
21634 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21635 (__start_context): Preserve zero value for regular exit case.
21636
21637 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
21638 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21639
21640 * manual/setjmp.texi (setcontext): Clarify normal process
21641 termination when uc_link is the null pointer.
21642 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21643 exit call.
21644
21645 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
21646
21647 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21648 preprocessor. Test for each exception mask separately.
21649
21650 2012-07-16 Andreas Jaeger <aj@suse.de>
21651
21652 * po/ru.po: Update from translation team.
21653
21654 2012-07-15 Joseph Myers <joseph@codesourcery.com>
21655
21656 * conform/data/string.h-data (NULL): Use macro-constant. Require
21657 equal to 0.
21658 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21659 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21660 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21661 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21662 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21663
21664 2012-07-13 Andreas Jaeger <aj@suse.de>
21665
21666 * po/fr.po: Update from translation team.
21667
21668 2012-07-12 Marek Polacek <polacek@redhat.com>
21669
21670 [BZ #14173]
21671 * math/libm-test.inc (yn_test): Add test for BZ #14173.
21672 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21673 loop condition.
21674
21675 2012-07-12 Joseph Myers <joseph@codesourcery.com>
21676
21677 [BZ #13717]
21678 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21679 Change to 2.4.1 where previously 2.4.0.
21680 * sysdeps/unix/sysv/linux/configure: Regenerated.
21681 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21682 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21683 version.
21684 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21685 (__ASSUME_AT_CLKTCK): Remove.
21686 (__ASSUME_AT_PAGESIZE): Likewise.
21687 (__ASSUME_AT_XID): Likewise.
21688 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21689 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21690 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21691 unconditionally.
21692 (HAVE_AUX_PAGESIZE): Likewise.
21693 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21694 [__ASSUME_AT_CLKTCK]: Make code unconditional.
21695 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21696
21697 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
21698
21699 [BZ #14307]
21700 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21701 the temporary buffer used to invoke __gethostbyname2_r,
21702 __gethostbyaddr_r and gethostbyname4_r to make room for struct
21703 host_data / struct gaih_addrtuple.
21704 * resolv/nss_dns/dns-host.c (global scope): Move definition of
21705 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21706 header file nss/nsswitch.h.
21707 * nss/nsswitch.h (global scope): Add definition of implementation
21708 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21709 resolv/nss_dns/dns-host.c).
21710
21711 2012-07-11 Andreas Jaeger <aj@suse.de>
21712
21713 * po/fr.po: Update from translation team.
21714
21715 * po/sv.po: Update from translation team
21716 * po/fr.po: Another update from translation team.
21717
21718 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21719
21720 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21721 for subnormals or multiply small sinh result by itself.
21722 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21723 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21724
21725 2012-07-11 David S. Miller <davem@davemloft.net>
21726
21727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21728
21729 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
21730
21731 [BZ #14347]
21732 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21733 (INTERNAL_MARK): Shift it here.
21734
21735 2012-07-10 Marek Polacek <polacek@redhat.com>
21736
21737 [BZ #14151]
21738 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
21739 libc_cv_asm_global_directive with .globl.
21740 * configure: Regenerated.
21741 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21742 with .globl.
21743 * sysdeps/i386/configure: Regenerated.
21744 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21745 with .globl.
21746 * sysdeps/x86_64/configure: Regenerated.
21747 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21748 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21749 * elf/tst-unique2mod2.c: Likewise.
21750 * elf/tst-unique2mod1.c: Likewise.
21751 * elf/tst-unique1mod2.c: Likewise.
21752 * elf/tst-unique1mod1.c: Likewise.
21753 * sysdeps/s390/s390-32/sysdep.h: Likewise.
21754 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21755 * sysdeps/s390/s390-64/sysdep.h: Likewise.
21756 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21757 * sysdeps/mach/sysdep.h: Likewise.
21758 * sysdeps/i386/sysdep.h: Likewise.
21759 * sysdeps/i386/i386-mcount.S: Likewise.
21760 * sysdeps/x86_64/_mcount.S: Likewise.
21761 * sysdeps/x86_64/sysdep.h: Likewise.
21762 * sysdeps/sh/_mcount.S: Likewise.
21763 * sysdeps/sh/sysdep.h: Likewise.
21764 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21765 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21766 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21767 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21768 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21769 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21770 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21771 * locale/localeinfo.h: Likewise.
21772 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21773 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21774
21775 2012-07-09 Roland McGrath <roland@hack.frob.com>
21776
21777 [BZ #14336]
21778 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21779 system".
21780 * manual/message.texi (The Uniforum approach): Likewise.
21781 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21782 (glibc iconv Implementation): Likewise.
21783
21784 2012-07-09 Joseph Myers <joseph@codesourcery.com>
21785
21786 [BZ #14337]
21787 * math/s_clog.c (__clog): Avoid scaling a value down where that
21788 could result in underflow.
21789 * math/s_clog10.c (__clog10): Likewise.
21790 * math/s_clog10f.c (__clog10f): Likewise.
21791 * math/s_clog10l.c (__clog10l): Likewise.
21792 * math/s_clogf.c (__clogf): Likewise.
21793 * math/s_clogl.c (__clogl): Likewise.
21794 * math/libm-test.inc (clog_test): Add more tests.
21795 (clog10_test): Likewise.
21796 * sysdeps/i386/fpu/libm-test-ulps: Update.
21797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21798
21799 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
21800
21801 [BZ #14283]
21802 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21803 by 7 not 8 to examine high bit of fractional part.
21804
21805 [BZ #14042]
21806 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21807 for call to __mcount_internal.
21808 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21809 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21810 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21811
21812 2012-07-06 Joseph Myers <joseph@codesourcery.com>
21813
21814 [BZ #14154]
21815 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21816 approximation for values within 0x1p-13f of an odd multiple of
21817 pi/4.
21818 * math/libm-test.inc (tan_test): Do not allow spurious underflow
21819 exception. Add more tests.
21820 * sysdeps/i386/fpu/libm-test-ulps: Update.
21821
21822 [BZ #6778]
21823 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21824 inputs and return -1 for them. Do not check for +Inf in case not
21825 reachable for +Inf.
21826 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21827 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21828 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21829 and return -1 for them. Do not check for +Inf in case not
21830 reachable for +Inf.
21831 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21832 define.
21833 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21834 and return -1 for them. Do not check for +Inf in case not
21835 reachable for +Inf.
21836 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
21837 spurious underflow.
21838 * sysdeps/i386/fpu/libm-test-ulps: Update.
21839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21840
21841 2012-07-06 Mike Frysinger <vapier@gentoo.org>
21842
21843 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21844
21845 2012-07-05 Joseph Myers <joseph@codesourcery.com>
21846
21847 [BZ #14157]
21848 [BZ #14331]
21849 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21850 could result in spurious underflow. Scale down values above
21851 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21852 * math/s_csqrtf.c (__csqrtf): Likewise.
21853 * math/s_csqrtl.c (__csqrtl): Likewise.
21854 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
21855 spurious underflow.
21856 * sysdeps/i386/fpu/libm-test-ulps: Update.
21857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21858
21859 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
21860
21861 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21862 xopen-msg.sed.
21863 * catgets/xopen-msg.awk: New file.
21864 * catgets/xopen-msg.sed: Removed.
21865
21866 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21867 po2text.sed.
21868 * intl/po2test.awk: New file.
21869 * intl/po2test.sed: Removed.
21870
21871 2012-07-04 Joseph Myers <joseph@codesourcery.com>
21872
21873 [BZ #14328]
21874 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21875 or multiply small sinh result by itself.
21876 * math/s_ctanf.c (__ctanf): Likewise.
21877 * math/s_ctanh.c (__ctanh): Likewise.
21878 * math/s_ctanhf.c (__ctanhf): Likewise.
21879 * math/s_ctanhl.c (__ctanhl): Likewise.
21880 * math/s_ctanl.c (__ctanl): Likewise.
21881 * math/libm-test.inc (ctan_test_tonearest): New function.
21882 (ctan_test_towardzero): Likewise.
21883 (ctan_test_downward): Likewise.
21884 (ctan_test_upward): Likewise.
21885 (ctanh_test_tonearest): Likewise.
21886 (ctanh_test_towardzero): Likewise.
21887 (ctanh_test_downward): Likewise.
21888 (ctanh_test_upward): Likewise.
21889 (main): Call these new functions.
21890 * sysdeps/i386/fpu/libm-test-ulps: Update.
21891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21892
21893 2012-07-03 Mike Frysinger <vapier@gentoo.org>
21894
21895 * .gitignore: Delete /ports entry.
21896
21897 2012-07-03 Andreas Jaeger <aj@suse.de>
21898
21899 * po/bg.po: Update from translation team.
21900 * po/cs.po: Likewise.
21901 * po/de.po: Likewise.
21902 * po/hr.po: Likewise.
21903 * po/nl.pl: Likewise.
21904 * po/pl.po: Likewise.
21905 * po/vi.po: Likewise.
21906
21907 2012-07-03 Joseph Myers <joseph@codesourcery.com>
21908
21909 * Makeconfig [!+link] (+link-before-libc): New variable.
21910 [!+link] (+link-after-libc): Likewise.
21911 [!+link] (+link-tests): Likewise.
21912 [!+link] (+link): Define in terms of $(+link-before-libc) and
21913 $(+link-after-libc).
21914 [!+link-static] (+link-static-before-libc): New variable.
21915 [!+link-static] (+link-static-after-libc): Likewise.
21916 [!+link-static] (+link-static-tests): Likewise.
21917 [!+link-static] (+link-static): Define in terms of
21918 $(+link-static-before-libc) and $(+link-static-after-libc).
21919 [build-shared] (link-libc-before-gnulib): New variable.
21920 [build-shared] (link-libc-tests): Likewise.
21921 [build-shared] (link-libc): Define in terms of
21922 $(link-libc-before-gnulib).
21923 [!build-shared] (link-libc-tests): New variable.
21924 (link-libc-static-tests): New variable.
21925 [!gnulib] (gnulib-arch): New variable.
21926 [!gnulib] (gnulib-tests): Likewise.
21927 [!gnulib] (static-gnulib-arch): Likewise.
21928 [!gnulib] (static-gnulib-tests): Likewise.
21929 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
21930 Define with "=" instead of ":=".
21931 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
21932 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
21933 * Rules (binaries-all-notests): New variable.
21934 (binaries-all-tests): Likewise.
21935 (binaries-static-notests): Likewise.
21936 (binaries-static-tests): Likewise.
21937 (binaries-all): Define using $(binaries-all-notests) and
21938 $(binaries-all-tests).
21939 (binaries-static): Define using $(binaries-static-notests) and
21940 $(binaries-static-tests).
21941 (binaries-shared-tests): New variable.
21942 (binaries-shared-notests): Likewise.
21943 (binaries-shared): Remove variable.
21944 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
21945 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
21946 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
21947 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
21948 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
21949 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
21950 * elf/Makefile (sln-modules): New variable.
21951 (extra-objs): Add $(sln-modules:=.o).
21952 (ldconfig-modules): Add static-stubs.
21953 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
21954 * elf/static-stubs.c: New file.
21955
21956 [BZ #14283]
21957 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
21958 by 7 not 8 to examine high bit of fractional part. Use volatile
21959 variables when splitting into final array of floats if
21960 __FLT_EVAL_METHOD__ != 0.
21961 * math/libm-test.inc (cos_test): Add another test.
21962 (sin_test): Likewise.
21963 * sysdeps/i386/fpu/libm-test-ulps: Update.
21964
21965 [BZ #14273]
21966 * math/libm-test.inc (cosh_test): Add more tests.
21967
21968 * version.h (RELEASE): Set to "development".
21969 (VERSION): Set to "2.16.90".
21970
21971 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
21972
21973 * NEWS: Update copyright. Remove last-updated date.
21974 Mention math library bug fixes and timezone data changes.
21975 * README: Mention GNU/Hurd, x32, and HPPA support status.
21976
21977 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
21978
21979 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
21980
21981 2012-06-27 Andreas Jaeger <aj@suse.de>
21982
21983 * manual/contrib.texi (Contributors): Add Samuel Thibault.
21984
21985 2012-06-25 Andreas Jaeger <aj@suse.de>
21986
21987 * sysdeps/s390/fpu/libm-test-ulps: Update.
21988
21989 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
21990 Thomas Schwinge <thomas@codesourcery.com>
21991
21992 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
21993 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
21994 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
21995 fanotify_mark.
21996
21997 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
21998
21999 * sysdeps/mach/start.c: Remove file.
22000 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22001 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22002 * sysdeps/sh/init-first.c: Likewise.
22003
22004 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22005 registers for frame unwinding purposes, add CFI directives.
22006 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22007 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22008 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22009 Likewise.
22010
22011 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22012 __fortify_fail returning.
22013 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22014
22015 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22016 sysdeps/sh/____longjmp_chk.S.
22017 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22018 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22019 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22020 (gen-as-const-headers): Append sigaltstack-offsets.sym.
22021
22022 * sysdeps/sh/abort-instr.h: New file.
22023 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22024 process in case exit returns.
22025
22026 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22027 initialize the GOT register before use.
22028
22029 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22030 calculation of ARGC > 4.
22031
22032 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22033 meaningful names to some local labels.
22034
22035 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22036 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22037
22038 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22039 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22040 (__arch_compare_and_exchange_val_16_acq): Likewise.
22041 (__arch_compare_and_exchange_val_32_acq): Likewise.
22042 (atomic_exchange_and_add): Fix gUSA sequence.
22043 (atomic_add): Likewise.
22044 (atomic_add_negative): Likewise.
22045 (atomic_add_zero): Likewise.
22046 (atomic_bit_test_set): Likewise.
22047
22048 2012-06-22 Andreas Schwab <schwab@redhat.com>
22049
22050 [BZ #13579]
22051 * include/link.h (struct link_map): Add l_free_initfini.
22052 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22053 l_initfini.
22054 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22055 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22056 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22057 set.
22058
22059 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
22060
22061 * configure.in: Use AC_LANG_SOURCE.
22062 * configure: Regenerate.
22063
22064 2012-06-22 Roland McGrath <roland@hack.frob.com>
22065
22066 * configure.in (libc_cv_localstatedir): New substituted variable.
22067 * configure: Regenerated.
22068 * config.make.in (localstatedir): New variable, substituted from
22069 libc_cv_localstatedir.
22070 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22071 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22072 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22073 * sysdeps/gnu/configure: Regenerated.
22074
22075 2012-06-21 Jeff Law <law@redhat.com>
22076
22077 [BZ #14277]
22078 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22079 free. Simplify list management for _LIBC case.
22080
22081 2012-06-21 Joseph Myers <joseph@codesourcery.com>
22082
22083 [BZ #14273]
22084 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22085 Clear sign bit of 64-bit integer value before comparing against
22086 overflow value.
22087
22088 * sysdeps/mach/configure: Regenerated.
22089
22090 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
22091
22092 [BZ #14278]
22093 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22094
22095 2012-06-21 Jeff Law <law@redhat.com>
22096
22097 [BZ #13882]
22098 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
22099 uint16_t for elements in the "seen" array to avoid char overflows.
22100 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22101 * elf/dl-open.c (dl_open_worker): Likewise.
22102
22103 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
22104
22105 * scripts/list-sources.sh: Scan PORTS for translations.
22106 * po/libc.pot: Regenerated.
22107
22108 2012-06-21 Andreas Jaeger <aj@suse.de>
22109
22110 [BZ #12194]
22111 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22112 warning.
22113 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22114 * bits/byteswap-16.h (__bswap_16): Likewise.
22115 * bits/byteswap.h (__bswap_constant_16): Likewise.
22116
22117 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
22118
22119 [BZ #14117]
22120 * sysdeps/i386/fpu_control.h: Removed.
22121 * sysdeps/x86_64/fpu_control.h: Moved to ...
22122 * sysdeps/x86/fpu_control.h: Here.
22123
22124 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22125 (_FPU_SETCW): Likewise.
22126
22127 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
22128
22129 [BZ #14117]
22130 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22131 * sysdeps/x86/fpu/bits/mathinline.h: This.
22132 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22133
22134 [BZ #14050]
22135 [BZ #14117]
22136 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22137 functions if __x86_64__ is defined.
22138
22139 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
22140
22141 * string/endian.h: Add !__ASSEMBLER__ condition for including
22142 conversion interfaces.
22143
22144 2012-06-15 Joseph Myers <joseph@codesourcery.com>
22145
22146 [BZ #14241]
22147 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22148 of ABS(x) in calculating zero to negative powers other than odd
22149 integers.
22150 * math/libm-test.inc (pow_test): Add more tests.
22151
22152 2012-06-15 Andreas Jaeger <aj@suse.de>
22153
22154 * manual/contrib.texi (Contributors): Update entry of Liubov
22155 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22156 Machado Filho.
22157
22158 2012-06-15 Cyril Hrubis <metan@ucw.cz>
22159
22160 * string/string.h: Add __wur to GNU version of strerror_r.
22161
22162 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
22163
22164 [BZ #14229]
22165 * string/Makefile (tests): Add tst-strtok_r.
22166 * string/tst-strtok_r.c: New file.
22167 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22168 RAX_LP/RDX_LP on SAVE_PTR.
22169
22170 2012-06-14 Roland McGrath <roland@hack.frob.com>
22171
22172 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22173
22174 2012-06-14 Joseph Myers <joseph@codesourcery.com>
22175
22176 * libm_test.inc (csqrt_test): Allow more spurious underflow
22177 exceptions.
22178 (j0_test): Likewise.
22179 (j1_test): Likewise.
22180 (y0_test): Likewise.
22181 (y1_test): Likewise.
22182
22183 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
22184
22185 * po/Makefile (libc.pot): Use UTF-8 charset.
22186
22187 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
22188
22189 [BZ #14210]
22190 Suppress sign-conversion warning from FD_SET.
22191 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22192 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22193 not unsigned long int.
22194 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22195
22196 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
22197
22198 [BZ #14050]
22199 [BZ #14117]
22200 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22201 __extern_always_inline instead of __extern_inline.
22202 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22203 (__signbit): Likewise.
22204 (__signbitl): Support C++ namespace.
22205 (lrintf): New inline function.
22206 (lrint): Likewise.
22207 (llrintf): Likewise.
22208 (llrint): Likewise.
22209 (fmaxf): Likewise.
22210 (fmax): Likewise.
22211 (fminf): Likewise.
22212 (fmin): Likewise.
22213 (rint): Likewise.
22214 (rintf): Likewise.
22215 (ceil): Likewise.
22216 (ceilf): Likewise.
22217 (floor): Likewise.
22218 (floorf): Likewise.
22219 (nearbyint): Likewise.
22220 (nearbyintf): Likewise.
22221
22222 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
22223
22224 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22225 non-default versions.
22226
22227 2012-06-11 Roland McGrath <roland@hack.frob.com>
22228
22229 [BZ #14218]
22230 * manual/argp.texi (Argp): Reword argp_parse description slightly.
22231
22232 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
22233
22234 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22235 (FE_UPWARD, FE_DOWNWARD): Don't define.
22236 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22237 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22238
22239 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22240 reading it.
22241 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22242 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22243
22244 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22245
22246 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22247 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22248 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22249 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22250
22251 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
22252
22253 [BZ #14117]
22254 * sysdeps/i386/fpu/bits/fenv.h: Removed.
22255 * sysdeps/i386/fpu/Implies: New file.
22256 * sysdeps/x86_64/fpu/Implies: Likewise.
22257 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22258 * sysdeps/x86/fpu/bits/fenv.h: This.
22259
22260 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22261 __SSE_MATH__.
22262
22263 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22264
22265 [BZ #14134]
22266 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22267 character 0xffff that matches the last element of the
22268 conversion table.
22269
22270 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22271
22272 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22273 fmodl commit.
22274
22275 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22276
22277 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22278 values higher than 25.6283.
22279
22280 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22281
22282 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22283 subnormal exponent extraction and add some __builtin_expect.
22284 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22285 Fix for subnormal mantissa calculation.
22286
22287 2012-06-04 Mike Frysinger <vapier@gentoo.org>
22288
22289 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22290 cpu2 is -1 and errno is not ENOSYS.
22291
22292 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
22293
22294 [BZ #14117]
22295 * sysdeps/i386/i486/bits/string.h: Renamed to ...
22296 * sysdeps/x86/bits/string.h: This.
22297 * sysdeps/x86_64/bits/string.h: Removed.
22298
22299 * sysdeps/i386/i486/bits/string.h: Define inline functions only
22300 if not compiling for x86-64, but compiling for >= i486.
22301
22302 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22303 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22304
22305 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22306 New macro from Linux kernel 3.4.0.
22307 (FP_XSTATE_MAGIC2): Likewise.
22308 (FP_XSTATE_MAGIC2_SIZE): Likewise.
22309 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22310 (struct _fpx_sw_bytes): New struct.
22311 (struct _xsave_hdr): Likewise.
22312 (struct _ymmh_state): Likewise.
22313 (struct _xstate): Likewise.
22314
22315 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22316 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22317 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22318 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22319 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22320 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22321
22322 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22323 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22324 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22325 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22326 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22327 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22328
22329 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22330
22331 [BZ #13743]
22332 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22333 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22334 (sysdep_headers): Include sys/platform/ppc.h.
22335 * sysdeps/powerpc/test-gettimebase.c: Test for
22336 __ppc_get_timebase() to catch future ISA opcode/insn changes.
22337 * manual/Makefile (appendices): Include platform.texi.
22338 * manual/contrib.texi (Contributors): Update @node pointers.
22339 * manual/maint.texi (Maintenance): Likewise.
22340 (Platform): New node.
22341 * manual/platform.texi: New file. Document the new features.
22342
22343 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22344 Jakub Jelinek <jakub@redhat.com>
22345
22346 [BZ #14188]
22347 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22348 where __builtin_expect is unavailable.
22349
22350 2012-06-03 David S. Miller <davem@davemloft.net>
22351
22352 * stdlib/longlong.h: Updated from GCC.
22353
22354 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
22355
22356 [BZ #14042]
22357 * sysdeps/powerpc/powerpc32/mcount.c: New file.
22358 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22359 __mcount_internal.
22360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22361 (GLIBC_2.16): Likewise.
22362
22363 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22364
22365 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22366
22367 2012-06-01 Joseph Myers <joseph@codesourcery.com>
22368
22369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22370 (default-abi): New variable.
22371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22372 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22373 variable.
22374 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22375 Likewise.
22376 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22377 Likewise.
22378 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22379 Likewise.
22380
22381 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22382 definition. Document in comment.
22383
22384 2012-06-01 David S. Miller <davem@davemloft.net>
22385
22386 * stdlib/longlong.h: Updated from GCC.
22387
22388 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22389
22390 [BZ #14117]
22391 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22392 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22393 sys/debugreg.h sys/io.h here.
22394 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22395 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22396 sys/io.h.
22397 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22398 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22399 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22400 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22401 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22402 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22403
22404 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22405 Define only if __x86_64__ is defined.
22406
22407 2012-06-01 Joseph Myers <joseph@codesourcery.com>
22408
22409 [BZ #14048]
22410 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22411 Use int64_t for variable i.
22412 * math/libm-test.inc (fmod_test): Add more tests.
22413
22414 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22415 z computation is not scheduled after fetestexcept.
22416 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22417 Use math_force_eval instead of asm to ensure calculation scheduled
22418 before exception test.
22419 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22420 Ensure a1 + u.d computation is not scheduled after fetestexcept.
22421
22422 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
22423
22424 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22425 computation is not scheduled after fetestexcept.
22426
22427 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
22428
22429 [BZ #14117]
22430 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22431 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22432
22433 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22434
22435 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22436 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22437
22438 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22439
22440 [BZ #14117]
22441 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22442 <bits/wordsize.h>.
22443 (__WCHAR_MIN): Support __WORDSIZE == 64.
22444 (__WCHAR_MAX): Likewise.
22445
22446 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22447 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22448
22449 [BZ #14183]
22450 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22451 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22452
22453 [BZ #14117]
22454 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22455 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22456
22457 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22458 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22459
22460 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22461 Defined to 1 if __x86_64__ isn't defined.
22462 (_STAT_VER_LINUX_OLD): New.
22463 (st_atime): Remove duplicate.
22464 (st_mtime): Likewise.
22465 (st_ctime): Likewise.
22466
22467 2012-05-31 David S. Miller <davem@davemloft.net>
22468
22469 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22470 entries.
22471
22472 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
22473
22474 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22475 gen-libm-test.pl.
22476
22477 [BZ #14132]
22478 * elf/dl-reloc.c: Include <_itoa.h>.
22479 (_dl_reloc_bad_type): Remove use of INTUSE.
22480 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22481 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22482 * stdio-common/psiginfo.c (psiginfo): Likewise.
22483 * stdio-common/psignal.c (psignal): Likewise.
22484 * string/strsignal.c (strsignal): Likewise.
22485 * include/signal.h (_sys_siglist): Declare hidden proto.
22486 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
22487 INTVARDEF with libc_hidden_data_def.
22488 * stdio-common/itoa-udigits.c: Likewise.
22489 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22490 (_itoa_lower_digits_internal): Remove declaration.
22491 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22492 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22493 (_sys_sigabbrev_internal): Remove aliases.
22494 (_sys_siglist): Define hidden alias.
22495
22496 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
22497
22498 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22499 bits/sysctl.h.
22500
22501 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
22502
22503 [BZ #14117]
22504 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22505 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22506
22507 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22508 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22509 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22510 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22511 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22512 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22513
22514 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22515 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22516 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22517
22518 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22519 with __addr.
22520 (insw): Likewise.
22521 (insl): Likewise.
22522 (outsb): Likewise.
22523 (outsw): Likewise.
22524 (outsl): Likewise.
22525
22526 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22527 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22528 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22529
22530 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22531 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22532 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22533 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22534 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22535 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22536
22537 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22538 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22539
22540 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22541 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22542
22543 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22544 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22545 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22546
22547 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22548 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22549 to ...
22550 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22551
22552 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22553 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22554 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22555
22556 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22557 for x86-64.
22558 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22559
22560 2012-05-31 Joseph Myers <joseph@codesourcery.com>
22561
22562 * math/math.h (M_El): Use two more decimal places.
22563 (M_LOG2El): Likewise.
22564 (M_LOG10El): Likewise.
22565 (M_LN2l): Likewise.
22566 (M_LN10l): Likewise.
22567 (M_PIl): Likewise.
22568 (M_PI_2l): Likewise.
22569 (M_PI_4l): Likewise.
22570 (M_1_PIl): Likewise.
22571 (M_2_PIl): Likewise.
22572 (M_2_SQRTPIl): Likewise.
22573 (M_SQRT2l): Likewise.
22574 (M_SQRT1_2l): Likewise.
22575
22576 2012-05-31 David S. Miller <davem@davemloft.net>
22577
22578 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22579 values between float registers.
22580 * sysdeps/sparc/sparc64/memset.S: Likewise.
22581 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22582
22583 2012-05-31 Mike Frysinger <vapier@gentoo.org>
22584
22585 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22586 -D_FORTIFY_SOURCE=1.
22587 (CPPFLAGS-tst-longjmp_chk.c): Define.
22588 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22589 (CPPFLAGS-tst-longjmp_chk2.c): Define.
22590 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22591 CFLAGS-tst-wchar-h.c.
22592
22593 2012-05-31 Marek Polacek <polacek@redhat.com>
22594
22595 [BZ #14132]
22596 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22597 __endmntent_internal): Remove declaration.
22598 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22599 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22600 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22601
22602 2012-05-30 David S. Miller <davem@davemloft.net>
22603
22604 * sysdeps/sparc/sparc32/soft-fp/q_util.c
22605 (___Q_simulate_exceptions): Use real FP ops rather than writing
22606 into the %fsr.
22607 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22608 Likewise.
22609
22610 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22611
22612 [BZ #14117]
22613 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22614 * sysdeps/x86/bits/xtitypes.h: This.
22615
22616 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22617 * sysdeps/x86/bits/wordsize.h: This.
22618
22619 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22620 * sysdeps/x86/bits/huge_vall.h: This.
22621
22622 * sysdeps/i386/bits/select.h: Removed.
22623 * sysdeps/x86_64/bits/select.h: Renamed to ...
22624 * sysdeps/x86/bits/select.h: This.
22625
22626 * sysdeps/i386/bits/setjmp.h: Removed.
22627 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22628 * sysdeps/x86/bits/setjmp.h: This.
22629
22630 * sysdeps/i386/bits/mathdef.h: Removed.
22631 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22632 * sysdeps/x86/bits/mathdef.h: This.
22633
22634 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
22635
22636 [BZ #14132]
22637 * include/sys/socket.h (__connect_internal)
22638 (__libc_sa_len_internal): Remove declaration.
22639 (__connect, __libc_sa_len): Declare hidden_proto.
22640 (SA_LEN): Remove use of INTUSE.
22641 * socket/connect.c: Add libc_hidden_def.
22642 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22643 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22644 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22645 alias.
22646 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22647 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22648 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22649 of adding _internal alias.
22650
22651 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22652
22653 [BZ #14117]
22654 * sysdeps/i386/bits/link.h: Removed.
22655 * sysdeps/i386/bits/linkmap.h: Likewise.
22656 * sysdeps/x86_64/bits/link.h: Renamed to ...
22657 * sysdeps/x86/bits/link.h: This.
22658 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22659 * sysdeps/x86/bits/linkmap.h: This.
22660
22661 * sysdeps/i386/bits/endian.h: Removed.
22662 * sysdeps/x86_64/bits/endian.h: Renamed to ...
22663 * sysdeps/x86/bits/endian.h: This.
22664
22665 * sysdeps/i386/bits/byteswap.h: Removed.
22666 * sysdeps/i386/bits/byteswap-16.h: Likewise.
22667 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22668 * sysdeps/x86/bits/byteswap.h: This.
22669 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22670 * sysdeps/x86/bits/byteswap-16.h: This.
22671 * sysdeps/i386/Implies: Add x86.
22672 * sysdeps/x86_64/Implies: Likewise.
22673
22674 2012-05-30 David S. Miller <davem@davemloft.net>
22675
22676 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22677 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22678 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22679 (FP_TRAPPING_EXCEPTIONS): Define.
22680 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22681 (FP_TRAPPING_EXCEPTIONS): Define.
22682 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22683 subnormals only when inexact has been signalled or underflow
22684 exceptions are enabled.
22685 (_FP_PACK_CANONICAL): Likewise.
22686
22687 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22688
22689 [BZ #14183]
22690 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22691 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22692
22693 2012-05-30 Richard Henderson <rth@twiddle.net>
22694
22695 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22696 with #ifndef NOT_IN_libc.
22697
22698 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
22699 marked to avoid plt entry.
22700
22701 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
22702
22703 [BZ #14112]
22704 * Makeconfig (default-abi): New macro.
22705 (abi-includes): Likewise.
22706 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
22707 $(abi-$(default-abi)-lib-soname) for soname if defined.
22708 ($(common-objpfx)gnu/lib-names.stmp): Generate from
22709 abi-variants.
22710 * Makefile (installed-stubs): Likewise.
22711 * include/stubs-biarch.h: Removed.
22712 * scripts/lib-names.awk: Only handle one library at a time.
22713 * scripts/soversions.awk: Remove WORDSIZE support.
22714 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22715 entries.
22716 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22717 Removed.
22718 (syscall-list-default-condition): Likewise.
22719 (syscall-list-default-condition): Likewise.
22720 (syscall-list-includes): Likewise.
22721 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22722 syscall-list-* with abi-*. Handle undefined abi-variants.
22723 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22724 * sysdeps/unix/sysv/linux/i386/Implies: New file.
22725 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22726 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22727 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22728 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22729 Removed.
22730 (syscall-list-32-options): Likewise.
22731 (syscall-list-32-condition): Likewise.
22732 (syscall-list-64-options): Likewise.
22733 (syscall-list-64-condition): Likewise.
22734 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22735 macro.
22736 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22737 Renamed to ...
22738 (abi-*): This.
22739 (abi-64-ld-soname): New macro.
22740 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22741 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22742 Renamed to ...
22743 (abi-*): This.
22744 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22745 * sysdeps/x86_64/x32/shlib-versions: Likewise.
22746
22747 2012-05-30 Joseph Myers <joseph@codesourcery.com>
22748
22749 * sysdeps/unix/sysv/linux/kernel-features.h
22750 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22751 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22752 include <kernel-features.h>.
22753 [!__NR_ftruncate64]: Remove conditional code.
22754 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22755 [__NR_ftruncate64]: Make code unconditional.
22756 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22757 * sysdeps/unix/sysv/linux/truncate64.c: Do not
22758 include <kernel-features.h>.
22759 [!__NR_ftruncate64]: Remove conditional code.
22760 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22761 [__NR_ftruncate64]: Make code unconditional.
22762 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22764 include <kernel-features.h>.
22765 [!__NR_ftruncate64]: Remove conditional code.
22766 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22767 [__NR_ftruncate64]: Make code unconditional.
22768 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22770 include <kernel-features.h>.
22771 [!__NR_ftruncate64]: Remove conditional code.
22772 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22773 [__NR_ftruncate64]: Make code unconditional.
22774 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22775
22776 * configure.in (libc_cv_fpie): Weaken to a compile test using
22777 LIBC_TRY_CC_OPTION.
22778 * configure: Regenerated.
22779
22780 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22781
22782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22785 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22786 Refreshed.
22787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22789 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22790 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22792 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22793 Refreshed.
22794
22795 2012-05-27 David S. Miller <davem@davemloft.net>
22796
22797 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22798 (___Q_zero): New.
22799 (__Q_simulate_exceptions): Return void. Change to simulate
22800 exceptions by writing into the %fsr.
22801 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22802 (__Qp_handle_exceptions): Likewise.
22803 (numbers): Delete.
22804 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22805 __Qp_handle_exceptions.
22806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22807 __Qp_handle_exceptions.
22808 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22809 as unused and give dummy FP_RND_NEAREST initializer.
22810 (FP_INHIBIT_RESULTS): Define.
22811 (___Q_simulate_exceptions): Update declaration.
22812 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22813 formatting.
22814 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22815 as unused and give dummy FP_RND_NEAREST initializer.
22816 (__Qp_handle_exceptions): Update declaration.
22817 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22818 formatting.
22819
22820 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
22821
22822 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22823 the temporary FPU control word.
22824 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22825 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22826 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22827 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22828 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22829 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22830 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22831 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22832 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22833 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22834 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22835
22836 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22837
22838 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22839 fields.
22840
22841 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
22842
22843 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22844 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22845 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22846 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22847 Likewise.
22848 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22849 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22850 Likewise.
22851
22852 2012-05-27 Ulrich Drepper <drepper@gmail.com>
22853
22854 * po/h.po: Update from translation team.
22855
22856 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
22857
22858 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22859
22860 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22861 handling of denormals.
22862 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22863 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22864 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22865 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22866 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22867 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22868 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22869 Likewise.
22870
22871 2012-05-26 Marek Polacek <polacek@redhat.com>
22872
22873 [BZ #14152]
22874 * math/libm-test.inc (fma_test): Don't always expect underflow
22875 exception.
22876
22877 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22878
22879 [BZ #12416]
22880 * elf/tst-execstack.c: Include stackinfo.h.
22881 (do_test): Adjust test case to ensure that pthread_getattr_np
22882 behaviour remains the same after marking stack executable.
22883
22884 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22885
22886 * sysdeps/unix/sysv/linux/kernel-features.h
22887 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22888 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22889 kernel-features.h.
22890 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22891 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22892 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22893 kernel-features.h.
22894 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22895 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22896
22897 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
22898
22899 * configure.in: Define the default includes to being none.
22900 * configure: Regenerated.
22901
22902 2012-05-25 Roland McGrath <roland@hack.frob.com>
22903
22904 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22905 * sysdeps/x86_64/setjmp.S: Likewise.
22906 * sysdeps/i386/bsd-setjmp.S: Likewise.
22907 * sysdeps/i386/bsd-_setjmp.S: Likewise.
22908 * sysdeps/i386/setjmp.S: Likewise.
22909 * sysdeps/i386/__longjmp.S: Likewise.
22910 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22911 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22912
22913 * include/stap-probe.h: New file.
22914 * configure.in: Handle --enable-systemtap.
22915 * configure: Regenerated.
22916 * config.h.in (USE_STAP_PROBE): New #undef.
22917 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22918 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22919 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22920
22921 2012-05-25 Joseph Myers <joseph@codesourcery.com>
22922
22923 [BZ #13717]
22924 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22925 to 2.4.0 where earlier.
22926 * sysdeps/unix/sysv/linux/configure: Regenerated.
22927 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22928 <kernel-features.h>.
22929 [__ASSUME_32BITUIDS]: Make code unconditional.
22930 [!__ASSUME_32BITUIDS]: Remove conditional code.
22931 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
22932 <kernel-features.h>.
22933 [__ASSUME_32BITUIDS]: Make code unconditional.
22934 [!__ASSUME_32BITUIDS]: Remove conditional code.
22935 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
22936 [__ASSUME_32BITUIDS]: Make code unconditional.
22937 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22938 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
22939 <kernel-features.h>.
22940 [__ASSUME_32BITUIDS]: Make code unconditional.
22941 [!__ASSUME_32BITUIDS]: Remove conditional code.
22942 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
22943 <kernel-features.h>.
22944 [__ASSUME_32BITUIDS]: Make code unconditional.
22945 [!__ASSUME_32BITUIDS]: Remove conditional code.
22946 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
22947 <kernel-features.h>.
22948 [__ASSUME_32BITUIDS]: Make code unconditional.
22949 [!__ASSUME_32BITUIDS]: Remove conditional code.
22950 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
22951 <kernel-features.h>.
22952 [__ASSUME_32BITUIDS]: Make code unconditional.
22953 [!__ASSUME_32BITUIDS]: Remove conditional code.
22954 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
22955 <kernel-features.h>.
22956 [__ASSUME_32BITUIDS]: Make code unconditional.
22957 [!__ASSUME_32BITUIDS]: Remove conditional code.
22958 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
22959 <kernel-features.h>.
22960 [__ASSUME_32BITUIDS]: Make code unconditional.
22961 [!__ASSUME_32BITUIDS]: Remove conditional code.
22962 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
22963 <kernel-features.h>.
22964 [__ASSUME_32BITUIDS]: Make code unconditional.
22965 [!__ASSUME_32BITUIDS]: Remove conditional code.
22966 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22967 <kernel-features.h>.
22968 [__ASSUME_32BITUIDS]: Make code unconditional.
22969 [!__ASSUME_32BITUIDS]: Remove conditional code.
22970 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
22971 <kernel-features.h>.
22972 [__ASSUME_32BITUIDS]: Make code unconditional.
22973 [!__ASSUME_32BITUIDS]: Remove conditional code.
22974 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
22975 <kernel-features.h>.
22976 [__ASSUME_32BITUIDS]: Make code unconditional.
22977 [!__ASSUME_32BITUIDS]: Remove conditional code.
22978 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
22979 <kernel-features.h>.
22980 [__NR_setresgid] (__setresgid): Do not declare.
22981 [__ASSUME_32BITUIDS]: Make code unconditional.
22982 [!__ASSUME_32BITUIDS]: Remove conditional code.
22983 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
22984 <kernel-features.h>.
22985 [__NR_setresuid] (__setresuid): Do not declare.
22986 [__ASSUME_32BITUIDS]: Make code unconditional.
22987 [!__ASSUME_32BITUIDS]: Remove conditional code.
22988 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
22989 <kernel-features.h>.
22990 [__ASSUME_32BITUIDS]: Make code unconditional.
22991 [!__ASSUME_32BITUIDS]: Remove conditional code.
22992 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
22993 <kernel-features.h>.
22994 [__ASSUME_32BITUIDS]: Make code unconditional.
22995 [!__ASSUME_32BITUIDS]: Remove conditional code.
22996 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
22997 <kernel-features.h>.
22998 [__ASSUME_32BITUIDS]: Make code unconditional.
22999 [!__ASSUME_32BITUIDS]: Remove conditional code.
23000 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
23001 <kernel-features.h>.
23002 [__ASSUME_32BITUIDS]: Make code unconditional.
23003 [!__ASSUME_32BITUIDS]: Remove conditional code.
23004 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
23005 <kernel-features.h>.
23006 [__ASSUME_32BITUIDS]: Make code unconditional.
23007 [!__ASSUME_32BITUIDS]: Remove conditional code.
23008 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
23009 <kernel-features.h>.
23010 [__ASSUME_32BITUIDS]: Make code unconditional.
23011 [!__ASSUME_32BITUIDS]: Remove conditional code.
23012 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23013 <kernel-features.h>.
23014 [__ASSUME_32BITUIDS]: Make code unconditional.
23015 [!__ASSUME_32BITUIDS]: Remove conditional code.
23016 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23017 <kernel-features.h>.
23018 [__ASSUME_32BITUIDS]: Make code unconditional.
23019 [!__ASSUME_32BITUIDS]: Remove conditional code.
23020 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
23021 <kernel-features.h>.
23022 [__ASSUME_32BITUIDS]: Make code unconditional.
23023 [!__ASSUME_32BITUIDS]: Remove conditional code.
23024 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23025 <kernel-features.h>.
23026 [__ASSUME_32BITUIDS]: Make code unconditional.
23027 [!__ASSUME_32BITUIDS]: Remove conditional code.
23028 * sysdeps/unix/sysv/linux/kernel-features.h
23029 (__ASSUME_SETRESUID_SYSCALL): Remove.
23030 (__ASSUME_SETRESGID_SYSCALL): Likewise.
23031 (__ASSUME_32BITUIDS): Likewise.
23032 (__ASSUME_LDT_WORKS): Likewise.
23033 (__ASSUME_O_DIRECTORY): Likewise.
23034 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23035 architecture but not kernel version.
23036 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23037 (__ASSUME_MMAP2_SYSCALL): Likewise.
23038 (__ASSUME_STAT64_SYSCALL): Likewise.
23039 (__ASSUME_IPC64): Likewise.
23040 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23041 <kernel-features.h>.
23042 [__ASSUME_32BITUIDS]: Make code unconditional.
23043 [!__ASSUME_32BITUIDS]: Remove conditional code.
23044 * sysdeps/unix/sysv/linux/opendir.c: Do not include
23045 <kernel-features.h>.
23046 [__ASSUME_O_DIRECTORY]: Make code unconditional.
23047 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23048 132096]: Remove conditional code.
23049 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23050 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23051 <kernel-features.h>.
23052 [__ASSUME_32BITUIDS]: Make code unconditional.
23053 [!__ASSUME_32BITUIDS]: Remove conditional code.
23054 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23055 <kernel-features.h>.
23056 [__ASSUME_32BITUIDS]: Make code unconditional.
23057 [!__ASSUME_32BITUIDS]: Remove conditional code.
23058 * sysdeps/unix/sysv/linux/setegid.c: Do not include
23059 <kernel-features.h>.
23060 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23061 unconditional.
23062 (__setresgid): Do not declare.
23063 [__ASSUME_32BITUIDS]: Make code unconditional.
23064 [!__ASSUME_32BITUIDS]: Remove conditional code.
23065 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23066 <kernel-features.h>.
23067 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23068 unconditional.
23069 (__setresuid): Do not declare.
23070 [__ASSUME_32BITUIDS]: Make code unconditional.
23071 [!__ASSUME_32BITUIDS]: Remove conditional code.
23072 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23073 <kernel-features.h>.
23074 [__ASSUME_32BITUIDS]: Make code unconditional.
23075 [!__ASSUME_32BITUIDS]: Remove conditional code.
23076 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23077 <kernel-features.h>.
23078 [__ASSUME_32BITUIDS]: Make code unconditional.
23079 [!__ASSUME_32BITUIDS]: Remove conditional code.
23080
23081 2012-05-25 Richard Henderson <rth@twiddle.net>
23082
23083 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23084 dl_hwcap to ifunc resolver.
23085 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23086 elf_ifunc_invoke.
23087 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23088 dl_hwcap to ifunc resolver.
23089 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23090
23091 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23092
23093 [BZ #14153]
23094 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23095 for |x| <= 2**-26, not 2**-57.
23096 * math/libm-test.inc (acos_test): Do not allow spurious underflow
23097 exception.
23098
23099 2012-05-24 Jeff Law <law@redhat.com>
23100
23101 * stdio-common/Makefile (tests): Add bug25.
23102 * stdio-common/bug25.c: New test.
23103
23104 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23105
23106 [BZ #13576]
23107 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23108 multiple of MALLOC_ALIGNMENT in size.
23109 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23110
23111 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23112
23113 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23114 Require >= 256.
23115 (FILENAME_MAX): Use macro-int-constant.
23116 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
23117 (_IOFBF): Use macro-int-constant.
23118 (_IOLBF): Likewise.
23119 (_IONBF): Likewise.
23120 (SEEK_CUR): Likewise.
23121 (SEEK_END): Likewise.
23122 (SEEK_SET): Likewise.
23123 (TMP_MAX): Likewise.
23124 (EOF): Use macro-int-constant. Require < 0.
23125 (NULL): Use macro-constant. Require == 0.
23126 (stdin): Require type to be FILE *.
23127 (stdout): Likewise.
23128 (stderr): Likewise.
23129 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23130 macro-int-constant.
23131 (EXIT_SUCCESS): Likewise.
23132 (NULL): Use macro-constant. Require == 0.
23133 (RAND_MAX): Use macro-int-constant.
23134 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23135 [C99-based standards] (strtof): Require function.
23136 [C99-based standards] (strtold): Likewise.
23137 [C99-based standards] (strtoll): Likewise.
23138 [C99-based standards] (strtoull): Likewise.
23139 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23140 [ISO || ISO99 || ISO11] (limits.h): Likewise.
23141 [ISO || ISO99 || ISO11] (math.h): Likewise.
23142 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23143 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23144 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23145
23146 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
23147
23148 [BZ #14132]
23149 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23150 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23151 * intl/dgettext.c (DCGETTEXT): Likewise.
23152 * intl/gettext.c (DCGETTEXT): Likewise.
23153 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23154 * posix/regex_internal.h (gettext): Likewise.
23155 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23156 Remove declaration.
23157 * include/argz.h (__argz_count_internal)
23158 (__argz_stringify_internal): Remove declaration.
23159 (__argz_count, __argz_stringify): Declare hidden proto.
23160 * intl/dcgettext.c: Remove use of INTDEF.
23161 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23162 * string/argz-stringify.c: Likewise.
23163 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23164 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23165 Declare hidden proto.
23166 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23167 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23168 Declare hidden proto.
23169 * include/stdio.h (__asprintf_internal): Don't declare.
23170 (__asprintf): Don't define as macro. Declare hidden proto.
23171 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23172 (__fsetlocking): Declare hidden proto.
23173 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23174 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23175 hidden proto.
23176 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23177 (_IO_setlinebuf): Remove use of INTUSE.
23178 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23179 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23180 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23181 Remove declaration.
23182 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23183 (_IO_do_flush): Remove use of INTUSE.
23184 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23185 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23186 (_IO_adjust_column, _IO_least_wmarker)
23187 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23188 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23189 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23190 (_IO_default_doallocate, _IO_wdefault_doallocate)
23191 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23192 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23193 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23194 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23195 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23196 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23197 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23198 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23199 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23200 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23201 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23202 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23203 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23204 proto.
23205 (_IO_flush_all_internal, _IO_adjust_column_internal)
23206 (_IO_default_uflow_internal, _IO_default_finish_internal)
23207 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23208 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23209 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23210 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23211 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23212 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23213 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23214 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23215 (_IO_file_close_internal, _IO_file_close_it_internal)
23216 (_IO_file_underflow_internal, _IO_file_overflow_internal)
23217 (_IO_file_init_internal, _IO_file_attach_internal)
23218 (_IO_file_fopen_internal, _IO_file_read_internal)
23219 (_IO_file_sync_internal, _IO_file_seek_internal)
23220 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23221 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23222 (_IO_str_underflow_internal, _IO_str_overflow_internal)
23223 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23224 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23225 (_IO_list_all_internal, _IO_link_in_internal)
23226 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23227 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23228 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23229 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23230 (_IO_do_write_internal, _IO_padn_internal)
23231 (_IO_getline_info_internal, _IO_getline_internal)
23232 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23233 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23234 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23235 (_IO_vfscanf_internal, _IO_vfprintf_internal)
23236 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23237 (_IO_init_internal, _IO_un_link_internal): Don't declare.
23238 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23239 with libc_hidden_ver, remove use of INTUSE.
23240 * libio/genops.c: Likewise.
23241 * libio/freopen.c: Likewise.
23242 * libio/freopen64.c: Likewise.
23243 * libio/iofclose.c: Likewise.
23244 * libio/iofdopen.c: Likewise.
23245 * libio/iofflush.c: Likewise.
23246 * libio/iofflush_u.c: Likewise.
23247 * libio/iofgets.c: Likewise.
23248 * libio/iofgets_u.c: Likewise.
23249 * libio/iofopen.c: Likewise.
23250 * libio/iofopncook.c: Likewise.
23251 * libio/iofread.c: Likewise.
23252 * libio/iofread_u.c: Likewise.
23253 * libio/ioftell.c: Likewise.
23254 * libio/iofwrite.c: Likewise.
23255 * libio/iogetline.c: Likewise.
23256 * libio/iogets.c: Likewise.
23257 * libio/iogetwline.c: Likewise.
23258 * libio/iopadn.c: Likewise.
23259 * libio/iopopen.c: Likewise.
23260 * libio/ioseekoff.c: Likewise.
23261 * libio/ioseekpos.c: Likewise.
23262 * libio/iosetbuffer.c: Likewise.
23263 * libio/iosetvbuf.c: Likewise.
23264 * libio/ioungetc.c: Likewise.
23265 * libio/ioungetwc.c: Likewise.
23266 * libio/iovdprintf.c: Likewise.
23267 * libio/iovsprintf.c: Likewise.
23268 * libio/iovsscanf.c: Likewise.
23269 * libio/memstream.c: Likewise.
23270 * libio/obprintf.c: Likewise.
23271 * libio/oldfileops.c: Likewise.
23272 * libio/oldiofclose.c: Likewise.
23273 * libio/oldiofdopen.c: Likewise.
23274 * libio/oldiofopen.c: Likewise.
23275 * libio/oldiopopen.c: Likewise.
23276 * libio/oldstdfiles.c: Likewise.
23277 * libio/putc.c: Likewise.
23278 * libio/setbuf.c: Likewise.
23279 * libio/setlinebuf.c: Likewise.
23280 * libio/stdfiles.c: Likewise.
23281 * libio/strops.c: Likewise.
23282 * libio/vasprintf.c: Likewise.
23283 * libio/vscanf.c: Likewise.
23284 * libio/vsnprintf.c: Likewise.
23285 * libio/vswprintf.c: Likewise.
23286 * libio/wfiledoalloc.c: Likewise.
23287 * libio/wfileops.c: Likewise.
23288 * libio/wgenops.c: Likewise.
23289 * libio/wmemstream.c: Likewise.
23290 * libio/wstrops.c: Likewise.
23291 * libio/__fpurge.c: Likewise.
23292 * libio/__fsetlocking.c: Likewise.
23293 * assert/assert.c: Likewise.
23294 * debug/fgets_chk.c: Likewise.
23295 * debug/fgets_u_chk.c: Likewise.
23296 * debug/fread_chk.c: Likewise.
23297 * debug/fread_u_chk.c: Likewise.
23298 * debug/gets_chk.c: Likewise.
23299 * debug/obprintf_chk.c: Likewise.
23300 * debug/vasprintf_chk.c: Likewise.
23301 * debug/vdprintf_chk.c: Likewise.
23302 * debug/vsnprintf_chk.c: Likewise.
23303 * debug/vsprintf_chk.c: Likewise.
23304 * malloc/mtrace.c: Likewise.
23305 * misc/error.c: Likewise.
23306 * misc/syslog.c: Likewise.
23307 * stdio-common/asprintf.c: Likewise.
23308 * stdio-common/fxprintf.c: Likewise.
23309 * stdio-common/getw.c: Likewise.
23310 * stdio-common/isoc99_fscanf.c: Likewise.
23311 * stdio-common/isoc99_scanf.c: Likewise.
23312 * stdio-common/isoc99_vfscanf.c: Likewise.
23313 * stdio-common/isoc99_vscanf.c: Likewise.
23314 * stdio-common/isoc99_vsscanf.c: Likewise.
23315 * stdio-common/printf-prs.c: Likewise.
23316 * stdio-common/printf_fp.c: Likewise.
23317 * stdio-common/printf_fphex.c: Likewise.
23318 * stdio-common/printf_size.c: Likewise.
23319 * stdio-common/putw.c: Likewise.
23320 * stdio-common/scanf.c: Likewise.
23321 * stdio-common/sprintf.c: Likewise.
23322 * stdio-common/tmpfile.c: Likewise.
23323 * stdio-common/vfprintf.c: Likewise.
23324 * stdio-common/vfscanf.c: Likewise.
23325 * stdlib/strfmon_l.c: Likewise.
23326 * sunrpc/openchild.c: Likewise.
23327 * sunrpc/xdr_stdio.c: Likewise.
23328 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23329 * sysdeps/mach/hurd/tmpfile.c: Likewise.
23330
23331 2012-05-24 Roland McGrath <roland@hack.frob.com>
23332
23333 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23334
23335 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23336 in the third column, to generate for the shared library an IFUNC
23337 that uses _dl_vdso_vsym.
23338 * Makerules (COMPILE.c, compile-stdin.c): New variables.
23339 * Makeconfig (object-suffixes-noshared): New variable.
23340
23341 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23342 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23343 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23344 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23345
23346 [BZ #14132]
23347 * include/sys/time.h (__gettimeofday): Remove macro.
23348 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23349 * time/gettimeofday.c (__gettimeofday): Remove #undef.
23350 Remove INTDEF.
23351 (__gettimeofday): Add libc_hidden_def.
23352 (gettimeofday): Add libc_hidden_weak.
23353 * sysdeps/mach/gettimeofday.c: Likewise.
23354 * sysdeps/posix/gettimeofday.c: Likewise.
23355 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23356 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23357 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23358 (__gettimeofday_internal): Remove strong_alias.
23359 (__gettimeofday): Add libc_hidden_def.
23360 (gettimeofday): Add libc_hidden_weak.
23361 * sysdeps/unix/syscalls.list (gettimeofday):
23362 Remove __gettimeofday_internal alias.
23363
23364 2012-05-24 Daniel Jacobowitz <drow@false.org>
23365 H.J. Lu <hongjiu.lu@intel.com>
23366
23367 [BZ #12495]
23368 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23369 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23370 (largebin_index_32_big): New.
23371 (largebin_index): Use it for 16-byte alignment.
23372 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
23373 correction with front_misalign.
23374
23375 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
23376
23377 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23378 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23379 Likewise.
23380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23381 Likewise.
23382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23383 Likewise.
23384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23385 Likewise.
23386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23387 Likewise.
23388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23389 Likewise.
23390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23391 Likewise.
23392 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23393 Likewise.
23394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23395 Likewise.
23396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23397 Likewise.
23398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23399 Likewise.
23400 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23401 Likewise.
23402
23403 * scripts/data/c++-types-x32-linux-gnu.data: New file.
23404 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23405
23406 2012-05-24 Joseph Myers <joseph@codesourcery.com>
23407
23408 [BZ #10846]
23409 [BZ #14036]
23410 * math/libm-test.inc (exp_test): Add test from bug 14036.
23411 (pow_test): Add test from bug 10846.
23412
23413 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23414 and other flags.
23415 (special_function): Do not include flags in test name.
23416 (parse_args): Likewise.
23417 * sysdeps/i386/fpu/libm-test-ulps: Update.
23418 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23419 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23420 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23422
23423 * math/gen-libm-test.pl (%beautify): Add entries for underflow
23424 exceptions.
23425 * math/libm-test.inc ("Philosophy"): Update comment about
23426 exception testing.
23427 (UNDERFLOW_EXCEPTION): New macro.
23428 (UNDERFLOW_EXCEPTION_OK): Likewise.
23429 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23430 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23431 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23432 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23433 (INVALID_EXCEPTION_OK): Update value.
23434 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23435 (OVERFLOW_EXCEPTION_OK): Likewise.
23436 (IGNORE_ZERO_INF_SIGN): Likewise.
23437 (test_exceptions): Handle underflow exceptions.
23438 (acos_test): Update for underflow exception expectations.
23439 (cexp_test): Likewise.
23440 (clog_test): Likewise.
23441 (clog10_test): Likewise.
23442 (csqrt_test): Likewise.
23443 (ctan_test): Likewise.
23444 (ctanh_test): Likewise.
23445 (exp_test): Likewise.
23446 (exp10_test): Likewise.
23447 (exp2_test): Likewise.
23448 (expm1_test): Likewise.
23449 (fma_test): Likewise.
23450 (j0_test): Likewise.
23451 (jn_test): Likewise.
23452 (nexttoward_test): Likewise.
23453 (pow_test): Likewise.
23454 (scalbn_test): Likewise.
23455 (scalbln_test): Likewise.
23456 (tan_test): Likewise.
23457 (y1_test): Likewise.
23458 * sysdeps/i386/fpu/libm-test-ulps: Update.
23459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23460
23461 2012-05-23 David S. Miller <davem@davemloft.net>
23462
23463 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23464 (__libc_sigaction): Remove unused local variables.
23465
23466 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23467
23468 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23469
23470 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
23471
23472 mktime: avoid signed integer overflow
23473 * time/mktime.c (__mktime_internal): Do not mishandle the case
23474 where diff == INT_MIN.
23475
23476 mktime: simplify computation of average
23477 * time/mktime.c (ranged_convert): Use new time_t_avg function
23478 instead of rolling our own (probably-slower) code.
23479
23480 mktime: do not assume signed right shift propagates sign bit
23481 * time/mktime.c (isdst_differ): New static function.
23482 (__mktime_internal): No need to normalize tm_isdst now.
23483 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23484 tm_isdst values.
23485
23486 mktime: merge another wrapv change from gnulib
23487 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23488 from some compilers.
23489
23490 mktime: remove incorrect attempt at unusual arithmetics
23491 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23492 The code didn't really work on such machines anyway.
23493 (TYPE_MINIMUM): Assume two's complement.
23494 (twos_complement_arithmetic): Verify that long_int and time_t
23495 are two's complement (or unsigned, in the latter case).
23496
23497 mktime: check signed shifts on long_int and time_t, too
23498 * time/mktime.c (SHR): Check that shifts work as desired
23499 on the types long_int and time_t too, as SHR is used on
23500 such types.
23501
23502 mktime: do not assume 'long' is wide enough
23503 * time/mktime.c (verify): Move decl up.
23504 (long_int): New type.
23505 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23506 to remove assumption in the code that 'long' is wide enough to
23507 store year values. This assumption is not true on x32 and on
23508 some non-glibc platforms.
23509
23510 mktime: merge wrapv change from gnulib
23511 * time/mktime.c (WRAPV): New macro.
23512 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23513 (guess_time_tm, __mktime_internal): Do not assume that signed
23514 integer overflow wraps around; modern compilers generate code
23515 where this assumption is no longer valid.
23516
23517 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23518
23519 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23520 Replace "jmp L(pseudo_end)" with "ret".
23521 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23522 Likewise.
23523
23524 2012-05-23 Andreas Jaeger <aj@suse.de>
23525
23526 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23527 * sysdeps/unix/sysv/linux/poll.c: Remove file.
23528
23529 2012-05-23 Andreas Jaeger <aj@suse.de>
23530 Maximilian Attems <max@stro.at>
23531
23532 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23533 New macros.
23534
23535 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
23536
23537 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23538 code so that pseudo_end is just ret and the stack pointer is
23539 correct also for static library in error case.
23540
23541 2012-05-23 Joseph Myers <joseph@codesourcery.com>
23542
23543 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23544 move to syscalls.list.
23545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23549
23550 * manual/install.texi (Running make install): Do not mention Linux
23551 kernel version for which pt_chown is not needed.
23552 (Linux): Do not mention problems with nscd with 2.0 kernels.
23553 * INSTALL: Regenerated.
23554
23555 2012-05-23 Andreas Jaeger <aj@suse.de>
23556
23557 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23558 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23559 macro.
23560 * sysdeps/unix/sysv/linux/s390/bits/mman.h
23561 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23562 * sysdeps/unix/sysv/linux/sh/bits/mman.h
23563 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23564 * sysdeps/unix/sysv/linux/i386/bits/mman.h
23565 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23566 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23567 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23568 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23569 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23570 * sysdeps/unix/sysv/linux/bits/in.h
23571 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23572
23573 2012-05-22 Roland McGrath <roland@hack.frob.com>
23574
23575 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23576 (PREPARE_VERSION): Just use assert instead, it will be elided
23577 under [NDEBUG] anyway.
23578
23579 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23580
23581 * sysdeps/unix/sysv/linux/Makefile: Include
23582 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23583 (sysdep_routines): Remove sysctl.
23584 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23585 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23586 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23587 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23588 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23589
23590 2012-05-22 Andreas Jaeger <aj@suse.de>
23591
23592 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23593 that pseudo_end is just ret and the stack pointer is correct also
23594 for static library in error case.
23595
23596 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
23597
23598 [BZ #14122]
23599 * nss/nsswitch.c (defconfig_entries): New variable.
23600 (__nss_database_lookup): Don't leak defconfig entries.
23601 (nss_parse_service_list): Don't leak on error paths.
23602 (free_database_entries): New function.
23603 (free_defconfig): New function.
23604 (free_mem): Move common code to free_database_entries.
23605
23606 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23607
23608 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23609 Add arch_prctl.
23610 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23611
23612 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23613 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23614 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23615 New macro.
23616 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23617 (INTERNAL_SYSCALL_TYPES): Likewise.
23618 (LOAD_ARGS_TYPES_[1-6]): Likewise.
23619 (LOAD_REGS_TYPES_[1-6]): Likewise.
23620 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23621 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23622
23623 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23624
23625 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23626 copysignl for GLIBC_2_0.
23627 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23628 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23629 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23630 logbl for GLIBC_2_0.
23631 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23632 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23633
23634 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23635
23636 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23637 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
23638
23639 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23640 Use "neg %eax".
23641
23642 * time/mktime.c: Update copyright years.
23643
23644 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
23645
23646 mktime: merge comment-quoting-style change from gnulib
23647 * time/mktime.c: Quote 'like this' in comments.
23648 The GNU coding standards suggest that we no longer quote `like this',
23649 as "`" and "'" are typically rendered asymmetrically nowadays.
23650 The typical gnulib style is to quote 'like this' when quoting
23651 code, and "like this" when quoting English.
23652
23653 * time/mktime.c (compile-command): Add "-I.".
23654
23655 mktime: merge mktime-internal.h change from gnulib
23656 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23657
23658 mktime: merge time_r change from gnulib
23659 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23660
23661 mktime: merge DEBUG change from gnulib
23662 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23663 case system <time.h> has a #define.
23664
23665 mktime: merge <sys/types.h> change from gnulib
23666 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23667 since <time.t> is now guaranteed to define time_t.
23668
23669 mktime: merge HAVE_CONFIG_H change from gnulib
23670 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23671
23672 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
23673
23674 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23675 Use "neg %eax".
23676
23677 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23678 __rlim_t cast.
23679 (struct rusage): Use anonymous union to pad each field to
23680 __syscall_slong_t.
23681
23682 2012-05-21 David S. Miller <davem@davemloft.net>
23683
23684 * Makefules (o-iterator): Remove .s cases.
23685 (compile-command.s): Delete.
23686 (COMPILE.s): Delete.
23687 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23688
23689 2012-05-21 Joseph Myers <joseph@codesourcery.com>
23690
23691 * configure.in (libc_cv_predef_stack_protector): Only consider
23692 "foobar" and "__stack_chk_fail" lines in libc_undefs.
23693 * configure: Regenerated.
23694
23695 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23696
23697 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23698 New macro. Use R*LP on int and pointer.
23699 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23700 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23701 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23702 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23703
23704 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23705 [__WORDSIZE_TIME64_COMPAT32] instead of
23706 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23707 (struct utmp): Likewise.
23708 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23709 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23710 Renamed to ...
23711 (__WORDSIZE_TIME64_COMPAT32): This.
23712 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23713 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23714 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23715 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23716 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23717 (__WORDSIZE_TIME64_COMPAT32): New macro.
23718
23719 2012-05-21 Andreas Jaeger <aj@suse.de>
23720
23721 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23722 only if [SHARED]. Add prototype for __wcschr_ia32.
23723
23724 2012-05-21 Roland McGrath <roland@hack.frob.com>
23725
23726 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23727 of %rbp unmolested in the jmp_buf while mangling the low bits.
23728 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23729 unmolested high bits of %rbp while demangling the low bits.
23730 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23731
23732 2012-05-21 Andreas Jaeger <aj@suse.de>
23733
23734 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23735 * sunrpc/svc_simple.c: Use it for registerrpc.
23736 * sunrpc/xcrypt.c: Use it for passwd2des.
23737
23738 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23739
23740 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23741
23742 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23743 Don't define if [__SYSCALL_WORDSIZE != 32].
23744 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23745 New macro.
23746
23747 2012-05-21 Bruno Haible <bruno@clisp.org>
23748 Andreas Jaeger <aj@suse.de>
23749
23750 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23751 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23752 inptr and inend for must_buffer_ch.
23753 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23754 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23755 * stdio-common/Makefile (tests): Remove bug15.
23756 (bug15-ENV): Remove macro.
23757 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23758 anymore.
23759
23760 2012-05-19 Andreas Jaeger <aj@suse.de>
23761 Roland McGrath <roland@hack.frob.com>
23762
23763 * manual/contrib.texi: Completely rewritten. It contains now an
23764 alphabetical list of contributors and their contributions.
23765
23766 2012-05-21 Richard Henderson <rth@twiddle.net>
23767
23768 * misc/getauxval.c (__getauxval): Use unsigned long int.
23769 * misc/sys/auxv.h: Include <sys/cdefs.h>.
23770 (getauxval): Use unsigned long int.
23771
23772 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
23773
23774 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23775
23776 2012-05-21 Roland McGrath <roland@hack.frob.com>
23777
23778 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23779 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23780 __alignof__ (long double).
23781
23782 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23783
23784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23785
23786 2012-05-20 Richard Henderson <rth@twiddle.net>
23787
23788 * misc/getauxval.c: New file.
23789 * misc/sys/auxv.h: New file.
23790 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23791 (routines): Add getauxval.
23792 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23793 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23794 * elf/dl-sysdep.c (_dl_auxv): Remove.
23795 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23796 * elf/dl-support.c (_dl_auxv): New variable.
23797 (_dl_aux_init): Initialize it.
23798 * manual/startup.texi (Auxiliary Vector): New node.
23799 * sysdeps/generic/bits/hwcap.h: New file.
23800 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23801 * sysdeps/powerpc/sysdep.h: ... here. Include it.
23802 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23803 * sysdeps/sparc/sysdep.h: ... here. Include it.
23804 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23805 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23807 Update.
23808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23809 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23810 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23811 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23812 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23813 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23814 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23815 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23816
23817 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23818
23819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23820
23821 2012-05-19 David S. Miller <davem@davemloft.net>
23822
23823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23824
23825 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23826
23827 [BZ #14123]
23828 * math/s_ccosh.c: Include <float.h>
23829 (__ccosh): Avoid internal overflow calculating sinh and cosh
23830 values before multiplying by sin and cos values.
23831 * math/s_ccoshf.c: Likewise.
23832 * math/s_ccoshl.c: Likewise.
23833 * math/s_csin.c: Likewise.
23834 * math/s_csinf.c: Likewise.
23835 * math/s_csinl.c: Likewise.
23836 * math/s_csinh.c: Likewise.
23837 * math/s_csinhf.c: Likewise.
23838 * math/s_csinhl.c: Likewise.
23839 * math/libm-test.inc (ccos_test): Add more tests.
23840 (ccosh_test): Likewise.
23841 (csin_test): Likewise.
23842 (csinh_test): Likewise.
23843 * sysdeps/i386/fpu/libm-test-ulps: Update.
23844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23845
23846 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
23847
23848 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23849 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23850
23851 * sysdeps/x86_64/x32/_itoa.h: Add comment.
23852
23853 2012-05-19 Joseph Myers <joseph@codesourcery.com>
23854
23855 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23856 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23857 * sysdeps/powerpc/soft-fp/Versions: Likewise.
23858 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23859 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23860 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23861 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23862 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23863 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23864 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23865 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23866 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23867 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23868 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23869 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23870 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23871 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23872 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23873 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23874 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23875 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23876 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23877 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23878 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23879 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23880 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23881 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23882 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23883 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23884 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23885 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23886
23887 2012-05-18 Andreas Jaeger <aj@suse.de>
23888
23889 * csu/.gitignore: Delete.
23890
23891 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23892
23893 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23894 (timex): Use __syscall_slong_t.
23895
23896 2012-05-18 Andreas Jaeger <aj@suse.de>
23897 Carlos O'Donell <carlos_odonell@mentor.com>
23898
23899 * manual/install.texi (Configuring and compiling): Update
23900 description about files modified in the source directory.
23901 * INSTALL: Regenerated.
23902
23903 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23904
23905 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23906 value. Use "or" to set return value to -1.
23907 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23908 negate return value.
23909
23910 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23911
23912 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23913 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23914 failure if the compiler has Graphite support disabled.
23915 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23916 Likewise.
23917 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23918 CFLAGS-memmove.c): Likewise.
23919 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23920 Likewise.
23921
23922 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
23923
23924 * sysdeps/x86_64/x32/_itoa.h: New file.
23925
23926 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23927 getdents system call only if kernel and user dirents have the
23928 same d_ino and d_off.
23929
23930 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23931 LLONG_MAX != LONG_MAX.
23932 (_itoa_word): Use _ITOA_WORD_TYPE on value.
23933 (_fitoa_word): Likewise.
23934
23935 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23936 years.
23937 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23938 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
23939 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
23940
23941 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
23942 include <bits/wordsize.h>. Check __x86_64__ instead of
23943 __WORDSIZE.
23944 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
23945 if __x86_64__ is defined. Use anonymous union on fpstate.
23946
23947 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
23948 anonymous union.
23949
23950 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
23951
23952 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
23953 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
23954 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
23955 Refer to _rtld_local_ro instead of _rtld_global_ro.
23956 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
23957 Likewise.
23958 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
23959 Likewise.
23960 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
23961 Likewise.
23962 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
23963 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
23964 of _rtld_global, and rtld_progname instead of _dl_argv[0].
23965
23966 * sysdeps/powerpc/powerpc32/dl-machine.c
23967 (__elf_machine_runtime_setup) [PROF]: Don't reference
23968 _dl_prof_resolve.
23969
23970 2012-05-18 Andreas Jaeger <aj@suse.de>
23971
23972 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
23973 function only available for GCCs before 3.4 since GCC 3.4
23974 introduced a builtin.
23975 (lrint): Likewise.
23976 (llrintf): Likewise.
23977 (llrint): Likewise.
23978 (fmaxf): Likewise.
23979 (fmax): Likewise.
23980 (fminf): Likewise.
23981 (fmin): Likewise.
23982 (rint): Likewise.
23983 (rintf): Likewise.
23984 (nearbyint): Likewise.
23985 (nearbyintf): Likewise.
23986 (ceil): Likewise.
23987 (ceilf): Likewise.
23988 (floor): Likewise.
23989 (floorf): Likewise.
23990
23991 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
23992
23993 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
23994 on both fields and cast pointer to __syscall_ulong_t.
23995
23996 * bits/types.h (__fsword_t): New type.
23997 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
23998 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
23999 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24000 (__FSWORD_T_TYPE): Likewise.
24001 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24002 (__FSWORD_T_TYPE): Likewise.
24003 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24004 (__FSWORD_T_TYPE): Likewise.
24005 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24006 (__FSWORD_T_TYPE): Likewise.
24007 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24008 __SWORD_TYPE with __fsword_t.
24009 (statfs64): Likewise.
24010
24011 2012-05-17 David S. Miller <davem@davemloft.net>
24012
24013 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24014
24015 2012-05-17 Andreas Jaeger <aj@suse.de>
24016
24017 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24018 warning.
24019
24020 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24021
24022 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24023
24024 2012-05-17 Andreas Jaeger <aj@suse.de>
24025
24026 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24027 when it is used.
24028
24029 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24030
24031 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24032
24033 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
24034
24035 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24036 * sysdeps/x86_64/tst-mallocalign1.c: New file.
24037
24038 2012-05-17 Andreas Jaeger <aj@suse.de>
24039 Carlos O'Donell <carlos_odonell@mentor.com>
24040
24041 [BZ #14059]
24042 * sysdeps/x86_64/multiarch/init-arch.h
24043 (bit_YMM_Usable): Rename to...
24044 (bit_AVX_Usable): ... this.
24045 (bit_FMA4_Usable): New macro.
24046 (bit_XMM_state): New macro.
24047 (bit_YMM_state): New macro.
24048 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24049 [__ASSEMBLER__] (index_AVX_Usable): ... this.
24050 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24051 (CPUID_OSXSAVE): New macro.
24052 (CPUID_AVX): New macro.
24053 (CPUID_FMA4): New macro.
24054 (index_YMM_Usable): Rename to...
24055 (index_AVX_Usable): ... this.
24056 (HAS_AVX): Use HAS_ARCH_FEATURE.
24057 (HAS_FMA4): Likewise.
24058 (HAS_YMM_USABLE): Remove.
24059 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24060 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24061 are present.
24062 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24063 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24064 * sysdeps/x86_64/multiarch/Makefile: Likewise.
24065 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24066 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24067
24068 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
24069
24070 * math/libm-test.c: Support platforms without multiple rounding modes.
24071 * math/bug-nextafter.c: Support platforms without FP exceptions.
24072 * math/bug-nexttoward.c: Likewise.
24073 * math/test-fenv.c: Likewise.
24074 * math/test-misc.c: Likewise.
24075 * stdlib/bug-getcontext.c: Likewise.
24076
24077 2012-05-17 Andreas Jaeger <aj@suse.de>
24078
24079 * manual/examples/search.c (critter_cmp): Change signature to
24080 avoid warnings.
24081 * manual/string.texi (Collation Functions): Likewise.
24082
24083 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24084
24085 * bits/types.h: Fold copyright years.
24086 * bits/typesizes.h: Likewise.
24087 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24088 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24089 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24090 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24091 * time/time.h: Likewise.
24092
24093 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
24094
24095 [BZ #208]
24096 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24097 in instead of returning them. Return void.
24098 (__libc_mallinfo): Accumulate over all arenas.
24099 (__malloc_stats): Adjust for change in int_mallinfo interface.
24100
24101 2012-05-16 Roland McGrath <roland@hack.frob.com>
24102
24103 [BZ #10375]
24104 * configure.in (NM): Add AC_CHECK_TOOL for it.
24105 (libc_extra_cflags): New substituted variable.
24106 Check for -fstack-protector being used implicitly.
24107 * configure: Regenerated.
24108 * config.make.in (config-extra-cflags): New variable,
24109 gets @libc_extra_cflags@.
24110 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24111
24112 [BZ #10375]
24113 * configure.in: Check for _FORTIFY_SOURCE being predefined.
24114 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24115 * configure: Regenerated.
24116 * config.make.in (CPPUNDEFS): New substituted variable.
24117 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24118 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24119 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24120
24121 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24122
24123 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24124 (mq_attr): Use __syscall_slong_t.
24125
24126 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24127
24128 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24129 Check __x86_64__ instead of __WORDSIZE.
24130 (_STAT_VER_LINUX): Likewise.
24131 (stat): Check __x86_64__ instead of __WORDSIZE. Use
24132 __syscall_ulong_t and __syscall_slong_t.
24133 (stat64): Likewise.
24134
24135 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24136
24137 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24138
24139 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24140
24141 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24142
24143 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24144
24145 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24146 __syscall_ulong_t.
24147
24148 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24149 include <bits/wordsize.h>. Check __x86_64__ instead of
24150 __WORDSIZE.
24151 (greg_t): Use "__extension__ long long int" if __x86_64__ is
24152 defined.
24153 (mcontext_t): Replace "unsigned long" with "unsigned long long".
24154
24155 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24156 include <bits/wordsize.h>. Check __x86_64__ instead of
24157 __WORDSIZE.
24158 (user_regs_struct): Use "__extension__ unsigned long long"
24159 instead of "unsigned long" if __x86_64__ is defined.
24160 (user): Likewise. Pad after pointer field if __ILP32__ is
24161 defined.
24162
24163 2012-05-16 Joseph Myers <joseph@codesourcery.com>
24164
24165 * configure.in (makeinfo): Require version 4.5 or later. Allow
24166 versions 5 to 9.
24167 * configure: Regenerated.
24168 * manual/install.texi (texinfo): Increase version requirement to
24169 4.5 or later.
24170 * INSTALL: Regenerated.
24171
24172 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24173
24174 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
24175
24176 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24177
24178 * sysdeps/x86_64/x32/ffs.c: New file.
24179
24180 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24181 __syscall_ulong_t.
24182 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24183 defined. Use __syscall_ulong_t.
24184 (shminfo): Use __syscall_ulong_t.
24185 (shm_info): Likewise.
24186
24187 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24188 __syscall_ulong_t.
24189
24190 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24191 <bits/wordsize.h>.
24192 (msgqnum_t): Use __syscall_ulong_t.
24193 (msglen_t): Likewise.
24194 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
24195 __syscall_ulong_t.
24196
24197 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24198 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24199
24200 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24201
24202 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24203 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24204
24205 * sysvipc/sys/msg.h (msgbuf): Replace long int with
24206 __syscall_slong_t.
24207
24208 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24209 include <bits/wordsize.h>. Check __x86_64__ instead of
24210 __WORDSIZE.
24211
24212 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24213 "unsigned long long int" if __x86_64__ is defined.
24214 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24215
24216 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24217 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
24218 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24219
24220 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24221 <stdint.h>.
24222 (GET_PC): Cast to uintptr_t first.
24223 (GET_FRAME): Likewise.
24224 (GET_STACK): Likewise.
24225
24226 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24227 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24228 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24229 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24230 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24231 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24232 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24233 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24234 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24235 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24236 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24237 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24238 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24239 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24240 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24241 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24242 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24243 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24244 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24245 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24246 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24247 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24248 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24249 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24250 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24251 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24252 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24253 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24254 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24255
24256 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
24257
24258 * Makerules (+depfiles): Also collect depfiles from .oS in
24259 $(extra-objs).
24260 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24261 .oS, $(libnldbl-routines)).
24262
24263 * Makerules (native-compile-mkdep-flags): Define.
24264 * sunrpc/Makefile (extra-objs): Add $(addprefix
24265 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24266 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24267 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
24268 calling $(make-target-directory).
24269
24270 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24271
24272 * bits/types.h (__snseconds_t): Removed.
24273 * time/time.h (struct timespec): Replace __snseconds_t with
24274 __syscall_slong_t.
24275 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24276 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24277 Likewise.
24278 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24279 (__SNSECONDS_T_TYPE): Likewise.
24280 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24281 (__SNSECONDS_T_TYPE): Likewise.
24282 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24283 (__SNSECONDS_T_TYPE): Likewise.
24284
24285 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24286
24287 * sysdeps/mach/hurd/bits/typesizes.h
24288 (__SYSCALL_SLONG_TYPE): New macro.
24289 (__SYSCALL_ULONG_TYPE): Likewise.
24290
24291 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24292
24293 * bits/types.h (__syscall_slong_t): New type.
24294 (__syscall_ulong_t): Likewise.
24295
24296 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24297 (__SYSCALL_ULONG_TYPE): Likewise.
24298 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24299 (__SYSCALL_SLONG_TYPE): Likewise.
24300 (__SYSCALL_ULONG_TYPE): Likewise.
24301 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24302 (__SYSCALL_SLONG_TYPE): Likewise.
24303 (__SYSCALL_ULONG_TYPE): Likewise.
24304 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24305 (__SYSCALL_SLONG_TYPE): Likewise.
24306 (__SYSCALL_ULONG_TYPE): Likewise.
24307
24308 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24309
24310 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24311 Add sigaltstack-offsets.sym.
24312 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24313 <sigaltstack-offsets.h>.
24314 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
24315 longjmp_msg pointer.
24316 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
24317 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24318 signal stack.
24319 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24320
24321 2012-05-15 Joseph Myers <joseph@codesourcery.com>
24322
24323 * elf/stackguard-macros.h: Remove file.
24324 * sysdeps/generic/stackguard-macros.h: New file.
24325 * sysdeps/i386/stackguard-macros.h: Likewise.
24326 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24327 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24328 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24329 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24330 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24331 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24332 * sysdeps/x86_64/stackguard-macros.h: Likewise.
24333 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24334 <elf/stackguard-macros.h>.
24335
24336 [BZ #14109]
24337 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24338 __aligned__ in attribute.
24339 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24340 (gregset_t): Likewise.
24341
24342 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24343
24344 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24345 * sysdeps/x86_64/64/Implies-after: Here. New file.
24346 * sysdeps/x86_64/x32/Implies-after: New file.
24347
24348 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24349
24350 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24351 and access return value for _dl_profile_fixup. Use R10_LP to
24352 load frame size.
24353
24354 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24355
24356 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24357
24358 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24359
24360 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24361 * sysdeps/x86_64/x32/sysdep.h: New file.
24362
24363 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24364
24365 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24366 * sysdeps/x86_64/setjmp.S: Likewise.
24367
24368 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24369
24370 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24371 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24372 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24373 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24374 remove unused global constant.
24375
24376 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
24377
24378 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24379 include of <not-cancel.h>.
24380
24381 2012-05-15 Roland McGrath <roland@hack.frob.com>
24382
24383 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24384
24385 2012-05-15 Jeff Law <law@redhat.com>
24386 Andreas Jaeger <aj@suse.de>
24387
24388 [BZ #13594]
24389 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24390 out from...
24391 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24392 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24393 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24394 code changing __hst_map_handle.map.
24395
24396 2012-05-15 Roland McGrath <roland@hack.frob.com>
24397
24398 * configure.in (sysnames): Look for Implies-before and Implies-after
24399 files.
24400 * configure: Regenerated.
24401
24402 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24403
24404 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24405 8-byte data alignment with LP_SIZE alignment.
24406
24407 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24408
24409 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24410 into R10_LP.
24411
24412 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24413
24414 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24415
24416 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24417
24418 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24419 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24420 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24421 Likewise.
24422 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24423
24424 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24425
24426 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24427 (stackinfo_sub_sp): Likewise.
24428
24429 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24430
24431 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24432 RAX_LP.
24433
24434 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24435
24436 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24437 into R*_LP.
24438
24439 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24440
24441 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24442 sizes into R*_LP.
24443
24444 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24445
24446 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24447
24448 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24449
24450 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24451 into R11_LP and load __x86_64_shared_cache_size_half into
24452 R8_LP.
24453
24454 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24455
24456 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24457 R8_LP.
24458
24459 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24460
24461 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24462 logb for POWER7.
24463 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24464 logbf for POWER7.
24465 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24466 logbl for POWER7.
24467 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24468 powerpc32/power7/fpu/s_logb.c via #include.
24469 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24470 powerpc32/power7/fpu/s_logbf.c via #include.
24471 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24472 powerpc32/power7/fpu/s_logbl.c via #include.
24473
24474 2012-05-15 Joseph Myers <joseph@codesourcery.com>
24475
24476 * README.libm: Remove file.
24477
24478 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24479
24480 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24481 count for x32. Use R*_LP and omit operand-size suffix.
24482
24483 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24484
24485 * shlib-versions: Move x86_64-.*-linux.* entries to ...
24486 * sysdeps/x86_64/64/shlib-versions: Here. New file.
24487 * sysdeps/x86_64/x32/shlib-versions: New file.
24488
24489 2012-05-14 Roland McGrath <roland@hack.frob.com>
24490
24491 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24492 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24493 Use _dl_fatal_printf instead.
24494
24495 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24496
24497 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24498 set if not set by the user. Do not allow for being unset.
24499 * sysdeps/unix/sysv/linux/configure: Regenerated.
24500
24501 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24502
24503 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24504 the `q' suffix from lea and replace .quad with ASM_ADDR.
24505
24506 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24507
24508 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24509 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
24510 instead of $17.
24511 (PTR_DEMANGLE): Likewise.
24512
24513 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24514
24515 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24516 (LP_OP): Likewise.
24517 (ASM_ADDR): Likewise.
24518 (RAX_LP): Likewise.
24519 (RBP_LP): Likewise.
24520 (RBX_LP): Likewise.
24521 (RCX_LP): Likewise.
24522 (RDI_LP): Likewise.
24523 (RSI_LP): Likewise.
24524 (RSP_LP): Likewise.
24525 (R8_LP): Likewise.
24526 (R9_LP): Likewise.
24527 (R10_LP): Likewise.
24528 (R10_LP): Likewise.
24529 (R11_LP): Likewise.
24530 (R12_LP): Likewise.
24531 (R13_LP): Likewise.
24532 (R14_LP): Likewise.
24533 (R15_LP): Likewise.
24534
24535 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24536
24537 * sysdeps/x86_64/x32/dl-machine.h: New file.
24538
24539 2012-05-14 Andreas Jaeger <aj@suse.de>
24540
24541 * manual/Makefile (subdir): Remove export of subdir.
24542 (all): Remove target.
24543 (.PHONY): Remove all from list.
24544 (mkinstalldirs): Remove.
24545 (.PHONY): Remove installdirs from list.
24546 ($(inst_infodir)/libc.info): Use make-target-directory.
24547 (installdirs): Remove.
24548 (subdir_%): Remove.
24549 (glibc-targets): Remove.
24550 (lib): Remove.
24551 (stubs): Remove.
24552 ($(objpfx)stubs ../po/manual.pot): Remove.
24553 ($(objpfx)stamp%): Remove.
24554 (make-target-directory): Remove.
24555 (subdir_install): Remove.
24556 (routines): Remove.
24557 (aux): Remove.
24558 (sources): Remove.
24559 (objects): Remove.
24560 (headers): Remove.
24561
24562 [BZ #13750]
24563 * manual/.gitignore: Remove, it's not needed anymore.
24564 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24565 all files in it.
24566 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24567 directory.
24568 (texis): Renamed to $(objpfx)texis.
24569 (texis-path): New, contains path to generated files.
24570 (chapters.%): Use texis-path for complete path, add extra argument
24571 libc-texinfo.sh.
24572 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24573 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24574 (summary,texi, stamp-summary): Use complete path of
24575 files. Generate files in build dir.
24576 (dir-add.texi): Build in build dir.
24577 (libm-err.texi,stamp-libm-err): Likewise.
24578 (version.texi, stamp-version): Likewise.
24579 (.%c.texi): Likewise.
24580 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24581 (mostlyclean): Remove target.
24582 (realclean): Remove target.
24583 (generated): Add new variable with contents from mostlyclean and
24584 realclean, remove entries duplicated in common-mostlyclean, add
24585 stamp-libm-err and stamp-version.
24586 (generated-dirs): Add libc directory.
24587 ($(inst_infodir)/libc.info): Install files from build dir.
24588
24589 * manual/install.texi (Configuring and compiling): Adjust since
24590 the info files are not part of the tar ball anymore.
24591
24592 2012-05-14 Andreas Jaeger <aj@suse.de>
24593
24594 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24595 variable.
24596
24597 2012-05-14 Joseph Myers <joseph@codesourcery.com>
24598
24599 [BZ #13717]
24600 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24601 to 2.2.0 where earlier.
24602 * sysdeps/unix/sysv/linux/configure: Regenerated.
24603 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24604 Remove conditional code.
24605 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24606 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24607 Remove conditional code.
24608 [!__NR_lchown]: Likewise.
24609 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24610 [__NR_lchown]: Likewise.
24611 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24612 comment referencing __ASSUME_LCHOWN_SYSCALL.
24613 * sysdeps/unix/sysv/linux/i386/sigaction.c
24614 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24615 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24616 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24617 Remove conditional code.
24618 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24619 (__protocol_available): Remove #if 0 code.
24620 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24621 conditional code.
24622 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24623 * sysdeps/unix/sysv/linux/kernel-features.h
24624 (__ASSUME_GETCWD_SYSCALL): Don't define.
24625 (__ASSUME_REALTIME_SIGNALS): Likewise.
24626 (__ASSUME_PREAD_SYSCALL): Likewise.
24627 (__ASSUME_PWRITE_SYSCALL): Likewise.
24628 (__ASSUME_POLL_SYSCALL): Likewise.
24629 (__ASSUME_LCHOWN_SYSCALL): Likewise.
24630 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24631 non-SPARC.
24632 (__ASSUME_SIOCGIFNAME): Don't define.
24633 (__ASSUME_MSG_NOSIGNAL): Likewise.
24634 (__ASSUME_SENDFILE): Define unconditionally.
24635 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24636 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24637 conditional code.
24638 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24639 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24640 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24641 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24642 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24643 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24644 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24646 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24647 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24649 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24650 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24652 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24653 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24655 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24656 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24658 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24659 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24661 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24662 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24664 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24665 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24667 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24668 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24669 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24670 Remove conditional code.
24671 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24672 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24673 Remove conditional code.
24674 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24675 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24676 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24677 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24678 Remove conditional code.
24679 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24680 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24681 Remove conditional code.
24682 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24683 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24684 Remove conditional code.
24685 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24686 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24687 Remove conditional code.
24688 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24689 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24690 Remove conditional code.
24691 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24692 * sysdeps/unix/sysv/linux/sh/pwrite64.c
24693 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24694 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24695 * sysdeps/unix/sysv/linux/sigaction.c
24696 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24697 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24698 * sysdeps/unix/sysv/linux/sigpending.c
24699 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24700 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24701 * sysdeps/unix/sysv/linux/sigprocmask.c
24702 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24703 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24704 * sysdeps/unix/sysv/linux/sigsuspend.c
24705 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24706 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24707 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24708 (__libc_missing_rt_sigs): Remove.
24709 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24710 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24711 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24712 Remove conditional code.
24713 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24714 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24715 return 1.
24716 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24717 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24718 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24719 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24720
24721 2012-05-14 Andreas Jaeger <aj@suse.de>
24722
24723 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24724 it's not used in glibc.
24725 (__coshm1): Likewise.
24726 (__acosh1p): Likewise.
24727 (__sgn): Likewise.
24728
24729 * manual/string.texi (Copying and Concatenation): Add missing
24730 variable in concat example.
24731 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24732
24733 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24734
24735 [BZ #14103]
24736 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24737 __builtin_clzl with __builtin_clzll.
24738
24739 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24740
24741 [BZ #14104]
24742 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24743 libc_freeres_ptr.
24744
24745 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24746
24747 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24748 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24749 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24750 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24751
24752 2012-05-14 Mike Frysinger <vapier@gentoo.org>
24753
24754 * NEWS: Update ia64 info.
24755
24756 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
24757
24758 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24759 used as bcopy.
24760
24761 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
24762
24763 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24764 * sysdeps/unix/syscalls.list (dup3): Likewise.
24765 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24766 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24767
24768 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24769
24770 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24771 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24772
24773 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
24774
24775 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24776 thread pointer.
24777 (TLS_IE): Use mov/add instead of movq/addq to load thread
24778 pointer.
24779 (TLS_GD_PREFIX): New.
24780 (TLS_GD): Use it.
24781
24782 2012-05-11 David S. Miller <davem@davemloft.net>
24783
24784 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24785 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24786 (_FPU_SETCW): Likewise.
24787
24788 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24789
24790 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24791 is 32-byte aligned.
24792
24793 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
24794
24795 [BZ #11837]
24796 * iconvdata/gb18030.c: Update tables.
24797 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
24798 characters specially.
24799 (BODY for TO_LOOP): Add encoding of missing ranges.
24800
24801 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
24802
24803 [BZ #13673]
24804 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24805 * sysdeps/mach/hurd/dup3.c: Likewise.
24806 * sysdeps/mach/hurd/readlinkat.c: Likewise.
24807 * sysdeps/powerpc/memmove.c:: Likewise.
24808
24809 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24810
24811 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24812 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24813
24814 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
24815
24816 * elf/elf.h (R_X86_64_RELATIVE64): New.
24817 (R_X86_64_NUM): Updated.
24818 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24819 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
24820 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24821 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24822 tst-quad1pie tst-quad2pie
24823 (modules-names): Add tst-quadmod1 tst-quadmod2.
24824 ($(objpfx)tst-quad1): New dependency.
24825 ($(objpfx)tst-quad2): Likewise.
24826 ($(objpfx)tst-quad1pie): Likewise.
24827 ($(objpfx)tst-quad2pie): Likewise.
24828 * sysdeps/x86_64/tst-quad1.c: New file.
24829 * sysdeps/x86_64/tst-quad1pie.c: New file.
24830 * sysdeps/x86_64/tst-quad2.c: Likewise.
24831 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24832 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24833 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24834 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24835 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24836
24837 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24838
24839 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24840 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24841 * streams/stropts.h (t_scalar_t): Define type.
24842
24843 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24844 (_PATH_PRESERVE): Set to "/var/lib".
24845 (_PATH_RWHODIR): Set to "/var/spool/rwho".
24846
24847 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24848 instead of int.
24849
24850 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24851 if __dir_mkfile succeeded.
24852
24853 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24854 checking for _hurd_dtablesize. Unlock it right after having
24855 finished _hurd_dtable allocation.
24856
24857 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24858
24859 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24860 * sysdeps/mach/hurd/configure: Regenerated.
24861 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24862 special-casing to...
24863 * sysdeps/gnu/configure.in: ... this new file.
24864 * sysdeps/unix/sysv/linux/configure: Regenerated.
24865 * sysdeps/gnu/configure: New generated file.
24866
24867 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24868 for Linux: use nsec instead of usec, as well as:
24869 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24870 members of type struct timespec.
24871 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24872 New macros.
24873 (struct stat64): Likewise.
24874 (_STATBUF_ST_NSEC): New macro.
24875 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24876
24877 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24878 __strtoul_internal rather than strtoul.
24879
24880 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24881
24882 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24883 and reject them.
24884
24885 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24886
24887 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24888 which preserves existing values.
24889 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24890
24891 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24892
24893 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24894 TIMEOUT values. Return EINVAL for NFDS values either negative or
24895 greater than FD_SETSIZE.
24896
24897 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24898
24899 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24900 allocated, call __vm_protect to finish enabling the existing space, and
24901 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24902 allocate the remainder.
24903
24904 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24905
24906 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24907 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
24908
24909 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24910
24911 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24912 sysdeps/mach/hurd/readlink.c.
24913
24914 * posix/tst-sysconf.c (posix_options): Only use
24915 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24916 _POSIX_SYNCHRONIZED_IO when they are defined
24917 * sysdeps/mach/hurd/bits/posix_opt.h:
24918 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24919 (_XOPEN_REALTIME): Undefine macro.
24920 (_XOPEN_REALTIME_THREADS): Undefine macro.
24921 (_XOPEN_SHM): Undefine macro.
24922 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24923 macro to -1.
24924 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24925 macro to -1.
24926 (_POSIX_ASYNC_IO): Undefine macro.
24927 (_POSIX_PRIORITIZED_IO): Undefine macro.
24928 (_POSIX_SPIN_LOCKS): Define macro to -1.
24929
24930 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24931 SA_NODEFER, SA_RESETHAND.
24932 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24933 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24934 F_DUPFD_CLOEXEC.
24935
24936 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24937
24938 * elf/Makefile (pldd-modules): Define unconditionally.
24939
24940 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24941
24942 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
24943
24944 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24945
24946 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
24947 Return ENOENT when name is empty.
24948 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
24949
24950 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24951
24952 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
24953
24954 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
24955
24956 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24957
24958 Fix mlock in all cases except non-readable pages.
24959 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
24960 instead of VM_PROT_ALL as parameter to __vm_wire function.
24961
24962 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
24963 (__mkdir): When path is `/', just fail with EEXIST.
24964 * sysdeps/mach/hurd/mkdirat.c: Likewise.
24965
24966 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24967
24968 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
24969 <sys/uio.h> (for writev).
24970 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
24971 and <sys/param.h> (for MIN).
24972
24973 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
24974
24975 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
24976 REQUESTED_TIME. Properly set the remaining time and return EINTR
24977 if interrupted.
24978
24979 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24980
24981 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
24982 Depend on against $(link-rpcuserlibs).
24983
24984 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
24985
24986 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
24987 (__libc_stack_end): Do not use attribute_relro.
24988 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
24989 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
24990 to libthread-provided value.
24991 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
24992 attribute_relro.
24993
24994 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
24995
24996 [BZ #3748]
24997 * bits/libc-lock.h (__libc_once_get): New macro.
24998 * sysdeps/mach/bits/libc-lock.h: Likewise.
24999 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25000 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25001 instead of using implementation details.
25002
25003 * libio/fileops.c: Unconditionally include <kernel-features.h>.
25004 * libio/freopen.c: Likewise.
25005 * libio/freopen64.c: Likewise.
25006 * misc/syslog.c: Likewise.
25007 * nscd/connections.c: Likewise.
25008 * nscd/netgroupcache.c: Likewise.
25009 * sysdeps/posix/getcwd.c: Likewise.
25010
25011 2012-05-10 Roland McGrath <roland@hack.frob.com>
25012
25013 * math/w_ilogbf.c: Add #include <limits.h>.
25014
25015 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25016
25017 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
25018 path instead of returning without unlocking.
25019
25020 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25021 immediate-write ioctls.
25022 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25023
25024 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25025
25026 * sysdeps/mach/hurd/i386/init-first.c (init): Use
25027 __builtin_frame_address instead of making assumptions about the
25028 location of the return address relative to DATA. Force early load of
25029 the return address.
25030 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25031 __builtin_frame_address.
25032
25033 dup3 for GNU Hurd.
25034 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25035 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
25036 implement dup3 and do some further code clean-ups.
25037 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25038 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25039
25040 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25041
25042 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25043
25044 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25045 HURD_CRITICAL_END around holding _hurd_dtable_lock.
25046 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25047 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25048 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25049 d->port.lock.
25050
25051 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25052 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
25053 when handler == SIG_ERR, not when handler != SIG_ERR.
25054
25055 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25056
25057 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25058 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25059 definitions.
25060
25061 accept4 for GNU Hurd.
25062 * include/sys/socket.h (__libc_accept4): New prototype.
25063 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
25064 to implement __libc_accept4.
25065 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25066 __libc_accept4.
25067 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25068
25069 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25070 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25071 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25072 signal-defines.sym.
25073
25074 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25075
25076 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
25077
25078 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
25079
25080 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25081 assertion on O_CLOEXEC flag.
25082 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25083 * hurd/intern-fd.c: Likewise.
25084 * hurd/port2fd.c: Likewise.
25085
25086 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
25087
25088 [BZ #3906]
25089 * bits/in.h (IPV6_PKTINFO): Define new macro.
25090 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25091
25092 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25093
25094 [BZ #13954]
25095 [BZ #13955]
25096 [BZ #13956]
25097 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25098 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25099 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25100 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25101 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25102 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25103 * math/libm-test.inc (logb_test) : Additional logb tests.
25104
25105 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
25106 Andreas Jaeger <aj@suse.de>
25107
25108 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25109 * configure: Regenerated.
25110 * config.h.in (LINK_OBSOLETE_RPC): New macro.
25111 * config.make.in (link-obsolete-rpc): New substituted variable.
25112 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25113 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25114 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25115 (shared-only-routines): Don't set it under [link-obsolete-rpc],
25116 so that libc.a contains the symbols.
25117 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25118 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25119 * sunrpc/auth_none.c: Likewise.
25120 * sunrpc/auth_unix.c: Likewise.
25121 * sunrpc/authdes_prot.c: Likewise.
25122 * sunrpc/authuxprot.c: Likewise.
25123 * sunrpc/clnt_gen.c: Likewise.
25124 * sunrpc/clnt_perr.c: Likewise.
25125 * sunrpc/clnt_raw.c: Likewise.
25126 * sunrpc/clnt_simp.c: Likewise.
25127 * sunrpc/clnt_tcp.c: Likewise.
25128 * sunrpc/clnt_udp.c: Likewise.
25129 * sunrpc/clnt_unix.c: Likewise.
25130 * sunrpc/des_crypt.c: Likewise.
25131 * sunrpc/des_soft.c: Likewise.
25132 * sunrpc/get_myaddr.c: Likewise.
25133 * sunrpc/key_call.c: Likewise.
25134 * sunrpc/key_prot.c: Likewise.
25135 * sunrpc/netname.c: Likewise.
25136 * sunrpc/pm_getmaps.c: Likewise.
25137 * sunrpc/pm_getport.c: Likewise.
25138 * sunrpc/pmap_clnt.c: Likewise.
25139 * sunrpc/pmap_prot.c: Likewise.
25140 * sunrpc/pmap_prot2.c: Likewise.
25141 * sunrpc/pmap_rmt.c: Likewise.
25142 * sunrpc/publickey.c: Likewise.
25143 * sunrpc/rpc_cmsg.c: Likewise.
25144 * sunrpc/rpc_common.c: Likewise.
25145 * sunrpc/rpc_dtable.c: Likewise.
25146 * sunrpc/rpc_prot.c: Likewise.
25147 * sunrpc/rpc_thread.c: Likewise.
25148 * sunrpc/rtime.c: Likewise.
25149 * sunrpc/svc.c: Likewise.
25150 * sunrpc/svc_auth.c: Likewise.
25151 * sunrpc/svc_raw.c: Likewise.
25152 * sunrpc/svc_run.c: Likewise.
25153 * sunrpc/svc_tcp.c: Likewise.
25154 * sunrpc/svc_udp.c: Likewise.
25155 * sunrpc/svc_unix.c: Likewise.
25156 * sunrpc/svcauth_des.c: Likewise.
25157 * sunrpc/xcrypt.c: Likewise.
25158 * sunrpc/xdr.c: Likewise.
25159 * sunrpc/xdr_array.c: Likewise.
25160 * sunrpc/xdr_float.c: Likewise.
25161 * sunrpc/xdr_intXX_t.c: Likewise.
25162 * sunrpc/xdr_mem.c: Likewise.
25163 * sunrpc/xdr_rec.c: Likewise.
25164 * sunrpc/xdr_ref.c: Likewise.
25165 * sunrpc/xdr_sizeof.c: Likewise.
25166 * sunrpc/xdr_stdio.c: Likewise.
25167
25168 2012-05-10 Roland McGrath <roland@hack.frob.com>
25169
25170 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25171 change. Update copyright years.
25172
25173 2012-05-10 Joseph Myers <joseph@codesourcery.com>
25174
25175 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25176
25177 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
25178 Joseph Myers <joseph@codesourcery.com>
25179 Paul Pluzhnikov <ppluzhnikov@google.com>
25180
25181 [BZ #14012]
25182 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25183 requiring rpcgen.
25184 [cross-compiling] (extra-libs): Likewise.
25185 [cross-compiling] (extra-libs-others): Likewise.
25186 [cross-compiling] (librpcsvc-routines): Likewise.
25187 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25188 [cross-compiling] (omit-deps): Likewise.
25189 (sunrpc-CPPFLAGS): New variable.
25190 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25191 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25192 (cross-rpcgen-objs): New variable.
25193 (extra-objs): Append $(cross-rpcgen-objs).
25194 ($(cross-rpcgen-objs)): New rule.
25195 ($(objpfx)cross-rpcgen): Likewise.
25196 (rpcgen-cmd): Define to use $(built-program-file). Expand
25197 comment.
25198 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25199 ($(objpfx)x%.stmp): Likewise.
25200 * sunrpc/proto.h [IS_IN_build] (_): Define.
25201 [IS_IN_build] (_libc_intl_domainname): Likewise.
25202
25203 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
25204
25205 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25206 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25207 and R_X86_64_TPOFF64.
25208
25209 2012-05-10 Joseph Myers <joseph@codesourcery.com>
25210
25211 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25212 sysdeps/unix/sysv/syscalls.list.
25213 (stime): Likewise.
25214 (utime): Likewise.
25215 * sysdeps/unix/sysv/syscalls.list: Remove file.
25216
25217 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
25218
25219 [BZ #3440]
25220 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25221 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25222 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25223 (__LC_IDENTIFICATION): Make these macros useful in #if
25224 expressions, as required by C99.
25225
25226 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
25227
25228 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25229 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
25230 after this.
25231
25232 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
25233
25234 * stdlib/longlong.h: Updated from GCC.
25235
25236 2012-05-09 Andreas Jaeger <aj@suse.de>
25237
25238 * nscd/nscd.c (run_modes): Make named enum, reorder so that
25239 default is first entry.
25240 (run_mode): Set type.
25241 (main): Remove informal message about syslog.
25242 (options): Fix typo.
25243
25244 [BZ #14053]
25245 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
25246 to asm.
25247 (lrint): Likewise.
25248 (llrintf): Likewise.
25249 (llrint): Likewise.
25250 (rint): Likewise.
25251 (rintf): Likewise.
25252 (nearbyint): Likewise.
25253 (nearbyintf): Likewise.
25254
25255 2012-05-09 Andreas Jaeger <aj@suse.de>
25256 Pedro Alves <palves@redhat.com>
25257
25258 * nscd/nscd.c (run_mode): Use enum.
25259 (main): Cleanup coding style issue.
25260
25261 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
25262 Andreas Jaeger <aj@suse.de>
25263
25264 * nscd/nscd.c (go_background): Replaced with...
25265 (run_mode): ... this.
25266 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
25267 (options): Add -F --foreground.
25268 (main): Implement it.
25269 (parse_opt): Parse it.
25270
25271 2012-05-09 Andreas Jaeger <aj@suse.de>
25272
25273 [BZ #14083]
25274 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25275 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25276 -Wconversion warning.
25277 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25278 Likewise.
25279
25280 2012-05-09 Joseph Myers <joseph@codesourcery.com>
25281
25282 * conform/data/locale.h-data (NULL): Use macro-constant. Require
25283 == 0.
25284 (LC_ALL): Use macro-int-constant.
25285 (LC_COLLATE): Likewise.
25286 (LC_CTYPE): Likewise.
25287 (LC_MESSAGES): Likewise.
25288 (LC_MONETARY): Likewise.
25289 (LC_NUMERIC): Likewise.
25290 (LC_TIME): Likewise.
25291 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25292 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25293 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25294 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25295 Specify type.
25296 [C99-based standards] (float_t): Expect type.
25297 [C99-based standards] (double_t): Expect type.
25298 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
25299 type.
25300 [C99-based standards] (HUGE_VALL): Likewise.
25301 [C99-based standards] (INFINITY): Likewise.
25302 [C99-based standards] (NAN): Likewise.
25303 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25304 [C99-based standards] (FP_NAN): Likewise.
25305 [C99-based standards] (FP_NORMAL): Likewise.
25306 [C99-based standards] (FP_SUBNORMAL): Likewise.
25307 [C99-based standards] (FP_ZERO): Likewise.
25308 [C99-based standards] (FP_FAST_FMA): Use
25309 optional-macro-int-constant. Specify type. Require == 1.
25310 [C99-based standards] (FP_FAST_FMAF): Likewise.
25311 [C99-based standards] (FP_FAST_FMAL): Likewise.
25312 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25313 [C99-based standards] (FP_ILOGBNAN): Likewise.
25314 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25315 Specify type.
25316 [C99-based standards] (MATH_ERREXCEPT): Likewise.
25317 [C99-based standards] (math_errhandling): Specify type.
25318 [ISO99 || ISO11] (signgam): Do not allow.
25319 [non-C99-based standards] (copysignf): Do not allow.
25320 [non-C99-based standards] (exp2f): Likewise.
25321 [non-C99-based standards] (log2f): Likewise.
25322 [non-C99-based standards] (modff): Allow.
25323 [non-C99-based standards] (erff): Do not allow.
25324 [non-C99-based standards] (erfcf): Likewise.
25325 [non-C99-based standards] (gammaf): Likewise.
25326 [non-C99-based standards] (hypotf): Likewise.
25327 [non-C99-based standards] (j0f): Likewise.
25328 [non-C99-based standards] (j1f): Likewise.
25329 [non-C99-based standards] (jnf): Likewise.
25330 [non-C99-based standards] (lgammaf): Likewise.
25331 [non-C99-based standards] (tgammaf): Likewise.
25332 [non-C99-based standards] (y0f): Likewise.
25333 [non-C99-based standards] (y1f): Likewise.
25334 [non-C99-based standards] (ynf): Likewise.
25335 [non-C99-based standards] (isnanf): Likewise.
25336 [non-C99-based standards] (acoshf): Likewise.
25337 [non-C99-based standards] (asinhf): Likewise.
25338 [non-C99-based standards] (atanhf): Likewise.
25339 [non-C99-based standards] (cbrtf): Likewise.
25340 [non-C99-based standards] (expm1f): Likewise.
25341 [non-C99-based standards] (ilogbf): Likewise.
25342 [non-C99-based standards] (log1pf): Likewise.
25343 [non-C99-based standards] (logbf): Likewise.
25344 [non-C99-based standards] (nextafterf): Likewise.
25345 [non-C99-based standards] (remainderf): Likewise.
25346 [non-C99-based standards] (rintf): Likewise.
25347 [non-C99-based standards] (scalbf): Likewise.
25348 [non-C99-based standards] (copysignl): Likewise.
25349 [non-C99-based standards] (exp2l): Likewise.
25350 [non-C99-based standards] (log2l): Likewise.
25351 [non-C99-based standards] (modfl): Allow.
25352 [non-C99-based standards] (erfl): Do not allow.
25353 [non-C99-based standards] (erfcl): Likewise.
25354 [non-C99-based standards] (gammal): Likewise.
25355 [non-C99-based standards] (hypotl): Likewise.
25356 [non-C99-based standards] (j0l): Likewise.
25357 [non-C99-based standards] (j1l): Likewise.
25358 [non-C99-based standards] (jnl): Likewise.
25359 [non-C99-based standards] (lgammal): Likewise.
25360 [non-C99-based standards] (tgammal): Likewise.
25361 [non-C99-based standards] (y0l): Likewise.
25362 [non-C99-based standards] (y1l): Likewise.
25363 [non-C99-based standards] (ynl): Likewise.
25364 [non-C99-based standards] (isnanl): Likewise.
25365 [non-C99-based standards] (acoshl): Likewise.
25366 [non-C99-based standards] (asinhl): Likewise.
25367 [non-C99-based standards] (atanhl): Likewise.
25368 [non-C99-based standards] (cbrtl): Likewise.
25369 [non-C99-based standards] (expm1l): Likewise.
25370 [non-C99-based standards] (ilogbl): Likewise.
25371 [non-C99-based standards] (log1pl): Likewise.
25372 [non-C99-based standards] (logbl): Likewise.
25373 [non-C99-based standards] (nextafterl): Likewise.
25374 [non-C99-based standards] (remainderl): Likewise.
25375 [non-C99-based standards] (rintl): Likewise.
25376 [non-C99-based standards] (scalbl): Likewise.
25377 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25378 [non-C99-based standards] (FP_*): Do not allow.
25379 [C99-based standards] (FP_*): Change to
25380 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25381 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25382 allow.
25383 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25384 (SIG_ERR): Likewise.
25385 [X/Open-based standards] (SIG_HOLD): Likewise.
25386 (SIG_IGN): Likewise.
25387 (SIGABRT): Use macro-int-constant. Specify type. Require
25388 positive value.
25389 (SIGFPE): Likewise.
25390 (SIGILL): Likewise.
25391 (SIGINT): Likewise.
25392 (SIGSEGV): Likewise.
25393 (SIGTER): Likewise.
25394 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25395 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25396 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25397 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25398 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25399 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25400 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25401 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25402 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25403 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25404 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25405 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25406 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25407 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25408 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25409 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25410 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25411 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25412 [X/Open-based standards] (SIGTRAP): Likewise.
25413 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25414 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25415 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25416 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25417 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25418 allow.
25419
25420 2012-05-08 Ian Wienand <ianw@vmware.com>
25421
25422 [BZ #14080]
25423 * time/tzset.c (__tzset_parse_tz): Update default rules for
25424 daylight time changes in the Energy Policy Act of 2005.
25425
25426 2012-05-09 Andreas Jaeger <aj@suse.de>
25427
25428 [BZ #13983]
25429 * elf/ldconfig.c (parse_conf): Change string to make clear that
25430 ldconfig only issued a warning if ld.so.conf does not exist.
25431
25432 2012-05-08 David S. Miller <davem@davemloft.net>
25433
25434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25435 movxtod instead of popping the value on the stack.
25436
25437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25438
25439 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
25440
25441 * config.h.in: Add HAVE_ARM_PCS_VFP.
25442
25443 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
25444
25445 [BZ #13979]
25446 * include/features.h: Warn if user requests __FORTIFY_SOURCE
25447 checking but the checks are disabled for any reason.
25448
25449 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
25450
25451 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25452 and ELF64_R_TYPE with ELFW(R_TYPE).
25453
25454 2012-05-08 Joseph Myers <joseph@codesourcery.com>
25455
25456 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25457 (ulimit): Likewise.
25458
25459 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25460 (settimeofday): Likewise.
25461
25462 2012-05-08 Mike Frysinger <vapier@gentoo.org>
25463
25464 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
25465 a struct th_u2 inside the union, and move tu_block/tu_code into
25466 a new th_u3 union of tu_block/tu_code inside of that. Move
25467 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
25468 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
25469 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25470 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25471 (th_stuff): Change to th_u1.tu_stuff.
25472 (th_data): Define.
25473 (th_msg): Change to th_u1.th_u2.tu_data.
25474
25475 2012-05-07 David S. Miller <davem@davemloft.net>
25476
25477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25478
25479 [BZ #14074]
25480 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25481 (SETUP_PIC_REG): Use it.
25482 (SETUP_PIC_REG_LEAF): Use it.
25483
25484 2012-05-07 Joseph Myers <joseph@codesourcery.com>
25485
25486 [BZ #13885]
25487 [BZ #13923]
25488 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25489 USE_AS_EXPM1L.
25490 (EXPL_FINITE): Likewise.
25491 (FLDLOG): Likewise.
25492 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25493 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25494 e_expl.S.
25495 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25496 USE_AS_EXPM1L.
25497 (EXPL_FINITE): Likewise.
25498 (FLDLOG): Likewise.
25499 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25500 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25501 e_expl.S.
25502 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
25503 test of -max_value argument for long double.
25504 * sysdeps/i386/fpu/libm-test-ulps: Update.
25505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25506
25507 2012-05-06 David S. Miller <davem@davemloft.net>
25508
25509 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25510 quad soft-float symbols whose references which are compiler
25511 generated.
25512 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25513
25514 2012-05-06 Joseph Myers <joseph@codesourcery.com>
25515
25516 [BZ #13884]
25517 [BZ #13914]
25518 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25519 USE_AS_EXP10L.
25520 (EXPL_FINITE): Likewise.
25521 (FLDLOG): Likewise.
25522 (c0): Likewise.
25523 (c1): Likewise.
25524 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25525 Adjust comments for base varying.
25526 (__expl_finite): Change alias to EXPL_FINITE.
25527 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25528 e_expl.S.
25529 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25530 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25531 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25532 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25533 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25534 USE_AS_EXP10L.
25535 (EXPL_FINITE): Likewise.
25536 (FLDLOG): Likewise.
25537 (c0): Likewise.
25538 (c1): Likewise.
25539 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
25540 Adjust comments for base varying.
25541 (__expl_finite): Change alias to EXPL_FINITE.
25542 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
25543 tests for bugs.
25544 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25545
25546 [BZ #14064]
25547 * math/libm-test.inc (check_float_internal): Correct ulp
25548 calculation for subnormal expected results.
25549
25550 2012-05-06 Andreas Jaeger <aj@suse.de>
25551
25552 * Makeconfig (+math-flags): New, set to -frounding-math.
25553 (+cflags): Add +math-flags so that all of glibc gets compiled with
25554 it.
25555
25556 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25557
25558 2012-05-05 Joseph Myers <joseph@codesourcery.com>
25559
25560 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25561 Disable one test.
25562
25563 [BZ #13787]
25564 [BZ #13922]
25565 [BZ #14036]
25566 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25567 (__ieee754_expl): Allow for and saturate large arguments.
25568 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25569 (u_threshold): Likewise.
25570 (__exp): Call __ieee754_exp before checking for overflow and
25571 underflow.
25572 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25573 (u_threshold): Likewise.
25574 (__expf): Call __ieee754_expf before checking for overflow and
25575 underflow.
25576 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25577 (u_threshold): Likewise.
25578 (__expl): Call __ieee754_expl before checking for overflow and
25579 underflow.
25580 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25581 (__ieee754_expl): Allow for and saturate large arguments.
25582 * math/libm-test.inc (exp_test): Add another test. Do not allow
25583 missing overflow exception on overflow.
25584 (expm1_test): Do not allow missing overflow exception on overflow.
25585
25586 * sysdeps/i386/fpu/e_expl.c: Move to ...
25587 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
25588 rather than using inline asm.
25589 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25590 * sysdeps/x86_64/fpu/e_expl.S: Copy from
25591 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25592
25593 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25594 (nice): Likewise.
25595 (poll): Likewise.
25596 (signal): Likewise.
25597 (time): Likewise.
25598 (times): Likewise.
25599
25600 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25601
25602 * sysdeps/unix/syscalls.list (adjtime): Add entry from
25603 sysdeps/unix/common/syscalls.list.
25604 (fchmod): Likewise.
25605 (fchown): Likewise.
25606 (ftruncate): Likewise.
25607 (getrusage): Likewise.
25608 (gettimeofday): Likewise.
25609 (setpgid): Likewise.
25610 (setregid): Likewise.
25611 (setreuid): Likewise.
25612 (sigaction): Likewise.
25613 (truncate): Likewise.
25614 (vhangup): Likewise.
25615 * sysdeps/unix/common/syscalls.list: Remove file.
25616 * sysdeps/unix/bsd/Implies: Don't include unix/common.
25617 * sysdeps/unix/sysv/linux/Implies: Likewise.
25618
25619 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
25620
25621 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25622 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25623 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25624 Moved to ...
25625 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25626 Here.
25627 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25628 to ...
25629 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25630 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25631 to ...
25632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25633 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25634 to ...
25635 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25636 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25637 to ...
25638 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25639 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25640 to ...
25641 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25642 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25643 to ...
25644 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25645 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25646 to ...
25647 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25648 Here.
25649 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25650 to ...
25651 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25652 Here.
25653 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25654 to ...
25655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25656 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25657 Moved to ...
25658 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25659 Here.
25660 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25661 to ...
25662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25663
25664 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25665
25666 * sysdeps/unix/common/bits/dirent.h: Remove file.
25667 * sysdeps/unix/common/bits/fcntl.h: Likewise.
25668
25669 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25670 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25671 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25672 * sysdeps/unix/bsd/isatty.c: Likewise.
25673 * sysdeps/unix/bsd/tcdrain.c: Likewise.
25674 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25675 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25676
25677 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25678
25679 [BZ #13563]
25680 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25681 long double comparison inaccuracies.
25682 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25684
25685 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
25686
25687 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25688 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25689
25690 2012-05-04 Joseph Myers <joseph@codesourcery.com>
25691
25692 [BZ #14049]
25693 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25694 nonzero digits before rounding a hex value.
25695 * stdlib/tst-strtod.c (tests): Add another test.
25696
25697 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25698
25699 * sysdeps/s390/fpu/libm-test-ulps: Update.
25700
25701 2012-05-03 Andreas Jaeger <aj@suse.de>
25702
25703 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25704 does not get optimized out.
25705 (malloc_opt_barrier): New.
25706
25707 2012-05-03 Andreas Jaeger <aj@suse.de>
25708 Roland McGrath <roland@hack.frob.com>
25709
25710 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25711 intermediate file deletion.
25712 (generated): Add .symlist files.
25713
25714 2012-05-03 Joseph Myers <joseph@codesourcery.com>
25715
25716 [BZ #13775]
25717 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25718 Redirect under this condition.
25719 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25720 [__USE_GNU] (__dprintf_chk): Not under this condition.
25721 [__USE_GNU] (__vdprintf_chk): Likewise.
25722 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25723 under this condition.
25724 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25725 [__USE_XOPEN2K8] (dprintf): Define under this condition.
25726 [__USE_XOPEN2K8] (vdprintf): Likewise.
25727 [__USE_GNU] (__dprintf_chk): Not under this condition.
25728 [__USE_GNU] (__vdprintf_chk): Likewise.
25729 [__USE_GNU] (dprintf): Likewise.
25730 [__USE_GNU] (vdprintf): Likewise.
25731
25732 2012-05-03 Roland McGrath <roland@hack.frob.com>
25733
25734 * elf/Makefile (common-generated): Set this instead of generated for
25735 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
25736 $(all-built-dso)-derived lists.
25737
25738 2012-05-03 Andreas Jaeger <aj@suse.de>
25739
25740 * sysdeps/i386/fpu/libm-test-ulps: Update.
25741
25742 * FAQ: Removed.
25743 * FAQ.in: Likewise.
25744 * scripts/gen-FAQ.pl: Likewise.
25745 * manual/install.texi (Installation): Point to online location of
25746 FAQ.
25747 * Makefile (files-for-dist): Remove FAQ.
25748 (FAQ): Remove.
25749
25750 2012-05-02 Allan McRae <allan@archlinux.org>
25751
25752 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25753 (LDFLAGS-reldepmod5.so): Likewise.
25754 (LDFLAGS-reldep6mod1.so): Likewise.
25755 (LDFLAGS-reldep6mod4.so): Likewise.
25756 (LDFLAGS-reldep8mod3.so): Likewise.
25757 (LDFLAGS-unload4mod1.so): Likewise.
25758 (LDFLAGS-unload4mod2.so): Likewise.
25759 (LDFLAGS-tst-initorder): Likewise.
25760 (LDFLAGS-tst-initordera2.so): Likewise.
25761 (LDFLAGS-tst-initordera3.so): Likewise.
25762 (LDFLAGS-tst-initordera4.so): Likewise.
25763 (LDFLAGS-tst-initorderb2.so): Likewise.
25764 (LDFLAGS-noload): Likewise.
25765 (LDFLAGS-next): Likewise.
25766 (LDFLAGS-order2mod1.so): Likewise.
25767 (LDFLAGS-order2mod2.so): Likewise.
25768 (LDFLAGS-tst-initorder2): Likewise.
25769 (LDFLAGS-tst-initorder2a.so): Likewise.
25770 (LDFLAGS-tst-initorder2b.so): Likewise.
25771 (LDFLAGS-tst-initorder2c.so): Likewise.
25772 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25773
25774 2012-05-02 David S. Miller <davem@davemloft.net>
25775
25776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25777
25778 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
25779
25780 [BZ #14055]
25781 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25782
25783 2012-05-02 Andreas Jaeger <aj@suse.de>
25784
25785 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25786 since we manipulate rounding mode.
25787 (CPPFLAGS-test-idouble.c): Likewise.
25788 (CPPFLAGS-test-ifloat.c): Likewise.
25789 (CFLAGS-test-ldouble.c): Likewise.
25790 (CFLAGS-test-double.c): Likewise.
25791 (CFLAGS-test-float.c): Likewise.
25792 (CFLAGS-test-misc.c): Likewise.
25793 (CFLAGS-test-test-fenv.c): Likewise.
25794
25795 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25796
25797 [BZ #2550]
25798 [BZ #2570]
25799 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25800 comparisons to determine direction to adjust input.
25801
25802 2012-05-01 Roland McGrath <roland@hack.frob.com>
25803
25804 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25805 output to the target.
25806
25807 * scripts/localplt.awk: New file.
25808 * elf/Makefile ($(objpfx)check-localplt): Target removed.
25809 (check-localplt-CFLAGS): Variable removed.
25810 ($(all-built-dso:=.jmprel)): New static pattern rule.
25811 (generated): Add those targets.
25812 (localplt-built-dso): New variable.
25813 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25814
25815 * elf/check-localplt.c: File removed.
25816
25817 * scripts/check-execstack.awk: New file.
25818 * elf/Makefile ($(objpfx)check-execstack): Target removed.
25819 (check-execstack-CFLAGS): Variable removed.
25820 ($(objpfx)check-execstack.h): Target removed.
25821 ($(objpfx)execstack-default): New target.
25822 (generated): Add that instead of check-execstack.h.
25823 ($(all-built-dso:=.phdr)): New static pattern rule.
25824 (generated): Add those targets.
25825 * elf/check-execstack.c: File removed.
25826
25827 * scripts/check-textrel.awk: New file.
25828 * elf/Makefile ($(objpfx)check-textrel): Target removed.
25829 (check-textrel-CFLAGS): Variable removed.
25830 (all-built-dso): Use := to define.o
25831 ($(all-built-dso:=.dyn)): New static pattern rule.
25832 (generated): Add those targets.
25833 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25834 * config.make.in (READELF): New substituted variable.
25835 * elf/check-textrel.c: File removed.
25836
25837 2012-05-01 Joseph Myers <joseph@codesourcery.com>
25838
25839 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25840 allow.
25841 * conform/data/ctype.h-data [C99-based standards] (isblank):
25842 Expect function.
25843 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25844 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25845 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25846 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25847 Specify type. Require positive value.
25848 (EILSEQ): Likewise.
25849 (ERANGE): Likewise.
25850 [ISO || POSIX] (EILSEQ): Do not expect.
25851 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25852 Specify type. Require positive value.
25853 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25854 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25855 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25856 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25857 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25858 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25859 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25860 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25861 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25862 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25863 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25864 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25865 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25866 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25867 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25868 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25869 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25870 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25871 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25872 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25873 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25874 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25875 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25876 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25877 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25878 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25879 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25880 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25881 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25882 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25883 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25884 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25885 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25886 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25887 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25888 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25889 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25890 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25891 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25892 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25893 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25894 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25895 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25896 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25897 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25898 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25899 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25900 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25901 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25902 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25903 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25904 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25905 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25906 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25907 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25908 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25909 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25910 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25911 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25912 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25913 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25914 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25915 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25916 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25917 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25918 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25919 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25920 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25921 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25922 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25923 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25924 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25925 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25926 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25927 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25928 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25929 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25930 Require >= 2.
25931 (FLT_ROUNDS): Expect as macro, not constant.
25932 (FLT_MANT_DIG): Use macro-int-constant.
25933 (DBL_MANT_DIG): Likewise.
25934 (LDBL_MANT_DIG): Likewise.
25935 (FLT_DIG): Likewise.
25936 (DBL_DIG): Likewise.
25937 (LDBL_DIG): Likewise.
25938 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
25939 (DBL_MIN_EXP): Likewise.
25940 (LDBL_MIN_EXP): Likewise.
25941 (FLT_MAX_EXP): Use macro-int-constant.
25942 (DBL_MAX_EXP): Likewise.
25943 (LDBL_MAX_EXP): Likewise.
25944 (FLT_MAX_10_EXP): Likewise.
25945 (DBL_MAX_10_EXP): Likewise.
25946 (LDBL_MAX_10_EXP): Likewise.
25947 (FLT_MAX): Use macro-constant.
25948 (DBL_MAX): Likewise.
25949 (LDBL_MAX): Likewise.
25950 (FLT_EPSILON): Use macro-constant. Give upper bound.
25951 (DBL_EPSILON): Likewise.
25952 (LDBL_EPSILON): Likewise.
25953 (FLT_MIN): Likewise.
25954 (DBL_MIN): Likewise.
25955 (LDBL_MIN): Likewise.
25956 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
25957 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
25958 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
25959 [ISO11] (FLT_HAS_SUBNORM): Likewise.
25960 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
25961 [ISO11] (DBL_DECIMAL_DIG): Likewise.
25962 [ISO11] (FLT_DECIMAL_DIG): Likewise.
25963 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
25964 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
25965 [ISO11] (FLT_TRUE_MIN): Likewise.
25966 [ISO11] (LDBL_TRUE_MIN): Likewise.
25967 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25968 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
25969 (SCHAR_MIN): Use macro-int-constant. Specify type.
25970 (SCHAR_MAX): Likewise.
25971 (UCHAR_MAX): Likewise.
25972 (CHAR_MIN): Likewise.
25973 (CHAR_MAX): Likewise.
25974 (MB_LEN_MAX): Use macro-int-constant.
25975 (SHRT_MIN): Use macro-int-constant. Specify type.
25976 (SHRT_MAX): Likewise.
25977 (USHRT_MAX): Likewise.
25978 (INT_MAX): Likewise.
25979 (INT_MIN): Use macro-int-constant. Specify type. Make upper
25980 bound negative.
25981 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
25982 bound with "U".
25983 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25984 bound with "L".
25985 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
25986 bound negative. Suffix upper bound with "L".
25987 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
25988 bound with "UL".
25989 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
25990 Specify type.
25991 [C99-based standards] (LLONG_MAX): Likewise.
25992 [C99-based standards] (ULLONG_MAX): Likewise.
25993 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
25994 == 0.
25995 [ISO11] (max_align_t): Require type.
25996 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25997
25998 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
25999 from $CFLAGS, without defining away __attribute__ calls.
26000 (checknamespace): Use $CFLAGS_namespace.
26001
26002 * conform/conformtest.pl (@keywords): Only include C99 keywords
26003 for standards based on C99 or C11.
26004
26005 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26006 Disable tests.
26007 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26008 UNIX98]: Likewise.
26009
26010 * conform/conformtest.pl: Handle "macro-int-constant" and test for
26011 usability of symbols in #if.
26012
26013 * conform/conformtest.pl: If macro or constant types start
26014 "promoted:", expect the symbol to be of the following type
26015 promoted by the integer promotions.
26016
26017 * conform/conformtest.pl: Parse all "constant" and "macro" lines
26018 in one place. Also handle "macro-constant".
26019
26020 * conform/conformtest.pl: Only accept expected macro values with
26021 "==". Parse all "macro" lines in one place.
26022 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26023
26024 * conform/conformtest.pl: Handle braced types on "constant" lines
26025 instead of handling "typed-constant".
26026 * conform/data/signal.h-data: Use "constant" instead of
26027 "typed-constant".
26028
26029 * conform/conformtest.pl: Handle "optional-" at start of lines in
26030 one place rather than duplicating several cases. Handle each
26031 format of "macro" line with initial "optional-".
26032
26033 * conform/conformtest.pl: Only accept expected constant or
26034 optional-constant values with "==". Parse all "constant" lines in
26035 one place. Parse all "optional-constant" lines in one place.
26036 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26037 * conform/data/fmtmsg.h-data: Likewise.
26038 * conform/data/netinet/in.h-data: Likewise.
26039 * conform/data/tar.h-data: Likewise.
26040 * conform/data/limits.h-data: Use "==" form on "constant" and
26041 "optional-constant" lines.
26042
26043 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26044 Use -std=c99 for XOPEN2K.
26045 (@knownproblems): Remove.
26046 (newtoken): Don't check %isknown.
26047
26048 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26049 Do not expect macro.
26050 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26051 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26052 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26053 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26054 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26055 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26056 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26057 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26058 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26059 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26060 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26061 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26062 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26063 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26064 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26065 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26066 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26067 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26068 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26069 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26070 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26071 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26072 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26073 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26074 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26075 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26076 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26077 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26078 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26079 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26080 [XPG3] (acosh): Likewise.
26081 [XPG3] (asinh): Likewise.
26082 [XPG3] (atanh): Likewise.
26083 [XPG3] (cbrt): Likewise.
26084 [XPG3] (expm1): Likewise.
26085 [XPG3] (ilogb): Likewise.
26086 [XPG3] (log1p): Likewise.
26087 [XPG3] (logb): Likewise.
26088 [XPG3] (nextafter): Likewise.
26089 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26090 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26091 [XPG3] (remainder): Likewise.
26092 [XPG3] (rint): Likewise.
26093 [XPG3 || XPG4 || UNIX98] (round): Likewise.
26094 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26095 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26096 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26097 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26098 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26099 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26100 [UNIX98 || XOPEN2K] (scalb): Expect.
26101 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26102 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26103 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26104 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26105 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26106 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26107 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26108 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26109 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26110 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26111 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26112 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26113 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26114 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26115 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26116 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26117 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26118 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26119 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26120 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26121 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26122 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26123 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26124 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26125 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26126 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26127 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26128 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26129 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26130 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26131 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26132 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26133 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26134 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26135 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26136 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26137 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26138 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26139 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26140 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26141 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26142 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26143 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26144 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26145 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26146 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26147 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26148 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26149 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26150 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26151 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26152 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26153 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26154 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26155 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26156 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26157 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26158 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26159 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26160 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26161 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26162 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26163 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26164 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26165 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26166 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26167 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26168 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26169 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26170 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26171 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26172 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26173 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26174 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26175 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26176 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26177 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26178 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26179 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26180 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26181 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26182 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26183 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26184 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26185 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26186 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26187 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26188 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26189 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26190 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26191 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26192 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26193 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26194 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26195 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26196 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26197 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26198 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26199 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26200 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26201 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26202 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26203 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26204 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26205 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26206 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26207 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26208 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26209 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26210 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26211 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26212 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26213 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26214 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26215 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26216 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26217 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26218 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26219 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26220 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26221 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26222 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26223 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26224 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26225 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26226 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26227 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26228 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26229 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26230 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26231 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26232 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26233 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26234 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26235 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26236 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26237 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26238
26239 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26240 _XOPEN_SOURCE_EXTENDED for XPG4.
26241
26242 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26243
26244 * Makeconfig (localtime): Remove variable.
26245 (inst_localtime-file): Likewise.
26246
26247 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26248
26249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26250 Update.
26251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26252 Update.
26253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26254 Update.
26255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26256 Update.
26257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26258 Update.
26259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26260 Update.
26261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26262 Update.
26263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26264 Update.
26265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26266 Update.
26267
26268 2012-05-01 Joseph Myers <joseph@codesourcery.com>
26269
26270 [BZ #2550]
26271 [BZ #2570]
26272 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26273 comparisons to determine direction to adjust input.
26274 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26275 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26276 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26277 Likewise.
26278 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26279 Likewise.
26280 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26281 Likewise.
26282 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26283 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26284 Likewise.
26285 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26286 Likewise.
26287 * math/libm-test.inc (nexttoward_test): Add more tests.
26288
26289 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
26290
26291 [BZ #14040]
26292 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26293 in version GLIBC_2.1, not GLIBC_2.0.
26294 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26295 Likewise.
26296
26297 2012-04-30 Joseph Myers <joseph@codesourcery.com>
26298
26299 [BZ #13942]
26300 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26301 (1 - x) * (1 + x).
26302 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26303 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26304 * math/libm-test.inc (acos_test): Add more tests.
26305 (asin_test): Likewise.
26306 * sysdeps/i386/fpu/libm-test-ulps: Update.
26307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26308
26309 [BZ #14034]
26310 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26311 of square root.
26312 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26313 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26314 * math/libm-test.inc (acos_test_tonearest): New function.
26315 (acos_test_towardzero): Likewise.
26316 (acos_test_downward): Likewise.
26317 (acos_test_upward): Likewise.
26318 (asin_test_tonearest): Likewise.
26319 (asin_test_towardzero): Likewise.
26320 (asin_test_downward): Likewise.
26321 (asin_test_upward): Likewise.
26322 (main): Call the new functions.
26323 * sysdeps/i386/fpu/libm-test-ulps: Update.
26324 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26325
26326 [BZ #13884]
26327 [BZ #13924]
26328 * math/e_exp10.c: Include <float.h>.
26329 (__ieee754_exp10): Handle underflow here rather than multiplying
26330 large negative argument by M_LN10.
26331 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26332 of __ieee754_expf.
26333 * math/e_exp10l.c: Include <float.h>.
26334 (__ieee754_exp10l): Handle underflow here rather than multiplying
26335 large negative argument by M_LN10l.
26336 * math/libm-test.inc (exp10_test): Add another test. Do not allow
26337 spurious overflow exception on underflow.
26338
26339 2012-04-29 Marek Polacek <polacek@redhat.com>
26340
26341 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26342 (__fortify_function): New macro.
26343 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26344 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26345 __extern_always_inline.
26346 * libio/bits/stdio2.h: Likewise.
26347 * libio/bits/stdio.h: Likewise.
26348 * string/string.h: Likewise.
26349 * string/bits/string3.h: Likewise.
26350 * include/stdio.h: Likewise.
26351 * stdlib/bits/stdlib.h: Likewise.
26352 * stdlib/stdlib.h: Likewise.
26353 * rt/bits/mqueue2.h: Likewise.
26354 * rt/mqueue.h: Likewise.
26355 * posix/bits/unistd.h: Likewise.
26356 * posix/unistd.h: Likewise.
26357 * io/bits/poll2.h: Likewise.
26358 * io/bits/fcntl2.h: Likewise.
26359 * io/fcntl.h: Likewise.
26360 * io/sys/poll.h: Likewise.
26361 * misc/bits/syslog.h: Likewise.
26362 * misc/bits/syslog-ldbl.h: Likewise.
26363 * misc/sys/syslog.h: Likewise.
26364 * socket/bits/socket2.h: Likewise.
26365 * socket/sys/socket.h: Likewise.
26366 * debug/tst-chk1.c: Likewise.
26367 * wcsmbs/bits/wchar2.h: Likewise.
26368 * wcsmbs/bits/wchar-ldbl.h: Likewise.
26369 * wcsmbs/wchar.h: Likewise.
26370
26371 2012-04-29 Andreas Jaeger <aj@suse.de>
26372
26373 * Makerules (tests): Remove enable-check-abi protection.
26374 (check-abi-warn): Remove.
26375 (check-abi-%): Remove check-abi-warn usage.
26376
26377 * configure.in: Remove check-abi configure option.
26378 * configure: Regenerated.
26379 * config.make.in (enable-check-abi): Remove.
26380
26381 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
26382
26383 [BZ #14033]
26384 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26385 double functions to double *_finite functions.
26386
26387 [BZ #13941]
26388 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26389 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26390 LDBL_MIN_EXP.
26391 * stdio-common/Makefile (tests): Add tst-sprintf3.
26392 * stdio-common/tst-sprintf3.c: New file.
26393
26394 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26395 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26396
26397 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26398
26399 * conform/conformtest.pl: Remove duplicate typed-constant
26400 handling.
26401
26402 2012-04-28 David S. Miller <davem@davemloft.net>
26403
26404 * Makerules (%.abilist): Add vpath on sysdep_dirs.
26405 (check-abi-%): Remove AWK script prerequisite and explicit
26406 abilist directory.
26407 (check-abi): Rewrite to just diff the symlist with the abilist.
26408 (config-tls, config-abi-config): Delete, no longer used.
26409 (update-abi-%): Remove AWK script and explicit abilist directory.
26410 (update-abi): Rewrite to simply compare and conditionally copy the
26411 symlist and the sysdep abilist file. Remove update-abi-config
26412 checks.
26413 * abilist/ld.abilist: Remove.
26414 * abilist/libBrokenLocale.abilist: Remove.
26415 * abilist/libanl.abilist: Remove.
26416 * abilist/libcrypt.abilist: Remove.
26417 * abilist/libdl.abilist: Remove.
26418 * abilist/librt.abilist: Remove.
26419 * abilist/libthread_db.abilist: Remove.
26420 * abilist/libutil.abilist: Remove.
26421 * scripts/extract-abilist.awk: Remove.
26422 * scripts/merge-abilist.awk: Remove.
26423 * sysdeps/generic/libcidn.abilist: New file.
26424 * sysdeps/generic/libnss_compat.abilist: New file.
26425 * sysdeps/generic/libnss_db.abilist: New file.
26426 * sysdeps/generic/libnss_dns.abilist: New file.
26427 * sysdeps/generic/libnss_files.abilist: New file.
26428 * sysdeps/generic/libnss_hesiod.abilist: New file.
26429 * sysdeps/generic/libnss_nis.abilist: New file.
26430 * sysdeps/generic/libnss_nisplus.abilist: New file.
26431 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26432 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26433 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26434 file.
26435 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26436 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26437 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26438 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26439 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26440 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26441 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26442 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26443 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26444 file.
26445 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26446 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26447 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26448 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26449 file.
26450 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26451 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26452 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26453 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26454 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26455 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26456 file.
26457 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26458 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26459 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26460 file.
26461 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26462 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26463 New file.
26464 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26465 New file.
26466 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26467 New file.
26468 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26469 New file.
26470 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26471 New file.
26472 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26473 New file.
26474 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26475 New file.
26476 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26477 New file.
26478 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26479 New file.
26480 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26481 New file.
26482 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26483 New file.
26484 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26485 New file.
26486 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26487 New file.
26488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26489 file.
26490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26491 New file.
26492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26493 New file.
26494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26495 file.
26496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26497 New file.
26498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26499 New file.
26500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26501 file.
26502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26503 New file.
26504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26505 New file.
26506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26507 New file.
26508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26509 New file.
26510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26511 New file.
26512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26513 New file.
26514 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26516 file.
26517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26518 New file.
26519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26520 file.
26521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26522 file.
26523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26524 file.
26525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26526 file.
26527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26528 file.
26529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26530 New file.
26531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26532 file.
26533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26534 file.
26535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26536 New file.
26537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26538 file.
26539 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26541 file.
26542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26543 New file.
26544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26545 file.
26546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26547 file.
26548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26549 file.
26550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26551 file.
26552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26553 file.
26554 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26555 New file.
26556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26557 file.
26558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26559 file.
26560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26561 New file.
26562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26563 file.
26564 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26565 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26566 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26567 file.
26568 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26569 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26570 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26571 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26572 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26573 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26574 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26575 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26576 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26577 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26580 file.
26581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26582 New file.
26583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26584 file.
26585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26586 file.
26587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26588 file.
26589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26590 file.
26591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26592 file.
26593 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26594 New file.
26595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26596 New file.
26597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26598 file.
26599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26600 New file.
26601 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26602 file.
26603 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26605 file.
26606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26607 New file.
26608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26609 file.
26610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26611 file.
26612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26613 file.
26614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26615 file.
26616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26617 file.
26618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26619 New file.
26620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26621 New file.
26622 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26623 file.
26624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26625 New file.
26626 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26627 file.
26628
26629 2012-04-28 Joseph Myers <joseph@codesourcery.com>
26630
26631 * conform/conformtest.pl: Fix typo in handling typed-constant from
26632 allow-header.
26633
26634 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26635
26636 * README: Cut down references to pre-2.6 Linux kernels and
26637 Linuxthreads. Update lists of configurations in libc and ports
26638 and sort alphabetically. Say "or newer" with Linux kernel version
26639 requirements.
26640
26641 * config.h.in [IS_IN_build]: Allow compiling without optimization.
26642
26643 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26644
26645 [BZ #887]
26646 * math/libm-test.inc (logb_test_downward): New test to expose
26647 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26648 rounding mode.
26649
26650 2012-04-27 Joseph Myers <joseph@codesourcery.com>
26651
26652 [BZ #14027]
26653 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26654 to be done.
26655 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26656 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26657
26658 2012-04-26 Joseph Myers <joseph@codesourcery.com>
26659
26660 * sysdeps/unix/i386/brk.S: Remove file.
26661 * sysdeps/unix/i386/dl-brk.S: Likewise.
26662 * sysdeps/unix/i386/pipe.S: Likewise.
26663 * sysdeps/unix/i386/sigreturn.S: Likewise.
26664 * sysdeps/unix/i386/syscall.S: Likewise.
26665 * sysdeps/unix/i386/vfork.S: Likewise.
26666 * sysdeps/unix/i386/wait.S: Likewise.
26667
26668 * sysdeps/unix/common/tcsendbrk.c: Move to ...
26669 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26670
26671 * configure.in (arm*-none*): Do not allow without
26672 --enable-hacker-mode.
26673 (netbsd*): Remove case setting base_os.
26674 (386bsd*): Likewise.
26675 (freebsd*): Likewise.
26676 (bsdi*): Likewise.
26677 (osf*): Likewise.
26678 (sunos*): Likewise.
26679 (ultrix*): Likewise.
26680 (newsos*): Likewise.
26681 (dynix*): Likewise.
26682 (*bsd*): Likewise.
26683 (sysv*): Likewise.
26684 (isc*): Likewise.
26685 (esix*): Likewise.
26686 (sco*): Likewise.
26687 (minix*): Likewise.
26688 (irix4*): Likewise.
26689 (irix6*): Likewise.
26690 (solaris[2-9]*): Likewise.
26691 (none): Likewise.
26692 * configure: Regenerated.
26693
26694 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26695
26696 [BZ #11521]
26697 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26698 overflow or cancellation in calculating denominator.
26699 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26700 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26701 down expression to avoid unexpected rounding in newer GCCs.
26702 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26703
26704 2012-04-26 David S. Miller <davem@davemloft.net>
26705
26706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26707 long-double compat symbols.
26708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26721
26722 2012-04-25 David S. Miller <davem@davemloft.net>
26723
26724 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26725 HWCAP_* values only after the memory barriers have been defined.
26726 (atomic_full_barrier): Define.
26727 (atomic_read_barrier): Define.
26728 (atomic_write_barrier): Define.
26729
26730 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26731
26732 * shlib-versions: Add libgcc_s version information.
26733 * sysdeps/generic/libgcc_s.h: Remove.
26734 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26735 libgcc_s.h.
26736 * sysdeps/gnu/unwind-resume.c: Likewise.
26737 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26738
26739 2012-04-25 David S. Miller <davem@davemloft.net>
26740
26741 * sysdeps/unix/sparc/brk.S: Delete.
26742 * sysdeps/unix/sparc/dl-brk.S: Delete.
26743 * sysdeps/unix/sparc/pipe.S: Delete.
26744 * sysdeps/unix/sparc/sysdep.S: Delete.
26745 * sysdeps/unix/sparc/sysdep.h: Delete.
26746 * sysdeps/unix/sparc/vfork.S: Delete.
26747 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26748 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26749 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26750 ret_ERRVAL, r0, r1, MOVE): Define.
26751 (JUMPTARGET): Remove.
26752 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26753 sysdeps/unix/sparc/sysdep.h
26754 (ENTRY, END): Remove.
26755 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26756
26757 2012-04-25 Joseph Myers <joseph@codesourcery.com>
26758
26759 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26760 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26761 -DIS_IN_build.
26762
26763 * timezone/README: Update upstream location and email address for
26764 tzcode and tzdata.
26765 * timezone/zdump.c: Update from tzcode 2012b.
26766 * timezone/zic.c: Likewise.
26767
26768 * configure.in (libc_cv_as_needed): Remove test.
26769 * configure: Regenerated.
26770 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26771 conditional definition.
26772 [$(have-as-needed) != yes] (no-as-needed): Likewise.
26773 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26774 * config.make.in (have-as-needed): Remove variable.
26775
26776 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26777 Paul Pluzhnikov <ppluzhnikov@google.com>
26778
26779 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26780 strings correctly.
26781
26782 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
26783
26784 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26785 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26786 * sysdeps/sh/strlen.S: Likewise.
26787
26788 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26789
26790 * sysdeps/unix/fork.S: Remove file.
26791 * sysdeps/unix/i386/fork.S: Likewise.
26792 * sysdeps/unix/sparc/fork.S: Likewise.
26793
26794 * sysdeps/unix/system.c: Remove file.
26795 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26796
26797 * sysdeps/unix/getegid.S: Remove file.
26798 * sysdeps/unix/geteuid.S: Likewise.
26799
26800 2012-04-24 Roland McGrath <roland@hack.frob.com>
26801
26802 * scripts/check-localplt.awk: New file.
26803 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26804 of diff.
26805 * scripts/data/localplt-generic.data: Add a comment.
26806
26807 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26808 NODE when __dir_mkfile failed.
26809 * sysdeps/mach/hurd/symlinkat.c: Likewise.
26810 Reported by Ludovic Courtès <ludo@gnu.org>.
26811
26812 2012-04-24 Andreas Jaeger <aj@suse.de>
26813
26814 * Makerules (common-clean): Also remove gen-as-const-headers
26815 files.
26816
26817 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26818
26819 * Makerules (native-compile): Do not change working directory for
26820 build. Use $(OUTPUT_OPTION) in command.
26821 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26822
26823 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26824
26825 [BZ #13886]
26826 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26827 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26828 * math/libm-test.inc (floor_test): Add more tests.
26829 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26830
26831 2012-04-24 Joseph Myers <joseph@codesourcery.com>
26832
26833 * sysdeps/unix/getdents.c: Remove file.
26834 * sysdeps/unix/sysv/getdents.c: Likewise.
26835 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26836
26837 * sysdeps/unix/syscalls.list (madvise): Add syscall from
26838 sysdeps/unix/mman/syscalls.list.
26839 (mmap): Likewise.
26840 (mprotect): Likewise.
26841 (msync): Likewise.
26842 (munmap): Likewise.
26843 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26844 * sysdeps/unix/mman/syscalls.list: Remove.
26845 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26846
26847 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26848 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26849 * configure: Regenerated.
26850 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26851 $(libgcc_s_suffix).
26852 * config.make.in (libgcc_s_suffix): Remove variable.
26853
26854 2012-04-23 Joseph Myers <joseph@codesourcery.com>
26855
26856 * sysdeps/unix/sysv/gethostname.c: Move to ...
26857 * sysdeps/posix/gethostname.c: ... here.
26858
26859 * sysdeps/unix/execve.S: Remove file.
26860
26861 * sysdeps/unix/_exit.S: Remove file.
26862
26863 2012-04-23 Andreas Jaeger <aj@suse.de>
26864
26865 [BZ #13739]
26866 * manual/Makefile: Remove make dist support, there's no
26867 need for a stand-alone documentation tar ball.
26868 (TEXI2DVI): Define always, it's not in Makeconfig.
26869 (dist): Removed.
26870 (tar-it): Removed.
26871 (edition): Removed.
26872 (glibc-doc-$(edition).tar): Removed
26873 (%.Z): Removed.
26874 (%.gz): Removed.
26875 (%.uu): Removed.
26876 (ETAGS): Remove, it's in Makeconfig.
26877 (move-if-change): Remove, it's in Makeconfig.
26878
26879 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
26880
26881 [BZ #13970]
26882 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26883 (strtod, strtof, strtold, strtol, strtoul, strtoq)
26884 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26885 (strtod_l, strtof_l, strtold_l): Remove __wur.
26886 It is not necessarily an error to ignore strtol's return value.
26887 One can reliably look at the stored endptr to decide whether
26888 the number had valid syntax.
26889
26890 2012-04-21 Andreas Jaeger <aj@suse.de>
26891
26892 [BZ #13739]
26893 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26894
26895 2012-04-21 Joseph Myers <joseph@codesourcery.com>
26896
26897 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26898 * sysdeps/unix/sysv/Versions: Remove file.
26899
26900 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
26901
26902 [BZ #13927]
26903 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26904
26905 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
26906
26907 [BZ #7064]
26908 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26909 version from __vm86.
26910
26911 2012-04-20 Joseph Myers <joseph@codesourcery.com>
26912
26913 * sysdeps/unix/common/lxstat.c: Remove file.
26914 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26915
26916 * sysdeps/unix/sysv/Makefile: Remove file.
26917
26918 * sysdeps/unix/sysv/direct.h: Remove file.
26919
26920 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26921 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26922 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26923 * sysdeps/unix/sysv/bits/signum.h: Likewise.
26924 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26925 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26926 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26927
26928 * sysdeps/unix/sysv/setrlimit.c: Remove file.
26929
26930 * sysdeps/unix/xmknod.c: Remove file.
26931 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26932
26933 * sysdeps/unix/sysv/settimeofday.c: Remove file.
26934
26935 * sysdeps/unix/sysv/i386/time.S: Remove file.
26936
26937 * sysdeps/unix/fxstat.c: Remove file.
26938 * sysdeps/unix/xstat.c: Likewise.
26939 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
26940
26941 * sysdeps/unix/sysv/sigaction.c: Remove file.
26942
26943 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
26944 (sysdep_headers): Remove variable.
26945 [termio.h not in sysdep_headers] (generated): Likewise.
26946 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
26947 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
26948 * sysdeps/unix/sysv/tcdrain.c: Likewise.
26949 * sysdeps/unix/sysv/tcflow.c: Likewise.
26950 * sysdeps/unix/sysv/tcflush.c: Likewise.
26951 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
26952 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
26953 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
26954 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
26955 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
26956
26957 * sysdeps/unix/siglist.c: Remove file.
26958
26959 * sysdeps/unix/getppid.S: Remove file.
26960
26961 * sysdeps/unix/mkdir.c: Remove file.
26962 * sysdeps/unix/rmdir.c: Likewise.
26963
26964 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
26965
26966 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
26967 ERR_MAX value.
26968 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
26969 errlist-compat value.
26970
26971 2012-04-18 David S. Miller <davem@davemloft.net>
26972
26973 * sysdeps/generic/memcopy.h (reg_char): Delete.
26974 * debug/strcat_chk.c: Use char, not reg_char.
26975 * debug/strcpy_chk.c: Likewise.
26976 * debug/strncat_chk.c: Likewise.
26977 * debug/strncpy_chk.c: Likewise.
26978 * string/memchr.c: Likewise.
26979 * string/memrchr.c: Likewise.
26980 * string/rawmemchr.c: Likewise.
26981 * string/strcat.c: Likewise.
26982 * string/strchr.c: Likewise.
26983 * string/strchrnul.c: Likewise.
26984 * string/strcmp.c: Likewise.
26985 * string/strcpy.c: Likewise.
26986 * string/strncat.c: Likewise.
26987 * string/strncmp.c: Likewise.
26988 * string/strncpy.c: Likewise.
26989
26990 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26991
26992 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
26993 __builtin_memcopy is called when src and dest ranges are known to not
26994 overlap.
26995
26996 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
26997
26998 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
26999 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27000 fwd_align_merge macro call.
27001 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27002 bwd_align_merge macro call.
27003 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27004
27005 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27006
27007 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27008 bwd_align_merge macros.
27009 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27010 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27011 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27012
27013 2012-04-18 David S. Miller <davem@davemloft.net>
27014
27015 * sysdeps/sparc/sparc64/memcopy.h: Delete.
27016
27017 2012-04-18 Andreas Jaeger <aj@suse.de>
27018
27019 [BZ# 6794]
27020 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27021 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27022 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27023
27024 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27025 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27026 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27027
27028 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27029 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27030 Adjust for changed ldbl-128 files.
27031
27032 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27033 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27034 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27035
27036 2012-04-17 David S. Miller <davem@davemloft.net>
27037
27038 * sysdeps/sparc/sparc32/memcopy.h: Delete.
27039
27040 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
27041
27042 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27043 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27044 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27045 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27046 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27047 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27048
27049 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27050
27051 [BZ #6794]
27052 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27053 * math/libm-test.inc: Add ilogb errno and exception tests.
27054 * math/w_ilogb.c: New file: ilogb wrapper.
27055 * math/w_ilogbf.c: New file: ilogbf wrapper.
27056 * math/w_ilogbl.c: New file: ilogbl wrapper.
27057 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27058 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27059 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27060 exception being thrown with 0.0 as argument.
27061 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27062 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27063 exception being thrown with 0.0 as argument.
27064 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27065 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27066 exception being thrown with 0.0 as argument.
27067 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27068 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27069 exception being thrown with 0.0 as argument.
27070 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27071 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
27072 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
27073 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27074 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27075 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27076 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27077 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27078 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27079
27080 2012-04-17 Petr Baudis <pasky@ucw.cz>
27081
27082 * include/sys/uio.h: Change __vector to __iovec to avoid clash
27083 with altivec.
27084
27085 2012-04-16 Marek Polacek <polacek@redhat.com>
27086
27087 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27088
27089 2012-04-16 Marek Polacek <polacek@redhat.com>
27090
27091 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27092 operands of fdivp instruction.
27093
27094 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27095
27096 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27097 * elf/tst-auditmod3b.c: Likewise.
27098 * elf/tst-auditmod4b.c: Likewise.
27099 * elf/tst-auditmod5b.c: Likewise.
27100 * elf/tst-auditmod6b.c: Likewise.
27101 * elf/tst-auditmod6c.c: Likewise.
27102 * elf/tst-auditmod7b.c: Likewise.
27103 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27104 * sysdeps/x86_64/preconfigure.in: Likewise.
27105 * sysdeps/x86_64/preconfigure: Regenerated.
27106
27107 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
27108
27109 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27110 __ILP32__.
27111
27112 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
27113
27114 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27115 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27116
27117 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
27118
27119 [BZ #13973]
27120 * locale/iso-639.def: Fix gl language name. Spotted by
27121 Yaron Shahrabani.
27122
27123 2012-04-12 Roland McGrath <roland@hack.frob.com>
27124
27125 [BZ #2074]
27126 * libio/libio.h (__io_write_fn): Update comment.
27127
27128 2012-04-12 Petr Baudis <pasky@ucw.cz>
27129
27130 [BZ #2074]
27131 * stdio.texi (Hook Functions): The user provided writer function
27132 is not allowed to return -1.
27133
27134 2012-04-11 David S. Miller <davem@davemloft.net>
27135
27136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27137
27138 2012-04-11 Mike Frysinger <vapier@gentoo.org>
27139
27140 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27141 Add a leading slash to rtkaio.
27142
27143 2012-04-11 Jim Meyering <meyering@redhat.com>
27144
27145 [BZ #11959]
27146 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27147 It is not necessarily an error to ignore fwrite's return
27148 value. One can reliably use ferror to test for errors after
27149 the fact.
27150
27151 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27152
27153 * bits/types.h (__snseconds_t): New type.
27154 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27155
27156 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27157 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27158 (__SNSECONDS_T_TYPE): Likewise.
27159 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27160 (__SNSECONDS_T_TYPE): Likewise.
27161 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27162 (__SNSECONDS_T_TYPE): Likewise.
27163
27164 2012-04-10 Andreas Jaeger <aj@suse.de>
27165
27166 [BZ #2636]
27167 * manual/time.texi (Processor Time): Return type of times is
27168 elapsed real time since an arbitrary point in the past.
27169 (CPU Time): Move CLK_TCK from here...
27170 (Processor Time): ...to here. Correct description.
27171 * manual/conf.texi (Constants for Sysconf): Correct description of
27172 _SC_CLK_TCK.
27173
27174 2012-04-10 David S. Miller <davem@davemloft.net>
27175
27176 [BZ #13967]
27177 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27178 where the is a gap between DT_REL(A) and DT_JMPREL.
27179
27180 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
27181
27182 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27183 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27184 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27185
27186 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27187
27188 * elf/dl-support.c (_dl_inhibit_cache): New variable.
27189 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27190 (dl_main): Handle --inhibit-cache.
27191 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27192 _dl_inhibit_cache.
27193 * elf/dl-load.c (_dl_map_object): Use it.
27194 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27195
27196 2012-04-09 Joseph Myers <joseph@codesourcery.com>
27197
27198 [BZ #13872]
27199 * sysdeps/i386/fpu/e_powl.S (p78): New object.
27200 (__ieee754_powl): Saturate large exponents rather than testing for
27201 overflow of y*log2(x).
27202 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27203 * math/libm-test.inc (pow_test): Do not permit spurious overflow
27204 exceptions.
27205
27206 [BZ #11521]
27207 * math/s_ctan.c: Include <float.h>.
27208 (__ctan): Avoid internal overflow or cancellation in calculating
27209 denominator.
27210 * math/s_ctanf.c: Likewise.
27211 * math/s_ctanl.c: Likewise.
27212 * math/s_ctanh.c: Likewise.
27213 * math/s_ctanhf.c: Likewise.
27214 * math/s_ctanhl.c: Likewise.
27215 * math/libm-test.inc (ctan_test): Add more tests.
27216 (ctanh_test): Likewise.
27217 * sysdeps/i386/fpu/libm-test-ulps: Update.
27218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27219
27220 2012-04-09 Andreas Jaeger <aj@suse.de>
27221
27222 [BZ #6894]
27223 * manual/filesys.texi (Directory Entries): Mention that d_namlen
27224 is an optional BSD extension.
27225
27226 [BZ #10254]
27227 * manual/stdio.texi (Opening Streams): Document additional fopen
27228 parameters.
27229
27230 2012-04-09 Roland McGrath <roland@hack.frob.com>
27231
27232 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27233 %eax without telling the compiler.
27234
27235 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
27236
27237 [BZ # 13963]
27238 * manual/install.texi: Use sourceware.org.
27239
27240 2012-04-09 Joseph Myers <joseph@codesourcery.com>
27241
27242 [BZ #13873]
27243 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27244 (__ieee754_pow): Generate overflow and underflow using huge*huge
27245 and tiny*tiny rather than just returning constant infinity or zero
27246 for large exponents.
27247 * math/libm-test.inc (pow_test): Require overflow exceptions for
27248 applicable cases of large exponents.
27249
27250 [BZ #706]
27251 * sysdeps/i386/fpu/e_pow.S (p10): New object.
27252 (__ieee754_pow): Use iterative multiplication algorithm only for
27253 integer exponents with absolute value below 1024. Check for odd
27254 integer exponents when using algorithm for real exponents.
27255 * math/libm-test.inc (pow_test): Add more tests.
27256 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27257
27258 2012-04-08 Joseph Myers <joseph@codesourcery.com>
27259
27260 [BZ #13705]
27261 * math/libm-test.inc (exp_test): Do not allow overflow exception
27262 on underflow test.
27263
27264 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
27265
27266 [BZ #13705]
27267 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27268 instead of __kernel_standard_f.
27269
27270 2012-04-08 Mike Frysinger <vapier@gentoo.org>
27271
27272 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27273 * sysdeps/x86_64/memset_chk.S: Likewise.
27274
27275 2012-04-08 Andreas Jaeger <aj@suse.de>
27276
27277 [BZ #10153]
27278 * manual/startup.texi (Environment Access): Describe return value
27279 for putenv and setenv.
27280
27281 [BZ #6895]
27282 * manual/filesys.texi (Directory Entries): Add description for
27283 DT_LNK.
27284
27285 [BZ #6890]
27286 * manual/filesys.texi (Directory Entries): Clarify that it's file
27287 system not operating system in the description of DT_UNKNOWN.
27288
27289 [BZ #6578]
27290 * manual/syslog.texi (closelog): Fix reference, it's openlog.
27291
27292 2012-04-08 Stephen Compall <s11@member.fsf.org>
27293
27294 [BZ #6649]
27295 * manual/llio.texi (Opening and Closing Files): Add cross
27296 reference to explain mode argument.
27297
27298 2012-04-07 Mike Frysinger <vapier@gentoo.org>
27299
27300 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27301 * sysdeps/x86_64/memset_chk.S: Likewise.
27302
27303 2012-04-07 David S. Miller <davem@davemloft.net>
27304
27305 * elf/elf.h (R_SPARC_WDISP10): Define.
27306 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27307 R_SPARC_SIZE32.
27308 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27309 R_SPARC_SIZE64 and R_SPARC_H34.
27310
27311 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
27312
27313 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27314 conditions and remove no longer applicable assertion.
27315
27316 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27317
27318 * bits/byteswap.h: Include <features.h>.
27319 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27320 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27321
27322 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
27323
27324 * bits/byteswap.h (__bswap_16): Removed.
27325 Include <bits/byteswap-16.h> to get __bswap_16.
27326 * sysdeps/i386/bits/byteswap.h: Likewise.
27327 * sysdeps/s390/bits/byteswap.h: Likewise.
27328 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27329 * bits/byteswap-16.h: New file.
27330 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27331 * sysdeps/s390/bits/byteswap-16.h: Likewise.
27332 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27333 * string/Makefile (headers): Add bits/byteswap-16.h.
27334
27335 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27336
27337 [BZ #13895]
27338 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27339 extra indirection.
27340 * nss/Makefile (tests-static, tests): Add tst-nss-static.
27341 * nss/tst-nss-static.c: New.
27342
27343 2012-04-06 Robert Millan <rmh@gnu.org>
27344
27345 [BZ #6486]
27346 * manual/llio.texi (File Position Primitive): lseek
27347 refers to WHENCE when it really means OFFSET.
27348
27349 2012-04-06 Andreas Jaeger <aj@suse.de>
27350
27351 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27352 strncmp declarations.
27353
27354 * abilist/libc.abilist: Add __poll and __ppoll.
27355
27356 2012-04-05 David S. Miller <davem@davemloft.net>
27357
27358 * scripts/check-local-headers.sh: Accept a host triplet in the
27359 path matched by the exclude regexp.
27360
27361 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27362 definition.
27363 * sysdeps/powerpc/powerpc32/dl-machine.h
27364 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27365 * sysdeps/s390/s390-32/dl-machine.h
27366 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27367 * sysdeps/sparc/sparc32/dl-machine.h
27368 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27369 * sysdeps/sparc/sparc64/dl-machine.h
27370 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27371
27372 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27373 lazy binding.
27374 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
27375 undefined symbol errors.
27376
27377 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
27378 DT_NEEDED entries.
27379
27380 2012-04-05 Michael Matz <matz@suse.de>
27381
27382 [BZ #13592]
27383 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27384
27385 2012-04-05 Andreas Jaeger <aj@suse.de>
27386
27387 [BZ #13908]
27388 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27389 comment.
27390
27391 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27392
27393 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27394 which ROUND is no valid rounding mode.
27395
27396 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27397
27398 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27399 read again.
27400 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27401
27402 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27403
27404 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27405 an exception using FPU order intentionally.
27406
27407 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
27408
27409 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27410 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27411 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27412 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27413
27414 2012-04-05 Simon Josefsson <simon@josefsson.org>
27415
27416 [BZ #12340]
27417 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27418 EINVAL when BUFLEN is too smal.
27419
27420 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
27421
27422 [BZ #13553]
27423 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27424 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27425
27426 2012-04-03 Andreas Jaeger <aj@suse.de>
27427
27428 [BZ #13938]
27429 * manual/setjmp.texi (System V contexts): Fix sentence.
27430
27431 [BZ #13926]
27432 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27433 New macro for this case.
27434 [!__GNUC__] (__bswap_64): New inline function for this case.
27435 * sysdeps/x86_64/bits/byteswap.h: Likewise.
27436 * bits/byteswap.h: Likewise.
27437 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27438 ull, guard with __GLIBC_HAVE_LONG_LONG.
27439
27440 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27441 __GLIBC_HAVE_LONG_LONG.
27442
27443 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27444 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27445
27446 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27447
27448 [BZ #13691]
27449 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27450 inptr and inend, rather than using last_ch.
27451
27452 2012-04-02 David S. Miller <davem@davemloft.net>
27453
27454 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27455 * stdio-common/printf-parse.h (read_int): Change return type to
27456 'int', return -1 on INT_MAX overflow.
27457 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27458 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
27459 overflows INT_MAX. Check for overflow of in-format-string precision
27460 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
27461 SIZE_MAX not INT_MAX for integer overflow test.
27462 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27463 skip the construct in the format string but do not record anything.
27464 * stdio-common/bug22.c: Adjust to test both width/prevision
27465 INT_MAX overflow as well as total length INT_MAX overflow. Check
27466 explicitly for proper errno values.
27467
27468 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
27469
27470 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27471 CHAR_MAX.
27472 * string/test-strcmp.c [! WIDE]: Likewise.
27473 * time/tst-mktime2.c: Likewise for INT_MAX.
27474 * string/test-string.h: #include <sys/param.h> for MIN.
27475
27476 * csu/init-first.c (__libc_init_first): Call __ctype_init.
27477 * sysdeps/i386/init-first.c (init): Likewise.
27478 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27479 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27480 * sysdeps/sh/init-first.c (init): Likewise.
27481
27482 2012-04-01 Ulrich Drepper <drepper@gmail.com>
27483
27484 * po/ru.po: Update from translation team.
27485 * po/vi.po: Likewise.
27486
27487 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27488
27489 * resolv/nss_dns/dns-host.c: Merge copyright years.
27490
27491 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27492
27493 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27494 Optimize memcpy with prefetch if
27495 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
27496 src, dst pointers have unequal 16 byte alignments.
27497
27498 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27499
27500 [BZ #13928]
27501 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27502 from a CNAME entry and return the minimum ttl for the query.
27503 (gaih_getanswer_slice): Likewise.
27504
27505 2012-03-30 Jeff Law <law@redhat.com>
27506
27507 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27508 due to long keys.
27509 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27510 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27511
27512 * resolv/nss_dns/dns-host.c: Update copyright year.
27513
27514 2012-03-30 Ulrich Drepper <drepper@gmail.com>
27515
27516 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
27517 requests to save a system call. Fix check that all bytes are sent.
27518
27519 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27520 comments for sendmmsg.
27521
27522 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27523
27524 [BZ #13691]
27525 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27526 with only 1 character between 0x0041 and 0x01b0.
27527 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27528 * wcsmbs/tst-mbsnrtowcs.c: New file.
27529
27530 2012-03-29 David S. Miller <davem@davemloft.net>
27531
27532 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27533 small copies by hand.
27534
27535 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27536
27537 [BZ #13761]
27538 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27539 _nss_compat_initgroups_dyn): Fall back to malloc/free
27540 for large group memberships.
27541
27542 2012-03-28 David S. Miller <davem@davemloft.net>
27543
27544 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27545 that branches into memcpy.
27546 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27547 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27548 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27549 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27550 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27551 bits.
27552 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27553 implementation too.
27554 * sysdeps/sparc/mempcpy.S: New file.
27555
27556 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27557 the IFUNC routine in the libc case.
27558 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27559
27560 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27561 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27562 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27563 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27564 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27565 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27566 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27567 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27568
27569 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27570 loop to 256 bytes instead of 64 bytes and fix test signedness.
27571
27572 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27573 * sysdeps/sparc/sparc32/Makefile: rather than here...
27574 * sysdeps/sparc/sparc64/Makefile: and here.
27575
27576 2012-03-28 Ulrich Drepper <drepper@gmail.com>
27577
27578 * malloc/mallocbug.c: Avoid warnings about unused variables.
27579
27580 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27581
27582 [BZ #13760]
27583 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27584 in the right place. Discard and retry query if response is
27585 larger than input buffer size.
27586
27587 2012-03-28 Joseph Myers <joseph@codesourcery.com>
27588
27589 [BZ #369]
27590 [BZ #2678]
27591 [BZ #3866]
27592 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27593 x for large integer exponent.
27594 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27595 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
27596 sign of result as needed afterwards.
27597 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27598 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27599 result for underflowing pow the same as for overflow.
27600 (__kernel_standard_l): Handle powl overflow and underflow here
27601 rather than calling __kernel_standard.
27602 * math/libm-test.inc (pow_test): Add more tests.
27603
27604 [BZ #3868]
27605 [BZ #13879]
27606 [BZ #13910]
27607 [BZ #13911]
27608 [BZ #13912]
27609 [BZ #13913]
27610 [BZ #13915]
27611 [BZ #13916]
27612 [BZ #13917]
27613 [BZ #13918]
27614 [BZ #13919]
27615 [BZ #13920]
27616 [BZ #13921]
27617 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27618 * sysdeps/ieee754/k_standard.c: Include <float.h>.
27619 (__kernel_standard_l): New function.
27620 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27621 __kernel_standard.
27622 * math/w_acosl.c (__acosl): Likewise.
27623 * math/w_asinl.c (__asinl): Likewise.
27624 * math/w_atan2l.c (__atan2l): Likewise.
27625 * math/w_atanhl.c (__atanhl): Likewise.
27626 * math/w_coshl.c (__coshl): Likewise.
27627 * math/w_exp10l.c (__exp10l): Likewise.
27628 * math/w_exp2l.c (__exp2l): Likewise.
27629 * math/w_fmodl.c (__fmodl): Likewise.
27630 * math/w_hypotl.c (__hypotl): Likewise.
27631 * math/w_j0l.c (__j0l, __y0l): Likewise.
27632 * math/w_j1l.c (__j1l, __y1l): Likewise.
27633 * math/w_jnl.c (__jnl, __ynl): Likewise.
27634 * math/w_lgammal.c (__lgammal): Likewise.
27635 * math/w_log10l.c (__log10l): Likewise.
27636 * math/w_log2l.c (__log2l): Likewise.
27637 * math/w_logl.c (__logl): Likewise.
27638 * math/w_powl.c (__powl): Likewise.
27639 * math/w_remainderl.c (__remainderl): Likewise.
27640 * math/w_scalbl.c (sysv_scalbl): Likewise.
27641 * math/w_sinhl.c (__sinhl): Likewise.
27642 * math/w_sqrtl.c (__sqrtl): Likewise.
27643 * math/w_tgammal.c (__tgammal): Likewise.
27644 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27645 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27646 * math/libm-test.inc (acos_test): Add more tests.
27647 (acosh_test): Likewise.
27648 (asin_test): Likewise.
27649 (atanh_test): Likewise.
27650 (exp_test): Likewise.
27651 (exp10_test): Likewise.
27652 (exp2_test): Likewise.
27653 (expm1_test): Likewise.
27654 (lgamma_test): Likewise.
27655 (log_test): Likewise.
27656 (log10_test): Likewise.
27657 (log1p_test): Likewise.
27658 (log2_test): Likewise.
27659 (pow_test): Do not allow some spurious overflow exceptions.
27660 (sqrt_test): Add more tests.
27661 (tgamma_test): Likewise.
27662 (y0_test): Likewise.
27663 (y1_test): Likewise.
27664 (yn_test): Likewise.
27665
27666 2012-03-27 Anton Blanchard <anton@samba.org>
27667
27668 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27669 MAP_HUGETLB.
27670 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27671 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27672 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27673
27674 2012-03-27 David S. Miller <davem@davemloft.net>
27675
27676 * conform/Makefile: Run run-conformtest.sh using $(BASH).
27677
27678 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27679 have-as-vis3 check.
27680
27681 2012-03-27 Andreas Jaeger <aj@suse.de>
27682
27683 * sysdeps/x86_64/elf/configure.in: Moved to ...
27684 * sysdeps/x86_64/configure.in: ... here.
27685 * sysdeps/x86_64/elf/start.S: Moved to ...
27686 * sysdeps/x86_64/start.S: ... here.
27687 * sysdeps/x86_64/elf/configure: Delete.
27688
27689 * sysdeps/x86_64/configure.in: Merge contents from
27690 sysdeps/i386/configure.in (without i686 check).
27691
27692 * sysdeps/i386/elf/Versions: Merge into ...
27693 * sysdeps/i386/Versions: ... this.
27694 * sysdeps/i386/elf/Versions: Delete file.
27695 * sysdeps/i386/elf/start.S: Moved to ...
27696 * sysdeps/i386/start.S: ...here.
27697 * sysdeps/i386/elf/configure.in: Merge into...
27698 * sysdeps/i386/configure.in: ...here.
27699 * sysdeps/i386/elf/configure.in: Delete file.
27700 * sysdeps/i386/elf/configure: Delete file.
27701
27702 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27703 * debug/backtracesyms.c: ... here.
27704 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27705 * debug/backtracesymsfd.c: ... here.
27706 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27707 * sysdeps/generic/ifunc-sel.h: ... here.
27708
27709 * sysdeps/unix/i386/start.c: Delete file.
27710 * sysdeps/unix/sparc/start.c: Delete file.
27711 * sysdeps/unix/start.c: Delete file.
27712
27713 * sysdeps/sh/elf/configure.in: Moved to ...
27714 * sysdeps/sh/configure.in: ... here.
27715 * sysdeps/sh/elf/start.S: Moved to ...
27716 * sysdeps/sh/start.S: ... here.
27717 * sysdeps/sh/elf/configure: Delete file.
27718
27719 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27720 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27721 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27722 * sysdeps/powerpc/powerpc64/entry.h: ... here.
27723 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27724 * sysdeps/powerpc/powerpc64/start.S: here.
27725 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27726 * sysdeps/powerpc/powerpc64/Makefile: ... this.
27727 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27728 * sysdeps/powerpc/powerpc64/configure.in: ... this.
27729 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27730
27731 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27732 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27733 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27734 * sysdeps/powerpc/powerpc32/start.S: ... here.
27735 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27736 * sysdeps/powerpc/powerpc32/configure.in: ... this.
27737 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27738
27739 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27740 * sysdeps/powerpc/ifunc-sel.h: ... here.
27741 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27742 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27743
27744 * sysdeps/sparc/elf/configure.in: Moved to ...
27745 * sysdeps/sparc/configure.in: ... here.
27746 * sysdeps/sparc/elf/configure: Delete file.
27747 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27748 * sysdeps/sparc/sparc32/start.S: ... here.
27749 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27750 * sysdeps/sparc/sparc64/start.S: ... here.
27751 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27752 * sysdeps/sparc/sparc32/Makefile: ... this.
27753 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27754 * sysdeps/sparc/sparc64/Makefile: ... this.
27755
27756 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27757 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27758 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27759 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27760 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27761 * sysdeps/s390/s390-32/setjmp.S: ... here.
27762 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27763 * sysdeps/s390/s390-32/configure.in: ... here.
27764 * sysdeps/s390/s390-32/elf/configure: Delete file.
27765 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27766 * sysdeps/s390/s390-32/start.S: ... here.
27767
27768 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27769 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27770 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27771 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27772 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27773 * sysdeps/s390/s390-64/setjmp.S: ... here.
27774 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27775 * sysdeps/s390/s390-64/configure.in: ... here
27776 * sysdeps/s390/s390-64/elf/configure: Delete file.
27777 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27778 * sysdeps/s390/s390-64/start.S: ... here.
27779 * sysdeps/s390/s390-64/elf/configure: Delete.
27780
27781 * configure.in: Remove support for elf directories in sysdeps.
27782
27783 * configure: Regenerated.
27784 * sysdeps/i386/configure: Regenerated.
27785 * sysdeps/powerpc/powerpc32/configure: Regenerated.
27786 * sysdeps/powerpc/powerpc64/configure: Regenerated.
27787 * sysdeps/s390/s390-32/configure: Regenerated.
27788 * sysdeps/s390/s390-64/configure: Regenerated.
27789 * sysdeps/sh/configure: Regenerated.
27790 * sysdeps/sparc/configure: Regenerated.
27791 * sysdeps/x86_64/configure: Regenerated.
27792
27793 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
27794
27795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27796
27797 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27798 denormal result into account.
27799
27800 2012-03-25 Roland McGrath <roland@hack.frob.com>
27801
27802 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27803 Reported by Allan McRae <allan@archlinux.org>.
27804
27805 2012-03-23 Jeff Law <law@redhat.com>
27806
27807 * nss/getnssent.c (__nss_getent): Fix typo.
27808
27809 2012-03-23 David S. Miller <davem@davemloft.net>
27810
27811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27812
27813 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
27814
27815 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27816 to pad to uint64_t for each field.
27817 (dl_tls_index): Replace unsigned long with uint64_t.
27818
27819 2012-03-23 Daniel Jacobowitz <dmj@google.com>
27820 Paul Pluzhnikov <ppluzhnikov@google.com>
27821
27822 [BZ #6528]
27823 * grp/Makefile (otherlibs): Don't set it.
27824 * inet/Makefile (otherlibs): Likewise.
27825 * login/Makefile (otherlibs): Likewise.
27826 * nscd/Makefile (otherlibs): Likewise.
27827 * posix/Makefile (otherlibs): Likewise.
27828 * pwd/Makefile (otherlibs): Likewise.
27829 * rt/Makefile (otherlibs): Likewise.
27830 * sunrpc/Makefile (otherlibs): Likewise.
27831 * nss/Makefile (otherlibs): Likewise.
27832 Add libnss_files to routines and static-only-routines.
27833 ($(objpfx)getent): Remove rule.
27834 * resolv/Makefile: Add libnss_dns and libresolv to routines and
27835 static-only-routines.
27836
27837 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27838
27839 [BZ #13892]
27840 * math/s_cexp.c: Include <float.h>.
27841 (__cexp): Handle exp result overflowing not necessarily
27842 overflowing both real and imaginary parts of result.
27843 * math/s_cexpf.c: Likewise.
27844 * math/s_cexpl.c: Likewise.
27845 * math/libm-test.inc (cexp_test): Add more tests.
27846 * sysdeps/i386/fpu/libm-test-ulps: Update.
27847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27848
27849 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27850
27851 * include/link.h (ELFW): New macro.
27852 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27853 Replace ELF64_R_TYPE with ELFW(R_TYPE).
27854
27855 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27856
27857 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27858 with uint64_t.
27859
27860 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27861
27862 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27863 declaration.
27864 (struct La_x32_retval): Likewise.
27865
27866 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
27867
27868 * sysdeps/x86_64/preconfigure.in: New file.
27869 * sysdeps/x86_64/preconfigure: New generated file.
27870
27871 2012-03-22 Joseph Myers <joseph@codesourcery.com>
27872
27873 [BZ #13824]
27874 * math/e_exp2l.c: Include <float.h>.
27875 (__ieee754_exp2l): Handle overflow and underflow cases
27876 separately. Only pass fractional part of argument to
27877 __ieee754_expl.
27878 * math/libm-test.inc (exp2_test): Add more tests.
27879
27880 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27881 negating x to take absolute value.
27882 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27883 Likewise.
27884 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27885 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27886 Likewise.
27887 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27888 computing low part if x was negated.
27889 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27890
27891 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27892
27893 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27894 la_x32_gnu_pltexit.
27895 (pltexit): Cast int_retval to ptrdiff_t.
27896 * elf/tst-auditmod3b.c: Likewise.
27897 * elf/tst-auditmod4b.c: Likewise.
27898 * elf/tst-auditmod5b.c: Likewise.
27899 * elf/tst-auditmod6b.c: Likewise.
27900 * elf/tst-auditmod6c.c: Likewise.
27901 * elf/tst-auditmod7b.c: Likewise.
27902
27903 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27904 and x32_gnu_pltexit.
27905
27906 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27907 __ELF_NATIVE_CLASS.
27908 (La_x32_regs): New macro.
27909 (La_x32_retval): Likewise.
27910 (la_x32_gnu_pltenter): New function prototype.
27911 (la_x32_gnu_pltexit): Likewise.
27912
27913 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
27914
27915 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27916 exponent.
27917
27918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27919
27920 * configure.in (libc_cv_cc_nofma): Check for option to disable
27921 generation of FMA instructions.
27922 * configure: Regenerate.
27923 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27924 * sysdeps/ieee754/dbl-64/Makefile: New file.
27925 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27926 Remove brandred-fma4.
27927 (CFLAGS-brandred-fma4.c): Remove.
27928 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27929 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27930 define.
27931 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27932 define.
27933
27934 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27935
27936 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27937 LLONG_MAX != LONG_MAX.
27938 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27939 (_fitoa_word): Likewise.
27940 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
27941 LLONG_MAX != LONG_MAX.
27942 * stdio-common/_itowa.h: Include <_itoa.h>.
27943 (_itowa_word): Use _ITOA_WORD_TYPE on value.
27944 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
27945 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
27946 only if not defined.
27947 (_ITOA_WORD_TYPE): Likewise.
27948 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27949 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
27950
27951 2012-03-21 David S. Miller <davem@davemloft.net>
27952
27953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27954
27955 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
27956
27957 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
27958 of x86_64 when setting libc_cv_slibdir, libdir and
27959 libc_cv_localedir.
27960 * sysdeps/unix/sysv/linux/configure: Regenerated.
27961
27962 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27963
27964 * manual/lang.texi (Old Varargs): Remove section.
27965 (How Variadic): Update menu.
27966 (va_start): Do not mention varargs.h.
27967
27968 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27969 Joseph Myers <joseph@codesourcery.com>
27970
27971 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
27972 link test.
27973 * configure: Regenerated.
27974
27975 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
27976
27977 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
27978 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
27979 conformtest.pl
27980
27981 2012-03-21 Joseph Myers <joseph@codesourcery.com>
27982
27983 * NOTES: Remove.
27984 * Makefile (files-for-dist): Remove NOTES.
27985 (NOTES): Remove rule.
27986 * README: Don't refer to NOTES.
27987 * manual/creature.texi: Don't include macros.texi.
27988 * manual/intro.texi (creature.texi): Remove comment referring to
27989 NOTES.
27990
27991 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
27992 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
27993 * configure: Regenerated.
27994 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
27995 LIBC_TRY_CC_OPTION.
27996 (libc_cv_as_i686): Likewise.
27997 (libc_cv_cc_avx): Likewise.
27998 (libc_cv_cc_sse2avx): Likewise.
27999 (libc_cv_cc_fma4): Likewise.
28000 (libc_cv_cc_novzeroupper): Likewise.
28001 * sysdeps/i386/configure: Regenerated.
28002
28003 [BZ #13883]
28004 * sysdeps/i386/fpu/s_cexp.S: Remove.
28005 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28006 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28007 * math/libm-test.inc (cexp_test): Add more tests.
28008 * sysdeps/i386/fpu/libm-test-ulps: Update.
28009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28010
28011 2012-03-21 Allan McRae <allan@archlinux.org>
28012
28013 * timezone/Makefile: Do not install iso3166.tab and zone.tab
28014
28015 2012-03-21 Joseph Myers <joseph@codesourcery.com>
28016
28017 [BZ #13871]
28018 * math/w_exp2.c: Do not include <float.h>.
28019 (o_threshold, u_threshold): Remove.
28020 (__exp2): Calculate result before checking finiteness and calling
28021 __kernel_standard.
28022 * math/w_exp2f.c: Likewise.
28023 * math/w_exp2l.c: Likewise.
28024 * math/libm-test.inc (exp2_test): Require overflow exception for
28025 1e6 input.
28026
28027 [BZ #3866]
28028 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28029 range of signed 64-bit integers before using fistpll. Remove
28030 checks for whether integers fit in mantissa bits.
28031 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28032 the range of signed 32-bit integers before using fistpl. Remove
28033 checks for whether integers fit in mantissa bits.
28034 * sysdeps/i386/fpu/e_powl.S (p64): New object.
28035 (__ieee754_powl): Test for y outside the range of signed 64-bit
28036 integers before using fistpll. Reduce 64-bit values to 63-bit
28037 ones as needed.
28038 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28039 divide-by-zero is raised for zero to large negative powers.
28040 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28041 (__ieee754_powl): Test for y outside the range of signed 64-bit
28042 integers before using fistpll. Reduce 64-bit values to 63-bit
28043 ones as needed.
28044 * math/libm-test.inc (pow_test): Add more tests.
28045
28046 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28047
28048 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28049 <stdio-common/_itoa.h>.
28050 * debug/segfault.c: Likewise.
28051 * elf/dl-cache.c: Likewise.
28052 * elf/dl-minimal.c: Likewise.
28053 * elf/dl-misc.c: Likewise.
28054 * elf/dl-sysdep.c: Likewise.
28055 * elf/dl-version.c: Likewise.
28056 * elf/rtld.c: Likewise.
28057 * hurd/hurdsock.c: Likewise.
28058 * hurd/lookup-retry.c: Likewise.
28059 * malloc/malloc.c: Likewise.
28060 * malloc/mtrace.c: Likewise.
28061 * nscd/nscd_getgr_r.c: Likewise.
28062 * nscd/nscd_getpw_r.c: Likewise.
28063 * nscd/nscd_getserv_r.c: Likewise.
28064 * posix/getopt_init.c: Likewise.
28065 * posix/wordexp.c: Likewise.
28066 * stdio-common/_itoa.c: Likewise.
28067 * stdio-common/printf_fphex.c: Likewise.
28068 * stdio-common/vfprintf.c: Likewise.
28069 * string/_strerror.c: Likewise.
28070 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28071 * sysdeps/i386/i686/hp-timing.h: Likewise.
28072 * sysdeps/mach/_strerror.c: Likewise.
28073 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28074 * sysdeps/mach/hurd/sethostid.c: Likewise.
28075 * sysdeps/mach/hurd/xmknodat.c: Likewise.
28076 * sysdeps/mach/xpg-strerror.c: Likewise.
28077 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28078 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28079 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28080 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28081 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28082 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28083 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28084 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28085 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28086 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28087 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28088 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28089 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28090 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28091 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28092 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28093 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28094 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28095 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28096 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28097 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28098
28099 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28100
28101 * stdio-common/_itoa.h: Moved to ...
28102 * sysdeps/generic/_itoa.h: Here.
28103
28104 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28105
28106 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28107 instead of "_itoa.h" and "_itowa.h".
28108 * stdio-common/vfprintf.: Likewise.
28109
28110 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28111
28112 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28113 <bits/wordsize.h>.
28114 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28115 (__signbit): Likwise.
28116 (llrintf): Likwise.
28117 (llrint): Likwise.
28118
28119 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
28120
28121 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28122 __WORDSIZE != 64.
28123
28124 2012-03-20 Joseph Myers <joseph@codesourcery.com>
28125
28126 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28127 OVERFLOW_EXCEPTION_OK.
28128 * math/libm-test.inc ("Philosophy"): Update comment about
28129 exception testing.
28130 (OVERFLOW_EXCEPTION): Define.
28131 (OVERFLOW_EXCEPTION_OK): Likewise.
28132 (INVALID_EXCEPTION_OK): Renumber.
28133 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28134 (IGNORE_ZERO_INF_SIGN): Likewise.
28135 (test_exceptions): Handle FE_OVERFLOW.
28136 (exp10_test): Expect overflow exceptions.
28137 (exp2_test): Likewise.
28138 (expm1_test): Likewise.
28139 (nextafter_test): Likewise.
28140 (pow_test): Likewise.
28141 (scalbn_test): Likewise.
28142 (scalbln_test): Likewise.
28143
28144 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28145
28146 * sysdeps/x86_64/bits/atomic.h
28147 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28148 64bit integer.
28149 (atomic_exchange_acq): Likewise.
28150 (__arch_exchange_and_add_body): Likewise.
28151 (__arch_add_body): Likewise.
28152 (atomic_add_negative): Likewise.
28153 (atomic_add_zero): Likewise.
28154
28155 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28156
28157 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
28158 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28159
28160 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28161
28162 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28163 Check __x86_64__ instead of __WORDSIZE.
28164
28165 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28166
28167 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28168
28169 2012-03-19 David S. Miller <davem@davemloft.net>
28170
28171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28172
28173 * sysdeps/sparc/fpu/fenv_private.h: New file.
28174 * sysdeps/sparc/fpu/math_private.h: Use it.
28175 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28176 Remove.
28177 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28178 (libc_feholdexcept_setroundl): Remove.
28179 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28180 Remove.
28181 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28182 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28183
28184 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28185
28186 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28187 int64_t instead of long int.
28188 (INSERT_WORDS64): Likwise.
28189
28190 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
28191
28192 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28193 _Unwind_GetCFA return to _Unwind_Ptr first.
28194
28195 2012-03-19 Joseph Myers <joseph@codesourcery.com>
28196
28197 [BZ #13629]
28198 * math/s_clog.c: Include <float.h>.
28199 (__clog): Scale large or subnormal inputs.
28200 * math/s_clogf.c: Likewise.
28201 * math/s_clogl.c: Likewise.
28202 * math/s_clog10.c: Include <float.h>.
28203 (M_LOG10_2): Define.
28204 (__clog10): Scale large or subnormal inputs.
28205 * math/s_clog10f.c: Likewise.
28206 * math/s_clog10l.c: Likewise.
28207 * math/libm-test.inc (clog_test): Add more tests.
28208 (clog10_test): Likewise.
28209 * sysdeps/i386/fpu/libm-test-ulps: Update.
28210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28211
28212 [BZ #11451]
28213 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28214 x and y.
28215 * math/libm-test.inc (atan2_test): Add another test.
28216
28217 * Makerules (common-objdir-compile): Remove.
28218 * sysdeps/unix/Makefile (config-generated): Do not add
28219 $(unix-generated) to variable.
28220 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28221 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28222 Remove rule.
28223 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28224 Likewise.
28225 [generic bits/local_lim.h] (before-compile): Do not append to
28226 variable.
28227 [generic bits/local_lim.h] (common-generated): Likewise.
28228 [generic sys/param.h] (before-compile): Do not append to variable.
28229 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28230 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28231 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28232 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28233 include.
28234 [generic sys/param.h] (sys/param.h-includes): Remove variable.
28235 [generic sys/param.h] (sys/param.h-includes): Remove rule.
28236 [generic sys/param.h] ($(addprefix
28237 $(common-objpfx),$(sys/param.h-includes))): Likewise.
28238 [generic sys/param.h] (common-generated): Do not append to
28239 variable.
28240 [generic sys/param.h] (sysdep_headers): Likewise.
28241 [generic bits/errno.h] (before-compile): Do not append to
28242 variable.
28243 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28244 rule.
28245 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28246 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28247 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28248 [generic bits/errno.h] (common-generated): Do not append to
28249 variable.
28250 [generic bits/ioctls.h] (before-compile): Do not append to
28251 variable.
28252 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28253 rule.
28254 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28255 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28256 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28257 rule.
28258 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28259 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28260 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28261 [generic bits/ioctls.h] (common-generated): Do not append to
28262 variable.
28263 [generic sys/syscall.h] (syscall.h): Remove variable.
28264 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28265 rule.
28266 [generic sys/syscall.h] (before-compile): Do not append to
28267 variable.
28268 [generic sys/syscall.h] (common-generated): Likewise.
28269 * sysdeps/unix/errnos-tmpl.c: Remove file.
28270 * sysdeps/unix/errnos.awk: Likewise.
28271 * sysdeps/unix/ioctls-tmpl.c: Likewise.
28272 * sysdeps/unix/ioctls.awk: Likewise.
28273 * sysdeps/unix/mk-local_lim.c: Likewise.
28274 * sysdeps/unix/snarf-ioctls: Likewise.
28275
28276 2012-03-19 Richard Henderson <rth@twiddle.net>
28277
28278 * sysdeps/i386/fpu/fenv_private.h: New file.
28279 * sysdeps/i386/fpu/math_private.h: Use it.
28280 (math_opt_barrier, math_force_eval): Remove.
28281 (libc_feholdexcept_setround_53bit): Remove.
28282 (libc_feupdateenv_53bit): Remove.
28283 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28284 (math_opt_barrier, math_force_eval): Remove.
28285 (libc_feholdexcept): Remove.
28286 (libc_feholdexcept_setround): Remove.
28287 (libc_fetestexcept, libc_fesetenv): Remove.
28288 (libc_feupdateenv_test): Remove.
28289 (libc_feupdateenv, libc_feholdsetround): Remove.
28290 (libc_feresetround): Remove.
28291
28292 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28293 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28294
28295 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28296 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28297 (libc_feupdateenv_testl): New.
28298 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28299 (libc_feupdateenv_testf): New.
28300 (libc_feupdateenv): Use libc_feupdateenv_test.
28301 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28302 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28303
28304 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28305 (libc_feholdsetroundf, libc_feholdsetroundl): New.
28306 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28307 (libc_feresetround_noex): New.
28308 (libc_feresetround_noexf): New.
28309 (libc_feresetround_noexl): New.
28310 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28311 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28312 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28313 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28314 SET_RESTORE_ROUND.
28315 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28316 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28317 (__cos): Likewise.
28318 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28319 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28320 SET_RESTORE_ROUND_NOEX.
28321 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28322 SET_RESTORE_ROUND_NOEXF.
28323 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28324 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28325 (libc_feholdsetroundf): New.
28326 (libc_feresetround, libc_feresetroundf): New.
28327
28328 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28329 (libc_feholdexcept_setround_53bit): Convert from macro to function.
28330 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
28331
28332 * sysdeps/generic/math_private.h: Include <fenv.h>.
28333 (default_libc_feholdexcept): New.
28334 (default_libc_feholdexcept_setround): New.
28335 (default_libc_fesetenv, default_libc_feupdateenv): New.
28336 (libc_feholdexcept): Only define if undefined.
28337 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28338 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28339 (libc_feholdexcept_setroundl): Likewise.
28340 (libc_feholdexcept_setround_53bit): Likewise.
28341 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28342 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28343 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28344 (libc_feupdateenv_53bit): Likewise.
28345 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28346 (libc_feholdexcept): Convert from macro to inline function.
28347 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28348 (libc_fesetenv, libc_feupdateenv): Likewise.
28349
28350 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28351 not previously defined.
28352 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28353 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28354 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28355 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28356 * sysdeps/ieee754/flt-32/math_private.h: New file.
28357 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28358 math_private.h below SET_FLOAT_WORD.
28359 (__isnan, __isinf_ns, __finite): Remove.
28360 (__isnanf, __isinf_nsf, __finitef): Remove.
28361
28362 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
28363
28364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28365
28366 2012-03-17 David S. Miller <davem@davemloft.net>
28367
28368 [BZ #6471]
28369 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28370 for 2.16.
28371
28372 2012-03-16 David S. Miller <davem@davemloft.net>
28373
28374 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28375 warnings.
28376
28377 [BZ #6471]
28378 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28379 properly.
28380 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28381 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28382 sysdep_routines when subdir is sysvipc.
28383 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28384 __getshmlba helper.
28385
28386 * sysdeps/sparc/fpu/libm-test/ulps: Update.
28387
28388 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28389
28390 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28391 [__LP64__].
28392
28393 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28394
28395 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28396 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28397 (__lround): Renamed to ...
28398 (__llround): This. Replace long int with long long int.
28399 Define lround functions as aliases of llround functions.
28400 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28401
28402 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28403
28404 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28405 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
28406 adresses to uintptr_t. Replace "long int" and "unsigned long
28407 int" with "greg_t" on va_arg.
28408
28409 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28410
28411 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28412 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28413
28414 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28415 Move e_machine check before EI_CLASS check. Handle x32
28416 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28417 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28418 SKIP_EM_IA_64 and include
28419 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28420
28421 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28422 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28423 (add_system_dir): New macro.
28424
28425 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28426 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28427
28428 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28429
28430 [BZ #2551]
28431 [BZ #2552]
28432 [BZ #2553]
28433 [BZ #2554]
28434 [BZ #2562]
28435 [BZ #2563]
28436 [BZ #2565]
28437 [BZ #2566]
28438 [BZ #2576]
28439 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28440 (y0): Likewise.
28441 * math/w_j0f.c (j0f): Likewise.
28442 (y0f): Likewise.
28443 * math/w_j0l.c (__j0l): Likewise.
28444 (__y0l): Likewise.
28445 * math/w_j1.c (j1): Likewise.
28446 (y1): Likewise.
28447 * math/w_j1f.c (j1f): Likewise.
28448 (y1f): Likewise.
28449 * math/w_j1l.c (__j1l): Likewise.
28450 (__y1l): Likewise.
28451 * math/w_jn.c (jn): Likewise.
28452 (yn): Likewise.
28453 * math/w_jnf.c (jnf): Likewise.
28454 (ynf): Likewise.
28455 * math/w_jnl.c (__jnl): Likewise.
28456 (__ynl): Likewise.
28457 * math/libm-test.inc (j0_test): Add more tests.
28458 (j1_test): Likewise.
28459 (jn_test): Likewise. Add trailing semicolon to existing test.
28460 (y0_test): Likewise.
28461 (y1_test): Likewise.
28462 * sysdeps/i386/fpu/libm-test-ulps: Update.
28463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28464
28465 [BZ #13851]
28466 [BZ #13854]
28467 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28468 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28469 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28470 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28471 (__tanl): Set errno for infinite argument.
28472 * sysdeps/i386/fpu/mptan.c: Remove.
28473 * sysdeps/i386/fpu/s_tan.S: Likewise.
28474 * sysdeps/i386/fpu/s_tanl.S: Likewise.
28475 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28476 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28477 * math/libm-test.inc (tan_test): Add more tests and enable more
28478 tests for double and long double.
28479 * sysdeps/i386/fpu/libm-test-ulps: Update.
28480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28481
28482 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
28483
28484 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28485 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28486
28487 2012-03-16 Roland McGrath <roland@hack.frob.com>
28488
28489 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28490 * configure.in: Use it for both main tree and add-ons.
28491 * configure: Regenerated.
28492
28493 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
28494
28495 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28496
28497 2012-03-16 Joseph Myers <joseph@codesourcery.com>
28498
28499 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28500 in comment.
28501
28502 [BZ #13851]
28503 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28504 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28505 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28506 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28507 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28508 infinite argument.
28509 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28510 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28511 != 0 for prec == 2.
28512 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28513 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28514 * sysdeps/i386/fpu/s_cosl.S: Likewise.
28515 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28516 * sysdeps/i386/fpu/s_sinl.S: Likewise.
28517 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28518 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28519 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28520 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28521 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28522 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28523 * math/libm-test.inc (cos_test): Add more tests and enable more
28524 tests for long double.
28525 (sin_test): Likewise.
28526 (sincos_test): Likewise.
28527 * sysdeps/i386/fpu/libm-test-ulps: Update.
28528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28529
28530 2012-03-16 David S. Miller <davem@davemloft.net>
28531
28532 * sysdeps/sparc/fpu/math_private.h: New file.
28533
28534 2012-03-15 David S. Miller <davem@davemloft.net>
28535
28536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28537 file.
28538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28540 file.
28541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28542 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28543 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28544 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28545 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28546 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28547 sysdep routines.
28548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28549
28550 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28551 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28552
28553 * sysdeps/sparc/sparc-ifunc.h: New file.
28554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28555 sparc-ifunc.h
28556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28558 Likewise.
28559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28560 Likewise.
28561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28565 Likewise.
28566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28571 Likewise.
28572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28573 Likewise.
28574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28578 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28579 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28580 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28581 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28582 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28583 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28584 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28585 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28586 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28587 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28588 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28589 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28590 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28591 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28592 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28593 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28594 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28595 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28596 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28597 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28598
28599 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28600
28601 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28602 scaling.
28603 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28604
28605 2012-03-15 Andreas Jaeger <aj@suse.de>
28606
28607 [BZ #13852]
28608 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28609 ieee754/flt-32 implementation for sin, cos and sincos.
28610 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28611 * sysdeps/i386/fpu/s_cosf.S: Likewise.
28612 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28613 * sysdeps/i386/fpu/s_sinf.S: Likewise.
28614 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28615 ieee754/flt-32 implementation for tan.
28616
28617 * math/libm-test.inc (cos_test): Enable some large input tests for
28618 float as well
28619 (sin_test): Likewise.
28620 (sincos_test): Likewise.
28621 (tan_test): Add tests for large input.
28622
28623 * sysdeps/i386/fpu/libm-test-ulps: Update.
28624
28625 2012-03-15 Andreas Jaeger <aj@suse.de>
28626
28627 [BZ #13658]
28628 * math/libm-test.inc (cos_test): Add more test cases.
28629 (sin_test): Likewise.
28630 (sincos_test): Likewise.
28631
28632 2012-03-15 Andreas Jaeger <aj@suse.de>
28633
28634 [BZ #13837]
28635 * math/libm-test.inc (cos_test): Add a test case for large input
28636 value.
28637 (sin_test): Likewise.
28638 (sincos_test): Likewise.
28639
28640 2012-03-15 Andreas Jaeger <aj@suse.de>,
28641 Joseph Myers <joseph@codesourcery.com>
28642
28643 [BZ #13658]
28644 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28645 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28646 * sysdeps/i386/fpu/branred.c: Likewise.
28647 * sysdeps/i386/fpu/dosincos.c: Likewise.
28648 * sysdeps/i386/fpu/mpa.c: Likewise.
28649 * sysdeps/i386/fpu/s_cos.S: Likewise.
28650 * sysdeps/i386/fpu/s_sin.S: Likewise.
28651 * sysdeps/i386/fpu/s_sincos.S: Likewise.
28652 * sysdeps/i386/fpu/sincos32.c: Likewise.
28653
28654 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28655 Define.
28656 (libc_feupdateenv_53bit): Define.
28657 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28658 Define.
28659 (libc_feupdateenv_53bit): Define.
28660
28661 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28662 53 bit (without extend i386 double precision).
28663
28664 * math/libm-test.inc (sincos_test): Add tests for large input.
28665 (sin): Likewise.
28666 (cos): Likewise.
28667
28668 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28669
28670 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
28671
28672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28673
28674 2012-03-15 David S. Miller <davem@davemloft.net>
28675
28676 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28677 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28678 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28679 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28684 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28685 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28686 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28687 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28688 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28689 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28690 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28692 file.
28693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28695 file.
28696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28698 file.
28699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28701 file.
28702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28703 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28704 fmin/fmax sysdep routines.
28705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28706
28707 2012-03-14 David S. Miller <davem@davemloft.net>
28708
28709 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28710 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28711 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28712 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28713 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28714 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28715 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28716 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28717 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28718 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28719 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28720 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28721 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28722 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28723 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28724 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28725 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28726 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28727 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28728 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28729 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28730 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28731 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28732 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28733 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28734 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28735 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28736 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28737 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28738 routines.
28739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28740 file.
28741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28743 file.
28744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28746 file.
28747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28749 file.
28750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28752 file.
28753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28755 file.
28756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28757 file.
28758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28759 file.
28760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28761 file.
28762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28763 New file.
28764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28765 file.
28766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28767 file.
28768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28770 file.
28771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28773 file.
28774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28776 file.
28777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28779 VIS3 routines.
28780
28781 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28782 New file.
28783
28784 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28785
28786 * sysdeps/sparc/configure.in: New file.
28787 * sysdeps/sparc/configure: Generate.
28788 * configure.in (libc_cv_sparc_as_vis3): Substitute.
28789 * configure: Regenerate.
28790 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28791 * config.make.in (have-as-vis3): New.
28792 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28793 available use -Av9d instead of -Av9a.
28794 * sysdeps/sparc/sparc64/Makefile: Likewise.
28795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28797 New file.
28798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28799 file.
28800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28801 New file.
28802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28803 file.
28804 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28805 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28806 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28807 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28808 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28809
28810 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28811 fzeros/fnegs to load 0x80000000 into a float register instead of
28812 using the stack.
28813 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28814
28815 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28816
28817 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28818 bits/syscall.h.
28819 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28820 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28821 ($(inst_includedir)/bits/syscall.h): Remove rule.
28822 ($(objpfx)bits/syscall.d): Include instead of
28823 $(objpfx)syscall-list.d.
28824 (generated): Change syscall-list.h and syscall-list.d to
28825 bits/syscall.h and bits/syscall.d.
28826
28827 2012-03-14 Roland McGrath <roland@hack.frob.com>
28828
28829 [BZ #13846]
28830 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28831
28832 2012-03-14 Joseph Myers <joseph@codesourcery.com>
28833
28834 [BZ #13841]
28835 * math/s_csqrt.c: Include <float.h>.
28836 (__csqrt): Scale large or subnormal inputs.
28837 * math/s_csqrtf.c: Likewise.
28838 * math/s_csqrtl.c: Likewise.
28839 * math/libm-test.inc (csqrt_test): Add more tests.
28840 * sysdeps/i386/fpu/libm-test-ulps: Update.
28841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28842
28843 [BZ #13840]
28844 * math/libm-test.inc (hypot_test): Add more tests.
28845
28846 2012-03-13 David S. Miller <davem@davemloft.net>
28847
28848 [BZ #13840]
28849 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28850 double-precision for the calculation instead of scaling.
28851
28852 2012-03-13 Joseph Myers <joseph@codesourcery.com>
28853
28854 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28855 manipulate bits before adding and subtracting TWO52[sx].
28856 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28857 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28858 Likewise.
28859 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28860
28861 2012-03-13 David S. Miller <davem@davemloft.net>
28862
28863 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28864 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28865 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28866 rtld-global-offsets.h
28867 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28868
28869 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28870 large parameters.
28871
28872 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28873
28874 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28875 'err' in the ifdef scope in which it is actually used.
28876
28877 * nss/nss_db/db-init.c: Include string.h
28878
28879 2012-03-12 David S. Miller <davem@davemloft.net>
28880
28881 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28882 masking out of the most significant byte of random value used.
28883 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28884 Fix coding style in previous change.
28885
28886 * sysdeps/unix/sysv/linux/kernel-features.h
28887 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28888 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28889 expression.
28890 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28891 later.
28892
28893 2012-03-11 David S. Miller <davem@davemloft.net>
28894
28895 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28896 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28897 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28898 for 'resultvar' otherwise things get truncated on 64-bit.
28899
28900 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28901 Fix masking out of the most significant byte of random value used.
28902
28903 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28904
28905 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
28906
28907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28908
28909 2012-03-09 David S. Miller <davem@davemloft.net>
28910
28911 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28912 variables with appropriate CPP guards.
28913 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28914 frame pointer, not the stack pointer. Correct layout comments. Fix test
28915 on resulting framesize and the management of the outregs buffer for pltexit.
28916 Preserve floating point return values across _dl_call_pltexit call.
28917 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28918 framesize and the management of the outregs buffer for pltexit.
28919 Preserve floating point return values across _dl_call_pltexit
28920 call.
28921 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28922 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28923 (print_exit): Fix format string for return register value.
28924
28925 2012-03-10 Joseph Myers <joseph@codesourcery.com>
28926
28927 * sunrpc/Makefile (others): Add rpcgen.
28928 ($(objpfx)rpcgen): Remove special build rule and dependency on
28929 libc.
28930 * sunrpc/rpcgen.c: New file.
28931
28932 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
28933
28934 [BZ #13673]
28935 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28936 * stdio-common/bug-vfprintf-nargs.c: Likewise.
28937 * sysdeps/i386/crti.S: Likewise.
28938 * sysdeps/i386/crtn.S: Likewise.
28939 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
28940 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
28941 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
28942 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
28943 * sysdeps/sh/crti.S: Likewise.
28944 * sysdeps/sh/crtn.S: Likewise.
28945 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28946
28947 [BZ #13673]
28948 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
28949 with URL.
28950 * locale/programs/locfile-kw.gperf: Likewise.
28951 * locale/programs/charmap-kw.h: Regenerated.
28952 * locale/programs/locfile-kw.h: Likewise.
28953
28954 [BZ #13673]
28955 * intl/plural.y: Replace FSF snail mail address with URL.
28956 * intl/plural.c: Regenerated.
28957
28958 2012-03-09 Richard Henderson <rth@twiddle.net>
28959
28960 * include/math_private.h: Remove file.
28961 * math/math_private.h: Move file ...
28962 * sysdeps/generic/math_private.h: ... here.
28963
28964 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
28965 * sysdeps/powerpc/fpu/math_private.h: Likewise.
28966 * sysdeps/x86_64/fpu/math_private.h: Likewise.
28967
28968 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
28969 and <math_private.h>.
28970 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28971 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28972 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28973 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28974 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28975 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
28976 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28977 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28978 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28979 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28980 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28981 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28982 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28983 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28984 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28985 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28986 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28987 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28988 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28989 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28990 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28991 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28992 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28993 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28994 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
28995 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28996 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28997 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28998 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28999 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29000 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29001 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29002 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29003 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29004 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29005 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29006 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29007 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29008 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29009 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29010 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29011 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29012 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29013 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29014 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29015 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29016 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29017 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29018 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29019 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29020 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29021 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29022 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29023 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29024 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29025 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29026 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29027 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29028 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29029 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29030 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29031 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29032 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29033 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29034 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29035 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29036 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29037 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29038 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29039 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29040 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29041 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29042 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29043 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29044 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29045 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29046 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29047 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29048 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29049 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29050 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29051 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29052 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29053 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29054 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29055 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29056 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29057 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29058 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29059 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29060 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29061 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29062 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29063 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29064 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29065 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29066 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29067 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29068 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29069 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29070 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29071 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29072 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29073 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29074 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29075 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29076 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29077 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29078 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29079 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29080 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29081 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29082 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29083 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29084 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29085 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29086 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29087 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29088 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29089 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29090 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29091 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29092 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29093 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29094 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29095 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29096 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29097 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29098 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29099 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29100 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29101 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29102 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29103 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29104 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29105 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29106 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29107 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29108 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29109 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29110 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29111 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29112 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29113 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29114 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29115 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29116 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29117 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29118 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29119 * sysdeps/ieee754/k_standard.c: Likewise.
29120 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29121 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29122 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29123 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29124 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29125 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29126 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29127 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29128 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29129 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29130 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29131 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29132 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29133 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29134 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29135 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29136 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29137 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29138 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29139 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29140 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29141 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29142 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29143 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29144 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29145 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29146 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29147 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29148 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29149 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29150 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29151 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29152 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29153 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29154 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29155 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29156 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29157 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29158 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29159 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29160 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29161 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29162 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29163 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29164 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29165 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29166 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29167 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29168 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29169 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29170 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29171 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29172 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29173 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29174 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29175 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29176 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29177 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29178 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29179 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29180 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29181 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29182 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29183 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29184 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29185 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29186 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29187 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29188 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29189 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29190 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29191 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29192 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29193 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29194 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29195 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29196 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29197 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29198 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29199 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29200 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29201 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29202 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29203 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29204 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29205 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29206 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29207 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29208 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29209 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29210 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29211 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29212 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29213 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29214 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29215 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29216 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29217 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29218 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29219 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29220 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29221 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29222 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29223 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29224 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29225 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29226 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29227 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29228 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29229 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29230 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29231 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29232 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29233 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29234 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29235 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29236 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29237 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29238 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29239 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29240 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29241 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29242 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29243 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29244 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29245 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29246 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29247 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29248 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29249 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29250 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29251 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29252 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29253 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29254 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29255 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29256 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29257 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29258 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29259 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29260 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29261 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29262 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29263 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29264 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29265 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29266 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29267 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29268 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29269 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29270 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29271 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29272 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29273 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29274 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29275 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29276 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29277 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29278 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29279 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29280 * sysdeps/ieee754/s_lib_version.c: Likewise.
29281 * sysdeps/ieee754/s_matherr.c: Likewise.
29282 * sysdeps/ieee754/s_signgam.c: Likewise.
29283 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29284 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29285 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29286 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29287 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29288 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29289 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29290 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29291 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29292 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29293 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29294 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29295 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29296 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29297 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29298 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29299 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29300 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29301 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29302 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29303 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29304
29305 2012-03-09 Joseph Myers <joseph@codesourcery.com>
29306
29307 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29308 * sunrpc/rpc_main.c: Likewise.
29309 * sunrpc/rpc_svcout.c: Likewise.
29310
29311 2012-03-09 David S. Miller <davem@davemloft.net>
29312
29313 * include/math_private.h: New file.
29314
29315 2012-03-09 Joseph Myers <joseph@codesourcery.com>
29316
29317 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29318 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29319 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29320 from <bits/socket_type.h>.
29321 (enum __socket_type): Don't define here.
29322 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29323 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29324 bits/socket_type.h.
29325
29326 [BZ #13566]
29327 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29328 checking __USE_GNU.
29329
29330 * Makerules ($(inst_includedir)/%.h): New rule.
29331 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29332 (install-others): Remove variable setting.
29333 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29334
29335 2012-03-08 Richard Henderson <rth@twiddle.net>
29336
29337 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29338 from macro to inline function; merge with the
29339 !__LIBC_INTERNAL_MATH_INLINES version.
29340 (__ieee754_sqrtf): Likewise.
29341
29342 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29343 to inline function.
29344 (__rintf, __floor, __floorf): Likewise.
29345
29346 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29347 macro to inline function.
29348 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29349
29350 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29351 not <math/math_private.h>.
29352
29353 2012-03-08 David S. Miller <davem@davemloft.net>
29354
29355 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29356 copyright year.
29357 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29358
29359 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
29360
29361 * resolv/gai_misc.c (handle_requests): Fix struct timespec
29362 normalization.
29363 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29364 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29365
29366 2012-03-08 Ulrich Drepper <drepper@gmail.com>
29367
29368 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
29369 be defined individually, they must be defined as a block. Define
29370 S for printing a string instead of hidint the different by using a
29371 macro for adding the 'l'.
29372 * stdio-common/tst-fphex-wide.c: Adjust.
29373
29374 2012-03-07 Marek Polacek <polacek@redhat.com>
29375
29376 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29377
29378 2012-03-08 Marek Polacek <polacek@redhat.com>
29379
29380 [BZ #13806]
29381 * stdio-common/Makefile (tests): Add tst-fphex-wide.
29382 * stdio-common/tst-fphex.c: Define a few macros to make the
29383 test reusable. Use them.
29384 * stdio-common/tst-fphex-wide.c: New file.
29385
29386 2012-03-08 Joseph Myers <joseph@codesourcery.com>
29387
29388 [BZ #6911]
29389 * manual/macros.texi (gnusystems): New macro.
29390 (nongnusystems): Likewise.
29391 (gnulinuxhurdsystems): Likewise.
29392 (gnuhurdsystems): Likewise..
29393 (gnulinuxsystems): Likewise.
29394 * manual/charset.texi: Use new macros or @theglibc{} to refer to
29395 variants of the GNU system, not "GNU system".
29396 * manual/conf.texi: Likewise.
29397 * manual/errno.texi: Likewise. Update example of errno macro
29398 expansion.
29399 * manual/filesys.texi: Likewise.
29400 (getumask): Document as specific to GNU/Hurd.
29401 * manual/install.texi: Likewise. Reword some references to
29402 GNU/Linux.
29403 * manual/intro.texi: Likewise.
29404 * manual/io.texi: Likewise.
29405 (File Name Portability): Detail which constraints are inapplicable
29406 to all GNU systems and which are only inapplicable to GNU/Hurd.
29407 * manual/job.texi: Likewise.
29408 * manual/llio.texi: Likewise.
29409 (O_NOCTTY): Document as present on GNU/Linux.
29410 * manual/maint.texi: Likewise.
29411 * manual/memory.texi: Likewise.
29412 * manual/pattern.texi: Likewise.
29413 * manual/pipe.texi: Likewise.
29414 * manual/process.texi: Likewise.
29415 * manual/resource.texi: Likewise.
29416 (RUSAGE_CHILDREN): Remove statement about specifying a particular
29417 child on GNU/Hurd.
29418 * manual/setjmp.texi: Likewise.
29419 * manual/signal.texi: Likewise.
29420 * manual/startup.texi: Likewise.
29421 * manual/stdio.texi: Likewise.
29422 * manual/terminal.texi: Likewise.
29423 (ONLCR): Document as POSIX.
29424 (OXTABS): Document availability on GNU/Linux as XTABS.
29425 (ONOEOT): Document availability separately from other bits.
29426 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29427 * manual/time.texi: Likewise.
29428 * manual/users.texi: Likewise.
29429 * INSTALL: Regenerated.
29430 * sysdeps/gnu/errlist.c: Regenerated.
29431
29432 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29433 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29434 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
29435 puts.
29436 * configure: Regenerated.
29437
29438 2012-03-07 Joseph Myers <joseph@codesourcery.com>
29439
29440 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29441 default includes instead of AC_HEADER_CHECK.
29442 * sysdeps/i386/configure: Regenerated.
29443
29444 [BZ #10716]
29445 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29446 * math/s_cacoshf.c (__cacoshf): Likewise.
29447 * math/s_cacoshl.c (__cacoshl): Likewise.
29448 * math/s_casinh.c (__casinh): Set signs of result from argument.
29449 * math/s_casinhf.c (__casinhf): Likewise.
29450 * math/s_casinhl.c (__casinhl): Likewise.
29451 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29452 (casinh_test): Add more tests.
29453 * sysdeps/i386/fpu/libm-test-ulps: Update.
29454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29455
29456 2012-03-07 Ulrich Drepper <drepper@gmail.com>
29457
29458 * po/zh_TW.po: Update from translation team.
29459
29460 * login/Makefile (distribute): Remove variable.
29461 * catgets/Makefile: Likewise.
29462 * mach/Makefile: Likewise.
29463 * malloc/Makefile: Likewise.
29464 * misc/Makefile: Likewise.
29465 * iconv/Makefile: Likewise.
29466 * nscd/Makefile: Likewise.
29467 * hurd/Makefile: Likewise.
29468 * manual/Makefile: Likewise.
29469 * locale/Makefile: Likewise.
29470 * intl/Makefile: Likewise.
29471 * conform/Makefile: Likewise.
29472 * nss/Makefile: Likewise.
29473 * time/Makefile: Likewise.
29474 * soft-fp/Makefile: Likewise.
29475 * dirent/Makefile: Likewise.
29476 * gmon/Makefile: Likewise.
29477 * po/Makefile: Likewise.
29478 * rt/Makefile: Likewise.
29479 * socket/Makefile: Likewise.
29480 * math/Makefile: Likewise.
29481 * signal/Makefile: Likewise.
29482 * debug/Makefile: Likewise.
29483 * elf/Makefile: Likewise.
29484 * timezone/Makefile: Likewise.
29485 * stdlib/Makefile: Likewise.
29486 * iconvdata/Makefile: Likewise.
29487 * sunrpc/Makefile: Likewise.
29488 * io/Makefile: Likewise.
29489 * argp/Makefile: Likewise.
29490 * inet/Makefile: Likewise.
29491 * hesiod/Makefile: Likewise.
29492 * grp/Makefile: Likewise.
29493 * csu/Makefile: Likewise.
29494 * wctype/Makefile: Likewise.
29495 * crypt/Makefile: Likewise.
29496 * libio/Makefile: Likewise.
29497 * string/Makefile: Likewise.
29498 * nis/Makefile: Likewise.
29499 * resolv/Makefile: Likewise.
29500 * stdio-common/Makefile: Likewise.
29501 * wcsmbs/Makefile: Likewise.
29502 * dlfcn/Makefile: Likewise.
29503 * posix/Makefile: Likewise.
29504
29505 [BZ #6959]
29506 * timezone/Makefile: Don't install timezone files, just the programs
29507 and scripts.
29508
29509 2012-03-06 Ulrich Drepper <drepper@gmail.com>
29510
29511 * nss/databases.def: Add missing gshadow entry.
29512
29513 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
29514
29515 2012-03-06 Marek Polacek <polacek@redhat.com>
29516
29517 [BZ #13726]
29518 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29519 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29520 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29521 * stdio-common/tst-long-dbl-fphex.c: New file.
29522
29523 2012-03-06 David S. Miller <davem@davemloft.net>
29524
29525 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29526 (set_obp_int): New function.
29527 (get_obp_int): New function.
29528 (__get_clockfreq_via_dev_openprom): Likewise.
29529 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29530 Avoid unused variable warnings on 'val' and use builtin_expect.
29531 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29532 __builtin_expect.
29533 (INLINE_CLONE_SYSCALL): Likewise.
29534
29535 2012-03-05 David S. Miller <davem@davemloft.net>
29536
29537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29538
29539 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
29540
29541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29542
29543 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29544 only for |x| >= 40.
29545 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29546
29547 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
29548
29549 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29550 Replace gettimeofday with __vdso_gettimeofday.
29551
29552 * sysdeps/unix/sysv/linux/x86_64/init-first.c
29553 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29554 __vdso_clock_gettime and __vdso_getcpu.
29555
29556 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29557 time with __vdso_time.
29558
29559 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29560
29561 * manual/lang.texi (size_t): Note types to which size_t may be
29562 equivalent with the GNU C Library, but do not describe when
29563 differences between them are significant.
29564
29565 2012-03-05 Andreas Jaeger <aj@suse.de>
29566
29567 * sysdeps/i386/fpu/libm-test-ulps: Update.
29568
29569 2012-03-05 Joseph Myers <joseph@codesourcery.com>
29570
29571 [BZ #3976]
29572 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29573 (__ieee754_pow): Save and restore rounding mode and use
29574 round-to-nearest for main computations.
29575 * math/libm-test.inc (pow_test_tonearest): New function.
29576 (pow_test_towardzero): Likewise.
29577 (pow_test_downward): Likewise.
29578 (pow_test_upward): Likewise.
29579 (main): Call the new functions.
29580 * sysdeps/i386/fpu/libm-test-ulps: Update.
29581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29582
29583 [BZ #3976]
29584 * math/libm-test.inc (cosh_test_tonearest): New function.
29585 (cosh_test_towardzero): Likewise.
29586 (cosh_test_downward): Likewise.
29587 (cosh_test_upward): Likewise.
29588 (sinh_test_tonearest): Likewise.
29589 (sinh_test_towardzero): Likewise.
29590 (sinh_test_downward): Likewise.
29591 (sinh_test_upward): Likewise.
29592 (main): Call the new functions.
29593 * sysdeps/i386/fpu/libm-test-ulps: Update.
29594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29595
29596 2012-03-05 Tom de Vries <tom@codesourcery.com>
29597
29598 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29599 default stack guard is set in last bytes.
29600 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29601
29602 2012-03-05 Kees Cook <keescook@chromium.org>
29603
29604 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29605
29606 [BZ #13656]
29607 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29608 possibly allocate from heap instead of stack.
29609 * stdio-common/bug-vfprintf-nargs.c: New file.
29610 * stdio-common/Makefile (tests): Add nargs overflow test.
29611
29612 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
29613
29614 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29615
29616 2012-03-03 Marek Polacek <polacek@redhat.com>
29617
29618 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29619 * math/math_private.h: Likewise.
29620 * stdlib/tst-strtod.c: Likewise.
29621 * sysdeps/i386/i486/bits/atomic.h: Likewise.
29622 * sysdeps/x86_64/bits/atomic.h: Likewise.
29623
29624 2012-03-02 David S. Miller <davem@davemloft.net>
29625
29626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29630 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29631 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29632 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29633 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29634
29635 2012-03-02 Roland McGrath <roland@hack.frob.com>
29636
29637 [BZ #13792]
29638 * manual/examples/README: New file, says the example source files
29639 can be used under GPL>=2.
29640 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29641 line containing just "*/".
29642 * manual/examples/add.c: Add copyright header (GPL>=2).
29643 * manual/examples/argp-ex1.c: Likewise.
29644 * manual/examples/argp-ex2.c: Likewise.
29645 * manual/examples/argp-ex3.c: Likewise.
29646 * manual/examples/argp-ex4.c: Likewise.
29647 * manual/examples/atexit.c: Likewise.
29648 * manual/examples/db.c: Likewise.
29649 * manual/examples/dir.c: Likewise.
29650 * manual/examples/dir2.c: Likewise.
29651 * manual/examples/execinfo.c: Likewise.
29652 * manual/examples/filecli.c: Likewise.
29653 * manual/examples/filesrv.c: Likewise.
29654 * manual/examples/fmtmsgexpl.c: Likewise.
29655 * manual/examples/genpass.c: Likewise.
29656 * manual/examples/inetcli.c: Likewise.
29657 * manual/examples/inetsrv.c: Likewise.
29658 * manual/examples/isockad.c: Likewise.
29659 * manual/examples/longopt.c: Likewise.
29660 * manual/examples/memopen.c: Likewise.
29661 * manual/examples/memstrm.c: Likewise.
29662 * manual/examples/mkfsock.c: Likewise.
29663 * manual/examples/mkisock.c: Likewise.
29664 * manual/examples/mygetpass.c: Likewise.
29665 * manual/examples/pipe.c: Likewise.
29666 * manual/examples/popen.c: Likewise.
29667 * manual/examples/rprintf.c: Likewise.
29668 * manual/examples/search.c: Likewise.
29669 * manual/examples/select.c: Likewise.
29670 * manual/examples/setjmp.c: Likewise.
29671 * manual/examples/sigh1.c: Likewise.
29672 * manual/examples/sigusr.c: Likewise.
29673 * manual/examples/stpcpy.c: Likewise.
29674 * manual/examples/strdupa.c: Likewise.
29675 * manual/examples/strftim.c: Likewise.
29676 * manual/examples/strncat.c: Likewise.
29677 * manual/examples/subopt.c: Likewise.
29678 * manual/examples/swapcontext.c: Likewise.
29679 * manual/examples/termios.c: Likewise.
29680 * manual/examples/testopt.c: Likewise.
29681 * manual/examples/testpass.c: Likewise.
29682 * manual/examples/timeval_subtract.c: Likewise.
29683
29684 [BZ #13792]
29685 * manual/time.texi (Elapsed Time): Move timeval_subtract example
29686 function to ...
29687 * manual/timeval_subtract.c.texi: ... here, new file.
29688
29689 2012-03-02 David S. Miller <davem@davemloft.net>
29690
29691 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29692
29693 2012-03-02 Joseph Myers <joseph@codesourcery.com>
29694
29695 [BZ #3976]
29696 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29697 (__sin): Save and restore rounding mode and use round-to-nearest
29698 for all computations.
29699 (__cos): Save and restore rounding mode and use round-to-nearest
29700 for all computations.
29701 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29702 <fenv.h>.
29703 (tan): Save and restore rounding mode and use round-to-nearest for
29704 all computations.
29705 * math/libm-test.inc (cos_test_tonearest): New function.
29706 (cos_test_towardzero): Likewise.
29707 (cos_test_downward): Likewise.
29708 (cos_test_upward): Likewise.
29709 (sin_test_tonearest): Likewise.
29710 (sin_test_towardzero): Likewise.
29711 (sin_test_downward): Likewise.
29712 (sin_test_upward): Likewise.
29713 (tan_test_tonearest): Likewise.
29714 (tan_test_towardzero): Likewise.
29715 (tan_test_downward): Likewise.
29716 (tan_test_upward): Likewise.
29717 (main): Call the new functions.
29718 * sysdeps/i386/fpu/libm-test-ulps: Update.
29719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29720
29721 [BZ #10135]
29722 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29723 small n, then large n, before computing and testing k+n.
29724 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29725 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29726 Likewise.
29727 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29728 Likewise.
29729 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29730 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29731 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29732 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29733 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29734 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29735 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29736 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29737 * math/libm-test.inc (scalbn_test): Add more tests.
29738 (scalbln_test): Likewise.
29739
29740 * manual/filesys.texi (mode_t): Describe constraints on size and
29741 signedness, not exact equivalence to a particular type.
29742 (ino_t): Likewise.
29743 (ino64_t): Likewise.
29744 (dev_t): Likewise.
29745 (nlink_t): Likewise.
29746 (blkcnt_t): Likewise.
29747 (blkcnt64_t): Likewise.
29748 * manual/llio.texi (off_t): Likewise.
29749
29750 [BZ #3976]
29751 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29752 (__ieee754_exp): Save and restore rounding mode and use
29753 round-to-nearest for all computations.
29754 * math/libm-test.inc (exp_test_tonearest): New function.
29755 (exp_test_towardzero): Likewise.
29756 (exp_test_downward): Likewise.
29757 (exp_test_upward): Likewise.
29758 (main): Call the new functions.
29759 * sysdeps/i386/fpu/libm-test-ulps: Update.
29760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29761
29762 2012-03-01 Chris Demetriou <cgd@google.com>
29763
29764 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29765 have predictable order.
29766
29767 2012-03-01 David S. Miller <davem@davemloft.net>
29768
29769 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29770
29771 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29772 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29773 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29774 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29775
29776 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29777 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29778 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29780 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29781 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29782 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29783 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29784 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29785
29786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29787
29788 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29789 * sysdeps/sparc/fpu/libm-test-ulps: to here.
29790 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29791
29792 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29793 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29794 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29795 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29796 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29797 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29798 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29799 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29800 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29801 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29802 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29803 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29804 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29805 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29806 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29807 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29808 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29809 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29810 * sysdeps/sparc/elf/configure: Regenerated.
29811
29812 2012-03-01 Joseph Myers <joseph@codesourcery.com>
29813
29814 * configure.in (AS, LD): Require binutils 2.20 or later.
29815 * configure: Regenerated.
29816 * manual/install.texi (Tools for Compilation): Give binutils 2.20
29817 as required minimum version.
29818 * INSTALL: Regenerated.
29819
29820 [BZ #2541]
29821 [BZ #4108]
29822 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29823 before squaring exponent.
29824 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29825 bottom long double and 27 bits of top long double before squaring
29826 exponent.
29827 * math/libm-test.inc (erfc_test): Add more tests.
29828 * sysdeps/i386/fpu/libm-test-ulps: Update.
29829 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29831
29832 2012-03-01 Kai Tietz <ktietz@redhat.com>
29833
29834 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29835 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29836 containing bit-fields.
29837 * soft-fp/extended.h (_FP_UNION_E): Likewise.
29838 * soft-fp/single.h (_FP_UNION_S): Likewise.
29839 * soft-fp/double.h (_FP_UNION_D): Likewise.
29840
29841 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29842
29843 [BZ #13786]
29844 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29845 not include ../strcmp.S.
29846 [USE_AS_STRNCASECMP_L]: Likewise.
29847 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29848 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29849 * sysdeps/i386/i686/multiarch/strncase_l-c.c
29850 (__strncasecmp_l_ia32): Define as alias to
29851 __strncasecmp_l_nonascii.
29852
29853 [BZ #5794]
29854 * math/libm-test.inc (expm1_test): Add test for bug 5794.
29855 * sysdeps/i386/fpu/libm-test-ulps: Update.
29856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29857
29858 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29860
29861 2012-02-29 Jeff Law <law@redhat.com>
29862
29863 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29864 out of bounds read.
29865
29866 2012-02-29 Marek Polacek <polacek@redhat.com>
29867
29868 [BZ #13706]
29869 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29870 * elf/Makefile: Add rules to run tst-unused-dep.out.
29871
29872 2012-02-28 David S. Miller <davem@davemloft.net>
29873
29874 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29875 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29876 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29877 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29878 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29879 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29880
29881 2012-02-29 Joseph Myers <joseph@codesourcery.com>
29882
29883 * math/libm-test.inc (llround_test): Move one test from
29884 lround_test. Use TEST_f_L in moved test.
29885 (lround_test): Move misplaced test to llround_test. Add testcase
29886 from bug 2561.
29887
29888 2012-02-28 Ulrich Drepper <drepper@gmail.com>
29889
29890 * sysdeps/x86_64/fpu/e_expf.S: New file.
29891 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29892
29893 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
29894
29895 [BZ #13637]
29896 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29897 of remain_len that may cause incomplete multi-byte character and
29898 false match.
29899 * posix/bug-regex33.c: New file.
29900 * posix/Makefile (tests): Add bug-regex33.
29901
29902 2012-02-28 Joseph Myers <joseph@codesourcery.com>
29903
29904 * manual/macros.texi: New file.
29905 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29906 * manual/libc.texinfo: Include macros.texi.
29907 * manual/creatute.texi: Likewise.
29908 * manual/install.texi: Likewise.
29909 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29910 @glibcadj{} in references to the GNU C Library.
29911 * manual/charset.texi: Likewise.
29912 * manual/conf.texi: Likewise.
29913 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
29914 when not using those macros.
29915 * manual/creature.texi: Likewise.
29916 * manual/crypt.texi: Likewise.
29917 * manual/errno.texi: Likewise.
29918 * manual/filesys.texi: Likewise.
29919 * manual/header.texi: Likewise.
29920 * manual/install.texi: Likewise.
29921 * manual/intro.texi: Likewise.
29922 * manual/io.texi: Likewise.
29923 * manual/job.texi: Likewise.
29924 * manual/lang.texi: Likewise.
29925 * manual/libc.texiinfo: Likewise.
29926 * manual/llio.texi: Likewise.
29927 * manual/locale.texi: Likewise.
29928 * manual/maint.texi: Likewise.
29929 * manual/math.texi: Likewise.
29930 * manual/memory.texi: Likewise.
29931 * manual/message.texi: Likewise.
29932 * manual/nss.texi: Likewise.
29933 * manual/pattern.texi: Likewise.
29934 * manual/process.texi: Likewise.
29935 * manual/resource.texi: Likewise.
29936 * manual/search.texi: Likewise.
29937 * manual/setjmp.texi: Likewise.
29938 * manual/signal.texi: Likewise.
29939 * manual/socket.texi: Likewise.
29940 * manual/startup.texi: Likewise.
29941 * manual/stdio.texi: Likewise.
29942 * manual/string.texi: Likewise.
29943 * manual/sysinfo.texi: Likewise.
29944 * manual/syslog.texi: Likewise.
29945 * manual/terminal.texi: Likewise.
29946 * manual/time.texi: Likewise.
29947 * manual/users.texi: Likewise.
29948 * INSTALL: Regenerated.
29949 * NOTES: Regenerated.
29950 * sysdeps/gnu/errlist.c: Regenerated.
29951
29952 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
29953
29954 * include/dirent.h: Include <dirstream.h> before
29955 <dirent/dirent.h>.
29956
29957 2012-02-28 David S. Miller <davem@davemloft.net>
29958
29959 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
29960 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
29961 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
29962 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
29963
29964 2012-02-27 David S. Miller <davem@davemloft.net>
29965
29966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
29967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
29968 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
29969 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
29970
29971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
29972 frame pointer instead of stack pointer relative arg slot.
29973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29974 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29975 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29976
29977 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
29978
29979 [BZ #3992]
29980 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
29981
29982 2012-02-27 David S. Miller <davem@davemloft.net>
29983
29984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
29985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
29986 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
29987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
29988 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
29989 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
29990 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
29991 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
29992
29993 2012-02-27 Joseph Myers <joseph@codesourcery.com>
29994
29995 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
29996 later. Allow versions 5-9.
29997 * configure: Regenerated.
29998 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
29999 required minimum version and 4.6 as recommended version. Do not
30000 mention bugs in GCC 2.7 and 2.8.
30001 * INSTALL: Regenerated.
30002
30003 2012-02-27 David S. Miller <davem@davemloft.net>
30004
30005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30009 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30010 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30011 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30012 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30013
30014 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30015 manipulate bits before adding and subtracting TWO112[sx].
30016 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30017
30018 2012-02-27 Roland McGrath <roland@hack.frob.com>
30019
30020 [BZ #13775]
30021 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30022 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30023 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30024 being in POSIX, because they are in 1003.1-2008.
30025
30026 * rt/tst-aio.c: Include <fcntl.h>.
30027 * rt/tst-aio7.c: Likewise.
30028 * rt/tst-aio64.c: Likewise.
30029
30030 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30031
30032 2012-02-27 Joseph Myers <joseph@codesourcery.com>
30033
30034 * manual/install.texi (--with-headers): Describe headers as
30035 interface headers, not private headers.
30036 (Specific advice for GNU/Linux systems): Describe use of headers
30037 from "make headers_install", not private headers from older
30038 kernels.
30039 * INSTALL: Regenerated.
30040 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30041 Change to 2.6.19.
30042 * sysdeps/unix/sysv/linux/configure: Regenerated.
30043
30044 * manual/llio.texi (fclean): Remove documentation.
30045
30046 * manual/Makefile (libc-texi-generated): New variable. Include
30047 version.texi.
30048 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30049 $(libc-texi-generated), not duplicated list of files.
30050 (version.texi, stamp-version): New rules.
30051 (realclean): Remove $(libc-texi-generated), not individual files
30052 from that list. Do not remove dir-add.texinfo.
30053 * manual/libc.texinfo: Comment out uses of edition numbers and
30054 references to printed manual. Remove last-updated dates.
30055 (EDITION): Comment out.
30056 (ISBN): Likewise.
30057 (VERSION, UPDATED): Remove.
30058 (version.texi): Include.
30059
30060 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
30061
30062 * sysdeps/posix/spawni.c: Include <signal.h>.
30063 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30064 * sysdeps/pthread/aio_fsync.c: Likewise.
30065
30066 2012-02-26 Ulrich Drepper <drepper@gmail.com>
30067
30068 * conform/Makefile (tests): Run only when not cross-compiling and
30069 when fast-check is not defined.
30070
30071 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30072 * conform/data/limits.h-data: Fixes for POSIX2008.
30073 * conform/run-conformtest.sh: Run all tests.
30074 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30075 headers.
30076 * include/bits/dlfcn.h: Likewise.
30077 * include/langinfo.h: Likewise.
30078 * include/monetary.h: Likewise.
30079 * include/sys/poll.h: Likewise.
30080
30081 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30082 for __USE_GNU.
30083 * posix/spawn.h: Define __need_sigset_t.
30084 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30085 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30086 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
30087 to get sigevent_t only.
30088 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30089 only for __USE_GNU.
30090 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30091 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30092 process_vm_writev only for __USE_GNU.
30093 * termios/termios.h: Declare tcgetsid also for POSIX2008.
30094
30095 * conform/Makefile: For now ignore errors from run-conformtest.
30096 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
30097 POSIX to avoid namespace pollution. Don't prepend headers.
30098 * conform/data/aio.h-data: Fixes for POSIX testing.
30099 * conform/data/fcntl.h-data: Likewise.
30100 * conform/data/glob.h-data: Likewise.
30101 * conform/data/grp.h-data: Likewise.
30102 * conform/data/pthread.h-data: Likewise.
30103 * conform/data/pwd.h-data: Likewise.
30104 * conform/data/signal.h-data: Likewise.
30105 * conform/data/spawn.h-data: Likewise.
30106 * conform/data/stdio.h-data: Likewise.
30107 * conform/data/stdlib.h-data: Likewise.
30108 * conform/data/stropts.h-data: Likewise.
30109 * conform/data/sys/mman.h-data: Likewise.
30110 * conform/data/sys/stat.h-data: Likewise.
30111 * conform/data/sys/types.h-data: Likewise.
30112 * conform/data/sys/wait.h-data: Likewise.
30113 * conform/data/time.h-data: Likewise.
30114 * conform/data/unistd.h-data: Likewise.
30115 * conform/data/utime.h-data: Likewise.
30116
30117 * io/sys/stat.h: fchmod was always in POSIX.
30118 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30119 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30120 * rt/aio.h: Define __need_timespec before including <time.h>.
30121 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30122 struct. Add forward declaration of pthread_attr_t and use it in
30123 sigevent.
30124 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30125 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30126 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30127 always remove CLK_TCK definition.
30128
30129 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
30130
30131 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30132
30133 2012-02-25 Ulrich Drepper <drepper@gmail.com>
30134
30135 * conform/run-conformtest.sh: New file.
30136 * conform/Makefile: Run run-conformtest for tests.
30137 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
30138 support.
30139
30140 * conform/data/uchar.h-data: New file.
30141 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30142 * conform/data/arpa/inet.h-data: Likewise.
30143 * conform/data/assert.h-data: Likewise.
30144 * conform/data/complex.h-data: Likewise.
30145 * conform/data/cpio.h-data: Likewise.
30146 * conform/data/ctype.h-data: Likewise.
30147 * conform/data/dirent.h-data: Likewise.
30148 * conform/data/dlfcn.h-data: Likewise.
30149 * conform/data/errno.h-data: Likewise.
30150 * conform/data/fcntl.h-data: Likewise.
30151 * conform/data/float.h-data: Likewise.
30152 * conform/data/fmtmsg.h-data: Likewise.
30153 * conform/data/fnmatch.h-data: Likewise.
30154 * conform/data/ftw.h-data: Likewise.
30155 * conform/data/glob.h-data: Likewise.
30156 * conform/data/grp.h-data: Likewise.
30157 * conform/data/iconv.h-data: Likewise.
30158 * conform/data/inttypes.h-data: Likewise.
30159 * conform/data/langinfo.h-data: Likewise.
30160 * conform/data/libgen.h-data: Likewise.
30161 * conform/data/limits.h-data: Likewise.
30162 * conform/data/locale.h-data: Likewise.
30163 * conform/data/math.h-data: Likewise.
30164 * conform/data/monetary.h-data: Likewise.
30165 * conform/data/mqueue.h-data: Likewise.
30166 * conform/data/ndbm.h-data: Likewise.
30167 * conform/data/net/if.h-data: Likewise.
30168 * conform/data/netdb.h-data: Likewise.
30169 * conform/data/netinet/in.h-data: Likewise.
30170 * conform/data/nl_types.h-data: Likewise.
30171 * conform/data/poll.h-data: Likewise.
30172 * conform/data/pthread.h-data: Likewise.
30173 * conform/data/pwd.h-data: Likewise.
30174 * conform/data/regex.h-data: Likewise.
30175 * conform/data/sched.h-data: Likewise.
30176 * conform/data/search.h-data: Likewise.
30177 * conform/data/semaphore.h-data: Likewise.
30178 * conform/data/setjmp.h-data: Likewise.
30179 * conform/data/signal.h-data: Likewise.
30180 * conform/data/spawn.h-data: Likewise.
30181 * conform/data/stdarg.h-data: Likewise.
30182 * conform/data/stdio.h-data: Likewise.
30183 * conform/data/stdlib.h-data: Likewise.
30184 * conform/data/string.h-data: Likewise.
30185 * conform/data/strings.h-data: Likewise.
30186 * conform/data/stropts.h-data: Likewise.
30187 * conform/data/sys/ipc.h-data: Likewise.
30188 * conform/data/sys/mman.h-data: Likewise.
30189 * conform/data/sys/msg.h-data: Likewise.
30190 * conform/data/sys/resource.h-data: Likewise.
30191 * conform/data/sys/select.h-data: Likewise.
30192 * conform/data/sys/sem.h-data: Likewise.
30193 * conform/data/sys/shm.h-data: Likewise.
30194 * conform/data/sys/socket.h-data: Likewise.
30195 * conform/data/sys/stat.h-data: Likewise.
30196 * conform/data/sys/statvfs.h-data: Likewise.
30197 * conform/data/sys/time.h-data: Likewise.
30198 * conform/data/sys/timeb.h-data: Likewise.
30199 * conform/data/sys/times.h-data: Likewise.
30200 * conform/data/sys/types.h-data: Likewise.
30201 * conform/data/sys/uio.h-data: Likewise.
30202 * conform/data/sys/un.h-data: Likewise.
30203 * conform/data/sys/utsname.h-data: Likewise.
30204 * conform/data/sys/wait.h-data: Likewise.
30205 * conform/data/syslog.h-data: Likewise.
30206 * conform/data/tar.h-data: Likewise.
30207 * conform/data/termios.h-data: Likewise.
30208 * conform/data/utime.h-data: Likewise.
30209 * conform/data/utmpx.h-data: Likewise.
30210 * conform/data/varargs.h-data: Likewise.
30211 * conform/data/wchar.h-data: Likewise.
30212 * conform/data/wctype.h-data: Likewise.
30213 * conform/data/wordexp.h-data: Likewise.
30214
30215 * include/stropts.h: New file.
30216 * include/uchar.h: New file.
30217 * include/aio.h: Changes to allow conformtest.pl to use the headers.
30218 * include/assert.h: Likewise.
30219 * include/ctype.h: Likewise.
30220 * include/dirent.h: Likewise.
30221 * include/dlfcn.h: Likewise.
30222 * include/fcntl.h: Likewise.
30223 * include/fnmatch.h: Likewise.
30224 * include/glob.h: Likewise.
30225 * include/grp.h: Likewise.
30226 * include/libio.h: Likewise.
30227 * include/locale.h: Likewise.
30228 * include/math.h: Likewise.
30229 * include/net/if.h: Likewise.
30230 * include/netdb.h: Likewise.
30231 * include/netinet/in.h: Likewise.
30232 * include/pthread.h: Likewise.
30233 * include/pwd.h: Likewise.
30234 * include/regex.h: Likewise.
30235 * include/sched.h: Likewise.
30236 * include/search.h: Likewise.
30237 * include/setjmp.h: Likewise.
30238 * include/signal.h: Likewise.
30239 * include/stdio.h: Likewise.
30240 * include/stdlib.h: Likewise.
30241 * include/string.h: Likewise.
30242 * include/sys/cdefs.h: Likewise.
30243 * include/sys/mman.h: Likewise.
30244 * include/sys/msg.h: Likewise.
30245 * include/sys/resource.h: Likewise.
30246 * include/sys/select.h: Likewise.
30247 * include/sys/socket.h: Likewise.
30248 * include/sys/stat.h: Likewise.
30249 * include/sys/statvfs.h: Likewise.
30250 * include/sys/time.h: Likewise.
30251 * include/sys/times.h: Likewise.
30252 * include/sys/uio.h: Likewise.
30253 * include/sys/utsname.h: Likewise.
30254 * include/sys/wait.h: Likewise.
30255 * include/termios.h: Likewise.
30256 * include/time.h: Likewise.
30257 * include/ulimit.h: Likewise.
30258 * include/unistd.h: Likewise.
30259 * include/utime.h: Likewise.
30260 * include/wchar.h: Likewise.
30261 * include/wctype.h: Likewise.
30262 * include/wordexp.h: Likewise.
30263
30264 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30265
30266 * time/time.h: TIME_UTC must be a macro.
30267 Make timespec_get available for ISO C11 only as well.
30268
30269 2012-02-24 Ulrich Drepper <drepper@gmail.com>
30270
30271 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30272 Reported by Peng Haitao <penght@cn.fujitsu.com>.
30273
30274 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30275
30276 * configure.in: Use -o not -a in test for unsupported multi-arch.
30277
30278 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30279
30280 * manual/texinfo.tex: Update to version 2012-01-19.16.
30281
30282 2012-02-24 Joseph Myers <joseph@codesourcery.com>
30283
30284 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30285
30286 2012-02-24 Roland McGrath <roland@hack.frob.com>
30287
30288 [BZ #13738]
30289 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30290 * manual/fdl-1.3.texi: New file.
30291 * manual/fdl-1.1.texi: File removed.
30292
30293 [BZ #13738]
30294 * manual/libc.texinfo (FDL_VERSION): New @set.
30295 Use it for mention of FDL in cover text.
30296 (Documentation License): Use it in @include file name.
30297
30298 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30299 Roland McGrath <roland@hack.frob.com>
30300
30301 [BZ #5461]
30302 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30303 not LONG_LONG_MAX and LONG_LONG_MIN.
30304 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30305 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
30306 name.
30307 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30308
30309 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30310
30311 [BZ #2547]
30312 [BZ #11365]
30313 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30314 manipulate bits before adding and subtracting TWO23[sx].
30315 * math/libm-test.inc (nearbyint_test): Add more tests.
30316
30317 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30318
30319 [BZ #2548]
30320 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30321 bits before adding and subtracting TWO23[sx].
30322 * math/libm-test.inc (rint_test): Add more tests.
30323 (rint_test_tonearest): Likewise.
30324 (rint_test_towardzero): Likewise.
30325 (rint_test_downward): Likewise.
30326 (rint_test_upward: Likewise.
30327
30328 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30329
30330 [BZ #10110]
30331 * include/stdc-predef.h: New file. Extracted from features.h.
30332 * include/features.h: Include stdc-predef.h.
30333 * Makefile (headers): Add stdc-predef.h.
30334 * CONFORMANCE (Compiler limitations): Update.
30335
30336 2012-02-22 Joseph Myers <joseph@codesourcery.com>
30337
30338 * manual/libc.texinfo (VERSION, UPDATED): Revert.
30339
30340 2012-02-21 David S. Miller <davem@davemloft.net>
30341
30342 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30343 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30344
30345 2012-02-20 David S. Miller <davem@davemloft.net>
30346
30347 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30348 using a normal save/restore sequence, rather than allocating a
30349 dummy stack frame just to store a frame pointer and restore.
30350 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30351
30352 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30353
30354 * manual/install.texi: Fix stray word in line-wrapped comment.
30355
30356 2012-02-20 David S. Miller <davem@davemloft.net>
30357
30358 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30359 both binutils and gcc support GOTDATA.
30360
30361 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30362 "rd %pc" in the PIC register setup sequences.
30363
30364 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30365 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30366 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30367 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30368 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30369 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30370 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30371 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30372 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30373 (SYSCALL_ERROR_HANDLER): Likewise.
30374 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30375 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30376 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30377 (SYSCALL_ERROR_HANDLER): Likewise.
30378
30379 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30380 (HAVE_GCC_GOTDATA): New.
30381 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30382 relocation support in both binutils and gcc.
30383 * sysdeps/sparc/elf/configure: Regenerate.
30384
30385 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30386 * sysdeps/sparc/sparc32/elf/configure: Delete.
30387 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30388 * sysdeps/sparc/sparc64/elf/configure: Delete.
30389 * sysdeps/sparc/elf/configure.in: New file.
30390 * sysdeps/sparc/elf/configure: Generate.
30391
30392 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30393 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30394 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30395 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30396 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30397
30398 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30399
30400 * manual/install.texi: Do not mention specific glibc version
30401 numbers.
30402 * manual/libc.texinfo (VERSION, UPDATED): Update.
30403 (@copying): Use @copyright{} and range of years.
30404
30405 2012-02-21 Joseph Myers <joseph@codesourcery.com>
30406
30407 [BZ #13695]
30408 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30409 [crti.S not in sysdirs] (generated): Do not append.
30410 [crti.S not in sysdirs] (omit-deps): Likewise.
30411 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30412 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30413 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30414 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30415 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30416 Likewise.
30417 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30418 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30419 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30420 * csu/defs.awk: Remove file.
30421 * sysdeps/generic/initfini.c: Likewise.
30422 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30423 variable.
30424 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30425 Likewise.
30426
30427 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30428
30429 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30430 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30431 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30432 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30433 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30434 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30435 <bits/epoll.h>.
30436 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30437 (__EPOLL_PACKED): Define to empty if not defined by
30438 <bits/epoll.h>.
30439 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30440 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30441 bits/epoll.h.
30442
30443 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30444
30445 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30446 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30447 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30448 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30449 <bits/timerfd.h>.
30450 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30451 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30452 bits/timerfd.h.
30453
30454 2012-02-20 Joseph Myers <joseph@codesourcery.com>
30455
30456 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30457 in C locale.
30458 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30459 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30460 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30462
30463 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
30464
30465 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30466 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30467
30468 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
30469
30470 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30471 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30472 defined.
30473 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30474 Likewise.
30475 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30476 entry for 2.16.
30477
30478 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
30479
30480 * math/w_acos.c: Use non-signaling floating-point comparisons.
30481 * math/w_acosf.c: Likewise.
30482 * math/w_acosh.c: Likewise.
30483 * math/w_acoshf.c: Likewise.
30484 * math/w_acoshl.c: Likewise.
30485 * math/w_acosl.c: Likewise.
30486 * math/w_asin.c: Likewise.
30487 * math/w_asinf.c: Likewise.
30488 * math/w_asinl.c: Likewise.
30489 * math/w_atanh.c: Likewise.
30490 * math/w_atanhf.c: Likewise.
30491 * math/w_atanhl.c: Likewise.
30492 * math/w_exp2.c: Likewise.
30493 * math/w_exp2f.c: Likewise.
30494 * math/w_exp2l.c: Likewise.
30495 * math/w_j0.c: Likewise.
30496 * math/w_j0f.c: Likewise.
30497 * math/w_j0l.c: Likewise.
30498 * math/w_j1.c: Likewise.
30499 * math/w_j1f.c: Likewise.
30500 * math/w_j1l.c: Likewise.
30501 * math/w_jn.c: Likewise.
30502 * math/w_jnf.c: Likewise.
30503 * math/w_log.c: Likewise.
30504 * math/w_log10.c: Likewise.
30505 * math/w_log10f.c: Likewise.
30506 * math/w_log10l.c: Likewise.
30507 * math/w_log2.c: Likewise.
30508 * math/w_log2f.c: Likewise.
30509 * math/w_log2l.c: Likewise.
30510 * math/w_logf.c: Likewise.
30511 * math/w_logl.c: Likewise.
30512 * math/w_sqrt.c: Likewise.
30513 * math/w_sqrtf.c: Likewise.
30514 * math/w_sqrtl.c: Likewise.
30515 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30516 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30517 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30518 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30519 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30520
30521 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30522
30523 [BZ #9739]
30524 * manual/string.texi (strnlen): Use correct parameter name in
30525 equivalent expression.
30526
30527 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30528
30529 [BZ #11174]
30530 * manual/users.texi (seteuid): Consistently use neweuid for
30531 argument name.
30532
30533 2012-02-19 Joseph Myers <joseph@codesourcery.com>
30534
30535 [BZ #13704]
30536 * manual/nss.texi (Services in the NSS configuration): Correct
30537 list of services in example configuration file.
30538
30539 2012-02-19 Nick Bowler <nbowler@draconx.ca>
30540
30541 [BZ #11322]
30542 * manual/arith.texi: Remove statements about negative zero
30543 behaving identically to zero.
30544
30545 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30546
30547 [BZ #5993]
30548 * manual/install.texi: Do not document upgrading from libc5.
30549
30550 2012-02-18 Joseph Myers <joseph@codesourcery.com>
30551
30552 [BZ #4596]
30553 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30554
30555 2012-02-18 David S. Miller <davem@davemloft.net>
30556
30557 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30558 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30559 %o7 across the call.
30560 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30561 instead.
30562 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30563 SETUP_PIC_REG_LEAF.
30564 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30565 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30566 * sysdeps/sparc/crtn.S: Likewise.
30567
30568 2012-02-17 Ulrich Drepper <drepper@gmail.com>
30569
30570 * aout/Makefile: Remove.
30571
30572 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
30573
30574 [BZ #13058]
30575 * manual/examples/argp-ex1.c (main): Format definition in GNU
30576 style.
30577 * manual/examples/argp-ex2.c (main): Likewise.
30578 * manual/examples/argp-ex3.c (main): Likewise.
30579 * manual/examples/argp-ex4.c (main): Likewise.
30580 * manual/examples/longopt.c (main): Use new-style prototype
30581 definition.
30582 * manual/examples/strncat.c (main): Specify return type and use
30583 (void) for arguments.
30584 * manual/examples/subopt.c (main): Use char **argv argument.
30585
30586 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30587
30588 [BZ #5077]
30589 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30590 rounding modes.
30591
30592 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
30593
30594 [BZ #6907]
30595 * manual/string.texi (strchr): Change when strchrnul is
30596 recommended.
30597
30598 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
30599
30600 [BZ #174]
30601 * manual/locale.texi (setlocale): Document LOCPATH.
30602
30603 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30604
30605 [BZ #10210]
30606 * manual/process.texi (execle): Move @dots{} before last argument.
30607
30608 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
30609
30610 [BZ #12047]
30611 * manual/charset.texi (Generic Charset Conversion): Fix typo
30612 (LC_TYPE -> LC_CTYPE).
30613
30614 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
30615
30616 [BZ #5805]
30617 * manual/arith.texi (scalbn): Use @var{} on parameter names.
30618 (scalbnf): Likewise.
30619 (scalbnl): Likewise.
30620 (scalbln): Likewise.
30621 (scalblnf): Likewise.
30622 (scalblnl): Likewise.
30623 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30624 (vwarnx): Likewise.
30625 (verr): Likewise.
30626 (verrx): Likewise.
30627 * manual/filesys.texi (telldir): Use braces around return type.
30628 * manual/llio.texi (mmap): Add space after comma.
30629 (mmap64): Likewise.
30630 * manual/math.texi (jn): Use @var{} on parameter names.
30631 (jnf): Likewise.
30632 (jnl): Likewise.
30633 (yn): Likewise.
30634 (ynf): Likewise.
30635 (ynl): Likewise.
30636 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30637 line.
30638 * manual/resource.texi (ulimit): Use @dots{} instead of literal
30639 "...".
30640 (sched_get_priority_min): Remove semicolon on @deftypefun line.
30641 (sched_get_priority_max): Likewise.
30642 * manual/signal.texi (sigvec): Add space after comma.
30643 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30644 names.
30645 (if_indextoname): Likewise.
30646 (if_freenameindex): Likewise.
30647 (sendto): Use ',' instead of '.' in prototype.
30648 * manual/startup.texi (syscall): Use @dots{} instead of literal
30649 "...".
30650 * manual/stdio.texi (__fpending): Separate initial words of
30651 paragraph from @deftypefun line.
30652 * manual/syslog.texi (syslog): Use @dots{} instead of literal
30653 "...".
30654 (vsyslog): Use @var{} on parameter names.
30655 * manual/terminal.texi (stty): Use @var{} on parameter names.
30656 * manual/users.texi (getutmp): Use @var{} on parameter names.
30657 (getutmpx): Likewise.
30658
30659 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30660
30661 [BZ #6884]
30662 * manual/stdio.texi (fopen): Fix typos in description of
30663 ",ccs=STRING".
30664
30665 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
30666
30667 [BZ #4026]
30668 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30669 get clock_id definition.
30670
30671 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
30672
30673 [BZ #4822]
30674 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30675 (madvise): Cast every argument to void on its own.
30676
30677 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30678
30679 [BZ #9902]
30680 * manual/startup.texi (Exit Status): Fix typo.
30681
30682 2012-02-17 Joseph Myers <joseph@codesourcery.com>
30683
30684 [BZ #10140]
30685 * manual/examples/argp-ex1.c: Include <stdlib.h>.
30686 * manual/examples/argp-ex2.c: Likewise.
30687 * manual/examples/argp-ex3.c: Likewise.
30688
30689 2012-02-16 Richard Henderson <rth@redhat.com>
30690
30691 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30692 * sysdeps/s390/s390-32/initfini.c: Remove.
30693 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30694 * sysdeps/s390/s390-64/initfini.c: Remove.
30695
30696 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30697
30698 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30699 compiler output for sysdeps/generic/initfini.c.
30700 * sysdeps/sh/elf/initfini.c: Remove file.
30701
30702 2012-02-16 David S. Miller <davem@davemloft.net>
30703
30704 [BZ #11494]
30705 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30706
30707 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30708 * sysdeps/sparc/crti.S: New file.
30709 * sysdeps/sparc/crtn.S: New file.
30710 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30711 * sysdeps/sparc/sparc64/Makefile: Likewise.
30712
30713 2012-02-15 Mike Frysinger <vapier@gentoo.org>
30714
30715 [BZ #3335]
30716 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30717
30718 2012-02-15 Roland McGrath <roland@hack.frob.com>
30719
30720 [BZ #4822]
30721 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30722
30723 * mach/devstream.c (cookie_io_functions_t): Macro removed.
30724 (write, read, close): Likewise.
30725 Patch by Aurelien Jarno <aurelien@aurel32.net>.
30726
30727 2012-02-15 Joseph Myers <joseph@codesourcery.com>
30728
30729 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30730 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30731 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30732 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30733 <bits/signalfd.h>.
30734 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30735 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30736 bits/signalfd.h.
30737
30738 2012-02-14 Marek Polacek <polacek@redhat.com>
30739
30740 * sysdeps/x86_64/crti.S: New file.
30741 * sysdeps/x86_64/crtn.S: New file.
30742 * sysdeps/x86_64/elf/initfini.c: Remove file.
30743
30744 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30745
30746 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30747 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30748 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30749 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30750 <bits/inotify.h>.
30751 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30752 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30753 bits/inotify.h.
30754
30755 2012-02-13 Joseph Myers <joseph@codesourcery.com>
30756
30757 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30758 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30759 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30760 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30761 <bits/eventfd.h>.
30762 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30763 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30764 bits/eventfd.h.
30765
30766 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
30767
30768 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30769 __feraiseexcept instead of feraiseexcept.
30770
30771 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30772 nanosleep invocations.
30773 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30774 strings, and add error checking for a nanosleep invocations.
30775
30776 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
30777
30778 Replace FSF snail mail address with URLs, as per GNU coding standards.
30779 Most of the snail mail addresses were wrong anyway, and omitting
30780 them makes the source code easier to maintain. Almost all of the
30781 changes are to license notices and to locale LC_IDENTIFICATION
30782 addresses, except for this one:
30783 * manual/libc.texinfo: In "Published by", give the FSF's URL,
30784 not its snail mail address.
30785
30786 2012-02-09 Richard Henderson <rth@twiddle.net>
30787
30788 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30789 of kernel-features.h.
30790
30791 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30792
30793 2012-02-08 Marek Polacek <polacek@redhat.com>
30794
30795 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30796 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30797 * sysdeps/gnu/_G_config.h: Likewise.
30798 * sysdeps/generic/_G_config.h: Likewise.
30799
30800 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
30801
30802 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30803 tests.
30804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30805
30806 * sysdeps/powerpc/powerpc32/crti.S: New file.
30807 * sysdeps/powerpc/powerpc32/crtn.S: New file.
30808 * sysdeps/powerpc/powerpc64/crti.S: New file.
30809 * sysdeps/powerpc/powerpc64/crtn.S: New file.
30810
30811 * Makeconfig (have-initfini): Don't set.
30812 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30813 * configure.in (nopic_initfini): Don't substitute.
30814 * config.h.in (HAVE_INITFINI): Don't #undef.
30815 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30816 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30817
30818 2012-02-08 Joseph Myers <joseph@codesourcery.com>
30819
30820 Support crti.S and crtn.S provided directly by architectures.
30821 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30822 [crti.S in sysdirs] (omit-deps): Likewise.
30823 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30824 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30825 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30826 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30827 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30828 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30829 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30830 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30831 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30832 compiler output for sysdeps/generic/initfini.c.
30833 * sysdeps/i386/elf/Makefile: Remove file.
30834 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30835
30836 2012-02-07 Marek Polacek <polacek@redhat.com>
30837
30838 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30839 * sysdeps/gnu/_G_config.h: Likewise.
30840 * sysdeps/mach/hurd/_G_config.h: Likewise.
30841
30842 2012-02-07 Marek Polacek <polacek@redhat.com>
30843
30844 * math/Makefile (tests): Add tst-CMPLX2.
30845 * math/tst-CMPLX2.c: New file.
30846
30847 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
30848
30849 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30850
30851 * math/libm-test.inc (jn_test): Add missing L suffix.
30852
30853 2012-02-06 Marek Polacek <polacek@redhat.com>
30854
30855 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30856 * sysdeps/i386/fpu/e_powf.S: Likewise.
30857 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30858 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30859 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30860 * sysdeps/i386/fpu/e_pow.S: Likewise.
30861 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30862 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30863 * sysdeps/i386/fpu/s_expm1.S: Likewise.
30864 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30865 * sysdeps/i386/fpu/e_log2.S: Likewise.
30866 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30867 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30868 * sysdeps/i386/fpu/e_powl.S: Likewise.
30869 * sysdeps/i386/fpu/s_log1p.S: Likewise.
30870 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30871 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30872 * sysdeps/i386/fpu/e_logl.S: Likewise.
30873 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30874 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30875 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30876 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30877 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30878 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30879 * sysdeps/i386/fpu/e_log.S: Likewise.
30880 * sysdeps/i386/fpu/s_cexp.S: Likewise.
30881 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30882 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30883 * sysdeps/i386/fpu/e_logf.S: Likewise.
30884 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30885 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30886 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30887 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30888 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30889 * sysdeps/i386/fpu/e_log10.S: Likewise.
30890 * sysdeps/i386/fpu/s_frexp.S: Likewise.
30891 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30892 * sysdeps/i386/fpu/s_asinh.S: Likewise.
30893 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30894 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30895 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30896 * sysdeps/i386/asm-syntax.h: Likewise.
30897 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30898 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30899 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30900 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30901 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30902 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30903 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30904 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30905 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30906 * sysdeps/powerpc/sysdep.h: Likewise.
30907 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30908 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30909
30910 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30911
30912 [BZ #411]
30913 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30914
30915 2012-02-06 Joseph Myers <joseph@codesourcery.com>
30916
30917 * sysdeps/i386/sysdep.h: Include <features.h>.
30918 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30919 version.
30920
30921 2012-02-05 Joseph Myers <joseph@codesourcery.com>
30922
30923 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30924 Define.
30925 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30926 LOAD_PIC_REG_STR.
30927
30928 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30929
30930 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30931 (SETUP_PIC_REG): Use GET_PC_THUNK.
30932 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30933 macro.
30934
30935 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30936
30937 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30938 for non-PIC compilation.
30939 (SETUP_PIC_REG): Add .p2align directive.
30940 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
30941 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
30942 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30943 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30944 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
30945 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30946 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
30947 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30948 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30949 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30950 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30951 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30952 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30953 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30954 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30955 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
30956 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
30957 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30958 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30959 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30960 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30961 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
30962 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30963 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30964 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
30965 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
30966 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30967 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
30968 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30969 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30970 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30971 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30972 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30973 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30974 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30975 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30976 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30977 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30978 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30979 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30980 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30981
30982 2012-02-03 Joseph Myers <joseph@codesourcery.com>
30983
30984 * math/tst-CMPLX.c: Include <stdio.h>.
30985
30986 2012-01-31 Joseph Myers <joseph@codesourcery.com>
30987
30988 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
30989 float.
30990 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
30991 * sysdeps/sparc/bits/mathdef.h: Likewise.
30992
30993 2012-01-31 Marek Polacek <polacek@redhat.com>
30994
30995 * libio/libio.h: Don't define _PARAMS.
30996 * locale/programs/config.h: Don't define PARAMS.
30997 * stdlib/strtol_l.c: Likewise.
30998 (__strtol_l): Remove PARAMS from the prototype.
30999
31000 2012-01-31 Ulrich Drepper <drepper@gmail.com>
31001
31002 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
31003 names. Just use the correct names. Remove unnecessary wrapper
31004 functions.
31005 * malloc/arena.c: Likewise.
31006 * malloc/hooks.c: Likewise.
31007
31008 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31009 ARENA_TEST says not to. Simplify test for creation of a new arena.
31010 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31011
31012 2012-01-30 Ulrich Drepper <drepper@gmail.com>
31013
31014 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31015 into tail calls.
31016 (update_get_addr): New function.
31017 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31018 GET_ADDR_MODULE parameter.
31019
31020 2012-01-30 Joseph Myers <joseph@codesourcery.com>
31021
31022 * crypt/cert.c: Remove __STDC__ conditionals.
31023 * crypt/crypt-entry.c: Likewise.
31024 * crypt/crypt_util.c: Likewise.
31025 * libio/filedoalloc.c: Likewise.
31026 * libio/fileops.c: Likewise.
31027 * libio/genops.c: Likewise.
31028 * libio/iofclose.c: Likewise.
31029 * libio/iofdopen.c: Likewise.
31030 * libio/iofopen.c: Likewise.
31031 * libio/iofopen64.c: Likewise.
31032 * libio/iogetdelim.c: Likewise.
31033 * libio/iopopen.c: Likewise.
31034 * libio/obprintf.c: Likewise.
31035 * libio/oldfileops.c: Likewise.
31036 * libio/oldiofclose.c: Likewise.
31037 * libio/oldiofdopen.c: Likewise.
31038 * libio/oldiofopen.c: Likewise.
31039 * libio/oldiopopen.c: Likewise.
31040 * libio/wfiledoalloc.c: Likewise.
31041 * libio/wgenops.c: Likewise.
31042 * locale/programs/xmalloc.c: Likewise.
31043 * misc/syslog.c: Likewise.
31044 * stdio-common/xbug.c: Likewise.
31045 * string/memchr.c: Likewise.
31046 * string/memcmp.c: Likewise.
31047 * string/memrchr.c: Likewise.
31048 * string/rawmemchr.c: Likewise.
31049 * sysdeps/posix/getcwd.c: Likewise.
31050 * time/strftime_l.c: Likewise.
31051
31052 2012-01-30 Joseph Myers <joseph@codesourcery.com>
31053
31054 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
31055 * config.make.in (config-cflags-sse2avx): Define.
31056 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31057 Fix typo.
31058
31059 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
31060
31061 * scripts/config.guess: Update from upstream config git repository.
31062 * scripts/config.sub: Likewise.
31063
31064 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
31065
31066 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31067 (EM_NUM): Update.
31068 (R_TILEPRO_*, R_TILEGX_*): New macros.
31069
31070 * scripts/firstversions.awk: Fix bug in version range handling.
31071
31072 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31073
31074 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31075
31076 * include/sys/epoll.h: New file.
31077 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31078 libc_hidden_def.
31079
31080 2012-01-28 Ulrich Drepper <drepper@gmail.com>
31081
31082 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31083 Avoid unnecessary __WORDSIZE == 64 test.
31084 (fmaxf): Use VEX format if possible.
31085 (fmax): Likewise.
31086 (fminf): Likewise.
31087 (fmin): Likewise.
31088
31089 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31090 * math/math_private.h: Remove libc_fegetround* and
31091 libc_fesetround*.
31092 * sysdeps/i386/configure.in: Check for -msse2avx.
31093 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31094 also if SSE2AVX is defined.
31095 Remove libc_fegetround* and libc_fesetround*.
31096 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31097 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
31098 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31099 of HAS_YMM_USABLE.
31100 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31101 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31102 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31103 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31104 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31105
31106 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31107
31108 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31109
31110 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31111 size is not set.
31112 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31113
31114 2012-01-27 Ulrich Drepper <drepper@gmail.com>
31115
31116 [BZ #13618]
31117 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31118 relocation.
31119 * Makeconfig (libm): Define.
31120 * elf/Makefile: Add rules to build and run tst-relsort1.
31121 * elf/tst-relsort1.c: New file.
31122 * elf/tst-relsort1mod1.c: New file.
31123 * elf/tst-relsort1mod2.c: New file.
31124
31125 2012-01-27 Joseph Myers <joseph@codesourcery.com>
31126
31127 * math/s_ldexp.c: Remove __STDC__ conditionals.
31128 * math/s_ldexpf.c: Likewise.
31129 * math/s_ldexpl.c: Likewise.
31130 * math/s_nextafter.c: Likewise.
31131 * math/s_nexttowardf.c: Likewise.
31132 * math/s_significand.c: Likewise.
31133 * math/s_significandf.c: Likewise.
31134 * math/s_significandl.c: Likewise.
31135 * math/w_jnl.c: Likewise.
31136 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31137 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31138 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31139 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31140 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31141 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31142 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31143 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31144 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31145 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31146 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31147 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31148 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31149 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31150 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31151 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31152 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31153 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31154 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31155 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31156 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31157 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31158 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31159 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31160 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31161 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31162 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31163 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31164 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31165 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31166 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31167 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31168 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31169 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31170 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31171 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31172 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31173 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31174 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31175 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31176 * sysdeps/ieee754/k_standard.c: Likewise.
31177 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31178 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31179 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31180 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31181 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31182 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31183 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31184 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31185 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31186 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31187 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31188 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31189 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31190 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31191 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31192 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31193 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31194 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31195 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31196 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31197 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31198 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31199 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31200 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31201 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31202 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31203 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31204 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31205 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31206 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31207 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31208 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31209 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31210 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31211 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31212 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31213 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31214 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31215 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31216 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31217 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31218 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31219 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31220 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31221 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31222 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31223 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31224 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31225 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31226 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31227 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31228 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31229 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31230 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31231 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31232 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31233 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31234 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31235 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31236 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31237 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31238 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31239 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31240 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31241 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31242 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31243 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31244 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31245 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31246 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31247 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31248 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31249 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31250 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31251 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31252 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31253 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31254 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31255 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31256 * sysdeps/ieee754/s_matherr.c: Likewise.
31257 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31258 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31259 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31260 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31261
31262 2012-01-26 Joseph Myers <joseph@codesourcery.com>
31263
31264 * crypt/md5.h: Remove __STDC__ conditionals.
31265 * libio/libioP.h: Likewise.
31266 * locale/programs/config.h: Likewise.
31267 * sysdeps/generic/sysdep.h: Likewise.
31268 * sysdeps/i386/asm-syntax.h: Likewise.
31269 * sysdeps/s390/asm-syntax.h: Likewise.
31270 * sysdeps/unix/sysdep.h: Likewise.
31271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31273
31274 2012-01-26 Joseph Myers <joseph@codesourcery.com>
31275
31276 * libio/libio.h: Remove __STDC__ conditionals.
31277 * malloc/obstack.h: Likewise.
31278 * math/complex.h: Likewise.
31279 * math/math.h: Likewise.
31280 * sysdeps/generic/_G_config.h: Likewise.
31281 * sysdeps/gnu/_G_config.h: Likewise.
31282 * sysdeps/mach/hurd/_G_config.h: Likewise.
31283 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31284 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31285 * sysdeps/sparc/bits/mathdef.h: Likewise.
31286
31287 2012-01-26 Ulrich Drepper <drepper@gmail.com>
31288
31289 [BZ #13583]
31290 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
31291 Clean up HAS_* macros.
31292 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
31293 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31294 possible.
31295 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31296 HAS_AVX.
31297 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31298 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31299 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31300 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31301 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31302
31303 2012-01-25 Joseph Myers <joseph@codesourcery.com>
31304
31305 * elf/tst-unique3.cc (gets): Remove declaration.
31306 * elf/tst-unique3lib.cc (gets): Likewise.
31307 * elf/tst-unique3lib2.cc (gets): Likewise.
31308 * elf/tst-unique4.cc (gets): Likewise.
31309
31310 2012-01-24 Ulrich Drepper <drepper@gmail.com>
31311
31312 * include/stdio.h: Add C++ protection. Add gets declarations and
31313 definitions.
31314 * debug/tst-chk1.c: Don't declare gets here.
31315 * stdio-common/tst-gets.c: Likewise.
31316
31317 2012-01-24 Joseph Myers <joseph@codesourcery.com>
31318
31319 * posix/glob: Remove directory.
31320
31321 2012-01-24 Joseph Myers <joseph@codesourcery.com>
31322
31323 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31324
31325 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
31326
31327 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31328 of the non-standard EPFNOSUPPORT.
31329
31330 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
31331
31332 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31333 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31334 ANYWHERE set to 1 only on KERN_NO_SPACE error.
31335
31336 2012-01-21 Ulrich Drepper <drepper@gmail.com>
31337
31338 * wcsmbs/uchar.h: Test __STDC_VERSION__.
31339
31340 2012-01-20 Ulrich Drepper <drepper@gmail.com>
31341
31342 * nscd/aicache.c (addhstaiX): Do not cache negative results of
31343 transient errors.
31344 * nscd/grpcache.c (cache_addgr): Likewise.
31345 * nscd/hstcache.c (cache_addhst): Likewise.
31346 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31347 * nscd/pwdcache.c (cache_addpw): Likewise.
31348 * nscd/servicescache.c (cache_addserv): Likewise.
31349
31350 2012-01-16 Ulrich Drepper <drepper@gmail.com>
31351
31352 * malloc/malloc.c: Various cleanups.
31353 * malloc/hooks.c: Likewise.
31354
31355 * stdlib/Makefile (tests): Add bug-fmtmsg1.
31356 * stdlib/bug-fmtmsg1.c: New file.
31357
31358 * stdlib/fmtmsg.c (init): Add missing unlock.
31359 Patch by Peng Haitao <penght@cn.fujitsu.com>.
31360
31361 2012-01-12 Marek Polacek <polacek@redhat.com>
31362
31363 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31364 and _GNU_SOURCE.
31365
31366 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31367
31368 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31369 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31370 macro to ensure uniqueness of label name.
31371 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31372 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31373
31374 2012-01-11 Ulrich Drepper <drepper@gmail.com>
31375
31376 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31377
31378 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31379 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31380 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31381 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31382
31383 2012-01-10 Ulrich Drepper <drepper@gmail.com>
31384
31385 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31386
31387 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31388 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31389 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31390
31391 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31392
31393 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
31394 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31395 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31396 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
31397
31398 * math/bits/math-finite.h: Add ldexp support.
31399
31400 2012-01-10 Marek Polacek <polacek@redhat.com>
31401
31402 * locale/programs/localedef.h (show_archive_content): Add noreturn
31403 attribute.
31404
31405 2012-01-09 Ulrich Drepper <drepper@gmail.com>
31406
31407 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31408
31409 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31410
31411 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31412
31413 * io/Makefile (headers): Add bits/poll2.h.
31414
31415 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
31416
31417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31418 typo #include statement.
31419
31420 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31421
31422 * include/sys/cdefs.h: Define __attribute_alloc_size.
31423 * catgets/gencat.c: Add alloc_size attribute and apply consistently
31424 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31425 * elf/pldd.c: Likewise.
31426 * iconv/iconv_charmap.c: Likewise.
31427 * iconv/iconvconfig.c: Likewise.
31428 * iconv/strtab.c: Likewise.
31429 * locale/programs/locale.c: Likewise.
31430 * locale/programs/localedef.h: Likewise.
31431 * locale/programs/simple-hash.c: Likewise.
31432 * nscd/nscd.h: Likewise.
31433 * nss/makedb.c: Likewise.
31434 * sysdeps/generic/ldconfig.h: Likewise.
31435 * locale/programs/localedef.c: Remove xmalloc prototype.
31436 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31437
31438 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31439
31440 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31441 appropriate.
31442
31443 2012-01-08 Ulrich Drepper <drepper@gmail.com>
31444
31445 * math/Makefile (tests): Add tst-CMPLX.
31446 * math/tst-CMPLX.c: New file.
31447
31448 * math/complex.h (CMPLXL): Fix typo.
31449
31450 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31451 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31452 GLIBC_2.16.
31453 * debug/tst-chk1.c: Add poll and ppoll tests.
31454 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31455 * include/sys/poll.h: Add hidden proto for ppoll.
31456 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31457 * sysdeps/mach/hurd/ppoll.c: Likewise.
31458 * io/ppoll.c: Likewise.
31459 * debug/poll_chk.c: New file.
31460 * debug/ppoll_chk.c: New file.
31461 * include/bits/poll2.h: New file.
31462 * io/bits/poll2.h: New file.
31463
31464 [BZ #1350]
31465 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31466
31467 * configure.in: static is always set to yes. Remove.
31468 * config.make.in: Don't set build-static.
31469 * Makeconfig: Remove use of build-static.
31470 * dlfcn/Makefile: Likewise.
31471 * elf/Makefile: Likewise.
31472 * math/Makefile: Likewise.
31473 * misc/Makefile: Likewise.
31474 * nptl/Makefile: Likewise.
31475 * sysdeps/mach/hurd/Makefile: Likewise.
31476
31477 * configure.in: PWD_P is not used anymore.
31478 * config.make.in: Remove PWD_P entry.
31479
31480 * configure.in: Remove last remnants of RANLIB.
31481 No need to check for signed size_t anymore.
31482 Don't set libc_commonpagesize and libc_relro_required here for Alpha
31483 and IA-64.
31484 Remove __builtin_expect test because we require at least gcc 3.4.
31485 * aclocal.m4: Likewise.
31486
31487 * wcsmbs/mbrtoc16.c: Implement using towc function.
31488 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31489 * wcsmbs/wcsmbsload.c: Likewise.
31490 * iconv/gconv_simple.c: Likewise.
31491 * iconv/gconv_int.h: Likewise.
31492 * iconv/gconv_builtin.h: Likewise.
31493 * iconv/iconv_prog.c: Remove CHAR16 handling.
31494
31495 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31496
31497 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31498
31499 * configure.in: Remove --with-elf and --enable-bounded options.
31500 Dont set base_machine for ia64. More non-ELF conditions removed.
31501 Remove testing and setting of leading underscore information.
31502 * config.make.in (build-bounded): Set to no.
31503 * config.h.in: Remove NO_UNDERSCORES entry.
31504 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
31505 them.
31506 * csu/start.c: Remove !NO_UNDERSCORE code.
31507 * locale/localeinfo.h: Likewise.
31508 * sysdeps/generic/machine-gmon.h: Likewise.
31509 * sysdeps/generic/sysdep.h: Likewise.
31510 * sysdeps/i386/sysdep.h: Likewise.
31511 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31512 * sysdeps/mach/sysdep.h: Likewise.
31513 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31514 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31515 * sysdeps/sh/sysdep.h: Likewise.
31516 * sysdeps/sparc/sparc32/alloca.S: Likewise.
31517 * sysdeps/unix/i386/sysdep.S: Likewise.
31518 * sysdeps/unix/sparc/start.c: Likewise.
31519 * sysdeps/unix/sparc/sysdep.S: Likewise.
31520 * sysdeps/unix/sparc/sysdep.h: Likewise.
31521 * sysdeps/unix/start.c: Likewise.
31522 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31523 * sysdeps/x86_64/sysdep.h: Likewise.
31524
31525 2012-01-07 Ulrich Drepper <drepper@gmail.com>
31526
31527 [BZ #13553]
31528 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31529 for non-gcc.
31530 * argp/argp-fmtstream.h: Use const instead __const.
31531 * argp/argp.h: Likewise.
31532 * assert/assert.h: Likewise.
31533 * bits/fenv.h: Likewise.
31534 * bits/sched.h: Likewise.
31535 * bits/sigset.h: Likewise.
31536 * bits/sigthread.h: Likewise.
31537 * catgets/nl_types.h: Likewise.
31538 * conform/data/pthread.h-data: Likewise.
31539 * crypt/crypt-private.h: Likewise.
31540 * crypt/crypt.h: Likewise.
31541 * crypt/crypt_util.c: Likewise.
31542 * ctype/ctype.h: Likewise.
31543 * debug/execinfo.h: Likewise.
31544 * debug/mbsnrtowcs_chk.c: Likewise.
31545 * debug/mbsrtowcs_chk.c: Likewise.
31546 * debug/wcsnrtombs_chk.c: Likewise.
31547 * debug/wcsrtombs_chk.c: Likewise.
31548 * debug/wcstombs_chk.c: Likewise.
31549 * dirent/dirent.h: Likewise.
31550 * dlfcn/dlfcn.h: Likewise.
31551 * elf/neededtest4.c: Likewise.
31552 * grp/grp.h: Likewise.
31553 * gshadow/gshadow.h: Likewise.
31554 * iconv/gconv.h: Likewise.
31555 * iconv/gconv_int.h: Likewise.
31556 * iconv/gconv_simple.c: Likewise.
31557 * iconv/iconv.h: Likewise.
31558 * iconv/loop.c: Likewise.
31559 * iconv/skeleton.c: Likewise.
31560 * include/aio.h: Likewise.
31561 * include/aliases.h: Likewise.
31562 * include/argz.h: Likewise.
31563 * include/arpa/inet.h: Likewise.
31564 * include/assert.h: Likewise.
31565 * include/dirent.h: Likewise.
31566 * include/dlfcn.h: Likewise.
31567 * include/execinfo.h: Likewise.
31568 * include/fcntl.h: Likewise.
31569 * include/fenv.h: Likewise.
31570 * include/glob.h: Likewise.
31571 * include/grp.h: Likewise.
31572 * include/libintl.h: Likewise.
31573 * include/mntent.h: Likewise.
31574 * include/netdb.h: Likewise.
31575 * include/pwd.h: Likewise.
31576 * include/rpc/netdb.h: Likewise.
31577 * include/sched.h: Likewise.
31578 * include/search.h: Likewise.
31579 * include/shadow.h: Likewise.
31580 * include/signal.h: Likewise.
31581 * include/stdio.h: Likewise.
31582 * include/stdlib.h: Likewise.
31583 * include/string.h: Likewise.
31584 * include/sys/socket.h: Likewise.
31585 * include/sys/stat.h: Likewise.
31586 * include/sys/statfs.h: Likewise.
31587 * include/sys/statvfs.h: Likewise.
31588 * include/sys/syslog.h: Likewise.
31589 * include/sys/time.h: Likewise.
31590 * include/sys/uio.h: Likewise.
31591 * include/time.h: Likewise.
31592 * include/unistd.h: Likewise.
31593 * include/utmp.h: Likewise.
31594 * include/wchar.h: Likewise.
31595 * include/wctype.h: Likewise.
31596 * inet/aliases.h: Likewise.
31597 * inet/arpa/inet.h: Likewise.
31598 * inet/netinet/ether.h: Likewise.
31599 * inet/netinet/in.h: Likewise.
31600 * intl/libintl.h: Likewise.
31601 * io/bits/fcntl2.h: Likewise.
31602 * io/fcntl.h: Likewise.
31603 * io/ftw.h: Likewise.
31604 * io/sys/poll.h: Likewise.
31605 * io/sys/stat.h: Likewise.
31606 * io/sys/statfs.h: Likewise.
31607 * io/sys/statvfs.h: Likewise.
31608 * io/utime.h: Likewise.
31609 * libio/bits/stdio.h: Likewise.
31610 * libio/bits/stdio2.h: Likewise.
31611 * libio/libio.h: Likewise.
31612 * libio/libioP.h: Likewise.
31613 * libio/stdio.h: Likewise.
31614 * locale/lc-ctype.c: Likewise.
31615 * locale/locale.h: Likewise.
31616 * login/utmp.h: Likewise.
31617 * malloc/arena.c: Likewise.
31618 * malloc/malloc.c: Likewise.
31619 * malloc/malloc.h: Likewise.
31620 * malloc/mcheck.c: Likewise.
31621 * malloc/mtrace.c: Likewise.
31622 * math/bits/mathcalls.h: Likewise.
31623 * math/fenv.h: Likewise.
31624 * math/math_private.h: Likewise.
31625 * misc/bits/error.h: Likewise.
31626 * misc/bits/syslog.h: Likewise.
31627 * misc/err.h: Likewise.
31628 * misc/error.h: Likewise.
31629 * misc/fstab.h: Likewise.
31630 * misc/mntent.h: Likewise.
31631 * misc/regexp.h: Likewise.
31632 * misc/search.h: Likewise.
31633 * misc/sgtty.h: Likewise.
31634 * misc/sys/mman.h: Likewise.
31635 * misc/sys/syslog.h: Likewise.
31636 * misc/sys/uio.h: Likewise.
31637 * misc/sys/xattr.h: Likewise.
31638 * misc/ttyent.h: Likewise.
31639 * nis/rpcsvc/ypclnt.h: Likewise.
31640 * nss/nss.h: Likewise.
31641 * posix/bits/unistd.h: Likewise.
31642 * posix/fnmatch.h: Likewise.
31643 * posix/glob.h: Likewise.
31644 * posix/sched.h: Likewise.
31645 * posix/spawn.h: Likewise.
31646 * posix/sys/wait.h: Likewise.
31647 * posix/unistd.h: Likewise.
31648 * posix/wordexp.h: Likewise.
31649 * pwd/pwd.h: Likewise.
31650 * resolv/netdb.h: Likewise.
31651 * resource/sys/resource.h: Likewise.
31652 * rt/aio.h: Likewise.
31653 * rt/bits/mqueue2.h: Likewise.
31654 * rt/mqueue.h: Likewise.
31655 * shadow/shadow.h: Likewise.
31656 * signal/signal.h: Likewise.
31657 * socket/send.c: Likewise.
31658 * socket/sendto.c: Likewise.
31659 * socket/sys/socket.h: Likewise.
31660 * stdio-common/printf.h: Likewise.
31661 * stdlib/bits/stdlib.h: Likewise.
31662 * stdlib/fmtmsg.h: Likewise.
31663 * stdlib/monetary.h: Likewise.
31664 * stdlib/stdlib.h: Likewise.
31665 * stdlib/ucontext.h: Likewise.
31666 * streams/stropts.h: Likewise.
31667 * string/argz.h: Likewise.
31668 * string/bits/string2.h: Likewise.
31669 * string/string.h: Likewise.
31670 * string/strings.h: Likewise.
31671 * sunrpc/rpc/auth.h: Likewise.
31672 * sunrpc/rpc/auth_des.h: Likewise.
31673 * sunrpc/rpc/clnt.h: Likewise.
31674 * sunrpc/rpc/netdb.h: Likewise.
31675 * sunrpc/rpc/pmap_clnt.h: Likewise.
31676 * sunrpc/rpc/xdr.h: Likewise.
31677 * sysdeps/generic/inttypes.h: Likewise.
31678 * sysdeps/generic/net/if.h: Likewise.
31679 * sysdeps/generic/sys/swap.h: Likewise.
31680 * sysdeps/gnu/net/if.h: Likewise.
31681 * sysdeps/gnu/utmpx.h: Likewise.
31682 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31683 * sysdeps/i386/i486/bits/string.h: Likewise.
31684 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31685 * sysdeps/s390/bits/string.h: Likewise.
31686 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31687 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31688 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31689 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31690 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31691 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31692 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31693 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31694 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31695 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31696 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31697 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31698 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31699 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31700 * sysdeps/unix/sysv/linux/readv.c: Likewise.
31701 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31702 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31703 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31704 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31705 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31706 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31707 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31708 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31709 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31710 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31711 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31712 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31713 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31714 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31715 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31716 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31717 * sysvipc/sys/ipc.h: Likewise.
31718 * sysvipc/sys/msg.h: Likewise.
31719 * sysvipc/sys/sem.h: Likewise.
31720 * sysvipc/sys/shm.h: Likewise.
31721 * termios/termios.h: Likewise.
31722 * time/sys/time.h: Likewise.
31723 * time/time.h: Likewise.
31724 * wcsmbs/bits/wchar2.h: Likewise.
31725 * wcsmbs/uchar.h: Likewise.
31726 * wcsmbs/wchar.h: Likewise.
31727 * wctype/wctype.h: Likewise.
31728
31729 [BZ #13551]
31730 * Makeconfig: Remove all but ELF support including AIX support.
31731 * Makerules: Likewise.
31732 * config.h.in: Likewise.
31733 * config.make.in: Likewise.
31734 * configure: Likewise.
31735 * configure.in: Likewise.
31736 * csu/Makefile: Likewise.
31737 * csu/version.c: Likewise.
31738 * debug/Makefile: Likewise.
31739 * dlfcn/Makefile: Likewise.
31740 * elf/Makefile: Likewise.
31741 * extra-lib.mk: Likewise.
31742 * iconv/Makefile: Likewise.
31743 * include/libc-symbols.h: Likewise.
31744 * include/shlib-compat.h: Likewise.
31745 * resolv/Makefile: Likewise.
31746 * resolv/res_libc.c: Likewise.
31747 * rt/Makefile: Likewise.
31748 * sysdeps/i386/asm-syntax.h: Likewise.
31749 * sysdeps/i386/sysdep.h: Likewise.
31750 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31751 * sysdeps/mach/sysdep.h: Likewise.
31752 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31753 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31754 * sysdeps/s390/asm-syntax.h: Likewise.
31755 * sysdeps/s390/s390-32/sysdep.h: Likewise.
31756 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31757 * sysdeps/sh/sysdep.h: Likewise.
31758 * sysdeps/unix/sparc/sysdep.h: Likewise.
31759 * sysdeps/wordsize-32/divdi3.c: Likewise.
31760 * sysdeps/x86_64/sysdep.h: Likewise.
31761
31762 * argp/Versions: Remove _argp_unlock_xxx.
31763
31764 [BZ #13559]
31765 * abilist/ld.abilist: Update. Adjust for removal of tls option.
31766 * abilist/libBrokenLocale.abilist: Likewise.
31767 * abilist/libanl.abilist: Likewise.
31768 * abilist/libc.abilist: Likewise.
31769 * abilist/libcrypt.abilist: Likewise.
31770 * abilist/libdl.abilist: Likewise.
31771 * abilist/libm.abilist: Likewise.
31772 * abilist/libnsl.abilist: Likewise.
31773 * abilist/libpthread.abilist: Likewise.
31774 * abilist/libresolv.abilist: Likewise.
31775 * abilist/librt.abilist: Likewise.
31776 * abilist/libthread_db.abilist: Likewise.
31777 * abilist/libutil.abilist: Likewise.
31778 * abilist/libnss_db.abilist: New file.
31779
31780 * scripts/abilist.awk: Add support for indirect functions.
31781
31782 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31783
31784 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31785
31786 * shlib-versions: Remove entries for ports architectures.
31787
31788 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
31789 files in ports.
31790 * elf/stackguard-macros.h: Remove support for IA-64.
31791 * elf/tst-auditmod1.c: Likewise.
31792 * sysdeps/generic/ldsodefs.h: Likewise.
31793
31794 * sysdeps/unix/sysv/linux/configure.in: Ports should define
31795 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31796 configure files.
31797
31798 [BZ #13552]
31799 * configure.in: Remove --enable-omitfp support.
31800 * FAQ.in: Adjust.
31801 * config.make.in: Likewise.
31802 * Makeconfig: Likewise.
31803 * manual/install.texi: Likewise.
31804
31805 In case anyone cares, the IA-64 architecture could move to ports.
31806 * sysdeps/ia64/*: Removed.
31807 * sysdeps/unix/sysv/linux/ia64/*: Removed.
31808 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31809
31810 [BZ #13555]
31811 * configure.in: Remove entries for unsupported architectures.
31812
31813 [BZ #13533]
31814 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31815 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
31816 routines.
31817 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31818 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31819 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
31820 fall back to using wcrtomb.
31821 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31822 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
31823 renaming.
31824 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31825 * wcsmbs/tst-c16c32-1.c: New file.
31826
31827 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31828 local variable.
31829
31830 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31831
31832 * elf/tst-unique3.cc: Add explicit declaration of gets.
31833 * elf/tst-unique3lib.cc: Likewise.
31834 * elf/tst-unique3lib2.cc: Likewise.
31835 * elf/tst-unique4.cc: Likewise.
31836
31837 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31838
31839 2012-01-06 Joseph Myers <joseph@codesourcery.com>
31840
31841 [BZ #13566]
31842 * assert/assert.h (static_assert): Don't define for C++.
31843 * libio/stdio.h (gets): Do declare for C++ <= C++11.
31844 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31845
31846 2012-01-03 Ulrich Drepper <drepper@gmail.com>
31847
31848 * iconv/loop.c (single loop): Fix assertion in storing of
31849 remaining bytes.
31850
31851 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31852
31853 2012-01-01 Ulrich Drepper <drepper@gmail.com>
31854
31855 * posix/getconf.c: Update copyright year.
31856 * nss/getent.c: Likewise.
31857 * nss/makedb.c: Likewise.
31858 * iconv/iconvconfig.c: Likewise.
31859 * iconv/iconv_prog.c: Likewise.
31860 * elf/ldconfig.c: Likewise.
31861 * elf/pldd.c: Likewise.
31862 * elf/sotruss.ksh: Likewise.
31863 * catgets/gencat.c: Likewise.
31864 * csu/version.c: Likewise.
31865 * elf/ldd.bash.in: Likewise.
31866 * elf/sprof.c (print_version): Likewise.
31867 * locale/programs/locale.c: Likewise.
31868 * locale/programs/localedef.c: Likewise.
31869 * login/programs/pt_chown.c: Likewise.
31870 * nscd/nscd.c (print_version): Likewise.
31871 * debug/xtrace.sh: Likewise.
31872 * malloc/memusage.sh: Likewise.
31873 * malloc/mtrace.pl: Likewise.
31874 * debug/catchsegv.sh: Likewise.
31875
31876 2011-12-30 Jakub Jelinek <jakub@redhat.com>
31877
31878 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31879 pure attribute.
31880
31881 2011-12-24 Ulrich Drepper <drepper@gmail.com>
31882
31883 [BZ #13533]
31884 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31885 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31886 transformations.
31887 * iconv/gconv_int.h: Likewise.
31888 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31889 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31890 from libc for GLIBC_2.16.
31891 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31892 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31893 * wcsmbs/uchar.h: Really define mbstate_t.
31894 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31895 * wcsmbs/c16rtomb.c: New file.
31896 * wcsmbs/mbrtoc16.c: New file.
31897 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31898 for C/POSIX locale.
31899 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31900 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31901
31902 * wcsmbs/wchar.h: Add missing __restrict.
31903
31904 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31905
31906 [BZ #13532]
31907 * time/Makefile (routines): Add timespec_get.
31908 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31909 * time/time.h: Define TIME_UTC and declare timespec_get. Define
31910 timespec for ISO C11.
31911 * time/timespec_get.c: New file.
31912 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31913 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31914
31915 [BZ #13531]
31916 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31917 * stdlib/stdlib.h: Declare aligned_alloc.
31918 * Versions.def: Add GLIBC_2.16 for libc.
31919 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31920
31921 [BZ 13527]
31922 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31923 ISO C11.
31924
31925 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31926 code.
31927
31928 [BZ #13528]
31929 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31930
31931 [BZ #13529]
31932 * assert/assert.h (static_assert): Define.
31933
31934 * version.h: Update for 2.16 development version.
31935
31936 [BZ #13526]
31937 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31938 _ISOC11_SOURCE.
31939
31940 * version.h (RELEASE): Bump for 2.15 release.
31941 * include/features.h (__GLIBC_MINOR__): Bump to 15.
31942
31943 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
31944 Patch by Marek Polacek <mpolacek@redhat.com>.
31945
31946 * bits/byteswap.h: Protect long long constants with __extension__.
31947 * sysdeps/i386/bits/byteswap.h: Likewise.
31948 * sysdeps/ia64/bits/byteswap.h: Likewise.
31949 * sysdeps/s390/bits/byteswap.h: Likewise.
31950 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31951
31952 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31953
31954 [BZ #13540]
31955 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
31956 destination buffer.
31957 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
31958
31959 2011-12-23 Marek Polacek <polacek@redhat.com>
31960
31961 * elf/dl-addr.c (determine_info): Add inline keyword.
31962 * elf/tst-auditmod4b.c (check_avx): Likewise.
31963 * elf/tst-auditmod6b.c (check_avx): Likewise.
31964 * elf/tst-auditmod6c.c (check_avx): Likewise.
31965 * elf/tst-auditmod7b.c (check_avx): Likewise.
31966
31967 2011-12-23 Ulrich Drepper <drepper@gmail.com>
31968
31969 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
31970 !__SSE_MATH__.
31971
31972 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31973
31974 [BZ #13540]
31975 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
31976 processing for last bytes.
31977
31978 2011-08-06 Bruno Haible <bruno@clisp.org>
31979
31980 [BZ #13061]
31981 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
31982 U+0385, not to U+1FEE.
31983
31984 [BZ #13062]
31985 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
31986 entry for U+00A5 U+0301.
31987
31988 2011-12-22 Ulrich Drepper <drepper@gmail.com>
31989
31990 [BZ #13166]
31991 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
31992 buffer for the output is too small.
31993
31994 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
31995 optimization.
31996
31997 [BZ #13185]
31998 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
31999 SSE flags if possible.
32000
32001 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32002
32003 [BZ #13540]
32004 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32005 processing for last bytes.
32006
32007 2011-12-22 Joseph Myers <joseph@codesourcery.com>
32008
32009 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32010 (syscall-list-default-options, syscall-list-default-condition)
32011 (syscall-list-includes): Define.
32012 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32013 list of ABIs and options and #if conditions for each ABI. Do not
32014 handle common syscalls between ABIs specially.
32015 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32016 Remove.
32017 (syscall-list-variants, syscall-list-32bit-options)
32018 (syscall-list-32bit-condition, syscall-list-64bit-options)
32019 (syscall-list-64bit-condition): Define.
32020 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32021 (syscall-list-variants, syscall-list-32bit-options)
32022 (syscall-list-32bit-condition, syscall-list-64bit-options)
32023 (syscall-list-64bit-condition): Define.
32024 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32025 Remove.
32026 (syscall-list-variants, syscall-list-32bit-options)
32027 (syscall-list-32bit-condition, syscall-list-64bit-options)
32028 (syscall-list-64bit-condition): Define.
32029 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32030 Remove.
32031 (syscall-list-variants, syscall-list-32bit-options)
32032 (syscall-list-32bit-condition, syscall-list-64bit-options)
32033 (syscall-list-64bit-condition): Define.
32034
32035 2011-12-22 Ulrich Drepper <drepper@gmail.com>
32036
32037 * locale/iso-639.def: Add brx entry.
32038
32039 [BZ #13328]
32040 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32041 Proposed by Mariusz_Cukr <marcukr@op.pl>.
32042
32043 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32044 __feraiseexcept_renamed.
32045
32046 2011-12-21 Ulrich Drepper <drepper@gmail.com>
32047
32048 [BZ #13538]
32049 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32050 EPOLLET with unsigned values.
32051 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32052 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32053
32054 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32055 to large cancellation.
32056 * math/s_cacoshf.c: Likewise.
32057 * math/s_cacoshl.c: Likewise.
32058
32059 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
32060
32061 [BZ #13305]
32062 [BZ #12786]
32063 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32064 * math/s_cacoshf.c: Likewise.
32065 * math/s_cacoshl.c: Likewise.
32066
32067 2011-12-21 Ulrich Drepper <drepper@gmail.com>
32068
32069 [BZ #13439]
32070 * iconv/gconv.h: Define __GCONV_SWAP.
32071 * iconvdata/unicode.c: The swap bit must be stored in __flags.
32072 * iconvdata/utf-16.c: Likewise.
32073 * iconvdata/utf-32.c: Likewise.
32074
32075 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
32076
32077 [BZ #13524]
32078 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32079 numerator after shifting it by one limb.
32080
32081 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
32082
32083 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32084 under [__USE_EXTERN_INLINES].
32085
32086 2011-12-17 Ulrich Drepper <drepper@gmail.com>
32087
32088 [BZ #13446]
32089 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32090
32091 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32092
32093 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32094 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32095 optimized code.
32096 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32097 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32098 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32099 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32100 for strncasecmp/strncasecmp_l compilation.
32101 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32102 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32103
32104 2011-12-08 Marek Polacek <mpolacek@redhat.com>
32105
32106 [BZ #13484]
32107 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32108 of __asm__.
32109
32110 2011-12-17 Ulrich Drepper <drepper@gmail.com>
32111
32112 [BZ #13506]
32113 * time/tzfile.c (__tzfile_read): Check values from file header.
32114
32115 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
32116
32117 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32118 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32119 * powerpc/powerpc32/dl-start.S: Likewise.
32120 * powerpc/powerpc32/elf/start.S: Likewise.
32121 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32122 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32123 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32124 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32125 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32126 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32127 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32128 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32129 * powerpc/powerpc32/fpu/s_round.S: Likewise.
32130 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32131 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32132 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32133 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32134 * powerpc/powerpc32/memset.S: Likewise.
32135 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32136 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32137 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32138 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32139 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32140 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32141 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32142 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32143 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32144 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32145 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32146 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32147 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32148
32149 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32150
32151 * math/libm-test.inc: Added more nearbyint tests.
32152 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32153 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32154 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32155 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32156
32157 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
32158
32159 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32160 FD_CLOEXEC.
32161
32162 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32163
32164 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32165 Add wcscpy-ssse3 wcscpy-c.
32166 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32167 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32168 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32169 * sysdeps/x86_64/wcschr.S: New file.
32170 * sysdeps/x86_64/wcsrchr.S: New file.
32171 * string/test-strcmp.c: Remove checking of wcscmp function for
32172 wrong alignments.
32173 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32174 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32175 wcsrchr-sse2 wcsrchr-c.
32176 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32177 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32178 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32179 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32180 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32181 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32182 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32183 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32184 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32185 * wcsmbc/wcschr.c (WCSCHR): New macro.
32186
32187 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32188
32189 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32190 * wcsmbs/test-wcsrchr.c: New file.
32191 * string/test-strrchr.c: Add wcsrchr support.
32192 (WIDE): New macro.
32193 * wcsmbs/test-wcscpy.c: New file.
32194 * string/test-strcpy.c: Add wcscpy support.
32195 (WIDE): New macro.
32196
32197 2011-12-10 Ulrich Drepper <drepper@gmail.com>
32198
32199 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32200 the inner loop.
32201
32202 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
32203
32204 [BZ #13472]
32205 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32206
32207 2011-12-04 Ulrich Drepper <drepper@gmail.com>
32208
32209 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
32210 Minor optimizations.
32211
32212 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32213 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32214 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32215
32216 2011-12-03 Ulrich Drepper <drepper@gmail.com>
32217
32218 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32219 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32220 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32221 for gcc to avoid warnings.
32222 * inet/Makefile (tests): Add tst-checks.
32223 * inet/tst-checks.c: New file.
32224
32225 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32226 warning.
32227
32228 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32229 __wmemcmp_sse2.
32230
32231 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32232 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32233
32234 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32235
32236 2011-12-02 Ulrich Drepper <drepper@gmail.com>
32237
32238 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32239 problem.
32240
32241 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32242
32243 2011-11-29 Joseph Myers <joseph@codesourcery.com>
32244
32245 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32246 conditional on GCC version.
32247 (__arch_compare_and_exchange_val_8_acq)
32248 (__arch_compare_and_exchange_val_16_acq)
32249 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32250 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32251 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32252
32253 2011-12-02 Joseph Myers <joseph@codesourcery.com>
32254
32255 * sysdeps/sh/backtrace.c: New file.
32256
32257 2011-12-02 Andreas Schwab <schwab@redhat.com>
32258
32259 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
32260 parenthesis.
32261
32262 2011-12-01 Andreas Schwab <schwab@redhat.com>
32263
32264 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32265 falling back to utime.
32266
32267 2011-11-30 Andreas Schwab <schwab@redhat.com>
32268
32269 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32270 expectations for float.
32271
32272 2011-11-29 Andreas Schwab <schwab@redhat.com>
32273
32274 * locale/weight.h (findidx): Add parameter len.
32275 * locale/weightwc.h (findidx): Likewise.
32276 * posix/fnmatch_loop.c (FCT): Adjust caller.
32277 * posix/regcomp.c (build_equiv_class): Likewise.
32278 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32279 * posix/regexec.c (check_node_accept_bytes): Likewise.
32280 * string/strcoll_l.c (STRCOLL): Likewise.
32281 * string/strxfrm_l.c (STRXFRM): Likewise.
32282
32283 2011-11-17 Ulrich Drepper <drepper@gmail.com>
32284
32285 * Makefile.in: Remove CVSOPT handling.
32286 * configure.in: Remove use of AC_REVISION.
32287 * iconvdata/Makefile (distribute): No need to filter out CVS.
32288 * scripts/list-sources.sh: Remove CVS, subversion and monotone
32289 handling.
32290
32291 2011-11-16 Andreas Schwab <schwab@redhat.com>
32292
32293 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32294 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32295 [USE_AS_STRNCASECMP_L]: Likewise.
32296 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32297 NO_TLS_DIRECT_SEG_REFS.
32298 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32299 Fix argument offsets for non-PIC.
32300 [USE_AS_STRNCASECMP_L]: Likewise.
32301 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32302 NO_TLS_DIRECT_SEG_REFS.
32303
32304 2011-11-15 Ulrich Drepper <drepper@gmail.com>
32305
32306 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
32307 O_CLOEXEC.
32308 * locale/loadlocale.c (_nl_load_locale): Likewise.
32309
32310 2011-11-15 Andreas Schwab <schwab@redhat.com>
32311
32312 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32313 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32314 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32315 (SYSCALL_GETTIME): Set errno on error.
32316
32317 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32318 count references to noai6ai_cached.
32319
32320 2011-11-15 Ulrich Drepper <drepper@gmail.com>
32321
32322 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32323
32324 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32325 FD_CLOEXEC for /proc/self/maps.
32326
32327 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32328 FD_CLOEXEC for /proc/meminfo.
32329
32330 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32331 gai.conf.
32332
32333 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
32334 FD_CLOEXEC for given file.
32335
32336 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32337
32338 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32339 FD_CLOEXEC for /etc/hosts.
32340 (_gethtent): Likewise.
32341
32342 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32343
32344 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32345 cancellation and set FD_CLOEXEC for /etc/netgroup.
32346
32347 * nss/nss_files/files-key.c (search): Don't allow cancellation when
32348 reading /etc/publickey.
32349
32350 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32351 allow cancellation when reading /etc/group.
32352
32353 * nss/nss_files/files-alias.c (internal_setent): Don't allow
32354 cancellation.
32355 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
32356
32357 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32358 when using data file.
32359
32360 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32361
32362 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32363 (write_nis_obj): Use "c" and "e" in fopen.
32364
32365 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32366
32367 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32368
32369 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32370
32371 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32372
32373 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32374 locale.alias.
32375
32376 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32377
32378 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32379
32380 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32381
32382 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32383 file parsing and set FD_CLOEXEC.
32384
32385 2011-11-14 Ulrich Drepper <drepper@gmail.com>
32386
32387 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32388
32389 2011-11-14 Andreas Schwab <schwab@redhat.com>
32390
32391 * malloc/arena.c (arena_get2): Don't call reused_arena when
32392 _int_new_arena failed.
32393
32394 2011-11-14 Ulrich Drepper <drepper@gmail.com>
32395
32396 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32397 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32398 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32399 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32400 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32401 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32402 to compile strcasecmp and strncasecmp.
32403 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32404 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32405
32406 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32407
32408 2011-11-13 Ulrich Drepper <drepper@gmail.com>
32409
32410 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32411 locale-defines.sym to gen-as-const-headers.
32412 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32413 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32414 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32415 to compile strcasecmp and strncasecmp.
32416 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32417 strcasecmp_l and strncasecmp_l.
32418 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32419 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32420 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32421 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32422 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32423 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32424 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32425 * sysdeps/i386/i686/multiarch/strncase.S: New file.
32426 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32427 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32428 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32429
32430 2011-11-12 Ulrich Drepper <drepper@gmail.com>
32431
32432 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32433 result of SYSDEP_GETTIME_CPU to retval.
32434 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32435 parameter list to macro. Remove trailing semicolon. Adjust users.
32436
32437 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32438 variable.
32439
32440 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32441 mantissa words.
32442 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32443
32444 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32445 from unused variable.
32446
32447 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32448 DWARF definitions.
32449 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32450 for assembling.
32451
32452 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32453 over namespaces.
32454
32455 * sunrpc/rpc_prot.c (rejected): Fix case value.
32456
32457 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32458 unsigned long long int to avoid warnings in shift.
32459
32460 * posix/regex_internal.c (re_string_reconstruct): Actually use result
32461 of use of trans.
32462 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32463 variable tmp.
32464
32465 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32466 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32467 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32468
32469 * nis/nis_table.c (nis_list): Use variable of correct type for
32470 result of __follow_path call.
32471
32472 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32473
32474 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32475 of math functions ceil, trunc, floor, round, and sqrt, when
32476 avaliable on the platform.
32477 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32478 name clash.
32479 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32480 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32481 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32482
32483 2011-10-30 Marek Polacek <mpolacek@redhat.com>
32484
32485 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32486 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32487
32488 2011-11-11 Roland McGrath <roland@hack.frob.com>
32489
32490 * include/unistd.h: Fix __readlink return type.
32491 Reported by Chris Metcalf <cmetcalf@tilera.com>.
32492
32493 2011-11-11 Ulrich Drepper <drepper@gmail.com>
32494
32495 * stdlib/ucontext.h: Undo last change for makecontext.
32496
32497 2011-11-11 Andreas Schwab <schwab@redhat.com>
32498
32499 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32500
32501 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32502 * setjmp/setjmp.h: Mark functions as non-leaf.
32503 * setjmp/bits/setjmp2.h: Likewise.
32504 * stdlib/ucontext.h: Likewise.
32505
32506 2011-11-10 Andreas Schwab <schwab@redhat.com>
32507
32508 * malloc/arena.c (_int_new_arena): Don't increment narenas.
32509 (reused_arena): Don't check arena limit.
32510 (arena_get2): Atomically check arena limit.
32511
32512 2011-11-08 Ulrich Drepper <drepper@gmail.com>
32513
32514 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32515 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32516
32517 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32518 instructions.
32519
32520 2011-11-07 Andreas Schwab <schwab@redhat.com>
32521
32522 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32523 handler when locking.
32524
32525 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32526 Fix size of allocated buffer.
32527
32528 2011-11-04 Andreas Schwab <schwab@redhat.com>
32529
32530 [BZ #10103]
32531 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32532 declarations for long double functions.
32533 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32534
32535 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32536
32537 2011-11-03 Andreas Schwab <schwab@redhat.com>
32538
32539 * nscd/nscd.c (main): Don't start AVC thread until credentials are
32540 installed.
32541
32542 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32543 is disabled.
32544
32545 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
32546
32547 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32548
32549 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
32550
32551 * include/alloca.h (stackinfo_alloca_round): Define.
32552 (extend_alloca): Use it.
32553 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32554 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32555 here.
32556
32557 * scripts/check-local-headers.sh: Ignore libaudit.h.
32558
32559 * nscd/Makefile (extra-objs): Make recursively expanded.
32560
32561 2011-11-01 Ulrich Drepper <drepper@gmail.com>
32562
32563 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32564 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32565
32566 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32567 * posix/tst-rfc3484-2.c: Likewise.
32568 * posix/tst-rfc3484-3.c: Likewise.
32569
32570 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32571 process_vm_writev.
32572 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32573 process_vm_writev.
32574 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32575 process_vm_writev from libc using GLIBC_2.15 version.
32576
32577 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32578
32579 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
32580
32581 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32582 stack usage.
32583
32584 2011-10-31 Ulrich Drepper <drepper@gmail.com>
32585
32586 [BZ #13367]
32587 * nss/getent.c (initgroups_keys): Show error message in case no group
32588 names are given.
32589
32590 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32591 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32592 __bump_nl_timestamp.
32593 * nscd/connections (nscd_init): When host database is served open
32594 netlink socket and request notification about configuration changes.
32595 (main_loop_poll): Track netlink file descriptor and bump timestamp
32596 in case data becomes available.
32597 (main_loop_epoll): Likewise.
32598 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32599 (database_pers_head): Add extra_data fileds.
32600 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32601 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32602 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32603 Adjust caller.
32604 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32605 in6ai data, call __free_in6ai.
32606 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32607 Add -DHAVE_NETLINK.
32608 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
32609 interface information. Reuse previous data if netlink timestamp
32610 is not changed.
32611 (__bump_nl_timestamp): New function.
32612 (__free_in6ai): New function.
32613
32614 2011-10-30 Ulrich Drepper <drepper@gmail.com>
32615
32616 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32617 close_not_cancel_no_status here.
32618 (__check_pf): Reorganize code a bit to not call close twice if OOM.
32619
32620 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32621
32622 [BZ #13276]
32623 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32624 return value.
32625
32626 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32627 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32628 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32629
32630 2011-07-03 Andreas Jaeger <aj@suse.de>
32631
32632 [BZ #10709]
32633 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32634 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32635 * math/libm-test.inc (sin_test): Add test case.
32636
32637 2011-10-29 Ulrich Drepper <drepper@gmail.com>
32638
32639 [BZ #13337]
32640 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32641 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32642
32643 * elf/chroot_canon.c (chroot_canon): Cleanups.
32644
32645 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32646
32647 [BZ #13335]
32648 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32649 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32650
32651 * string/test-strchr.c: Make usable for strchrnul testing.
32652 * string/test-strchrnul.c: New file.
32653 * string/Makefile (strop-tests): Add strchrnul.
32654
32655 * po/it.po: Update from translation team.
32656 * po/es.po: Likewise.
32657
32658 2011-10-28 Ulrich Drepper <drepper@gmail.com>
32659
32660 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32661 the three constants needed as parameters. Drop the others.
32662 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32663 __m128i_strloadu_tolower.
32664 Create and initialize variable zero and use it in all the places
32665 where _mm_setzero_si128 was used.
32666
32667 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32668 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32669 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32670 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32671 anymore.
32672 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32673 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32674 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32675 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32676 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32677 __mpranred, __mptan.
32678 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32679 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32680 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32681 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32682 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32683 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32684 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32685 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32686 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32687
32688 2011-10-28 Andreas Schwab <schwab@redhat.com>
32689
32690 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32691 redefine if SHARED.
32692 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32693
32694 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32695 wide char related routines to wcsmbs subdir.
32696
32697 2011-10-27 Andreas Schwab <schwab@redhat.com>
32698
32699 [BZ #13344]
32700 * misc/sys/cdefs.h (__THROWNL): Define.
32701 * posix/unistd.h: Use __THREADNL instead of __THREAD
32702 for memory synchronization functions.
32703
32704 2011-10-26 Roland McGrath <roland@hack.frob.com>
32705
32706 [BZ #13349]
32707 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32708 doesn't exist.
32709 * manual/stdio.texi (Obstack Streams): Node removed.
32710
32711 2011-10-26 Andreas Schwab <schwab@redhat.com>
32712
32713 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32714 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32715 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32716
32717 * math/math_private.h (math_force_eval): Allow non-addressable
32718 arguments.
32719 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32720
32721 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32722
32723 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32724 file is not needed.
32725
32726 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32727 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32728 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32729 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32730 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32731 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32732 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32733 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32734 Add AVX variants.
32735 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32736 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32737 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32738 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32739 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32740 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32741 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32742 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32743 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32744 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32745 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32746 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32747 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32748 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32749 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32750 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32751 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32752 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32753 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32754
32755 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32756 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
32757
32758 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32759 place. Use VEX encoding when compiling for AVX.
32760
32761 2011-10-25 Andreas Schwab <schwab@redhat.com>
32762
32763 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32764 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32765
32766 * string/test-strchr.c (do_test): Don't generate NUL bytes.
32767
32768 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32769
32770 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32771 useless if() expression.
32772 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32773 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32774 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32775 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32776 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32777 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32778 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32779 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32780 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32781 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32782 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32783 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32784 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32785 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32786 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32787 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32788 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32789 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32790 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32791
32792 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32793
32794 2011-10-25 Andreas Schwab <schwab@redhat.com>
32795
32796 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32797 condition.
32798 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32799
32800 2011-10-25 Ulrich Drepper <drepper@gmail.com>
32801
32802 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32803 .text section. Avoid duplicate constants.
32804 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32805 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32806 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32807 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32808 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32809 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32810 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32811 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32812 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32813 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32814 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32815 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32816 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32817 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32818 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32819 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32820 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32821 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32822 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32823 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32824 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32825 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32826 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32827 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32828 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32829 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32830 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32831 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32832 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32833 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32834 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32835 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32836 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32837 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32838 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32839 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32840 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32841 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32842 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32843 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32844 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32845 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32846 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32847 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32848 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32849
32850 2011-10-24 Ulrich Drepper <drepper@gmail.com>
32851
32852 * sysdeps/x86_64/dla.h: Move to ...
32853 * sysdeps/x86_64/fpu/dla.h: ...here.
32854 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32855 situations. Use __builtin_fma only for gcc 4.6 and up.
32856
32857 * config.make.in: Add have-mfma4 entry.
32858 * configure.in: Substitute libc_cv_cc_fma4.
32859 * math/Makefile (dbl-only-routines): Add sincostab.
32860 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32861 Use __sincostab not sincos.
32862 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32863 name is a macro.
32864 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32865 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32866 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32867 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
32868 using __copysign.
32869 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
32870 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
32871 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32872 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32873 and __inv.
32874 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32875 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32876 __copysign.
32877 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
32878 define aliases when function name is a macro.
32879 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32880 sysdeps/ieee754/dbl-64/sincos.tbl.
32881 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32882 fma4-enabled routines.
32883 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32884 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32885 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32886 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32887 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32888 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32889 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32890 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32891 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32892 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32893 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32894 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32895 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32896 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32897 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32898 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32899 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32900 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32901 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32902 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32903 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32904 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32905 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32906 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32907 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32908 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32909 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32910 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32911 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32912 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32913
32914 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32915 rename.
32916 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32917 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32918 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32919 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32920 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32921 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32922 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32923 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32924
32925 2011-10-24 Andreas Schwab <schwab@redhat.com>
32926
32927 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32928
32929 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32930
32931 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32932
32933 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32934 prediction.
32935 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32936
32937 * string/strnlen.c: Don't define STRNLEN, reverse logic.
32938 Remove unused variable magic_bits.
32939 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
32940
32941 * string/strnlen.c: Define and use STRNLEN macro.
32942 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
32943 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
32944 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
32945 * wcsmbs/wcslen.c: Define and use WCSLEN.
32946 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
32947 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
32948 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
32949 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
32950 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
32951 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
32952 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32953
32954 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32955
32956 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32957 strnlen-sse2-no-bsf.
32958 Rename strlen-no-bsf to strlen-sse2-no-bsf.
32959 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
32960 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
32961 Add strnlen support.
32962 (USE_AS_STRNLEN): New macro.
32963 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
32964 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
32965 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
32966 * sysdeps/x86_64/wcslen.S: New file.
32967
32968 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
32969
32970 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32971 XMM-moves are used for copying on small sizes.
32972
32973 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32974
32975 * wcsmbs/Makefile (strop-tests): Add wcschr.
32976 * wcsmbs/test-wcschr.c: New file.
32977 * string/test-strchr.c: Update.
32978 Add wcschr support.
32979 (WIDE): New macro.
32980
32981 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32982
32983 * wcsmbs/Makefile (strop-tests): Add wcslen.
32984 * wcsmbs/test-wcslen.c: New file.
32985 * string/test-strlen.c: Update.
32986 Add wcslen support.
32987 (WIDE): New macro.
32988
32989 2011-10-23 Ulrich Drepper <drepper@gmail.com>
32990
32991 * po/it.po: Update from translation team.
32992
32993 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32994
32995 * sysdeps/x86_64/wcscmp.S: Update.
32996 Fix wrong comparison semantics.
32997 wcscmp shall use signed comparison not unsigned.
32998 Don't use substraction to avoid overflow bug.
32999 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33000 * wcsmbc/wcscmp.c: Likewise.
33001 * string/test-strcmp.c: Likewise.
33002 Add new tests to check cases with negative values.
33003
33004 2011-10-23 Ulrich Drepper <drepper@gmail.com>
33005
33006 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33007 * sysdeps/x86_64/dla.h: ...here. New file.
33008 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33009 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33010 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33011 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33012 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33013 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33014 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33015 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33016 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33017
33018 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
33019
33020 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33021 __ynl_finite aliases.
33022
33023 2011-10-22 Ulrich Drepper <drepper@gmail.com>
33024
33025 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33026
33027 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33028 define DLA_FMA.
33029 [DLA_FMA] (EMULV): Use DLA_FMA.
33030 [DLA_FMA] (MUL12): Use EMULV.
33031 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33032 that are not needed.
33033 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33034 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33035 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33036 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33037 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33038 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33039 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33040
33041 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
33042
33043 * math/s_nan.c: Undef __nan.
33044 * math/s_nanf.c: Undef __nanf.
33045 * math/s_nanl.c: Undef __nanl.
33046 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33047 "math_private.h".
33048
33049 2011-10-22 Ulrich Drepper <drepper@gmail.com>
33050
33051 * math/s_catan.c: Add branch predictions.
33052 * math/s_catanf.c: Likewise.
33053 * math/s_catanh.c: Likewise.
33054 * math/s_catanhf.c: Likewise.
33055 * math/s_catanhl.c: Likewise.
33056 * math/s_catanl.c: Likewise.
33057 * math/s_cexp.c: Likewise.
33058 * math/s_cexpf.c: Likewise.
33059 * math/s_cexpl.c: Likewise.
33060 * math/s_clog.c: Likewise.
33061 * math/s_clog10.c: Likewise.
33062 * math/s_clog10f.c: Likewise.
33063 * math/s_clog10l.c: Likewise.
33064 * math/s_clogf.c: Likewise.
33065 * math/s_clogl.c: Likewise.
33066 * math/s_csqrt.c: Likewise.
33067 * math/s_csqrtf.c: Likewise.
33068 * math/s_csqrtl.c: Likewise.
33069 * math/s_ctanf.c: Likewise.
33070 * math/s_ctanh.c: Likewise.
33071 * math/s_ctanhf.c: Likewise.
33072 * math/s_ctanhl.c: Likewise.
33073 * math/s_ctanl.c: Likewise.
33074
33075 * math/math_private.h: Define __nan, __nanf, __nanl.
33076 * math/s_cacosh.c: Include <math_private.h>.
33077 * math/s_cacoshl.c: Likewise.
33078 * math/s_casinh.c: Likewise.
33079 * math/s_casinhf.c: Likewise.
33080 * math/s_casinhl.c: Likewise.
33081 * math/s_ccos.c: Rely entire on ccosh.
33082 * math/s_ccosf.c: Rely entire on ccoshf.
33083 * math/s_ccosl.c: Rely entirely on ccoshl.
33084 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
33085 Remove tests for FE_INVALID.
33086 * math/s_ccoshf.c: Likewise.
33087 * math/s_ccoshl.c: Likewise.
33088 * math/s_csin.c: Likewise.
33089 * math/s_csinf.c: Likewise.
33090 * math/s_csinh.c Likewise.
33091 * math/s_csinhf.c: Likewise.
33092 * math/s_csinhl.c: Likewise.
33093 * math/s_csinl.c: Likewise.
33094 * math/s_ctan.c: Likewise.
33095 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33096 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33097 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33098
33099 2011-10-21 Ulrich Drepper <drepper@gmail.com>
33100
33101 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33102 compilation problems.
33103
33104 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33105 __builtin_expect.
33106
33107 2011-10-20 Ulrich Drepper <drepper@gmail.com>
33108
33109 * sysdeps/i386/configure.in: Test for -mfma4 option.
33110 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33111 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33112 COMMON_CPUID_INDEX_80000001.
33113 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33114 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33115 use it if FMA3 is not supported.
33116 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33117
33118 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33119 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33120
33121 2011-10-20 Andreas Schwab <schwab@redhat.com>
33122
33123 [BZ #12892]
33124 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33125 it would create a cycle with a link time dependency.
33126
33127 2011-10-19 Ulrich Drepper <drepper@gmail.com>
33128
33129 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33130 instruction.
33131 * string/Makefile (strop-tests): Add rawmemchr.
33132 * string/test-rawmemchr.c: New file.
33133
33134 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33135 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
33136 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
33137 when compiling str{,n}casecmp and when AVX is available. Hook up
33138 new optimized code in initializers.
33139
33140 2011-10-19 Andreas Schwab <schwab@redhat.com>
33141
33142 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33143 __feraiseexcept instead of feraiseexcept.
33144
33145 2011-10-18 Ulrich Drepper <drepper@gmail.com>
33146
33147 * math/math_private.h: Define defaults for libc_fetestexcept and
33148 libc_feupdateenv.
33149 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33150 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33151 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33152 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33153 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33154 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33155 libc_fetestexcept and libc_feupdateenv.
33156
33157 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33158 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33159 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33160 * sysdeps/x86_64/fpu/math_private.h: Define special version of
33161 libc_feholdexcept_setround.
33162
33163 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33164 Add s_nearbyint-c and s_nearbyintf-c.
33165 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33166 nearbyintf inlines.
33167 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33168 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33169 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33170 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33171
33172 * math/math_private.h: Define defaults for libc_fegetround,
33173 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33174 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33175 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33176 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33177 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33178 standard functions.
33179 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33180 Remove comments and hacks for old compiler versions.
33181 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33182 libc_fegetround, libc_fesetround, libc_feholdexcept, and
33183 libc_feholdexceptl.
33184
33185 2011-10-18 Andreas Schwab <schwab@redhat.com>
33186
33187 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
33188 (__feraiseexcept_renamed): Add __NTH.
33189 (feraiseexcept): Add __NTH. Rename local variables to fix
33190 namespace violations.
33191
33192 2011-10-17 Ulrich Drepper <drepper@gmail.com>
33193
33194 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33195
33196 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33197
33198 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33199 recently added interfaces.
33200 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33201
33202 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33203 about macro parameter expansion.
33204
33205 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33206 __NO_MATH_INLINES is defined. Cleanups.
33207
33208 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33209 and __floorf is target has SSE4.1.
33210 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33211 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33212 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33213 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33214
33215 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33216 name.
33217 (floorf): Likewise.
33218
33219 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33220
33221 2011-10-17 Andreas Schwab <schwab@redhat.com>
33222
33223 * misc/sys/cdefs.h: Fix last change.
33224
33225 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33226 database lookup.
33227
33228 2011-10-16 Ulrich Drepper <drepper@gmail.com>
33229
33230 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33231
33232 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33233 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33234 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33235 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33236 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33237 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33238 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33239 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33240 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33241 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33242 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33243 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33244 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33245 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33246 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33247 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33248 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33249 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33250 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33251 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33252 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33253 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33254
33255 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33256 ceil, ceilf, floor, floorf.
33257
33258 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33259 Perform IRELATIVE relocations last.
33260
33261 * elf/do-rel.h: Add another parameter nrelative, replacing the
33262 local variable with the same name. Change name of the function
33263 to end in Rel or Rela (uppercase).
33264 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33265 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
33266 elf_dynamic_do_##reloc function.
33267
33268 2011-10-15 Ulrich Drepper <drepper@gmail.com>
33269
33270 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33271 is sufficient, at least on modern CPUs.
33272
33273 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33274
33275 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33276 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33277
33278 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33279 __expl_finite.
33280 * math/bits/math-finite.h: Add entries for exp.
33281 * math/e_expl.c: Add __*_finite alias.
33282 * sysdeps/i386/fpu/e_exp.S: Likewise.
33283 * sysdeps/i386/fpu/e_expf.S: Likewise.
33284 * sysdeps/i386/fpu/e_expl.c: Likewise.
33285 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33286 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33287 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33288 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33289 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33290 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33291 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33292
33293 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33294 is sufficient, at least on modern CPUs.
33295
33296 * ctype/ctype-info.c (__ctype_init): Define.
33297 * include/ctype.h (__ctype_init): Declare.
33298 (__ctype_b_loc): The variable is always initialized.
33299 (__ctype_toupper_loc): Likewise.
33300 (__ctype_tolower_loc): Likewise.
33301 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33302 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33303
33304 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
33305
33306 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33307
33308 * configure.in: Also look in $cxxmachine/include for C++ system
33309 headers.
33310
33311 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33312
33313 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33314 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33315 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33316 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
33317 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33318 (USE_AS_WMEMCMP): New macro.
33319 Fixing indents.
33320 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33321 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33322 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33323 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33324 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33325 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33326 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33327 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33328 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33329 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33330 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33331 (USE_AS_WMEMCMP): New macro.
33332 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33333 * sysdeps/string/test-memcmp.c: Update.
33334 Fix simple_wmemcmp.
33335 Add new tests.
33336 * wcsmbs/wmemcmp.c: Update.
33337 (WMEMCMP): New macro.
33338 Fix overflow bug.
33339
33340 2011-10-12 Andreas Jaeger <aj@suse.de>
33341
33342 [BZ #13268]
33343 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33344
33345 2011-10-15 Ulrich Drepper <drepper@gmail.com>
33346
33347 * libio/iofwide.c (do_length): Avoid warning.
33348
33349 * ctype/ctype.h (__isctype_f): Add missing __THROW.
33350
33351 2011-10-14 Ulrich Drepper <drepper@gmail.com>
33352
33353 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33354
33355 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33356 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33357 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33358 * sysdeps/i386/i686/fpu/e_log.S: New file.
33359 * sysdeps/i386/i686/fpu/e_logf.S: New file.
33360 * sysdeps/i386/i686/fpu/e_logl.S: New file.
33361
33362 * ctype/ctype.h: Add support for inlined isXXX functions when
33363 compiling C++ code.
33364
33365 2011-10-14 Andreas Schwab <schwab@redhat.com>
33366
33367 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33368
33369 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33370
33371 2011-10-13 Roland McGrath <roland@hack.frob.com>
33372
33373 [BZ #13291]
33374 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33375
33376 2011-10-13 Andreas Schwab <schwab@redhat.com>
33377
33378 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33379 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33380 feraiseexcept.
33381
33382 * sysdeps/x86_64/memrchr.S: Check for zero size.
33383
33384 * string/stratcliff.c: Add memrchr tests.
33385
33386 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33387
33388 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33389 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33390 rawmemchr-sse2 rawmemchr-sse2-bsf.
33391 * sysdeps/i386/i686/multiarch/memchr.S: New file.
33392 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33393 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33394 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33395 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33396 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33397 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33398 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33399 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33400 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33401 * string/memrchr.c (MEMRCHR): New macro.
33402
33403 2011-10-12 Ulrich Drepper <drepper@gmail.com>
33404
33405 Add integration with gcc's -ffinite-math-only and optimize wrapper
33406 functions in libm.
33407 * Versions.def: Define GLIBC_2.15 version for libm.
33408 * math/Makefile (headers): Add bits/math-finite.h.
33409 * math/bits/math-finite.h: New file.
33410 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33411 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33412 * math/e_acoshl.c: Add __*_finite alias.
33413 * math/e_acosl.c: Likewise.
33414 * math/e_asinl.c: Likewise.
33415 * math/e_atan2l.c: Likewise.
33416 * math/e_atanhl.c: Likewise.
33417 * math/e_coshl.c: Likewise.
33418 * math/e_exp10.c: Likewise.
33419 * math/e_exp10f.c: Likewise.
33420 * math/e_exp10l.c: Likewise.
33421 * math/e_exp2l.c: Likewise.
33422 * math/e_fmodl.c: Likewise.
33423 * math/e_gammal_r.c: Likewise.
33424 * math/e_hypotl.c: Likewise.
33425 * math/e_j0l.c: Likewise.
33426 * math/e_j1l.c: Likewise.
33427 * math/e_jnl.c: Likewise.
33428 * math/e_lgammal_r.c: Likewise.
33429 * math/e_log10l.c: Likewise.
33430 * math/e_log2l.c: Likewise.
33431 * math/e_logl.c: Likewise.
33432 * math/e_powl.c: Likewise.
33433 * math/e_sinhl.c: Likewise.
33434 * math/e_sqrtl.c: Likewise.
33435 * math/e_scalb.c: Completely rewritten and optimized.
33436 * math/e_scalbf.c: Likewise.
33437 * math/e_scalbl.c: Likewise.
33438 * math/w_acos.c: Likewise.
33439 * math/w_acosf.c: Likewise.
33440 * math/w_acosl.c: Likewise.
33441 * math/w_acosh.c: Likewise.
33442 * math/w_acoshf.c: Likewise.
33443 * math/w_acoshl.c: Likewise.
33444 * math/w_asin.c: Likewise.
33445 * math/w_asinf.c: Likewise.
33446 * math/w_asinl.c: Likewise.
33447 * math/w_atan2.c: Likewise.
33448 * math/w_atan2f.c: Likewise.
33449 * math/w_atan2l.c: Likewise.
33450 * math/w_atanh.c: Likewise.
33451 * math/w_atanhf.c: Likewise.
33452 * math/w_atanhl.c: Likewise.
33453 * math/w_exp10.c: Likewise.
33454 * math/w_exp10f.c: Likewise.
33455 * math/w_exp10l.c: Likewise.
33456 * math/w_fmod.c: Likewise.
33457 * math/w_fmodf.c: Likewise.
33458 * math/w_fmodl.c: Likewise.
33459 * math/w_j0.c: Likewise.
33460 * math/w_j0f.c: Likewise.
33461 * math/w_j0l.c: Likewise.
33462 * math/w_j1.c: Likewise.
33463 * math/w_j1f.c: Likewise.
33464 * math/w_j1l.c: Likewise.
33465 * math/w_jn.c: Likewise.
33466 * math/w_jnf.c: Likewise.
33467 * math/w_log.c: Likewise.
33468 * math/w_logf.c: Likewise.
33469 * math/w_logl.c: Likewise.
33470 * math/w_log10.c: Likewise.
33471 * math/w_log10f.c: Likewise.
33472 * math/w_log10l.c: Likewise.
33473 * math/w_log2.c: Likewise.
33474 * math/w_log2f.c: Likewise.
33475 * math/w_log2l.c: Likewise.
33476 * math/w_pow.c: Likewise.
33477 * math/w_powf.c: Likewise.
33478 * math/w_powl.c: Likewise.
33479 * math/w_remainder.c: Likewise.
33480 * math/w_remainderf.c: Likewise.
33481 * math/w_remainderl.c: Likewise.
33482 * math/w_scalb.c: Likewise.
33483 * math/w_scalbf.c: Likewise.
33484 * math/w_scalbl.c: Likewise.
33485 * math/w_sqrt.c: Likewise.
33486 * math/w_sqrtf.c: Likewise.
33487 * math/w_sqrtl.c: Likewise.
33488 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33489 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
33490 used.
33491 * math/math_private.h: Declare __kernel_standard_f.
33492 * math/w_cosh.c: Remove cruft and optimize a bit.
33493 * math/w_coshf.c: Likewise.
33494 * math/w_coshl.c: Likewise.
33495 * math/w_exp2.c: Likewise.
33496 * math/w_exp2f.c: Likewise.
33497 * math/w_exp2l.c: Likewise.
33498 * math/w_hypot.c: Likewise.
33499 * math/w_hypotf.c: Likewise.
33500 * math/w_hypotl.c: Likewise.
33501 * math/w_lgamma.c: Likewise.
33502 * math/w_lgamma_r.c: Likewise.
33503 * math/w_lgammaf.c: Likewise.
33504 * math/w_lgammaf_r.c: Likewise.
33505 * math/w_lgammal.c: Likewise.
33506 * math/w_lgammal_r.c: Likewise.
33507 * math/w_sinh.c: Likewise.
33508 * math/w_sinhf.c: Likewise.
33509 * math/w_sinhl.c: Likewise.
33510 * math/w_tgamma.c: Likewise.
33511 * math/w_tgammaf.c: Likewise.
33512 * math/w_tgammal.c: Likewise.
33513 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33514 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33515 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33516 Minor optimizations. Pretty printing. Remove cruft.
33517 * sysdeps/i386/fpu/e_acosf.S: Likewise.
33518 * sysdeps/i386/fpu/e_acosh.S: Likewise.
33519 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33520 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33521 * sysdeps/i386/fpu/e_acosl.c: Likewise.
33522 * sysdeps/i386/fpu/e_asin.S: Likewise.
33523 * sysdeps/i386/fpu/e_asinf.S: Likewise.
33524 * sysdeps/i386/fpu/e_atan2.S: Likewise.
33525 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33526 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33527 * sysdeps/i386/fpu/e_atanh.S: Likewise.
33528 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33529 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33530 * sysdeps/i386/fpu/e_exp10.S: Likewise.
33531 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33532 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33533 * sysdeps/i386/fpu/e_exp2.S: Likewise.
33534 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33535 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33536 * sysdeps/i386/fpu/e_fmod.S: Likewise.
33537 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33538 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33539 * sysdeps/i386/fpu/e_hypot.S: Likewise.
33540 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33541 * sysdeps/i386/fpu/e_log.S: Likewise.
33542 * sysdeps/i386/fpu/e_log10.S: Likewise.
33543 * sysdeps/i386/fpu/e_log10f.S: Likewise.
33544 * sysdeps/i386/fpu/e_log10l.S: Likewise.
33545 * sysdeps/i386/fpu/e_log2.S: Likewise.
33546 * sysdeps/i386/fpu/e_log2f.S: Likewise.
33547 * sysdeps/i386/fpu/e_log2l.S: Likewise.
33548 * sysdeps/i386/fpu/e_logf.S: Likewise.
33549 * sysdeps/i386/fpu/e_logl.S: Likewise.
33550 * sysdeps/i386/fpu/e_pow.S: Likewise.
33551 * sysdeps/i386/fpu/e_powf.S: Likewise.
33552 * sysdeps/i386/fpu/e_powl.S: Likewise.
33553 * sysdeps/i386/fpu/e_remainder.S: Likewise.
33554 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33555 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33556 * sysdeps/i386/fpu/e_scalb.S: Likewise.
33557 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33558 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33559 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33560 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33561 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33562 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33563 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33564 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33565 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33566 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33567 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33568 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33569 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33570 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33571 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33572 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33573 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33574 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33575 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33576 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33577 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33578 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33579 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33580 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33581 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33582 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33583 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33584 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33585 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33586 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33587 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33588 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33589 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33590 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33591 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33592 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33593 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33594 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33595 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33596 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33597 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33598 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33599 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33600 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33601 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33602 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33603 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33604 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33605 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33606 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33607 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33608 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33609 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33610 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33611 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33612 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33613 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33614 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33615 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33616 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33617 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33618 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33619 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33620 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33621 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33622 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33623 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33624 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33625 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33626 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33627 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33628 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33629 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33630 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33631 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33632 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33633 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33634 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33635 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33636 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33637 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33638 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33639 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33640 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33641 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33642 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33643 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33644 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33645 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33646 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33647 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33648 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33649 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33650 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33651 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33652 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33653 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33654 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33655 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33656 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33657 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33658 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33659 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33660 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33661 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33662 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33663 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33664 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33665 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33666 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33667 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33668 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33669 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33670 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33671 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33672 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
33673 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33674 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33675 (__isnanf): Likewise.
33676 (__isinf_ns): Likewise.
33677 (__isinf_nsf): Likewise.
33678 (__finite): Likewise.
33679 (__finitef): Likewise.
33680 (__ieee754_sqrt): Define as macro.
33681 (__ieee754_sqrtf): Define as macro.
33682 (__ieee754_sqrtl): Define as macro.
33683 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33684 inlined copy.
33685 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33686 __FINITE_MATH_ONLY__ consistent.
33687 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33688
33689 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
33690
33691 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33692 of rawmemchr.
33693
33694 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33695
33696 2011-10-09 Ulrich Drepper <drepper@gmail.com>
33697
33698 * po/ja.po: Update from translation team.
33699
33700 2011-10-08 Roland McGrath <roland@hack.frob.com>
33701
33702 * locale/programs/locarchive.c (prepare_address_space): New function.
33703 (create_archive, enlarge_archive, open_archive): Use it.
33704
33705 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33706 inside [SHARED], where it is used.
33707
33708 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33709
33710 * nss/getent.c (netgroup_keys): Remove unused variable.
33711 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33712
33713 2011-10-08 Ulrich Drepper <drepper@gmail.com>
33714
33715 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33716 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33717 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33718 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33719 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33720 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33721 * math/Makefile (libm-calls): Add s_isinf_ns.
33722 * math/divtc3.c: Use __isinf_nsl instead of isinf.
33723 * math/multc3.c: Likewise.
33724 * math/s_casin.c: Likewise.
33725 * math/s_casinf.c: Likewise.
33726 * math/s_casinl.c: Likewise.
33727 * math/s_ccos.c: Likewise.
33728 * math/s_ccosf.c: Likewise.
33729 * math/s_ccosl.c: Likewise.
33730 * math/s_ctan.c: Likewise.
33731 * math/s_ctanf.c: Likewise.
33732 * math/s_ctanh.c: Likewise.
33733 * math/s_ctanhf.c: Likewise.
33734 * math/s_ctanhl.c: Likewise.
33735 * math/s_ctanl.c: Likewise.
33736 * math/w_fmod.c: Likewise.
33737 * math/w_fmodf.c: Likewise.
33738 * math/w_fmodl.c: Likewise.
33739 * math/w_remainder.c: Likewise.
33740 * math/w_remainderf.c: Likewise.
33741 * math/w_remainderl.c: Likewise.
33742 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33743 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33744 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33745 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33746 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33747 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33748 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33749 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33750
33751 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33752 of the number.
33753 * stdio-common/printf_fphex.c: Likewise.
33754 * stdio-common/printf_size.c: Likewise.
33755
33756 * math/e_exp10.c: Include math_private.h using <...> not "...".
33757 * math/e_exp10f.c: Likewise.
33758 * math/e_exp10l.c: Likewise.
33759 * math/e_exp2l.c: Likewise.
33760 * math/e_j0l.c: Likewise.
33761 * math/e_j1l.c: Likewise.
33762 * math/e_jnl.c: Likewise.
33763 * math/e_lgammal_r.c: Likewise.
33764 * math/e_rem_pio2l.c: Likewise.
33765 * math/e_scalb.c: Likewise.
33766 * math/e_scalbf.c: Likewise.
33767 * math/e_scalbl.c: Likewise.
33768 * math/k_cosl.c: Likewise.
33769 * math/k_sinl.c: Likewise.
33770 * math/k_tanl.c: Likewise.
33771 * math/s_cacoshf.c: Likewise.
33772 * math/s_catan.c: Likewise.
33773 * math/s_catanf.c: Likewise.
33774 * math/s_catanh.c: Likewise.
33775 * math/s_catanhf.c: Likewise.
33776 * math/s_catanhl.c: Likewise.
33777 * math/s_catanl.c: Likewise.
33778 * math/s_ccosh.c: Likewise.
33779 * math/s_ccoshf.c: Likewise.
33780 * math/s_ccoshl.c: Likewise.
33781 * math/s_cexp.c: Likewise.
33782 * math/s_cexpf.c: Likewise.
33783 * math/s_cexpl.c: Likewise.
33784 * math/s_clog.c: Likewise.
33785 * math/s_clog10.c: Likewise.
33786 * math/s_clog10f.c: Likewise.
33787 * math/s_clog10l.c: Likewise.
33788 * math/s_clogf.c: Likewise.
33789 * math/s_clogl.c: Likewise.
33790 * math/s_csin.c: Likewise.
33791 * math/s_csinf.c: Likewise.
33792 * math/s_csinh.c: Likewise.
33793 * math/s_csinhf.c: Likewise.
33794 * math/s_csinhl.c: Likewise.
33795 * math/s_csinl.c: Likewise.
33796 * math/s_csqrt.c: Likewise.
33797 * math/s_csqrtf.c: Likewise.
33798 * math/s_csqrtl.c: Likewise.
33799 * math/s_ctan.c: Likewise.
33800 * math/s_ctanf.c: Likewise.
33801 * math/s_ctanh.c: Likewise.
33802 * math/s_ctanhf.c: Likewise.
33803 * math/s_ctanhl.c: Likewise.
33804 * math/s_ctanl.c: Likewise.
33805 * math/s_ldexp.c: Likewise.
33806 * math/s_ldexpf.c: Likewise.
33807 * math/s_ldexpl.c: Likewise.
33808 * math/s_significand.c: Likewise.
33809 * math/s_significandf.c: Likewise.
33810 * math/s_significandl.c: Likewise.
33811 * math/w_acos.c: Likewise.
33812 * math/w_acosf.c: Likewise.
33813 * math/w_acosh.c: Likewise.
33814 * math/w_acoshf.c: Likewise.
33815 * math/w_acoshl.c: Likewise.
33816 * math/w_acosl.c: Likewise.
33817 * math/w_asin.c: Likewise.
33818 * math/w_asinf.c: Likewise.
33819 * math/w_asinl.c: Likewise.
33820 * math/w_atan2.c: Likewise.
33821 * math/w_atan2f.c: Likewise.
33822 * math/w_atan2l.c: Likewise.
33823 * math/w_atanh.c: Likewise.
33824 * math/w_atanhf.c: Likewise.
33825 * math/w_atanhl.c: Likewise.
33826 * math/w_cosh.c: Likewise.
33827 * math/w_coshf.c: Likewise.
33828 * math/w_coshl.c: Likewise.
33829 * math/w_dremf.c: Likewise.
33830 * math/w_exp10.c: Likewise.
33831 * math/w_exp10f.c: Likewise.
33832 * math/w_exp10l.c: Likewise.
33833 * math/w_exp2.c: Likewise.
33834 * math/w_exp2f.c: Likewise.
33835 * math/w_fmod.c: Likewise.
33836 * math/w_fmodf.c: Likewise.
33837 * math/w_fmodl.c: Likewise.
33838 * math/w_hypot.c: Likewise.
33839 * math/w_hypotf.c: Likewise.
33840 * math/w_hypotl.c: Likewise.
33841 * math/w_j0.c: Likewise.
33842 * math/w_j0f.c: Likewise.
33843 * math/w_j0l.c: Likewise.
33844 * math/w_j1.c: Likewise.
33845 * math/w_j1f.c: Likewise.
33846 * math/w_j1l.c: Likewise.
33847 * math/w_jn.c: Likewise.
33848 * math/w_jnf.c: Likewise.
33849 * math/w_jnl.c: Likewise.
33850 * math/w_lgamma.c: Likewise.
33851 * math/w_lgamma_r.c: Likewise.
33852 * math/w_lgammaf.c: Likewise.
33853 * math/w_lgammaf_r.c: Likewise.
33854 * math/w_lgammal.c: Likewise.
33855 * math/w_lgammal_r.c: Likewise.
33856 * math/w_log.c: Likewise.
33857 * math/w_log10.c: Likewise.
33858 * math/w_log10f.c: Likewise.
33859 * math/w_log10l.c: Likewise.
33860 * math/w_log2.c: Likewise.
33861 * math/w_log2f.c: Likewise.
33862 * math/w_log2l.c: Likewise.
33863 * math/w_logf.c: Likewise.
33864 * math/w_logl.c: Likewise.
33865 * math/w_pow.c: Likewise.
33866 * math/w_powf.c: Likewise.
33867 * math/w_powl.c: Likewise.
33868 * math/w_remainder.c: Likewise.
33869 * math/w_remainderf.c: Likewise.
33870 * math/w_remainderl.c: Likewise.
33871 * math/w_scalb.c: Likewise.
33872 * math/w_scalbf.c: Likewise.
33873 * math/w_scalbl.c: Likewise.
33874 * math/w_sinh.c: Likewise.
33875 * math/w_sinhf.c: Likewise.
33876 * math/w_sinhl.c: Likewise.
33877 * math/w_sqrt.c: Likewise.
33878 * math/w_sqrtf.c: Likewise.
33879 * math/w_sqrtl.c: Likewise.
33880 * math/w_tgamma.c: Likewise.
33881 * math/w_tgammaf.c: Likewise.
33882 * math/w_tgammal.c: Likewise.
33883
33884 * po/ja.po: Update from translation team.
33885
33886 2011-09-29 Andreas Jaeger <aj@suse.de>
33887
33888 [BZ #13179]
33889 * sunrpc/netname.c (netname2host): Fix logic.
33890
33891 [BZ #6779]
33892 [BZ #6783]
33893 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33894 correctly.
33895 * math/w_remainder.c (__remainder): Likewise.
33896 * math/w_remainderf.c (__remainderf): Likewise.
33897 * math/libm-test.inc (remainder_test): Add test cases.
33898
33899 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33900
33901 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
33902 sdiv_qrnnd.
33903
33904 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33905
33906 * string/test-memcmp.c: Avoid unncessary #defines.
33907 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33908
33909 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33910
33911 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33912 Use new sse2 version for core i3 - i7 as it's faster
33913 than sse42 version.
33914 (bit_Prefer_PMINUB_for_stringop): New.
33915 * sysdeps/x86_64/rawmemchr.S: Update.
33916 Replace with faster SSE2 version.
33917 * sysdeps/x86_64/memrchr.S: New file.
33918 * sysdeps/x86_64/memchr.S: Update.
33919 Replace with faster SSE2 version.
33920
33921 2011-09-12 Marek Polacek <mpolacek@redhat.com>
33922
33923 * elf/dl-load.c (lose): Add cast to avoid warning.
33924
33925 2011-10-07 Ulrich Drepper <drepper@gmail.com>
33926
33927 * po/ca.po: Update from translation team.
33928
33929 * inet/getnetgrent_r.c: Hook up nscd.
33930 * nscd/Makefile (routines): Add nscd_netgroup.
33931 (nscd-modules): Add netgroupcache.
33932 (CFLAGS-netgroupcache.c): Define.
33933 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33934 (cache_search): Add const to second parameter.
33935 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33936 INNETGR.
33937 (dbs): Add netgrdb entry.
33938 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
33939 (verify_persistent_db): Handle netgrdb.
33940 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
33941 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
33942 GETFDNETGR.
33943 (netgroup_response_header): Define.
33944 (innetgroup_response_header): Define.
33945 (datahead): Add netgroup_response_header and innetgroup_response_header
33946 elements.
33947 * nscd/nscd.conf: Add entries for netgroup cache.
33948 * nscd/nscd.h (dbtype): Add netgrdb.
33949 (_PATH_NSCD_NETGROUP_DB): Define.
33950 (netgroup_iov_disabled): Declare.
33951 (xmalloc, xcalloc, xrealloc): Move declarations here.
33952 (cache_search): Adjust prototype.
33953 Add netgroup-related prototypes.
33954 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
33955 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
33956 (__nscd_innetgr): Declare.
33957 * nscd/selinux.c (perms): Use access_vector_t as element type and
33958 add netgroup-related initializers.
33959 * nscd/netgroupcache.c: New file.
33960 * nscd/nscd_netgroup.c: New file.
33961 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
33962 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
33963 For four parameters use innetgr.
33964 * nss/nss_files/files-init.c: Add definition and callback for netgr.
33965 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
33966 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
33967 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
33968
33969 * nscd/connections.c (register_traced_file): Don't register file
33970 for disabled databases.
33971
33972 2011-10-06 Ulrich Drepper <drepper@gmail.com>
33973
33974 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
33975
33976 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
33977 from tree and freeing node.
33978
33979 2011-09-25 Jiri Olsa <jolsa@redhat.com>
33980
33981 * nss/nsswitch.c (__nss_database_lookup): Handle
33982 nss_parse_service_list out of memory case.
33983
33984 2011-09-15 Jiri Olsa <jolsa@redhat.com>
33985
33986 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
33987 out of memory case.
33988
33989 2011-10-04 Andreas Schwab <schwab@redhat.com>
33990
33991 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
33992 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
33993 pass it down.
33994 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
33995 elf_machine_rela, elf_machine_lazy_rel.
33996 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
33997 (ELF_DYNAMIC_DO_REL): Likewise.
33998 (ELF_DYNAMIC_DO_RELA): Likewise.
33999 (ELF_DYNAMIC_RELOCATE): Likewise.
34000 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34001 to ELF_DYNAMIC_DO_REL.
34002 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34003 (dl_main): In trace mode always set __RTLD_NOIFUNC.
34004 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34005 elf_machine_rela.
34006 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34007 skip_ifunc, don't call ifunc function if non-zero.
34008 (elf_machine_rela): Likewise.
34009 (elf_machine_lazy_rel): Likewise.
34010 (elf_machine_lazy_rela): Likewise.
34011 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34012 (elf_machine_lazy_rel): Likewise.
34013 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34014 Likewise.
34015 (elf_machine_lazy_rel): Likewise.
34016 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34017 Likewise.
34018 (elf_machine_lazy_rel): Likewise.
34019 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34020 (elf_machine_lazy_rel): Likewise.
34021 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34022 (elf_machine_lazy_rel): Likewise.
34023 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34024 (elf_machine_lazy_rel): Likewise.
34025 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34026 (elf_machine_lazy_rel): Likewise.
34027 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34028 (elf_machine_lazy_rel): Likewise.
34029 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34030 (elf_machine_lazy_rel): Likewise.
34031
34032 2011-09-28 Ulrich Drepper <drepper@gmail.com>
34033
34034 * nss/nss_files/files-init.c (_nss_files_init): Use static
34035 initialization for all the *_traced_file variables.
34036
34037 2011-09-28 Andreas Schwab <schwab@redhat.com>
34038
34039 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34040
34041 2011-09-27 Roland McGrath <roland@hack.frob.com>
34042
34043 [BZ #13226]
34044 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34045
34046 2011-09-27 Andreas Schwab <schwab@redhat.com>
34047
34048 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34049 Reread the line before reparsing it.
34050
34051 2011-09-26 Andreas Schwab <schwab@redhat.com>
34052
34053 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34054
34055 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
34056 Maxim Kuvyrkov <maxim@codesourcery.com>
34057 Joseph Myers <joseph@codesourcery.com>
34058
34059 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34060 if needed for __stack_chk_guard.
34061
34062 2011-09-19 Roland McGrath <roland@hack.frob.com>
34063
34064 * sysdeps/posix/spawni.c (script_execute): Always define it.
34065 It will be optimized away if unused.
34066 (maybe_script_execute): New function.
34067 (__spawni): Call it.
34068
34069 * Makerules: Don't include tls.make.
34070 (config-tls): Always set to thread.
34071 * tls.make.c: File removed.
34072
34073 2011-09-19 Mike Frysinger <vapier@gentoo.org>
34074
34075 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34076 * config.make.in (CPPFLAGS-config): New substituted variable.
34077
34078 2011-09-15 Ulrich Drepper <drepper@gmail.com>
34079
34080 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34081
34082 [BZ #13192]
34083 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34084 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34085
34086 2011-09-15 Roland McGrath <roland@hack.frob.com>
34087
34088 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34089 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34090 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34091 (CALL_FAIL): Likewise.
34092 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34093 (CALL_FAIL): Macro removed.
34094 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34095
34096 2011-09-15 Ulrich Drepper <drepper@gmail.com>
34097
34098 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34099 for __FINITE_MATH_ONLY__ == 1.
34100
34101 2011-09-15 Andreas Schwab <schwab@redhat.com>
34102
34103 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34104 __ieee754_sqrt instead of sqrt.
34105 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34106 __ieee754_sqrtf instead of sqrtf.
34107 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34108 __floorf instead of floorf.
34109 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34110 __floorf, __truncf instead of floorf, truncf.
34111
34112 2011-09-14 Ulrich Drepper <drepper@gmail.com>
34113
34114 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34115
34116 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34117 __extern_always_inline.
34118 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34119 32-bit.
34120
34121 2011-09-14 Andreas Schwab <schwab@redhat.com>
34122
34123 * elf/rtld.c (dl_main): Also relocate in dependency order when
34124 doing symbol dependency testing.
34125
34126 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
34127
34128 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34129 Always define `refsym'.
34130
34131 2011-09-13 Andreas Schwab <schwab@redhat.com>
34132
34133 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34134 (__FD_ELT): Renamed from __FDELT.
34135 * misc/bits/select2.h (__FD_ELT): Likewise.
34136 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34137 __FD_MASK instead of __FDELT, __FDMASK.
34138 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34139 Likewise.
34140 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34141 Likewise.
34142
34143 * elf/Makefile (gen-ldd): Fix pattern.
34144
34145 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34146 (init_tls): Likewise.
34147
34148 2011-09-12 Ulrich Drepper <drepper@gmail.com>
34149
34150 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34151
34152 2011-09-12 Andreas Schwab <schwab@redhat.com>
34153
34154 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34155 `struct cmsghdr *' instead of `void *'.
34156 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34157 Likewise.
34158
34159 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
34160
34161 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34162 if non-absolute.
34163 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34164 ldd_rewrite_script.
34165
34166 2011-09-11 Ulrich Drepper <drepper@gmail.com>
34167
34168 * configure.in: Remove --with-tls option.
34169 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34170 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34171 out in case it is missing.
34172 * sysdeps/ia64/elf/configure.in: Likewise.
34173 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34174 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34175 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34176 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34177 * sysdeps/sh/elf/configure.in: Likewise.
34178 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34179 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34180 * sysdeps/x86_64/elf/configure.in: Likewise.
34181 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34182 * sysdeps/mach/hurd/tls.h: Likewise.
34183
34184 [BZ #13067]
34185 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34186
34187 [BZ #13090]
34188 * configure.in: Fix use of AC_INIT.
34189
34190 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34191
34192 2011-09-10 Ulrich Drepper <drepper@gmail.com>
34193
34194 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34195 __set_errno.
34196 * malloc/hooks.c: Likewise.
34197
34198 [BZ #11929]
34199 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
34200 variables statically.
34201 (narenas): Initialize.
34202 (list_lock): Initialize.
34203 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
34204 initializtion of main_arena and list_lock. Small cleanups.
34205 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34206 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
34207 Add initializers to main_arena and mp_.
34208 (malloc_state): Remove pagesize member. Change all users to use
34209 GLRO(dl_pagesize).
34210
34211 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34212 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
34213 is always initialized.
34214
34215 * malloc/malloc.c: Removed unused configurations and dead code.
34216 * malloc/arena.c: Likewise.
34217 * malloc/hooks.c: Likewise.
34218 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
34219
34220 * include/tls.h: Removed. USE___THREAD must always be defined.
34221 * bits/libc-tsd.h: Don't handle !USE___THREAD.
34222 * elf/dl-libc.c: Likewise.
34223 * elf/dl-tsd.c: Likewise.
34224 * include/errno.h: Likewise.
34225 * include/netdb.h: Likewise.
34226 * include/resolv.h: Likewise.
34227 * inet/herrno-loc.c: Likewise.
34228 * inet/herrno.c: Likewise.
34229 * malloc/arena.c: Likewise.
34230 * malloc/hooks.c: Likewise.
34231 * malloc/malloc.c: Likewise.
34232 * resolv/res-state.c: Likewise.
34233 * resolv/res_libc.c: Likewise.
34234 * sysdeps/i386/dl-machine.h: Likewise.
34235 * sysdeps/ia64/dl-machine.h: Likewise.
34236 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34237 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34238 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34239 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34240 * sysdeps/sh/dl-machine.h: Likewise.
34241 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34242 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34243 * sysdeps/unix/i386/sysdep.S: Likewise.
34244 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34245 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34246 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34247 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34248 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34249 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34250 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34251 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34252 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34253 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34254 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34255 * sysdeps/x86_64/dl-machine.h: Likewise.
34256 * tls.make.c: Likewise.
34257
34258 * configure.in: Remove --with-__thread option. Make tests for
34259 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34260 tls_model attribute fail if no support is available. Remove
34261 USE_IN_LIBIO.
34262 * Makeconfig: Adjust for dropped configure option. All features are
34263 now mandatory.
34264 * Makerules: Likewise.
34265 * Versions.def: Likewise.
34266 * argp/argp-fmtstream.c: Likewise.
34267 * argp/argp-fmtstream.h: Likewise.
34268 * argp/argp-help.c: Likewise.
34269 * assert/assert.c: Likewise.
34270 * config.h.in: Likewise.
34271 * config.make.in: Likewise.
34272 * configure: Likewise.
34273 * configure.in: Likewise.
34274 * csu/Versions: Likewise.
34275 * csu/init.c: Likewise.
34276 * elf/tst-audit2.c: Likewise.
34277 * elf/tst-tls10.c: Likewise.
34278 * elf/tst-tls10.h: Likewise.
34279 * elf/tst-tls11.c: Likewise.
34280 * elf/tst-tls12.c: Likewise.
34281 * elf/tst-tls14.c: Likewise.
34282 * elf/tst-tlsmod11.c: Likewise.
34283 * elf/tst-tlsmod12.c: Likewise.
34284 * elf/tst-tlsmod13.c: Likewise.
34285 * elf/tst-tlsmod13a.c: Likewise.
34286 * elf/tst-tlsmod14a.c: Likewise.
34287 * elf/tst-tlsmod15b.c: Likewise.
34288 * elf/tst-tlsmod16a.c: Likewise.
34289 * elf/tst-tlsmod16b.c: Likewise.
34290 * elf/tst-tlsmod7.c: Likewise.
34291 * elf/tst-tlsmod8.c: Likewise.
34292 * elf/tst-tlsmod9.c: Likewise.
34293 * gmon/gmon.c: Likewise.
34294 * grp/fgetgrent_r.c: Likewise.
34295 * grp/putgrent.c: Likewise.
34296 * hurd/fopenport.c: Likewise.
34297 * include/libc-symbols.h: Likewise.
34298 * include/tls.h: Likewise.
34299 * intl/gettextP.h: Likewise.
34300 * intl/loadinfo.h: Likewise.
34301 * locale/global-locale.c: Likewise.
34302 * locale/localeinfo.h: Likewise.
34303 * mach/devstream.c: Likewise.
34304 * malloc/arena.c: Likewise.
34305 * malloc/set-freeres.c: Likewise.
34306 * misc/err.c: Likewise.
34307 * misc/getttyent.c: Likewise.
34308 * misc/mntent_r.c: Likewise.
34309 * posix/getopt.c: Likewise.
34310 * posix/wordexp.c: Likewise.
34311 * pwd/fgetpwent_r.c: Likewise.
34312 * resolv/Versions: Likewise.
34313 * resolv/res_hconf.c: Likewise.
34314 * shadow/fgetspent_r.c: Likewise.
34315 * shadow/putspent.c: Likewise.
34316 * stdio-common/printf_fphex.c: Likewise.
34317 * stdio-common/tmpfile.c: Likewise.
34318 * stdlib/abort.c: Likewise.
34319 * stdlib/fmtmsg.c: Likewise.
34320 * sunrpc/auth_unix.c: Likewise.
34321 * sunrpc/clnt_perr.c: Likewise.
34322 * sunrpc/clnt_tcp.c: Likewise.
34323 * sunrpc/clnt_udp.c: Likewise.
34324 * sunrpc/clnt_unix.c: Likewise.
34325 * sunrpc/openchild.c: Likewise.
34326 * sunrpc/svc_simple.c: Likewise.
34327 * sunrpc/svc_tcp.c: Likewise.
34328 * sunrpc/svc_udp.c: Likewise.
34329 * sunrpc/svc_unix.c: Likewise.
34330 * sunrpc/xdr.c: Likewise.
34331 * sunrpc/xdr_array.c: Likewise.
34332 * sunrpc/xdr_rec.c: Likewise.
34333 * sunrpc/xdr_ref.c: Likewise.
34334 * sunrpc/xdr_stdio.c: Likewise.
34335
34336 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34337
34338 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34339
34340 2011-07-03 Andreas Jaeger <aj@suse.de>
34341
34342 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34343 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34344 regenerate with gen-libm-tests.pl.
34345
34346 2010-05-12 Petr Baudis <pasky@suse.cz>
34347
34348 [BZ #11589]
34349 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34350 around j0() zero points by switching to j1().
34351 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34352 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34353 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34354 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34355
34356 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34357
34358 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34359 instead of 0.
34360 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
34361 instead of 0.
34362 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34363 Patch in part by Pavel Roskin <proski@gnu.org>.
34364
34365 [BZ #13138]
34366 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34367 realloc.
34368 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
34369 Free memory block if necessary.
34370
34371 [BZ #12847]
34372 * libio/genops.c (INTDEF): For string streams the _lock pointer can
34373 be NULL. Don't lock in this case.
34374
34375 2011-09-09 Roland McGrath <roland@hack.frob.com>
34376
34377 * elf/elf.h (ELFOSABI_GNU): New macro.
34378 (ELFOSABI_LINUX): Define to that.
34379
34380 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
34381
34382 * string/strncat.c (strncat): Undef the symbol in case it has been
34383 defined in bits/string.h.
34384
34385 2011-09-09 Ulrich Drepper <drepper@gmail.com>
34386
34387 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34388
34389 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
34390 link map.
34391
34392 2011-08-17 Andreas Jaeger <aj@suse.de>
34393
34394 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34395
34396 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
34397 Ian Lance Taylor <iant@google.com>
34398
34399 * math/libm-test.inc (lround_test): New testcase.
34400 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34401
34402 2011-09-08 Ulrich Drepper <drepper@gmail.com>
34403
34404 * Makefile: Remove support for automatic cvs check-ins.
34405 * Makerules: Likewise.
34406 * config.make.in: Likewise.
34407 * configure.in: Likewise.
34408 * intl/Makefile: Likewise.
34409 * locale/Makefile: Likewise.
34410 * po/Makefile: Likewise.
34411 * posix/Makefile: Likewise.
34412 * sysdeps/gnu/Makefile: Likewise.
34413 * sysdeps/mach/hurd/Makefile: Likewise.
34414 * sysdeps/sparc/sparc32/Makefile: Likewise.
34415
34416 [BZ #13118]
34417 * posix/Makefile (bug-regex32-ENV): Define.
34418 Patch by John Stanley <jpsinthemix@verizon.net>.
34419
34420 * misc/Makefile (headers): Add bits/select2.h.
34421 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34422 * misc/bits/select2.h: New file.
34423 * include/bits/select2.h: New file.
34424 * debug/Makefile (routines): Add fdelt_chk.
34425 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34426 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34427 FD_ISSET.
34428 * debug/fdelt_chk.c: New file.
34429
34430 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
34431 * wcsmbs/test-wmemcmp.c: Likewise.
34432 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
34433 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
34434
34435 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34436
34437 * string/Makefile (strop-tests): Add memcmp.
34438 * string/test-wmemcmp.c: New file.
34439 * string/test-memcmp.c: Add wmemcmp support.
34440
34441 2011-09-08 Roland McGrath <roland@hack.frob.com>
34442
34443 [BZ #13153]
34444 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34445 2011-07-19 change.
34446
34447 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34448 garbage value in a __mach_port_mod_refs call in the cases of the
34449 task-self and thread-self ports.
34450
34451 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34452
34453 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34454
34455 2011-09-08 Andreas Schwab <schwab@redhat.com>
34456
34457 * elf/dl-load.c (lose): Check for non-null L.
34458
34459 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34460
34461 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34462
34463 * elf/dl-libc.c (dlerror_run): Pass back error code from
34464 dl_catch_error.
34465
34466 [BZ #13123]
34467 * elf/dl-load.c (lose): Free l_origin if it is valid.
34468
34469 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34470 names.
34471 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34472 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34473 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34474 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34475 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34476 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34477
34478 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34479
34480 * sysdeps/powerpc/fpu/e_hypot.c: New file.
34481 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34482 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34483 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34484 * sysdeps/powerpc/fpu/k_cosf.c: New file.
34485 * sysdeps/powerpc/fpu/k_sinf.c: New file.
34486 * sysdeps/powerpc/fpu/s_cosf.c: New file.
34487 * sysdeps/powerpc/fpu/s_sinf.c: New file.
34488 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34489 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34490
34491 2011-08-15 Alan Modra <amodra@gmail.com>
34492
34493 [BZ #13092]
34494 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34495 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34496 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
34497 ppc_mcount to static-only-routines.
34498 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34499 __mcount_internal.
34500 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34501 __mcount_internal with usual JUMPTARGET. Remove useless nop.
34502
34503 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
34504
34505 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34506 for finite and infinity parameters.
34507
34508 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34509
34510 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34511 and add nop instructions for throughput optimization.
34512 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34513
34514 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
34515
34516 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34517 aligned copy for power7 with vector-scalar instructions.
34518 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34519
34520 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
34521
34522 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34523 AVX check.
34524
34525 2011-09-07 Andreas Schwab <schwab@redhat.com>
34526
34527 [BZ #13144]
34528 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34529 last change.
34530
34531 2011-09-07 Ulrich Drepper <drepper@gmail.com>
34532
34533 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34534 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34535 syscall wrapper around clock_gettime in __vdso_clock_gettime.
34536 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34537 clock_gettime.
34538
34539 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34540
34541 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34542 Forgot to demangle the pointer.
34543
34544 * sysdeps/i386/sysdep.h: Define atom_text_section.
34545 * sysdeps/x86_64/sysdep.h: Likewise.
34546 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34547 section with atom_text_section.
34548 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34549 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34550 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34551 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34552 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34553
34554 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34555 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34556 already be defined. Change to take two parameters and don't assign
34557 result to variable. Adjust all users.
34558 Define INTERNAL_GETTIME if not already defined.
34559 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34560 call.
34561 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34562 HAVE_CLOCK_GETTIME_VSYSCALL.
34563 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34564
34565 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34566 gettimeofday vsyscall, just use time.
34567
34568 2011-09-06 Andreas Schwab <schwab@redhat.com>
34569
34570 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34571 <errno.h>.
34572
34573 2011-09-06 Ulrich Drepper <drepper@gmail.com>
34574
34575 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34576 syscall on x86-64.
34577 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34578 syscall.
34579 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34580 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34581 syscall if possible.
34582
34583 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34584
34585 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34586 e_ident. Don't pass to find_mapsXX.
34587 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34588
34589 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34590
34591 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34592 strchr-sse2-no-bsf strrchr-sse2-no-bsf
34593 * sysdeps/x86_64/multiarch/strchr.S: Update.
34594 Check bit_slow_BSF bit.
34595 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34596 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34597 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34598
34599 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34600
34601 [BZ #13134]
34602 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34603 before glibc 2.15.
34604 (tryshell): Define.
34605 (__spawni): Change last parameter to be flag. Test
34606 SPAWN_XFLAGS_USE_PATH flag to use path or not.
34607 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34608 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34609 * posix/spawni.c: Likewise.
34610 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34611 * posix/spawnp.c: Likewise. Change normal version to use
34612 SPAWN_XFLAGS_USE_PATH.
34613 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34614 SPAWN_XFLAGS_TRY_SHELL.
34615
34616 [BZ #13150]
34617 * posix/glob.h: Remove gcc 1.x support.
34618
34619 [BZ #13068]
34620 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34621
34622 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34623
34624 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34625 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34626 strrchr-sse2-bsf
34627 * sysdeps/i386/i686/multiarch/strchr.S: New file.
34628 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34629 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34630 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34631 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34632 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34633
34634 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34635
34636 * sysdeps/x86_64/wcscmp.S: New file.
34637
34638 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34639 wcscmp-c wcscmp-sse2
34640 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34641 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34642 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34643 * wcsmbs/wcscmp.c: Allow renaming.
34644
34645 2011-09-05 David S. Miller <davem@davemloft.net>
34646
34647 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34648 stack slot, rather than the struct return pointer slot.
34649 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34650 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34652 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34653
34654 2011-09-05 Ulrich Drepper <drepper@gmail.com>
34655
34656 * po/ja.po: Update from translation team.
34657
34658 [BZ #13144]
34659 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34660 kernel in 64-bit binaries.
34661
34662 2011-09-01 David S. Miller <davem@davemloft.net>
34663
34664 * elf/elf.h (HWCAP_SPARC_*): Move to..
34665 * sysdeps/sparc/sysdep.h: this new file and add new values.
34666 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34667 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34668 _DL_HWCAP_COUNT to 24.
34669 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34670 entries.
34671 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34672 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34673 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34674 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34675 instead of magic constants.
34676 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34677
34678 2011-08-31 David S. Miller <davem@davemloft.net>
34679
34680 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34681 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34682 Reimplement to do errno handling inline.
34683 (SYSCALL_ERROR_HANDLER): New macro.
34684 (__SYSCALL_STRING): Do not do errno handling in asm.
34685 (__CLONE_SYSCALL_STRING): Delete.
34686 (__INTERNAL_SYSCALL_STRING): Delete.
34687 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34688 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34689 (PSEUDO): Reimplement to do errno handling inline.
34690 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34691 (SYSCALL_ERROR_HANDLER): New macro.
34692 (__SYSCALL_STRING): Do not do errno handling in asm.
34693 (__CLONE_SYSCALL_STRING): Delete.
34694 (__INTERNAL_SYSCALL_STRING): Delete.
34695 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34696 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34697 i386.
34698 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34699 (inline_syscall*): Add 'err' argument.
34700 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34701 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34702 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34703 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34704
34705 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34706 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34707
34708 2011-08-30 Andreas Schwab <schwab@redhat.com>
34709
34710 * elf/rtld.c (dl_main): Relocate objects in dependency order.
34711
34712 2011-08-29 Jiri Olsa <jolsa@redhat.com>
34713
34714 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34715 directive.
34716
34717 2011-08-24 David S. Miller <davem@davemloft.net>
34718
34719 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34720
34721 2011-08-24 Andreas Schwab <schwab@redhat.com>
34722
34723 * elf/Makefile: Add rules to build and run unload8 test.
34724 * elf/unload8.c: New file.
34725 * elf/unload8mod1.c: New file.
34726 * elf/unload8mod1x.c: New file.
34727 * elf/unload8mod2.c: New file.
34728 * elf/unload8mod3.c: New file.
34729
34730 * elf/dl-close.c (_dl_close_worker): Reset private search list if
34731 it wasn't used.
34732
34733 2011-08-23 David S. Miller <davem@davemloft.net>
34734
34735 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34736 subtract stack bias.
34737 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34738 %sp not %fp in calculations.
34739 (_JMPBUF_UNWINDS_ADJ): Likewise.
34740
34741 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34742 (aio_suspend): Call it to force an exception region around the
34743 AIO_MISC_WAIT() invocation.
34744
34745 2011-08-23 Andreas Schwab <schwab@redhat.com>
34746
34747 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34748 backslash.
34749
34750 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
34751
34752 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34753 protection macro.
34754 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34755 and <dl-machine.h>.
34756 (Elf64_FuncDesc): Remove.
34757
34758 2011-08-22 David S. Miller <davem@davemloft.net>
34759
34760 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34761 sigaltstack check, add missing cfi directives.
34762 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34763 missing cfi directives, and sigaltstack handling.
34764
34765 2011-08-16 Andreas Schwab <schwab@redhat.com>
34766
34767 [BZ #11724]
34768 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34769 object is seen twice.
34770 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34771
34772 * elf/Makefile (distribute): Add tst-initorder2.c.
34773 (tests): Add tst-initorder2.
34774 (modules-names): Add tst-initorder2a tst-initorder2b
34775 tst-initorder2c tst-initorder2d. Add rules to build them.
34776 ($(objpfx)tst-initorder2.out): New rule.
34777 * elf/tst-initorder2.c: New file.
34778 * elf/tst-initorder2.exp: New file.
34779
34780 2011-08-22 Andreas Schwab <schwab@redhat.com>
34781
34782 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34783
34784 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34785 dependencies back to end of function.
34786
34787 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34788 $(elfobjdir)/ld.so.
34789
34790 2011-08-21 Ulrich Drepper <drepper@gmail.com>
34791
34792 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34793 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34794 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34795 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34796 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34797 of __vdso_gettimeofday.
34798 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34799 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
34800 attribute_hidden.
34801 (_libc_vdso_platform_setup): Remove initialization of
34802 __vdso_gettimeofday and __vdso_time.
34803
34804 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34805
34806 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34807 and fgetc_unlocked.
34808 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34809 getc_unlocked.
34810
34811 * elf/dl-open.c (add_to_global): Report additions to the global scope
34812 for LD_DEBUG=scopes.
34813 (dl_open_worker): Also print scope of newly loaded dependencies.
34814 (_dl_show_scope): Indicate if there is no scope.
34815
34816 [BZ #13114]
34817 * stdio-common/Makefile (tests): Add bug24.
34818 * stdio-common/bug24.c: New file.
34819
34820 2011-08-19 Andreas Jaeger <aj@suse.de>
34821
34822 [BZ #13114]
34823 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34824 non-existant file when using close-on-exec mode.
34825
34826 2011-08-20 Ulrich Drepper <drepper@gmail.com>
34827
34828 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34829 the very first instruction.
34830
34831 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34832 the CFI state in the end.
34833 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34834 inclusion of dl-trampoline.h.
34835 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34836
34837 2011-08-19 Andreas Schwab <schwab@redhat.com>
34838
34839 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34840 expectations for long double.
34841
34842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34843 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34844
34845 2011-08-14 David S. Miller <davem@davemloft.net>
34846
34847 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34848 artificual limit depends upon the system page size.
34849
34850 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34851
34852 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34853 * resolv/Makefile: Define CFLAGS-libresolv.
34854
34855 2011-08-17 Andreas Schwab <schwab@redhat.com>
34856
34857 * nss/makedb.c (compute_tables): Make variables used in nested
34858 function static.
34859
34860 2011-08-17 Ulrich Drepper <drepper@gmail.com>
34861
34862 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34863 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34864 if buffer was too small.
34865
34866 * elf/pldd.c (main): Attach to all threads in the process.
34867 Rewrite /proc handling to use *at functions.
34868
34869 2011-08-16 Ulrich Drepper <drepper@gmail.com>
34870
34871 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34872 specifies first scope to show.
34873 (dl_open_worker): Update callers. Move printing scope of new
34874 object to before the relocation.
34875 * elf/rtld.c (dl_main): Update _dl_show_scope call.
34876 * sysdeps/generic/ldsodefs.h: Update declaration.
34877
34878 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34879 string for the scope number.
34880
34881 2011-08-14 Ulrich Drepper <drepper@gmail.com>
34882
34883 * nscd/servicescache.c (cache_addserv): Make sure written is always
34884 initialized.
34885
34886 2011-08-14 Roland McGrath <roland@hack.frob.com>
34887
34888 * sysdeps/i386/i486/bits/atomic.h
34889 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34890 statement expression, so as to suppress "set but not used" warning.
34891 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34892
34893 * string/strncat.c (STRNCAT): Use prototype definition.
34894
34895 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34896 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34897 -Iprograms here.
34898 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34899 (localedef-modules): Add localedef.
34900 (locale-modules): Add locale.
34901
34902 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34903 * elf/rtld.c (dl_main): Invert order of assignment in last change,
34904 to avoid a warning.
34905
34906 2011-08-14 David S. Miller <davem@davemloft.net>
34907
34908 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34909 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34910
34911 2011-08-13 Ulrich Drepper <drepper@gmail.com>
34912
34913 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34914 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34915 * elf/rtld.c (dl_main): Set l_name of vDSO.
34916 Call _dl_show_scope when DL_DEBUG_SCOPES.
34917 (process_dl_debug): Recognize scopes flag and also set it for all.
34918 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34919 Declare _dl_show_scope.
34920
34921 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34922 (do_dlopen): Pass caller_dlopen to dl_open.
34923 (__libc_dlopen_mode): Initialize caller_dlopen.
34924
34925 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34926 of libc. Make tolower call locale-independent. Optimize a bit by
34927 using isdigit instead of isalnum.
34928 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34929
34930 2011-08-12 Ulrich Drepper <drepper@gmail.com>
34931
34932 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34933 was a dependency or dynamically loaded.
34934
34935 2011-08-11 Ulrich Drepper <drepper@gmail.com>
34936
34937 * intl/l10nflist.c: Allow architecture-specific pop function.
34938 * sysdeps/x86_64/l10nflist.c: New file.
34939
34940 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
34941 classification.
34942
34943 2011-08-10 Andreas Schwab <schwab@redhat.com>
34944
34945 * include/dirent.h: Add libc_hidden_proto for scandirat and
34946 scandirat64. Don't declare __scandirat64.
34947 * dirent/scandirat.c: Add libc_hidden_def.
34948 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
34949 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
34950
34951 2011-08-10 David S. Miller <davem@davemloft.net>
34952
34953 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
34954 enum.
34955 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34956 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34957 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34958
34959 2011-08-09 Ulrich Drepper <drepper@gmail.com>
34960
34961 * Versions.def [libc]: Add GLIBC_2.15.
34962 * dirent/Makefile (routines): Add scandirat and scandirat64.
34963 * dirent/Versions [libc]: Export scandirat and scandirat64 for
34964 GLIBC_2.15.
34965 * dirent/dirent.h: Declare scandirat and scandirat64.
34966 * dirent/scandirat.c: New file.
34967 * dirent/scandirat64.c: New file.
34968 * sysdeps/wordsize-64/scandirat.c: New file.
34969 * sysdeps/wordsize-64/scandirat64.c: New file.
34970 * dirent/opendir.c: Define opendirat.
34971 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
34972 using scandirat.
34973 * dirent/scandir64.c: Adjust for scandir.c change.
34974 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
34975 __scandirat64, and __scandir_cancel_handler.
34976 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
34977 additional parameter and use openat instead of open (outside of ld.so).
34978 Add new __opendir as wrapper around __opendirat.
34979 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
34980 here without requiring old scandirat implementation.
34981
34982 2011-08-08 Ulrich Drepper <drepper@gmail.com>
34983
34984 * dirent/scandir.c (cancel_handler): Renamed to
34985 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
34986 defined. Adjust users.
34987 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
34988 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
34989
34990 2011-08-04 Ulrich Drepper <drepper@gmail.com>
34991
34992 * string/test-string.h (IMPL): Use __STRING to expand name and then
34993 stringify it.
34994
34995 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
34996 of cleanups.
34997
34998 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34999
35000 * string/Makefile: Update.
35001 (strop-tests): Append strncat.
35002 * string/test-wcscmp.c: New file.
35003 New comprehensive test for wcscmp.
35004 * string/test-strcmp.c: Update.
35005 (WIDE): New define.
35006
35007 2011-07-22 Andreas Schwab <schwab@redhat.com>
35008
35009 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35010 line.
35011
35012 2011-07-26 Andreas Schwab <schwab@redhat.com>
35013
35014 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35015 encoding to ACE if AI_IDN.
35016
35017 2011-08-01 Jakub Jelinek <jakub@redhat.com>
35018
35019 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35020 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35021
35022 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35023
35024 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35025 Fix overflow bug in strncat.
35026 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35027
35028 * string/test-strncat.c: Update.
35029 Add new tests for checking overflow bugs.
35030
35031 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35032
35033 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35034 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35035 * sysdeps/i386/i686/multiarch/strcat.S: New file.
35036 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35037 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35038 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35039 * sysdeps/i386/i686/multiarch/strncat.S: New file.
35040 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35041 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35042
35043 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35044 (USE_AS_STRCAT): Define.
35045 Add strcat and strncat support.
35046 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35047
35048 2011-07-25 Andreas Schwab <schwab@redhat.com>
35049
35050 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35051 __n bigger than INT_MAX+1.
35052 (__strncmp_g): Likewise.
35053
35054 2011-07-23 Ulrich Drepper <drepper@gmail.com>
35055
35056 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35057 * libio/stido.h: Likewise.
35058
35059 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35060 (AF_NFC): Define.
35061 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35062 (AF_NFC): Define.
35063
35064 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35065 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35066 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35067 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35068 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35069
35070 [BZ #13021]
35071 * scripts/test-installation.pl: Don't expect libnss_test1 to be
35072 installed.
35073
35074 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35075 typo.
35076 (_dl_x86_64_save_sse): Likewise.
35077
35078 2011-07-22 Ulrich Drepper <drepper@gmail.com>
35079
35080 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35081 OSXSAVE.
35082 (_dl_x86_64_save_sse): Likewise.
35083
35084 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35085
35086 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35087
35088 2011-07-21 Andreas Schwab <schwab@redhat.com>
35089
35090 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35091 change.
35092 (_dl_x86_64_save_sse): Use correct AVX check.
35093
35094 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35095
35096 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35097 bug in strncpy/strncat.
35098 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35099
35100 2011-07-21 Ulrich Drepper <drepper@gmail.com>
35101
35102 * string/tester.c (test_strcat): Add tests for different alignments
35103 of source and destination.
35104 (test_strncat): Likewise.
35105
35106 2011-07-20 Ulrich Drepper <drepper@gmail.com>
35107
35108 [BZ #12852]
35109 * posix/glob.c (glob): Check passed in values before using them in
35110 expressions to avoid some overflows.
35111 (glob_in_dir): Likewise.
35112
35113 [BZ #13007]
35114 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35115 check for AVX enablement so that we don't crash with old kernels and
35116 new hardware.
35117 * elf/tst-audit4.c: Add same checks here.
35118 * elf/tst-audit6.c: Likewise.
35119
35120 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
35121
35122 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
35123
35124 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35125
35126 2011-07-20 Ulrich Drepper <drepper@gmail.com>
35127
35128 * po/cs.po: Update from translation team.
35129 * po/bg.po: Likewise.
35130
35131 2011-07-12 Marek Polacek <mpolacek@redhat.com>
35132
35133 * misc/sys/cdefs.h: Add support for const attribute.
35134 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35135 to gnu_dev_{major,minor,makedev} functions.
35136
35137 2011-07-20 Marek Polacek <mpolacek@redhat.com>
35138
35139 * intl/dcigettext.c (get_output_charset): Add missing bracket.
35140
35141 2011-07-20 Andreas Schwab <schwab@redhat.com>
35142
35143 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35144 strlen results.
35145
35146 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35147
35148 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35149 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35150 register in order to avoid conflicts with the soft frame pointer
35151 being held in r11 when necessary.
35152 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35153 (INTERNAL_VSYSCALL_NCS): Likewise.
35154
35155 2011-07-14 Marek Polacek <mpolacek@redhat.com>
35156
35157 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35158 * elf/dl-fini.c (_dl_fini): Adjust caller.
35159 * elf/dl-close.c (_dl_close_worker): Likewise.
35160 * sysdeps/generic/ldsodefs.h: Adjust declaration.
35161
35162 2011-07-15 Marek Polacek <mpolacek@redhat.com>
35163
35164 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35165 "aux_cache->nlibs < 0".
35166
35167 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35168 in the reload-count case.
35169
35170 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35171
35172 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35173 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35174 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35175 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35176 * sysdeps/x86_64/multiarch/strcat.S: New file.
35177 * sysdeps/x86_64/multiarch/strncat.S: New file.
35178 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35179 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35180 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35181 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35182 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35183 (USE_AS_STRCAT): Define.
35184 Add strcat and strncat support.
35185 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35186 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35187 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35188 * string/strncat.c: Update.
35189 (USE_AS_STRNCAT): Define.
35190 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35191 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35192 and i7.
35193 * sysdeps/x86_64/multiarch/init-arch.h
35194 (bit_Prefer_PMINUB_for_stringop): New.
35195 (index_Prefer_PMINUB_for_stringop): Likewise.
35196 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35197 bit_Prefer_PMINUB_for_stringop.
35198
35199 2011-07-19 Ulrich Drepper <drepper@gmail.com>
35200
35201 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35202 buffer64.
35203 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35204 of casting of buffer.
35205 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35206 buffer32 and buffer64.
35207 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35208 writes instead of casting of buffer.
35209 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35210 buffer32.
35211 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35212 casting of buffer.
35213
35214 2011-07-19 Andreas Schwab <schwab@redhat.com>
35215
35216 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35217
35218 2011-07-19 Ulrich Drepper <drepper@gmail.com>
35219
35220 * nscd/nscd.c (termination_handler): Don't do anything for a database
35221 if it has not yet been initialized.
35222
35223 2011-07-18 Ulrich Drepper <drepper@gmail.com>
35224
35225 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35226
35227 2011-07-15 Marek Polacek <mpolacek@redhat.com>
35228
35229 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35230
35231 2011-07-18 Ulrich Drepper <drepper@gmail.com>
35232
35233 * po/nl.po: Update from translation team.
35234 * po/sv.po: Likewise.
35235
35236 2011-07-16 Roland McGrath <roland@hack.frob.com>
35237
35238 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35239 now disallowed by GCC.
35240
35241 * configure.in (use-default-link): Default to yes if a test -shared
35242 link meets our qualifications.
35243 * configure: Regenerated.
35244
35245 * config.make.in (output-format): New variable.
35246 * configure.in: Check for ld --print-output-format support.
35247 * configure: Regenerated.
35248 * Makerules ($(common-objpfx)format.lds)
35249 [$(output-format) != unknown]: Just use $(output-format),
35250 instead of the linker-script munging.
35251
35252 2011-07-14 Roland McGrath <roland@hack.frob.com>
35253
35254 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35255 of $(common-objpfx)shlib.lds.
35256 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35257
35258 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35259 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35260
35261 * configure.in (-z relro check): Adjust test code to add a large
35262 writable data section after it.
35263 * configure: Regenerated.
35264
35265 2011-07-11 Roland McGrath <roland@hack.frob.com>
35266
35267 * configure.in (-z relro check): Fix test code to make the variable
35268 truly const.
35269 * configure: Regenerated.
35270
35271 2011-07-11 Ulrich Drepper <drepper@gmail.com>
35272
35273 * nscd/nscd.h (struct traced_file): Define.
35274 (struct database_dyn): Remove inotify_descr, reset_res, and filename
35275 elements. Add traced_files.
35276 (inotify_fd): Declare.
35277 (register_traced_file): Declare.
35278 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35279 (inotify_fd): Export.
35280 (resolv_conf_descr): Remove.
35281 (nscd_init): Move inotify descriptor creation to main.
35282 Don't register files for notification here.
35283 (register_traced_file): New function.
35284 (invalidate_cache): Don't use reset_res to determine whether to call
35285 res_init, go through the list of registered files.
35286 (main_loop_poll): The inotify descriptors are now stored in the
35287 structures for the traced files.
35288 (main_loop_epoll): Likewise
35289 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
35290 to __nss_disable_nscd.
35291 * nscd/cache.c (prune_cache): There is no single inotify descriptor
35292 for a database anymore. Check the records for all the registered
35293 files instead.
35294 * nss/Makefile (libnss_files-routines): Add files-init.
35295 (libnss_db-routines): Add db-init.
35296 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35297 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35298 * nss/nss_db/db-init.c: New file.
35299 * nss/nss_files/files-init.c: New file.
35300 * nss/nsswitch.c (nss_load_library): New function. Broken out of
35301 __nss_lookup_function.
35302 (__nss_lookup_function): Call nss_load_library.
35303 (nss_load_all_libraries): New function.
35304 (__nss_disable_nscd): Take parameter with callback function for files
35305 to register. Set is_nscd. Load all the DSOs for the NSS modules
35306 used for the cached services.
35307 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35308 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35309 options for features to all the files in nscd.
35310
35311 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35312
35313 2011-07-10 Roland McGrath <roland@hack.frob.com>
35314
35315 * csu/elf-init.c (__libc_csu_init): Comment typo.
35316
35317 2011-07-09 Ulrich Drepper <drepper@gmail.com>
35318
35319 * po/pl.po: Update from translation team.
35320 * po/ja.po: Likewise.
35321 * po/ru.po: Likewise.
35322 * po/ko.po: Likewise.
35323 * po/fr.po: Likewise.
35324
35325 2011-07-09 Roland McGrath <roland@hack.frob.com>
35326
35327 * configure.in (.ctors/.dtors header and trailer check):
35328 Use an empirical test on a built program.
35329 * configure: Regenerated.
35330
35331 * configure.in (-z relro check): Use an empirical test on a built DSO.
35332 Detect, but do not require, on ia64.
35333 * configure: Regenerated.
35334
35335 * configure.in (READELF): Find it with AC_CHECK_TOOL.
35336 Update tests that use readelf to use $READELF instead.
35337 * configure: Regenerated.
35338
35339 2011-07-08 Ulrich Drepper <drepper@gmail.com>
35340
35341 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35342 if the result is not used.
35343
35344 2011-07-05 Andreas Jaeger <aj@suse.de>
35345
35346 [BZ#9696]
35347 * stdlib/tst-strtod.c: Add testcase.
35348
35349 2011-07-07 Ulrich Drepper <drepper@gmail.com>
35350
35351 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
35352 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
35353 The latter has a higher limit. Take additional parameter to pass to
35354 the new function.
35355 (__pathconf): Pass file to __statfs_link_max.
35356 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35357 __statfs_link_max.
35358 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35359 __statfs_link_max.
35360
35361 [BZ #12868]
35362 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35363 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35364 Handle Lustre.
35365 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35366 (__statfs_filesize_max): Likewise.
35367 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35368
35369 2011-07-05 Andreas Jaeger <aj@suse.de>
35370
35371 * resolv/res_comp.c (dn_skipname): Remove unused variable.
35372
35373 2011-07-06 Marek Polacek <mpolacek@redhat.com>
35374
35375 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35376 `status' variable.
35377 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35378 Likewise.
35379
35380 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
35381
35382 * Makefile (strop-tests): Add strncat.
35383 * string/test-strncat.c: New file.
35384
35385 2011-06-30 Marek Polacek <mpolacek@redhat.com>
35386
35387 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35388
35389 2011-06-21 Andreas Jaeger <aj@suse.de>
35390
35391 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35392 Copy rule from iconvdata/Makefile.
35393
35394 2011-07-06 Ulrich Drepper <drepper@gmail.com>
35395
35396 [BZ #12922]
35397 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35398 but no long options are defined, just return 'W'.
35399
35400 2011-06-22 Marek Polacek <mpolacek@redhat.com>
35401
35402 [BZ #9696]
35403 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35404
35405 2011-07-06 Ulrich Drepper <drepper@gmail.com>
35406
35407 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35408 netgroups to read.
35409 (innetgr): Likewise.
35410
35411 2011-07-05 Roland McGrath <roland@hack.frob.com>
35412
35413 * config.make.in (install_root): Default to $(DESTDIR).
35414
35415 2011-07-05 Ulrich Drepper <drepper@gmail.com>
35416
35417 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35418
35419 2011-07-02 Roland McGrath <roland@hack.frob.com>
35420
35421 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35422
35423 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35424 containing directory rather than embedding absolute directory names.
35425
35426 * scripts/check-local-headers.sh: Rewritten using awk.
35427 Match by word, not by line. Print error messages for matches.
35428 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35429
35430 * Makerules [shlib-lds-flags empty]:
35431 ($(common-objpfx)libc_pic.opts): New target.
35432 ($(common-objpfx)libc_pic.os.clean): New target.
35433 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35434
35435 * config.make.in (OBJCOPY): New variable.
35436 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35437 * configure: Regenerated.
35438
35439 * config.make.in (use-default-link): New variable.
35440 * configure.in (use_default_link): Grok --with-default-link to set it.
35441 * configure: Regenerated.
35442 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35443 (shlib-lds, shlib-lds-flags): Define to empty.
35444
35445 * Makerules (shlib-lds): New variable.
35446 (shlib-lds-flags): New variable.
35447 (build-shlib, build-moduile, build-module-asneeded): Use it.
35448 ($(common-objpfx)libc.so): Use $(shlib-lds).
35449 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35450 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35451
35452 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35453 DT_FLAGS/DT_FLAGS_1 with zero flags.
35454
35455 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35456 linker script munging.
35457
35458 2011-07-02 Ulrich Drepper <drepper@gmail.com>
35459
35460 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35461 as 128-bit value.
35462 * crypt/sha512.c (sha512_process_block): Perform total addition using
35463 128-bit if possible.
35464 (__sha512_finish_ctx): Likewise.
35465 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35466 as 64-bit value.
35467 * crypt/sha256.c (SWAP64): Define.
35468 (sha256_process_block): Perform total addition using 64-bit if
35469 possible.
35470 (__sha256_finish_ctx): Likewise.
35471
35472 2011-07-01 Ulrich Drepper <drepper@gmail.com>
35473
35474 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
35475 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35476 * nscd/hstcache.c (cache_addhst): Likewise.
35477 * nscd/grpcache.c (cache_addgr): Likewise.
35478 * nscd/aicache.c (addhstaiX): Likewise
35479 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35480
35481 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
35482
35483 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35484 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35485 * nscd/hstcache.c (cache_addhst): Likewise.
35486 * nscd/grpcache.c (cache_addgr): Likewise.
35487 * nscd/aicache.c (addhstaiX): Likewise
35488
35489 2011-07-01 Andreas Schwab <schwab@redhat.com>
35490
35491 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35492 domain only when needed.
35493
35494 2011-06-30 Andreas Schwab <schwab@redhat.com>
35495
35496 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35497 is always restored.
35498
35499 2011-06-29 Ulrich Drepper <drepper@gmail.com>
35500
35501 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35502 are re-adding the entry.
35503 * nscd/servicescache.c (cache_addserv): Likewise.
35504
35505 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
35506
35507 * sysdeps/generic/dl-irel.h: fix protection against multiple
35508 inclusions.
35509 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35510
35511 2011-06-28 Ulrich Drepper <drepper@gmail.com>
35512
35513 [BZ #12935]
35514 * malloc/memusage.sh: Fix quoting in message.
35515 * debug/xtrace.sh: Likewise.
35516
35517 * configure.in: Remove support for --experimental-malloc option, make
35518 it the default.
35519 * config.make.in: Likewise.
35520 * malloc/Makefile: Likewise.
35521
35522 2011-06-27 Andreas Schwab <schwab@redhat.com>
35523
35524 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35525 two-byte characters.
35526
35527 2011-06-27 Roland McGrath <roland@hack.frob.com>
35528
35529 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35530 AC_CACHE_CHECK invocation.
35531 * configure: Regenerated.
35532
35533 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35534
35535 2011-06-27 Ulrich Drepper <drepper@gmail.com>
35536
35537 [BZ #12350]
35538 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
35539 bit from old_res_options.
35540
35541 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35542
35543 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35544 value type for setfct.
35545
35546 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
35547
35548 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35549 __gettimeofday instead of gettimeofday.
35550
35551 2011-06-26 Ulrich Drepper <drepper@gmail.com>
35552
35553 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35554
35555 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
35556
35557 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35558
35559 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35560 info.
35561
35562 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35563
35564 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35565 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35566 strcpy-sse2-unaligned strncpy-sse2-unaligned
35567 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35568 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35569 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35570 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35571 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35572 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35573 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35574 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35575 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35576 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35577 (STRCPY): Support SSE2 and SSSE3 versions.
35578
35579 2011-06-24 Ulrich Drepper <drepper@gmail.com>
35580
35581 [BZ #12874]
35582 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35583 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35584 kernels which artificially limit size of requests.
35585
35586 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
35587
35588 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35589 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35590 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35591 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35592 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35593 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35594 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35595 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35596 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35597 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35598 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35599 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35600 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35601 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35602 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35603 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35604 Enable unaligned load optimization for Intel Core i3, i5 and i7
35605 processors.
35606 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35607 Define.
35608 (index_Fast_Unaligned_Load): Define.
35609 (HAS_FAST_UNALIGNED_LOAD): Define.
35610
35611 2011-06-23 Marek Polacek <mpolacek@redhat.com>
35612
35613 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35614
35615 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35616
35617 [BZ #12907]
35618 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35619 until it is clear that the information is realy needed.
35620 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35621
35622 2011-06-22 Andreas Schwab <schwab@redhat.com>
35623
35624 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35625
35626 2011-06-22 Ulrich Drepper <drepper@gmail.com>
35627
35628 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35629 /sys/devices/system/cpu/online if it is usable.
35630
35631 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35632 reading the information from the /proc filesystem to once a second.
35633
35634 2011-06-21 Andreas Jaeger <aj@suse.de>
35635
35636 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35637 NULL after inclusion of kernel headers.
35638
35639 2011-06-21 Ulrich Drepper <drepper@gmail.com>
35640
35641 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35642 calls to internal_setent.
35643
35644 [BZ #12885]
35645 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35646 addresses using gethostbyname4_r ignore IPv4 addresses.
35647
35648 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35649 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
35650
35651 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35652
35653 2011-06-20 David S. Miller <davem@davemloft.net>
35654
35655 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35656 inclusions.
35657 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35658
35659 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35660 (elf_irel): Use it.
35661 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35662 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35663 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35664 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35665 * sysdeps/x86_64/dl-irel.h: Likewise.
35666
35667 * elf/dl-runtime.c: Use elf_ifunc_invoke.
35668 * elf/dl-sym.c: Likewise.
35669
35670 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35671
35672 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
35673 need to dereference resplen2.
35674
35675 2011-06-14 Andreas Schwab <schwab@redhat.com>
35676
35677 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35678
35679 2011-06-15 Ulrich Drepper <drepper@gmail.com>
35680
35681 * Makeconfig: Define vardbdir and inst_vardbdir.
35682 * nss/Makefile: Add rules to install db-Makefile.
35683
35684 * nss/nss_db/db-XXX.c: Cleanup.
35685
35686 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35687 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35688 GLIBC_PRIVATE.
35689 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35690 * nss/makedb.c: Implement -g option to specify that value strings
35691 are generated and should not be added to table iterated over for
35692 get*ent calls.
35693 * nss/nss_db/db-initgroups.c: New file.
35694
35695 * nss/getent.c: Add support for initgroups lookups through getgrouplist
35696 interface.
35697
35698 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35699 (internal_getgrouplist): Adjust to name change.
35700 Update use_initgroups_entry if this is not the first call.
35701 * nss/databases.def: Add initgroups entry.
35702
35703 * nss/makedb.c (compute_tables): Check result of multiple hash table
35704 sizes to minimize maximum chain length.
35705
35706 2011-06-14 Ulrich Drepper <drepper@gmail.com>
35707
35708 * Versions.def: Add entry for libnss_db.
35709 * shlib-versions: Likewise.
35710 * nss/Makefile: Add rules to build libnss_db.
35711 * nss/Versions: Add libnss_db information. Organize libnss_files
35712 entries better.
35713 * nss/db-Makefile: Add gshadow support. Change rules for the new
35714 makedb progra. Some minor improvements to generate smaller files.
35715 * nss/nss_db/nss_db.h: Move NSS database header data structures to
35716 here from...
35717 * nss/makedb.c: ...here.
35718 Improve database format to be smaller and require less memory at
35719 runtime.
35720 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
35721 db anymore.
35722 * nss/nss_db/db-netgrp.c: Likewise.
35723 * nss/nss_db/db-open.c: Likewise.
35724 * nss/nss_files/flies-XXX.x: Adjust comments.
35725 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35726 * nss/nss_files/files-grp.c: Likewise.
35727 * nss/nss_files/files-hosts.c: Likewise.
35728 * nss/nss_files/files-network.c: Likewise.
35729 * nss/nss_files/files-proto.c: Likewise.
35730 * nss/nss_files/files-pwd.c: Likewise.
35731 * nss/nss_files/files-rpc.c: Likewise.
35732 * nss/nss_files/files-service.c: Likewise.
35733 * nss/nss_files/files-sgrp.c: Likewise.
35734 * nss/nss_files/files-spwd.c: Likewise.
35735 * nss/nss_db/db-alias.c: Removed.
35736 * nss/nss_db/dummy-db.h: Removed.
35737
35738 2011-06-02 Ulrich Drepper <drepper@gmail.com>
35739
35740 * nss/makedb.c: Rewritten to not use database library.
35741 * nss/Makefile: Update to build new makedb program.
35742
35743 2011-06-14 Andreas Jaeger <aj@suse.de>
35744
35745 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35746 memset declaration.
35747
35748 2011-06-10 Andreas Schwab <schwab@redhat.com>
35749
35750 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35751 tmpbuf.
35752
35753 2011-06-10 Roland McGrath <roland@hack.frob.com>
35754
35755 * Makerules (shlib.lds): Fail if the linker script comes out empty.
35756 * elf/Makefile ($(objpfx)ld.so): Likewise.
35757
35758 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35759 Don't list ld.so twice in dependencies.
35760
35761 * posix/bug-regex31.c: Include <stdlib.h>.
35762
35763 * nscd/hstcache.c (cache_addhst): Remove unused variable.
35764
35765 * nis/nss_compat/compat-spwd.c
35766 (getspent_next_nss_netgr): Remove unused variable.
35767 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35768
35769 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35770 nonmembers" output to use the right array.
35771
35772 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35773
35774 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35775
35776 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35777 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35778 * catgets/gencat.c (read_input_file): Likewise.
35779 * locale/programs/locarchive.c (enlarge_archive): Likewise.
35780
35781 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35782 variable definition inside #if's controlling its use.
35783
35784 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35785
35786 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35787
35788 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35789
35790 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35791 unreachable code.
35792
35793 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35794
35795 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35796 * configure: Regenerated.
35797
35798 * Makerules: Revert last change.
35799 * elf/Makefile: Likewise.
35800
35801 2011-06-09 Roland McGrath <roland@hack.frob.com>
35802
35803 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35804 * elf/Makefile ($(objpfx)librtld.os): Likewise.
35805 (reloc-link): Likewise.
35806
35807 2011-06-09 Ulrich Drepper <drepper@gmail.com>
35808
35809 * elf/Makefile: Add rules to build pldd.
35810 * elf/pldd.c: New file.
35811 * elf/pldd-xx.c: New file.
35812
35813 2011-06-07 Ulrich Drepper <drepper@gmail.com>
35814
35815 * version.h: Update for 2.15 development version.
35816
35817 2011-06-07 David S. Miller <davem@davemloft.net>
35818
35819 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35820 ifuncs.
35821 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35822 elf_machine_lazy_rel): Likewise.
35823 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35824 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35825 elf_machine_lazy_rel): Likewise.
35826 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35827 dl_hwcap via passed in argument.
35828 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35829 Likewise.
35830
35831 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35832
35833 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
35834
35835 2011-06-06 Roland McGrath <roland@hack.frob.com>
35836
35837 [BZ #12849]
35838 * manual/fdl-1.1.texi: New file, verbatim from:
35839 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35840 * manual/lgpl-2.1.texi: New file, verbatim from:
35841 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35842 * manual/Makefile (licenses): New variable, list those new file names.
35843 (texis): Use it.
35844 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35845
35846 * manual/fdl.texi: File removed.
35847 * manual/lesser.texi: File removed.
35848 * manual/libc.texinfo (Copying, Documentation License):
35849 Use new @include file names, put @appendix directive before @include.
35850
35851 2011-06-04 Jakub Jelinek <jakub@redhat.com>
35852
35853 [BZ #12841]
35854 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35855 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35856 (mq_open): Add __NTH.
35857
35858 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
35859
35860 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35861 Assume Intel Core i3/i5/i7 processor if AVX is available.
35862
35863 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35864
35865 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35866 typo.
35867
35868 2011-05-31 Andreas Schwab <schwab@redhat.com>
35869
35870 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35871 memory. Use alloca_account. Fix memory leak when retrying.
35872
35873 2011-05-31 Ulrich Drepper <drepper@gmail.com>
35874
35875 * version.h (RELEASE): Bump for 2.14 release.
35876 * include/features.h (__GLIBC_MINOR__): Bump to 14.
35877
35878 * config.make.in (RANLIB): Remove entry.
35879
35880 2011-05-30 Ulrich Drepper <drepper@gmail.com>
35881
35882 * po/Makefile (po-sed-cmd): Add ksh to extensions.
35883 (libc.pot): Work around missing support for .ksh extension in xgettext.
35884
35885 [BZ #12684]
35886 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35887 if both request failed.
35888 (send_dg): In case of server errors clear resplen or *resplen2.
35889
35890 [BZ #12454]
35891 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35892 when there are multiple maps.
35893 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35894 (_dl_fini): Remove test here.
35895
35896 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35897
35898 2011-05-29 Ulrich Drepper <drepper@gmail.com>
35899
35900 [BZ #12350]
35901 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35902 bit from old_res_options.
35903 (gaih_inet): Likewise.
35904
35905 [BZ #11099]
35906 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35907 as signed.
35908
35909 * resolv/res_init.c (res_setoptions): Make the code more compact.
35910
35911 [BZ #11558]
35912 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35913 set RES_USEVC.
35914
35915 [BZ #11634]
35916 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35917
35918 * malloc/malloc.h: Mark malloc hook variables as deprecated.
35919
35920 [BZ #11781]
35921 * malloc/malloc.h: Declare malloc hook variables as volatile.
35922
35923 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35924 in last patch.
35925
35926 [BZ #11799]
35927 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35928 raise in the comment.
35929 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35930 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35931 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
35932
35933 2011-05-28 Ulrich Drepper <drepper@gmail.com>
35934
35935 [BZ #12811]
35936 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35937 grow the buffers more if it already has to be sufficient.
35938 (build_wcs_upper_buffer): Likewise.
35939 * posix/regexec.c (check_matching): Likewise.
35940 (clean_state_log_if_needed): Likewise.
35941 (extend_buffers): Don't enlarge buffers beyond size of the input
35942 buffer.
35943 Patches mostly by Emil Wojak <emil@wojak.eu>.
35944 * posix/bug-regex32.c: New file.
35945 * posix/Makefile (tests): Add bug-regex32.
35946
35947 * locale/findlocale.c (_nl_find_locale): Return right away if
35948 _nl_explode_name failed.
35949 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
35950
35951 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
35952
35953 * debug/xtrace.sh: Unify messages.
35954 * malloc/memusage.sh: Likewise.
35955
35956 [BZ #12813]
35957 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
35958 time symbol from vDSO. Substitute with vsyscall if not available.
35959 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
35960 __vdso_time.
35961
35962 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
35963 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
35964 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
35965 Add sendmmsg and internal_sendmmsg.
35966 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
35967 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
35968 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
35969
35970 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
35971 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
35972 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
35973
35974 2011-05-27 Ulrich Drepper <drepper@gmail.com>
35975
35976 [BZ #12813]
35977 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
35978 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
35979 available.
35980 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
35981 __vdso_getcpu.
35982
35983 [BZ #12814]
35984 * iconvdata/Makefile (tests): Add bug-iconv9.
35985 * iconvdata/bug-iconv9.c: New file.
35986
35987 2011-05-27 Andreas Schwab <schwab@redhat.com>
35988
35989 [BZ #12814]
35990 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
35991
35992 2011-05-25 Jakub Jelinek <jakub@redhat.com>
35993
35994 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
35995 (struct user_regs_struct): Change intcs field back to cs.
35996
35997 2011-05-25 Ulrich Drepper <drepper@gmail.com>
35998
35999 * po/ja.po: Update from translation team.
36000
36001 2011-05-23 Ulrich Drepper <drepper@gmail.com>
36002
36003 [BZ #12795]
36004 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36005 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36006
36007 2011-05-20 Andreas Schwab <schwab@redhat.com>
36008
36009 * stdlib/longlong.h: Update from GCC.
36010
36011 2011-05-23 Andreas Schwab <schwab@redhat.com>
36012
36013 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36014 parameter name.
36015 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36016 Add parameter name.
36017 (__sysconf): Pass it down.
36018
36019 2011-05-22 Ulrich Drepper <drepper@gmail.com>
36020
36021 [BZ #12671]
36022 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36023 some situations.
36024 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36025 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36026 add in in __libc_use_alloca calls. Adjust callers.
36027 (glob): Use malloc in some situations.
36028
36029 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36030 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36031 pltexit.
36032
36033 2011-05-21 Ulrich Drepper <drepper@gmail.com>
36034
36035 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36036 and CLOCK_BOOTTIME_ALARM.
36037
36038 [BZ #12782]
36039 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36040 is returned.
36041
36042 * string/_strerror.c (__strerror_r): Print negative errors as signed
36043 numbers.
36044
36045 [BZ #12777]
36046 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36047 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36048 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36049
36050 * configure.in: Fix typo in redirection and correct removal of test
36051 files in two cases.
36052
36053 [BZ #12788]
36054 * locale/setlocale.c (new_composite_name): Fix test to check for
36055 identical name of all categories.
36056
36057 [BZ #12792]
36058 * libio/filedoalloc.c (local_isatty): New function.
36059 (_IO_file_doallocate): Use local_isatty.
36060 * stdio-common/perror.c (perror): In case a new stream is used
36061 forward the stream error.
36062 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36063 error flag.
36064
36065 2011-05-20 Ulrich Drepper <drepper@gmail.com>
36066
36067 [BZ #11869]
36068 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36069 alloca.
36070 * include/alloca.h (extend_alloca_account): Define.
36071
36072 [BZ #11857]
36073 * posix/regex.h: Fix comments with documentation of user-accessible
36074 fields after compilation and describe correct free'ing of pattern
36075 after re_compile_pattern.
36076 Patch by Reuben Thomas <rrt@sc3d.org>.
36077
36078 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
36079
36080 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36081 and -mno-altivec to prevent the compiler from using Altivec and/or
36082 VSX instructions when the corresponding registers are not available.
36083
36084 2011-05-19 Andreas Schwab <schwab@redhat.com>
36085
36086 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36087
36088 2011-05-19 Ulrich Drepper <drepper@gmail.com>
36089
36090 * libio/freopen.c (freopen): Use __dup2, not dup2.
36091 * libio/freopen64.c (freopen64): Likewise.
36092
36093 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
36094
36095 [BZ #12775]
36096 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36097 * math/Makefile (tests): Add test-powl.
36098 (CFLAGS-test-powl.c): Define.
36099 * math/test-powl.c: New file.
36100
36101 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
36102
36103 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36104
36105 2011-05-17 Ulrich Drepper <drepper@gmail.com>
36106
36107 [BZ #11837]
36108 * iconvdata/gb18030.c: Update to GB18020-2005.
36109
36110 2011-05-16 Ulrich Drepper <drepper@gmail.com>
36111
36112 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36113 RE_SYNTAX_POSIX_AWK): Update to match recent development.
36114 Patch by Aharon Robbins <arnold@skeeve.com>.
36115
36116 [BZ #11892]
36117 * stdlib/putenv.c (putenv): Don't always create copy of the variable
36118 on the stack.
36119
36120 [BZ #11895]
36121 * misc/pselect.c (__pselect): Handle timeout value errors hidden
36122 through underflows.
36123
36124 [BZ #12766]
36125 * misc/error.c (error_at_line): Ensure file_name and old_file_name
36126 point to strings before performing equality test for error_one_per_line
36127 mode.
36128
36129 [BZ #11697]
36130 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36131
36132 [BZ #11820]
36133 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36134 (struct user_fpregs_struct): Avoid __uint*_t types.
36135
36136 [BZ #6420]
36137 * malloc/mtrace.c (tr_where): Add additional parameter to point to
36138 symbol info. Use it instead of calling _dl_addr locally.
36139 (lock_and_info): New function.
36140 (tr_freehook): Call lock_and_info and pass symbol info as additional
36141 parameter to tr_where.
36142 (tr_mallochook): Likewise.
36143 (tr_reallochook): Likewise.
36144 (tr_memalignhook): Likewise.
36145
36146 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
36147 used and couldn't be at all thread-safe.
36148
36149 2011-05-15 Ulrich Drepper <drepper@gmail.com>
36150
36151 * libio/freopen.c (freopen): Don't close old file descriptor
36152 before the new one is opened. Instead dup the new file descriptor
36153 to the old one after the new stream is created.
36154 * libio/freopen64.c (freopen64): Likewise.
36155 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36156 * libio/fileops.c (_IO_new_file_close_it): Handle new
36157 _IO_FLAGS2_NOCLOSE flag.
36158 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36159 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36160 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36161 _IO_FLAGS2_NOCLOSE flag.
36162 * include/unistd.h: Add hidden_proto for dup3.
36163 Define __have_dup3.
36164 * io/dup3.c: Define hidden symbol.
36165 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36166
36167 [BZ #7101]
36168 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36169 when an incomplete long option is used.
36170 * posix/tst-getopt_long1.c: New file.
36171 * posix/Makefile (tests): Add tst-getopt_long1.
36172
36173 [BZ #10138]
36174 * scripts/config.guess: Update from autoconf-2.68.
36175 * scripts/config.sub: Likewise.
36176
36177 [BZ #10157]
36178 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36179 tests into ...
36180 (has_cpuclock): ...this. New function.
36181 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36182 macro here based on has_cpuclock code.
36183
36184 [BZ #10149]
36185 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36186 First byte (not low byte) is now always NUL.
36187 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36188
36189 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36190 Use non-cancelable interfaces.
36191
36192 [BZ #9809]
36193 * locale/iso-639.def: Add entry for Sorani.
36194
36195 [BZ #11901]
36196 * include/stdlib.h: Move include protection to the right place.
36197 Define abort_msg_s. Declare __abort_msg with it.
36198 * stdlib/abort.c (__abort_msg): Adjust type.
36199 * assert/assert.c (__assert_fail_base): New function. Majority
36200 of code from __assert_fail. Allocate memory for __abort_msg with
36201 mmap.
36202 (__assert_fail): Now call __assert_fail_base.
36203 * assert/assert-perr.c: Remove bulk of implementation. Use
36204 __assert_fail_base.
36205 * include/assert.hL Declare __assert_fail_base.
36206 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36207 mmap.
36208 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36209
36210 2011-05-14 Ulrich Drepper <drepper@gmail.com>
36211
36212 [BZ #11952]
36213 [BZ #12453]
36214 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36215 until all modules are registered in the DTV.
36216 * elf/Makefile: Add rules to build and run tst-tls19.
36217 * elf/tst-tls19.c: New file.
36218 * elf/tst-tls19mod1.c: New file.
36219 * elf/tst-tls19mod2.c: New file.
36220 * elf/tst-tls19mod3.c: New file.
36221 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36222
36223 [BZ #12083]
36224 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36225 correctly.
36226
36227 [BZ #12601]
36228 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36229 two-byte sequence errors.
36230 * iconvdata/Makefile (tests): Add bug-iconv8.
36231 * iconvdata/bug-iconv8.c: New file.
36232
36233 [BZ #12626]
36234 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36235 buf2 definition.
36236
36237 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36238
36239 [BZ #12432]
36240 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36241 (dummy_getcfa): New function.
36242 (init): Get _Unwind_GetCFA address, use dummy if not found.
36243 (backtrace_helper): In recursion check, also check whether CFA changes.
36244 (__backtrace): Completely initialize arg.
36245
36246 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
36247 storing incomplete byte sequence in state object. Avoid testing for
36248 guaranteed too small input if we know there is enough data available.
36249
36250 2011-05-11 Andreas Schwab <schwab@redhat.com>
36251
36252 * Makeconfig (+link-pie): Indent.
36253 * Rules (binaries-pie): Define if $(have-fpie) and
36254 $(build-shared).
36255 (binaries-shared): Also filter out $(binaries-pie).
36256 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36257 * nscd/Makefile (others-pie): Add nscd.
36258 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36259 ($(objpfx)nscd): Remove command override.
36260 * login/Makefile (others-pie): Add pt_chown.
36261 ($(objpfx)pt_chown): Remove command override.
36262 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36263 remove command overrides.
36264
36265 2011-05-13 Ulrich Drepper <drepper@gmail.com>
36266
36267 * libio/tst_putwc.c: Fix error messages.
36268
36269 [BZ #12724]
36270 * libio/fileops.c (_IO_new_file_close_it): Always flush when
36271 currently writing and seek to current position when not.
36272 * libio/Makefile (tests): Add bug-fclose1.
36273 * libio/bug-fclose1.c: New file.
36274
36275 2011-05-12 Ulrich Drepper <drepper@gmail.com>
36276
36277 [BZ #12511]
36278 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36279 don't set DF_1_NODELETE here.
36280 (do_lookup_x): When entering new entry test for copy relocation
36281 and if necessary set DF_1_NODELETE flag.
36282 * elf/tst-unique4.cc: New file.
36283 * elf/tst-unique4.h: New file.
36284 * elf/tst-unique4lib.cc: New file.
36285 * elf/Makefile: Add rules to build and run tst-unique4.
36286 Patch by Piotr Bury <pbury@goahead.com>.
36287
36288 2011-05-11 Ulrich Drepper <drepper@gmail.com>
36289
36290 [BZ #12052]
36291 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36292
36293 [BZ #12625]
36294 * misc/mntent_r.c (addmntent): Flush the stream after the output
36295
36296 [BZ #12393]
36297 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36298 (is_trusted_path_normalize): Skip initial colon. Append slash
36299 to empty buffer. Duplicate is_trusted_path code but allow
36300 constructed patch to be prefix.
36301 (is_dst): Allow $ORIGIN followed by /.
36302 (_dl_dst_substitute): Correct clearing of check_for_trusted.
36303 Correct testing of result of is_trusted_path_normalize
36304 (decompose_rpath): Fix warning.
36305
36306 2011-05-10 Ulrich Drepper <drepper@gmail.com>
36307
36308 [BZ #11257]
36309 * grp/initgroups.c (internal_getgrouplist): When we found the service
36310 list through the initgroups entry in nsswitch.conf do not always
36311 continue on a successful lookup. Don't always use the
36312 __nss_group_database value if it is set.
36313 * nss/nsswitch.conf (initgroups): Change action for successful db
36314 lookup to continue for compatibility.
36315
36316 2011-05-09 Ulrich Drepper <drepper@gmail.com>
36317
36318 [BZ #11532]
36319 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36320 and CP774 modules.
36321 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36322 and CP774 modules.
36323 * iconvdata/tst-tables.sh: Likewise.
36324 * iconvdata/cp770.c: New file.
36325 * iconvdata/cp771.c: New file.
36326 * iconvdata/cp772.c: New file.
36327 * iconvdata/cp773.c: New file.
36328 * iconvdata/cp774.c: New file.
36329 * iconvdata/testdata/CP770: New file.
36330 * iconvdata/testdata/CP770..UTF8: New file.
36331 * iconvdata/testdata/CP771: New file.
36332 * iconvdata/testdata/CP771..UTF8: New file.
36333 * iconvdata/testdata/CP772: New file.
36334 * iconvdata/testdata/CP772..UTF8: New file.
36335 * iconvdata/testdata/CP773: New file.
36336 * iconvdata/testdata/CP773..UTF8: New file.
36337 * iconvdata/testdata/CP774: New file.
36338 * iconvdata/testdata/CP774..UTF8: New file.
36339
36340 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36341 END CHARMAP line.
36342 * iconvdata/gen-8bit-gap.sh: Likewise.
36343 * iconvdata/gen-8bit.sh: Likewise.
36344
36345 * locale/iso-639.def: Add ary entry.
36346
36347 [BZ #11258]
36348 * locale/C-translit.h.in: Add U20A1 transliteration.
36349
36350 [BZ #12178]
36351 * locale/iso-639.def: Add wae entry.
36352 Patch by Kevin Bortis <bortis@translate-wae.ch>.
36353
36354 [BZ #12545]
36355 * locale/programs/localedef.c (construct_output_path): Use ssize_t
36356 for n.
36357
36358 [BZ #12711]
36359 * locale/C-translit.h.in: Add entry for U20B9.
36360 Patch by pravin.d.s@gmail.com.
36361
36362 2011-05-08 Ulrich Drepper <drepper@gmail.com>
36363
36364 [BZ #12713]
36365 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36366 ENAMETOOLONG use generic getcwd.
36367 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
36368 in rtld. Use *stat64.
36369 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
36370 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
36371 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
36372 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36373 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36374 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36375 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36376 __fstatat64 macros.
36377 * include/dirent.h: Add libc_hidden_proto for rewinddir.
36378 * dirent/rewinddir.c: Add libc_hidden_def.
36379 * sysdeps/mach/hurd/rewinddir.c: Likewise.
36380 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
36381
36382 * include/dirent.h (__alloc_dir): Add flags parameter.
36383 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36384 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36385 __alloc_dir.
36386 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
36387 from fdopendir if O_CLOEXEC is already set.
36388
36389 2011-03-15 Alan Modra <amodra@gmail.com>
36390
36391 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36392 l_tls_firstbyte_offset non-zero. Save padding offset in
36393 l_tls_firstbyte_offset for later use.
36394 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36395 freeing static tls block.
36396
36397 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
36398
36399 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36400 where #ifdef was intended. The intent is to prevent ARG_MAX from
36401 being defined by the kernel headers.
36402
36403 2011-05-07 Ulrich Drepper <drepper@gmail.com>
36404
36405 [BZ #12734]
36406 * resolv/resolv.h: Define RES_NOTLDQUERY.
36407 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36408 no-tld-query and set RES_NOTLDQUERY.
36409 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36410 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36411 modern BIND to search name as TLD unless forbidden.
36412
36413 2011-05-07 Petr Baudis <pasky@suse.cz>
36414 Ulrich Drepper <drepper@gmail.com>
36415
36416 [BZ #12393]
36417 * elf/dl-load.c (fillin_rpath): Move trusted path check...
36418 (is_trusted_path): ...to here.
36419 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
36420 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
36421 using is_trusted_path_normalize() in setuid scripts.
36422
36423 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
36424
36425 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36426 __BEGIN/__END_DECLS.
36427
36428 2011-05-06 Ulrich Drepper <drepper@gmail.com>
36429
36430 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36431 NSS_STATUS_NOTFOUND if no record was found.
36432
36433 2011-05-05 Andreas Schwab <schwab@redhat.com>
36434
36435 * sunrpc/Makefile (headers): Add rpc/netdb.h.
36436 (headers-not-in-tirpc): Remove rpc/netdb.h
36437 * resolv/netdb.h: Revert last change.
36438
36439 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36440
36441 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36442 circular dependency between libgcc.a and libc.a.
36443
36444 2011-05-05 Andreas Schwab <schwab@redhat.com>
36445
36446 * resolv/netdb.h: Don't include <rpc/netdb.h>.
36447 * nis/Makefile: Don't install rpcsvc/*.
36448 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36449 instead of <rpc/types.h>.
36450 (MAXHOSTNAMELEN): Define.
36451
36452 2011-05-03 Andreas Schwab <schwab@redhat.com>
36453
36454 * elf/ldconfig.c (add_dir): Don't crash on empty path.
36455
36456 2011-04-28 Maciej Babinski <mbabinski@google.com>
36457
36458 [BZ #12714]
36459 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36460 gethostbyname4_r when IPv6 results are possible.
36461
36462 2011-05-02 Ulrich Drepper <drepper@gmail.com>
36463
36464 [BZ #12723]
36465 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36466 _PC_PIPE_BUF handling.
36467
36468 2011-04-30 Bruno Haible <bruno@clisp.org>
36469
36470 [BZ #12717]
36471 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36472 * resolv/netdb.h (getnameinfo): Change type of flags parameter
36473 to 'int'.
36474 * inet/getnameinfo.c (getnameinfo): Likewise.
36475
36476 2011-04-29 Ulrich Drepper <drepper@gmail.com>
36477
36478 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36479 to groups setting in database lookup.
36480 * nss/nsswitch.conf: Add initgroups entry.
36481
36482 2011-04-22 Ulrich Drepper <drepper@gmail.com>
36483
36484 [BZ #12685]
36485 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36486 mode string.
36487 Patch by Eric Blake <eblake@redhat.com>.
36488
36489 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
36490
36491 * sunrpc/Makefile (need-export-routines): Add svc_run.
36492 (routines): Remove svc_run.
36493 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36494 * sunrpc/clnt_perr.c (clnt_perrno): Export.
36495 * sunrpc/svc_run.c (svc_run): Likewise.
36496 * sunrpc/svc_udp.c (svcudp_create): Likewise.
36497
36498 2011-04-21 Ulrich Drepper <drepper@gmail.com>
36499
36500 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36501 problem in reallocation in last patch.
36502
36503 2011-04-20 Ulrich Drepper <drepper@gmail.com>
36504
36505 * sunrpc/Makefile: Move inclusion of Rules.
36506
36507 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36508
36509 * nss/nss_files/files-initgroups.c: New file.
36510 * nss/Makefile (libnss_files-routines): Add files-initgroups.
36511 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36512 _nss_files_initgroups_dyn.
36513
36514 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
36515
36516 * elf/elf.h (R_ARM_IRELATIVE): Define.
36517
36518 2011-04-19 Ulrich Drepper <drepper@gmail.com>
36519
36520 * po/ru.po: Update from translation team.
36521
36522 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36523
36524 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36525 dependencies.
36526
36527 2011-02-06 Mike Frysinger <vapier@gentoo.org>
36528
36529 [BZ #12653]
36530 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36531 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36532 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36533 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36534 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36535
36536 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
36537
36538 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36539 differing bytes.
36540 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36541 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36542 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36543
36544 2011-04-17 Ulrich Drepper <drepper@gmail.com>
36545
36546 [BZ #12420]
36547 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36548 storing it.
36549 * stdlib/bug-getcontext.c: New file.
36550 * stdlib/Makefile: Add rules to build and run bug-getcontext.
36551
36552 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36553
36554 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36555 instructions into .machine "z9-109".
36556 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36557 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36558
36559 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36560
36561 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36562 between environment variables and auxiliary vector.
36563
36564 2011-04-16 Ulrich Drepper <drepper@gmail.com>
36565
36566 * Makefile: Add rules to build linkobj/libc.so.
36567 * include/libc-symbols.h: Define libc_hidden_nolink.
36568 * include/rpc/auth.h: Mark functions which are to be hidden.
36569 * include/rpc/auth_des.h: Likewise.
36570 * include/rpc/auth_unix.h: Likewise.
36571 * include/rpc/clnt.h: Likewise.
36572 * include/rpc/des_crypt.h: Likewise.
36573 * include/rpc/key_prot.h: Likewise.
36574 * include/rpc/pmap_clnt.h: Likewise.
36575 * include/rpc/pmap_prot.h: Likewise.
36576 * include/rpc/pmap_rmt.h: Likewise.
36577 * include/rpc/rpc_msg.h: Likewise.
36578 * include/rpc/svc.h: Likewise.
36579 * include/rpc/svc_auth.h: Likewise.
36580 * include/rpc/xdr.h: Likewise.
36581 * nis/Makefile: Link all DSOs against linkobj/libc.so.
36582 * nss/Makefile: Likewise.
36583 * sunrpc/Makefile: Don't install headers. Build library with normal
36584 entry points. Don't build rpcinfo. Link RPC tests appropriately.
36585 * sunrpc/auth_des.c: Hide exported symbols by default, export some
36586 for the compat linking library. Remove use of INTDEF/INTUSE.
36587 * sunrpc/auth_none.c: Likewise.
36588 * sunrpc/auth_unix.c: Likewise.
36589 * sunrpc/authdes_prot.c: Likewise.
36590 * sunrpc/authuxprot.c: Likewise.
36591 * sunrpc/clnt_gen.c: Likewise.
36592 * sunrpc/clnt_perr.c: Likewise.
36593 * sunrpc/clnt_raw.c: Likewise.
36594 * sunrpc/clnt_simp.c: Likewise.
36595 * sunrpc/clnt_tcp.c: Likewise.
36596 * sunrpc/clnt_udp.c: Likewise.
36597 * sunrpc/clnt_unix.c: Likewise.
36598 * sunrpc/des_crypt.c: Likewise.
36599 * sunrpc/des_soft.c: Likewise.
36600 * sunrpc/get_myaddr.c: Likewise.
36601 * sunrpc/key_call.c: Likewise.
36602 * sunrpc/key_prot.c: Likewise.
36603 * sunrpc/netname.c: Likewise.
36604 * sunrpc/pm_getmaps.c: Likewise.
36605 * sunrpc/pm_getport.c: Likewise.
36606 * sunrpc/pmap_clnt.c: Likewise.
36607 * sunrpc/pmap_prot.c: Likewise.
36608 * sunrpc/pmap_prot2.c: Likewise.
36609 * sunrpc/pmap_rmt.c: Likewise.
36610 * sunrpc/publickey.c: Likewise.
36611 * sunrpc/rpc_cmsg.c: Likewise.
36612 * sunrpc/rpc_common.c: Likewise.
36613 * sunrpc/rpc_dtable.c: Likewise.
36614 * sunrpc/rpc_prot.c: Likewise.
36615 * sunrpc/rpc_thread.c: Likewise.
36616 * sunrpc/rtime.c: Likewise.
36617 * sunrpc/svc.c: Likewise.
36618 * sunrpc/svc_auth.c: Likewise.
36619 * sunrpc/svc_authux.c: Likewise.
36620 * sunrpc/svc_raw.c: Likewise.
36621 * sunrpc/svc_run.c: Likewise.
36622 * sunrpc/svc_simple.c: Likewise.
36623 * sunrpc/svc_tcp.c: Likewise.
36624 * sunrpc/svc_udp.c: Likewise.
36625 * sunrpc/svc_unix.c: Likewise.
36626 * sunrpc/svcauth_des.c: Likewise.
36627 * sunrpc/xcrypt.c: Likewise.
36628 * sunrpc/xdr.c: Likewise.
36629 * sunrpc/xdr_array.c: Likewise.
36630 * sunrpc/xdr_float.c: Likewise.
36631 * sunrpc/xdr_intXX_t.c: Likewise.
36632 * sunrpc/xdr_mem.c: Likewise.
36633 * sunrpc/xdr_rec.c: Likewise.
36634 * sunrpc/xdr_ref.c: Likewise.
36635 * sunrpc/xdr_sizeof.c: Likewise.
36636 * sunrpc/xdr_stdio.c: Likewise.
36637
36638 2011-04-10 Ulrich Drepper <drepper@gmail.com>
36639
36640 [BZ #12650]
36641 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36642 * sysdeps/ia64/dl-tls.h: Likewise.
36643 * sysdeps/powerpc/dl-tls.h: Likewise.
36644 * sysdeps/s390/dl-tls.h: Likewise.
36645 * sysdeps/sh/dl-tls.h: Likewise.
36646 * sysdeps/sparc/dl-tls.h: Likewise.
36647 * sysdeps/x86_64/dl-tls.h: Likewise.
36648 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36649
36650 2011-03-14 Andreas Schwab <schwab@redhat.com>
36651
36652 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36653 rpath element also skip the following colon.
36654 (expand_dynamic_string_token): Add is_path parameter and pass
36655 down to DL_DST_REQUIRED and _dl_dst_substitute.
36656 (decompose_rpath): Call expand_dynamic_string_token with
36657 non-zero is_path. Ignore empty rpaths.
36658 (_dl_map_object_from_fd): Call expand_dynamic_string_token
36659 with zero is_path.
36660
36661 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
36662
36663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36664 Make cancelable.
36665
36666 2011-04-09 Ulrich Drepper <drepper@gmail.com>
36667
36668 [BZ #12655]
36669 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36670 Patch by Filipe David Manana <fdmanana@apache.org>.
36671
36672 2011-04-07 Andreas Schwab <schwab@redhat.com>
36673
36674 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36675 Maintain aligned stack.
36676 (CHECK_RSP): Remove unused macro.
36677
36678 2011-04-03 Ulrich Drepper <drepper@gmail.com>
36679
36680 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36681 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36682
36683 2011-04-02 Ulrich Drepper <drepper@gmail.com>
36684
36685 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36686
36687 * include/features.h: Mention __USE_XOPEN2K8 in comment.
36688
36689 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
36690
36691 [BZ #12518]
36692 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36693 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36694 * sysdeps/x86_64/memmove.c: New file.
36695 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36696 (memcpy): Renamed to ...
36697 (__new_memcpy): This.
36698 (memcpy): Provide GLIBC_2_14 memcpy.
36699 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36700 (memcpy): Provide GLIBC_2_2_5 memcpy.
36701
36702 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36703
36704 [BZ #12631]
36705 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36706
36707 2011-03-30 Andreas Schwab <schwab@redhat.com>
36708
36709 * misc/syncfs.c: New file.
36710 * misc/Makefile (routines): Add syncfs.
36711 * posix/unistd.h: Declare syncfs.
36712 * sysdeps/unix/syscalls.list: Add syncfs.
36713
36714 2011-04-01 Andreas Schwab <schwab@redhat.com>
36715
36716 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36717 open_by_handle_at.
36718 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36719 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36720 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36721 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36722 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36723 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36724 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36725
36726 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36727
36728 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36729 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36730 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36731 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36732 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36733 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36734 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36735
36736 * io/Makefile: Compile fallocate.c, fallocate64.c, and
36737 sync_file_range.c with -fexceptions.
36738 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36739 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36740 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36741 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36742 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36743 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36744 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36745 sync_file_range as cancellation point
36746 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
36747 now a wrapper around __call_sync_file_range with cancellation handling.
36748 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36749 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
36750 function name to __call_sync_file_range.
36751 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36752 Add call_sync_file_range.
36753
36754 2011-04-01 Andreas Schwab <schwab@redhat.com>
36755
36756 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36757 bits/timex.h.
36758
36759 2011-04-01 Ulrich Drepper <drepper@gmail.com>
36760
36761 * iconv/iconv.h: Fix typo in comment.
36762 * io/fcntl.h: Likewise.
36763 * libio/stdio.h: Likewise.
36764 * posix/spawn.h: Likewise.
36765 * posix/unistd.h: Likewise.
36766 * stdlib/stdlib.h: Likewise.
36767 * time/time.h: Likewise.
36768 * wcsmbs/wchar.h: Likewise.
36769
36770 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36771 open_by_handle): Add.
36772 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36773 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
36774 Augment a few comments.
36775 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36776 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36777 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36778 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36779 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36780 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36781 open_by_handle.
36782
36783 * io/fcntl.h (AT_EMPTY_PATH): Define.
36784
36785 2011-03-30 Ulrich Drepper <drepper@gmail.com>
36786
36787 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36788 * sysdeps/unix/sysv/linux/bits/time.h: New file.
36789 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36790 to...
36791 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
36792 * Versions.def: Add GLIBC_2.14.
36793 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36794 Export.
36795
36796 2011-03-22 Ulrich Drepper <drepper@gmail.com>
36797
36798 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36799 round counter.
36800 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36801
36802 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
36803
36804 [BZ #12597]
36805 * string/test-strncmp.c (do_page_test): New function.
36806 (check2): Likewise.
36807 (test_main): Call check2.
36808 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36809
36810 2011-03-20 Ulrich Drepper <drepper@gmail.com>
36811
36812 [BZ #12587]
36813 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36814 Handle cache information in CPU leaf 4.
36815 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36816
36817 2011-03-18 Ulrich Drepper <drepper@gmail.com>
36818
36819 [BZ #12583]
36820 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36821 character representation.
36822 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36823
36824 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
36825
36826 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36827 END(__isnan) to END(__isnanf) to match function entry point/label
36828 EALIGN(__isnanf,...).
36829
36830 2011-03-10 Jakub Jelinek <jakub@redhat.com>
36831
36832 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36833
36834 2011-03-10 Ulrich Drepper <drepper@gmail.com>
36835
36836 [BZ #12510]
36837 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36838 copy from the symbol referenced in the relocation to initialize the
36839 used variable.
36840 Patch by Piotr Bury <pbury@goahead.com>.
36841 * elf/Makefile: Add rules to build and tst-unique3.
36842 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36843 * elf/tst-unique3.cc: New file.
36844 * elf/tst-unique3.h: New file.
36845 * elf/tst-unique3lib.cc: New file.
36846 * elf/tst-unique3lib2.cc: New file.
36847
36848 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36849
36850 2011-03-10 Mike Frysinger <vapier@gentoo.org>
36851
36852 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36853 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
36854 to _start.
36855
36856 2011-03-06 Ulrich Drepper <drepper@gmail.com>
36857
36858 * elf/dl-load.c (_dl_map_object): If we are looking for the first
36859 to-be-loaded object along a path to loader is ld.so.
36860
36861 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36862 Ulrich Drepper <drepper@gmail.com>
36863
36864 * sysdeps/x86_64/memset.S: After aligning destination, code
36865 branches to different locations depending on the value of
36866 misalignment, when multiarch is enabled. Fix this.
36867
36868 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
36869
36870 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36871 Set _x86_64_preferred_memory_instruction for AMD processsors.
36872 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36873 Set bit_Prefer_SSE_for_memop for AMD processors.
36874
36875 2011-03-04 Ulrich Drepper <drepper@gmail.com>
36876
36877 * libio/fmemopen.c (fmemopen): Optimize a bit.
36878
36879 2011-03-03 Andreas Schwab <schwab@redhat.com>
36880
36881 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36882
36883 2011-03-03 Roland McGrath <roland@redhat.com>
36884
36885 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36886
36887 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
36888
36889 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36890 __bzero_ultra1 instead of __memset_ultra1.
36891
36892 2011-02-23 Andreas Schwab <schwab@redhat.com>
36893 Ulrich Drepper <drepper@gmail.com>
36894
36895 [BZ #12509]
36896 * include/link.h (struct link_map): Add l_orig_initfini.
36897 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36898 returning unsuccessfully.
36899 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36900 close of a file loaded at startup, restore the original l_initfini
36901 list.
36902 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36903 list, store the pointer.
36904 * elf/Makefile ($(objpfx)noload-mem): New rule.
36905 (noload-ENV): Define.
36906 (tests): Add $(objpfx)noload-mem.
36907 * elf/noload.c: Include <memcheck.h>.
36908 (main): Call mtrace. Close all opened handles.
36909
36910 2011-02-17 Andreas Schwab <schwab@redhat.com>
36911
36912 [BZ #12454]
36913 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36914 dependencies are missing.
36915
36916 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
36917
36918 Fix __if_freereq crash: Unlike the generic version which uses free,
36919 Hurd needs munmap.
36920 * sysdeps/mach/hurd/ifreq.h: New file.
36921
36922 2011-01-27 Petr Baudis <pasky@suse.cz>
36923 Ulrich Drepper <drepper@gmail.com>
36924
36925 [BZ 12445]#
36926 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36927 to extend_alloca().
36928 * stdio-common/bug23.c: New file.
36929 * stdio-common/Makefile (tests): Add bug23.
36930
36931 2010-09-28 Andreas Schwab <schwab@redhat.com>
36932 Ulrich Drepper <drepper@gmail.com>
36933
36934 [BZ #12489]
36935 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36936 before performing relro protection. At old place add assertion
36937 to make sure nothing changed.
36938
36939 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
36940 Glauber de Oliveira Costa <glommer@gmail.com>
36941
36942 * elf/elf.h: Add new ARM TLS relocs.
36943
36944 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
36945
36946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36947 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
36948 cast from r3.
36949 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
36950 'tests' variable.
36951 * sysdeps/wordsize-64/tst-writev.c: New file.
36952
36953 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
36954
36955 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
36956 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
36957 insns in _dl_start to prevent a TOC reference before relocs are
36958 resolved.
36959
36960 2011-02-15 Ulrich Drepper <drepper@gmail.com>
36961
36962 [BZ #12469]
36963 * Makeconfig: Remove RANLIB definition.
36964 * Makerules: Don't use RANLIB.
36965 * aclocal.m4: Remove ranlib test.
36966 * configure.in: No need to check for ranlib.
36967 * elf/rtld-Rules: Don't use RANLIB.
36968
36969 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
36970
36971 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
36972 protection macro.
36973 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
36974 inclusion protection macro.
36975
36976 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
36977 SIGRTMIN and SIGRTMAX and print information in that case only when
36978 SIGRTMIN is defined.
36979
36980 2011-02-11 Jakub Jelinek <jakub@redhat.com>
36981
36982 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
36983 arginfo fn returning -1.
36984
36985 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
36986 and thousands string is zero terminated.
36987
36988 2011-02-03 Andreas Schwab <schwab@redhat.com>
36989
36990 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
36991 sysdeps/unix/sysv/linux/bits/socket.h.
36992
36993 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
36994
36995 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
36996 (__CPU_COUNT): Remove old macros.
36997 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
36998 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
36999 (__CPU_ALLOC, __CPU_FREE): Add macros.
37000 (__sched_cpualloc, __sched_cpufree): Add declarations.
37001
37002 2011-02-05 Ulrich Drepper <drepper@gmail.com>
37003
37004 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37005 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37006 * nscd/aicache.c (addhstaiX): Return timeout of added value.
37007 (readdhstai): Return value of addhstaiX call.
37008 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37009 (addgrbyX): Return value returned by cache_addgr.
37010 (readdgrbyname): Return value returned by addgrbyX.
37011 (readdgrbygid): Likewise.
37012 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37013 (addpwbyX): Return value returned by cache_addpw.
37014 (readdpwbyname): Return value returned by addhstbyX.
37015 (readdpwbyuid): Likewise.
37016 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37017 (addservbyX): Return value returned by cache_addserv.
37018 (readdservbyname): Return value returned by addservbyX:
37019 (readdservbyport): Likewise.
37020 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37021 (addhstbyX): Return value returned by cache_addhst.
37022 (readdhstbyname): Return value returned by addhstbyX.
37023 (readdhstbyaddr): Likewise.
37024 (readdhstbynamev6): Likewise.
37025 (readdhstbyaddrv6): Likewise.
37026 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37027 (readdinitgroups): Return value returned by addinitgroupsX.
37028 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37029 (prune_cache): Keep track of timeout value of re-added entries.
37030 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37031 * nscd/nscd.h: Adjust prototypes of readd* functions.
37032
37033 2011-02-04 Roland McGrath <roland@redhat.com>
37034
37035 * nis/nis_server.c (nis_servstate): Use the right name for 0.
37036 (nis_stats): Likewise.
37037 * nis/nis_modify.c (nis_modify): Likewise.
37038 * nis/nis_remove.c (nis_remove): Likewise.
37039 * nis/nis_add.c (nis_add): Likewise.
37040
37041 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37042
37043 * posix/fnmatch_loop.c: Add some consts.
37044
37045 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37046
37047 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
37048
37049 [BZ #12460]
37050 * config.make.in (config-cflags-novzeroupper): Define.
37051 * configure.in: Substitute libc_cv_cc_novzeroupper.
37052 * elf/Makefile (AVX-CFLAGS): Define.
37053 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37054 (CFLAGS-tst-auditmod4a.c): Likewise.
37055 (CFLAGS-tst-auditmod4b.c): Likewise.
37056 (CFLAGS-tst-auditmod6b.c): Likewise.
37057 (CFLAGS-tst-auditmod6c.c): Likewise.
37058 (CFLAGS-tst-auditmod7b.c): Likewise.
37059 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37060
37061 2011-02-02 Ulrich Drepper <drepper@gmail.com>
37062
37063 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37064 function to the callback.
37065 Patch partly by Jiri Olsa <jolsa@redhat.com>.
37066
37067 2011-02-02 Andreas Schwab <schwab@redhat.com>
37068
37069 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37070 of errno.
37071
37072 2011-01-19 Ulrich Drepper <drepper@gmail.com>
37073
37074 [BZ #11724]
37075 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37076 of constructors.
37077 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37078 of destructors.
37079 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37080
37081 [BZ #11724]
37082 * elf/Makefile: Add rules to build and run new test.
37083 * elf/tst-initorder.c: New file.
37084 * elf/tst-initorder.exp: New file.
37085 * elf/tst-initordera1.c: New file.
37086 * elf/tst-initordera2.c: New file.
37087 * elf/tst-initordera3.c: New file.
37088 * elf/tst-initordera4.c: New file.
37089 * elf/tst-initorderb1.c: New file.
37090 * elf/tst-initorderb2.c: New file.
37091 * elf/tst-order-a1.c: New file.
37092 * elf/tst-order-a2.c: New file.
37093 * elf/tst-order-a3.c: New file.
37094 * elf/tst-order-a4.c: New file.
37095 * elf/tst-order-b1.c: New file.
37096 * elf/tst-order-b2.c: New file.
37097 * elf/tst-order-main.c: New file.
37098 New test case by George Gensure <werkt0@gmail.com>.
37099
37100 2010-10-01 Andreas Schwab <schwab@redhat.com>
37101
37102 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37103 decoding ACE if AI_CANONIDN.
37104
37105 2011-01-18 Ulrich Drepper <drepper@gmail.com>
37106
37107 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37108
37109 2011-01-17 Ulrich Drepper <drepper@gmail.com>
37110
37111 * version.h (RELEASE): Bump for 2.13 release.
37112 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37113
37114 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37115
37116 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37117 MADV_NOHUGEPAGE.
37118 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37119 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37120 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37121 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37122 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37123 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37124
37125 * posix/getconf.c: Update copyright year.
37126 * catgets/gencat.c: Likewise.
37127 * csu/version.c: Likewise.
37128 * debug/catchsegv.sh: Likewise.
37129 * debug/xtrace.sh: Likewise.
37130 * elf/ldconfig.c: Likewise.
37131 * elf/ldd.bash.in: Likewise.
37132 * elf/sprof.c (print_version): Likewise.
37133 * iconv/iconv_prog.c: Likewise.
37134 * iconv/iconvconfig.c: Likewise.
37135 * locale/programs/locale.c: Likewise.
37136 * locale/programs/localedef.c: Likewise.
37137 * malloc/memusage.sh: Likewise.
37138 * malloc/mtrace.pl: Likewise.
37139 * nscd/nscd.c (print_version): Likewise.
37140 * nss/getent.c: Likewise.
37141
37142 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37143 PF_CAIF, and PF_ALG.
37144 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37145
37146 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
37147
37148 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37149 (modules-names): Use them.
37150 (ifunc-test-modules, ifunc-pie-tests): Define.
37151 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37152 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37153 (test-extras): Likewise.
37154 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37155 $(compile-command.c).
37156 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37157 (all-built-dso): Define.
37158 (check-textrel.out, check-execstack.out): Depend on it.
37159
37160 * configure.in: Don't override --enable-multi-arch.
37161
37162 2011-01-15 Ulrich Drepper <drepper@gmail.com>
37163
37164 [BZ #6812]
37165 * nscd/hstcache.c (tryagain): Define.
37166 (cache_addhst): Return tryagain not notfound for temporary errors.
37167 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37168 failed.
37169
37170 2011-01-14 Ulrich Drepper <drepper@gmail.com>
37171
37172 [BZ #10563]
37173 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37174 to make the syscall.
37175 * sysdeps/unix/sysv/linux/setgroups.c: New file.
37176
37177 [BZ #12378]
37178 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37179 and fall back to matching as normal character if the string ends before
37180 the matching ']' is found. This is what POSIX requires.
37181 * posix/testfnm.c: Adjust test result.
37182 * posix/globtest.sh: Adjust test result. Add new test.
37183 * posix/tst-fnmatch.input: Likewise.
37184 * posix/tst-fnmatch2.c: Add new test.
37185
37186 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
37187
37188 * elf/Makefile (check-execstack): Revert last change. Depend on
37189 check-execstack.h.
37190 (check-execstack.h): New target.
37191 (generated): Add check-execstack.h.
37192 * elf/check-execstack.c: Include "check-execstack.h".
37193 (main): Revert last change.
37194 (handle_file): Return zero if GNU_STACK is absent and
37195 DEFAULT_STACK_PERMS doesn't include PF_X.
37196
37197 2011-01-13 Ulrich Drepper <drepper@gmail.com>
37198
37199 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37200 in child fails because the descriptor is already closed.
37201 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37202 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37203 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
37204
37205 [BZ #12397]
37206 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37207 syscall.
37208
37209 [BZ #10484]
37210 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37211 temporary buffer used to handle multi lookups locally.
37212 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
37213
37214 2011-01-12 Ulrich Drepper <drepper@gmail.com>
37215
37216 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37217 loader is ld.so.
37218
37219 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
37220
37221 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37222 alignment for SSE2.
37223
37224 2011-01-12 Ulrich Drepper <drepper@gmail.com>
37225
37226 [BZ #12394]
37227 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37228 characters. When rounding increased number of integer digits recompute
37229 number of groups.
37230 * stdio-common/tst-grouping.c: New file.
37231 * stdio-common/Makefile: Add rules to build and run tst-grouping.
37232
37233 2011-01-09 Ulrich Drepper <drepper@gmail.com>
37234
37235 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37236 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
37237
37238 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37239 void.
37240 * bits/select.h: Likewise.
37241
37242 2011-01-08 Ulrich Drepper <drepper@gmail.com>
37243
37244 * po/ja.po: Update from translation team.
37245
37246 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
37247
37248 [BZ #11155]
37249 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37250 implementation just like for lxstat, fxstatat, et al.
37251
37252 2010-12-27 Jim Meyering <meyering@redhat.com>
37253
37254 [BZ #12348]
37255 * posix/regexec.c (build_trtable): Return failure indication upon
37256 calloc failure. Otherwise, re_search_internal could infloop on OOM.
37257
37258 2010-12-25 Ulrich Drepper <drepper@gmail.com>
37259
37260 [BZ #12201]
37261 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37262 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37263 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37264 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37265
37266 [BZ #12207]
37267 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37268
37269 [BZ #12204]
37270 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37271 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37272
37273 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
37274
37275 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37276 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37277 script has SORT_BY_INIT_PRIORITY.
37278 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37279 NO_CTORS_DTORS_SECTIONS is defined.
37280 * elf/soinit.c: Likewise.
37281 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37282 NO_CTORS_DTORS_SECTIONS is defined.
37283 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37284 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37285 * sysdeps/sh/init-first.c: Likewise.
37286 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37287
37288 2010-12-24 Ulrich Drepper <drepper@gmail.com>
37289
37290 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37291 always use the slow path.
37292
37293 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
37294
37295 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37296 similar rule which adds the sysdep directories to the header search in
37297 order to pick up the correct platform stackinfo.h.
37298 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37299 perform test if it is, otherwise return successfully without testing.
37300 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37301 DEFAULT_STACK_PERMS define in stackinfo.h.
37302 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37303 defined in stackinfo.h.
37304 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37305 DEFAULT_STACK_PERMS defined in stackinfo.h.
37306 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37307 * sysdeps/ia64/stackinfo.h: Likewise.
37308 * sysdeps/s390/stackinfo.h: Likewise.
37309 * sysdeps/sh/stackinfo.h: Likewise.
37310 * sysdeps/sparc/stackinfo.h: Likewise.
37311 * sysdeps/x86_64/stackinfo.h: Likewise.
37312 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37313 PF_X for powerpc64. Retain PF_X for powerpc32.
37314
37315 2010-12-19 Ulrich Drepper <drepper@gmail.com>
37316
37317 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37318 accurately.
37319 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37320 GETDENTS_64BIT_ALIGNED.
37321
37322 2010-12-14 Ulrich Drepper <dreper@gmail.com>
37323
37324 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
37325
37326 2010-12-10 Andreas Schwab <schwab@redhat.com>
37327
37328 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37329 _GNU_SOURCE.
37330
37331 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37332 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37333 Remove __restrict.
37334 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37335 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37336
37337 2010-12-09 Ulrich Drepper <drepper@gmail.com>
37338
37339 [BZ #11655]
37340 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37341 are initialized.
37342
37343 2010-12-09 Jakub Jelinek <jakub@redhat.com>
37344
37345 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37346
37347 2010-12-03 Ulrich Drepper <drepper@gmail.com>
37348
37349 * po/it.po: Update from translation team.
37350
37351 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
37352
37353 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37354 unused codes.
37355
37356 2010-11-30 Ulrich Drepper <drepper@gmail.com>
37357
37358 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37359
37360 2010-11-24 Andreas Schwab <schwab@redhat.com>
37361
37362 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37363 specially.
37364 (gaih_getanswer_slice): Likewise.
37365
37366 2010-10-20 Jakub Jelinek <jakub@redhat.com>
37367
37368 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37369
37370 2010-05-31 Petr Baudis <pasky@suse.cz>
37371
37372 [BZ #11149]
37373 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37374 silently even in the chroot mode.
37375
37376 2010-11-22 Ulrich Drepper <drepper@gmail.com>
37377
37378 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37379 last patch a bit. Pretty printing
37380
37381 2010-05-31 Petr Baudis <pasky@suse.cz>
37382
37383 [BZ #10085]
37384 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37385 initialization of skip_initgroups_dyn.
37386
37387 2010-11-19 Ulrich Drepper <drepper@gmail.com>
37388
37389 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37390 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37391
37392 2010-11-16 Ulrich Drepper <drepper@gmail.com>
37393
37394 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37395
37396 2010-11-11 Andreas Schwab <schwab@redhat.com>
37397
37398 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37399 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37400 (tst-fnmatch-ENV): Set MALLOC_TRACE.
37401 ($(objpfx)tst-fnmatch-mem): New rule.
37402 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37403 * posix/tst-fnmatch.c (main): Call mtrace.
37404
37405 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
37406
37407 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37408 Support Intel processor model 6 and model 0x2c.
37409
37410 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
37411
37412 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37413 signed comparison.
37414
37415 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
37416
37417 [BZ #12205]
37418 * string/test-strncasecmp.c (check_result): New function.
37419 (do_one_test): Use it.
37420 (check1): New function.
37421 (test_main): Use it.
37422 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37423 Support strcasecmp and strncasecmp.
37424
37425 2010-11-08 Ulrich Drepper <drepper@gmail.com>
37426
37427 [BZ #12194]
37428 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37429 * sysdeps/x86_64/bits/byteswap.h: Likewise.
37430
37431 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
37432
37433 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37434 IFUNC support.
37435 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37436 memset-x86-64.
37437 * sysdeps/x86_64/multiarch/bzero.S: New file.
37438 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37439 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37440 * sysdeps/x86_64/multiarch/memset.S: New file.
37441 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37442 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37443 Set bit_Prefer_SSE_for_memop for Intel processors.
37444 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37445 Define.
37446 (index_Prefer_SSE_for_memop): Define.
37447 (HAS_PREFER_SSE_FOR_MEMOP): Define.
37448
37449 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
37450
37451 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37452 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37453
37454 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
37455
37456 [BZ #12191]
37457 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37458 (__x86_64_raw_data_cache_size_half): Likewise.
37459 (__x86_64_raw_shared_cache_size): Likewise.
37460 (__x86_64_raw_shared_cache_size_half): Likewise.
37461
37462 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37463 (__x86_64_raw_data_cache_size_half): Likewise.
37464 (__x86_64_raw_shared_cache_size): Likewise.
37465 (__x86_64_raw_shared_cache_size_half): Likewise.
37466 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37467 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37468 and __x86_64_raw_shared_cache_size_half. Round
37469 __x86_64_data_cache_size_half, __x86_64_data_cache_size
37470 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37471 to multiple of 256 bytes.
37472
37473 2010-11-03 Ulrich Drepper <drepper@gmail.com>
37474
37475 [BZ #12167]
37476 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37477 of inacessible symlinks. Verify result of symlink before returning it.
37478 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37479 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37480
37481 2010-10-28 Erich Ritz <erichritz@gmail.com>
37482
37483 * math/math.h (isinf): Fix typo in comment.
37484
37485 2010-11-01 Ulrich Drepper <drepper@gmail.com>
37486
37487 * po/da.po: Update from translation team.
37488
37489 2010-10-26 Ulrich Drepper <drepper@gmail.com>
37490
37491 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37492 is added to the list.
37493
37494 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37495 Ulrich Drepper <drepper@gmail.com>
37496
37497 * elf/dl-object.c (_dl_new_object): Don't append the new object to
37498 the global list here. Move code to...
37499 (_dl_add_to_namespace_list): ...here. New function.
37500 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37501 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37502 * elf/dl-load.c (lose): Don't remove the element from the list.
37503 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37504 (_dl_map_object): Likewise.
37505
37506 2010-10-25 Ulrich Drepper <drepper@gmail.com>
37507
37508 [BZ #12159]
37509 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37510 into all bytes of SSE register.
37511 Patch by Richard Li <richardpku@gmail.com>.
37512
37513 2010-10-24 Ulrich Drepper <drepper@gmail.com>
37514
37515 [BZ #12140]
37516 * malloc/malloc.c (_int_free): Fill correct number of bytes when
37517 perturbing.
37518
37519 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
37520
37521 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37522 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37523 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37524 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37526 submachine.
37527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37528
37529 2010-10-22 Andreas Schwab <schwab@redhat.com>
37530
37531 * include/dlfcn.h (__RTLD_SECURE): Define.
37532 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
37533 mode & __RTLD_SECURE instead.
37534 (open_path): Rename preloaded parameter to secure.
37535 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37536 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37537 * elf/dl-deps.c (openaux): Likewise.
37538 * elf/rtld.c (struct map_args): Remove is_preloaded.
37539 (map_doit): Don't use it.
37540 (dl_main): Likewise.
37541 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37542 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37543
37544 2010-09-09 Andreas Schwab <schwab@redhat.com>
37545
37546 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37547 (sysd-rules-targets): Remove duplicates.
37548 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37549 rtld-%.$o dependency.
37550
37551 2010-10-18 Andreas Schwab <schwab@redhat.com>
37552
37553 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37554 _dl_map_object do it.
37555
37556 2010-10-19 Ulrich Drepper <drepper@gmail.com>
37557
37558 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37559 fast fma builtins, define the macros in the C99 standard.
37560 (FP_FAST_FMAF): Likewise.
37561 (FP_FAST_FMAL): Likewise.
37562 * sysdeps/x86_64/bits/mathdef.h: Likewise.
37563
37564 * bits/mathdef.h: Update copyright year.
37565 * sysdeps/powerpc/bits/mathdef.h: Likewise.
37566
37567 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
37568
37569 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37570 builtins, define the macros in the C99 standard.
37571 (FP_FAST_FMAF): Likewise.
37572 (FP_FAST_FMAL): Likewise.
37573 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37574 multiply/add.
37575 (FP_FAST_FMAF): Likewise.
37576
37577 2010-10-15 Jakub Jelinek <jakub@redhat.com>
37578
37579 [BZ #3268]
37580 * math/libm-test.inc (fma_test): Some new testcases.
37581 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37582 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37583 y and infinite z. Do multiplication by C already in long double.
37584 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37585 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37586 y and infinite z. Do bitwise or of inexact bit into u.d.
37587 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37588 * sysdeps/i386/fpu/s_fmaf.S: Removed.
37589 * sysdeps/i386/fpu/s_fma.S: Removed.
37590 * sysdeps/i386/fpu/s_fmal.S: Removed.
37591
37592 2010-10-16 Jakub Jelinek <jakub@redhat.com>
37593
37594 [BZ #3268]
37595 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37596 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37597 computation is not scheduled after fetestexcept. Fix value
37598 of minimum denormal long double.
37599
37600 2010-10-14 Jakub Jelinek <jakub@redhat.com>
37601
37602 [BZ #3268]
37603 * math/libm-test.inc (fma_test): Add some more tests.
37604 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37605 correctly.
37606
37607 2010-10-15 Andreas Schwab <schwab@redhat.com>
37608
37609 * scripts/data/localplt-s390-linux-gnu.data: New file.
37610 * scripts/data/localplt-s390x-linux-gnu.data: New file.
37611
37612 2010-10-13 Jakub Jelinek <jakub@redhat.com>
37613
37614 [BZ #3268]
37615 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37616 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37617 instead of dbl-64.
37618 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37619 inlines.
37620 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37621 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37622 if one of x and y is very large and the other is subnormal.
37623 * sysdeps/s390/fpu/s_fmaf.c: New file.
37624 * sysdeps/s390/fpu/s_fma.c: New file.
37625 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37626 * sysdeps/powerpc/fpu/s_fma.S: New file.
37627 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37628 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37629 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37630
37631 2010-10-12 Jakub Jelinek <jakub@redhat.com>
37632
37633 [BZ #3268]
37634 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37635 fma tests.
37636 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37637 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37638 * sysdeps/i386/i686/multiarch/s_fma.c: Include
37639 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37640 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37641 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37642 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37643
37644 2010-10-12 Ulrich Drepper <drepper@redhat.com>
37645
37646 [BZ #12078]
37647 * posix/regcomp.c (parse_branch): One more memory leak plugged.
37648 * posix/bug-regex31.input: Add test case.
37649
37650 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37651
37652 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37653 * posix/bug-regex31.input: New file.
37654
37655 [BZ #12078]
37656 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37657 (parse_sub_exp): Fix last change, use postorder.
37658
37659 * posix/bug-regex31.c: New file.
37660 * posix/Makefile: Add rules to build and run bug-regex31.
37661
37662 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37663
37664 [BZ #12078]
37665 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37666
37667 [BZ #12108]
37668 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37669 to have entries in sys_siglist.
37670
37671 [BZ #12093]
37672 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37673 be NULL.
37674
37675 2010-10-07 Jakub Jelinek <jakub@redhat.com>
37676
37677 [BZ #3268]
37678 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37679 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37680 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37681 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37682 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37683 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37684 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37685 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37686 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37687 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37688 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37689 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37690 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37691 * math/ftestexcept.c (fetestexcept): Likewise.
37692 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37693 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37694 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37695 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37696 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37697 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37698 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37699
37700 2010-10-11 Ulrich Drepper <drepper@gmail.com>
37701
37702 [BZ #12107]
37703 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37704 newline.
37705
37706 2010-10-06 Ulrich Drepper <drepper@gmail.com>
37707
37708 * string/bug-strstr1.c: New file.
37709 * string/Makefile: Add rules to build and run bug-strstr1.
37710
37711 2010-10-05 Eric Blake <eblake@redhat.com>
37712
37713 [BZ #12092]
37714 * string/str-two-way.h (two_way_long_needle): Always clear memory
37715 when skipping input due to the shift table.
37716
37717 2010-10-03 Ulrich Drepper <drepper@gmail.com>
37718
37719 [BZ #12005]
37720 * malloc/mcheck.c: Handle large requests.
37721
37722 [BZ #12077]
37723 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37724 for strncmp and strncasecmp.
37725 * string/stratcliff.c: Add tests for strcmp and strncmp.
37726 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37727
37728 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
37729
37730 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37731 __set_fpscr.
37732
37733 2010-09-30 Andreas Jaeger <aj@suse.de>
37734
37735 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37736 (CGROUP_SUPER_MAGIC): Define.
37737 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37738 Handle btrfs and cgroup file systems.
37739 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37740 Likewise.
37741
37742 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
37743
37744 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37745 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37746
37747 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37748
37749 [BZ #12067]
37750 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37751 trying to locate the ELF header.
37752
37753 2010-09-27 Andreas Schwab <schwab@redhat.com>
37754
37755 [BZ #11611]
37756 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37757 Mask out sign-bit copies when constructing f_fsid.
37758
37759 2010-09-24 Petr Baudis <pasky@suse.cz>
37760
37761 * debug/stack_chk_fail_local.c: Add missing licence exception.
37762 * debug/warning-nop.c: Likewise.
37763
37764 2010-09-15 Joseph Myers <joseph@codesourcery.com>
37765
37766 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37767 implementing getdents64 using getdents syscall, set d_type if
37768 __ASSUME_GETDENTS32_D_TYPE.
37769
37770 2010-09-16 Andreas Schwab <schwab@redhat.com>
37771
37772 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37773 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37774
37775 2010-09-21 Ulrich Drepper <drepper@redhat.com>
37776
37777 [BZ #12037]
37778 * posix/unistd.h: Undo change of feature selection for ftruncate from
37779 2010-01-11.
37780
37781 2010-09-20 Ulrich Drepper <drepper@redhat.com>
37782
37783 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37784 detection.
37785
37786 2010-09-20 Andreas Schwab <schwab@redhat.com>
37787
37788 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37789 fanotify_mark.
37790 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37791
37792 2010-09-14 Andreas Schwab <schwab@redhat.com>
37793
37794 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37795 variables after CHECK_SP call.
37796 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37797
37798 2010-09-13 Andreas Schwab <schwab@redhat.com>
37799 Ulrich Drepper <drepper@redhat.com>
37800
37801 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37802 re-relocationg ld.so.
37803 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37804 _dl_init_paths call.
37805 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
37806 here anymore.
37807
37808 2010-09-14 Ulrich Drepper <drepper@redhat.com>
37809
37810 * resolv/res_init.c (__res_vinit): Count the default server we added.
37811
37812 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
37813 Ulrich Drepper <drepper@redhat.com>
37814
37815 [BZ #11968]
37816 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37817 (____longjmp_chk): Use %ebx for saving value across system call.
37818 Add unwind info.
37819
37820 2010-09-06 Andreas Schwab <schwab@redhat.com>
37821
37822 * manual/Makefile: Don't mix pattern rules with normal rules.
37823
37824 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
37825
37826 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37827 operation.
37828 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37829 * libio/iofopncook.c (_IO_cookie_init): Likewise.
37830 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37831 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37832 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37833 Likewise.
37834
37835 2010-09-04 Ulrich Drepper <drepper@redhat.com>
37836
37837 [BZ #11979]
37838 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37839 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37840
37841 2010-09-02 Ulrich Drepper <drepper@redhat.com>
37842
37843 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37844 * sysdeps/x86_64/addmul_1.S: Likewise.
37845 * sysdeps/x86_64/lshift.S: Likewise.
37846 * sysdeps/x86_64/mul_1.S: Likewise.
37847 * sysdeps/x86_64/rshift.S: Likewise.
37848 * sysdeps/x86_64/sub_n.S: Likewise.
37849 * sysdeps/x86_64/submul_1.S: Likewise.
37850
37851 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
37852
37853 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37854 Define __sched_param instead of SCHED_* and sched_param when
37855 <bits/sched.h> is included with __need_schedparam defined.
37856 * bits/sched.h [__need_schedparam]
37857 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37858 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37859 (__defined_schedparam): Define to 1.
37860 (__sched_param): New structure, identical to sched_param.
37861 (__need_schedparam): Undefine.
37862
37863 2010-08-31 Mike Frysinger <vapier@gentoo.org>
37864
37865 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37866 (epoll_create1): Declare.
37867
37868 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37869
37870 2010-08-31 Andreas Schwab <schwab@redhat.com>
37871
37872 [BZ #7066]
37873 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37874 shifting retval into place.
37875
37876 2010-09-01 Ulrich Drepper <drepper@redhat.com>
37877
37878 * nis/rpcsvc/nis.h: Update copyright notice.
37879 * nis/rpcsvc/nis.x: Likewise.
37880 * nis/rpcsvc/nis_callback.h: Likewise.
37881 * nis/rpcsvc/nis_callback.x: Likewise.
37882 * nis/rpcsvc/nis_object.x: Likewise.
37883 * nis/rpcsvc/nis_tags.h: Likewise.
37884 * nis/rpcsvc/yp.h: Likewise.
37885 * nis/rpcsvc/yp.x: Likewise.
37886 * nis/rpcsvc/ypupd.h: Likewise.
37887 * nis/yp_xdr.c: Likewise.
37888 * nis/ypupdate_xdr.c: Likewise.
37889
37890 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
37891 mainly the body of pmap_getport. Add parameters to specify timeouts.
37892 (pmap_getport): Use __libc_rpc_getport.
37893 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37894 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37895 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37896
37897 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
37898
37899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37900 fanotify_mark.
37901
37902 2010-08-27 Roland McGrath <roland@redhat.com>
37903
37904 * sysdeps/i386/i686/multiarch/Makefile
37905 (CFLAGS-varshift.c): New variable.
37906
37907 2010-08-27 Ulrich Drepper <drepper@redhat.com>
37908
37909 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37910 * sysdeps/i386/i686/multiarch/varshift.c: New file.
37911
37912 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37913
37914 * sysdeps/x86_64/strlen.S: Minimal code improvement.
37915
37916 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
37917
37918 * sysdeps/x86_64/strlen.S: Unroll the loop.
37919 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37920 strlen-sse2 strlen-sse2-bsf.
37921 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37922 __strlen_no_bsf if bit_Slow_BSF is set.
37923 (__strlen_sse42): Removed.
37924 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37925 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37926
37927 2010-08-25 Roland McGrath <roland@redhat.com>
37928
37929 * sysdeps/x86_64/multiarch/varshift.S: File removed.
37930 * sysdeps/x86_64/multiarch/varshift.c: New file.
37931 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37932 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37933 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37934 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37935
37936 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
37937
37938 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37939 strlen-sse2 strlen-sse2-bsf.
37940 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
37941 __strlen_sse2_bsf if bit_Slow_BSF is unset.
37942 (__strlen_sse2): Removed.
37943 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
37944 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
37945 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
37946 bit_Slow_BSF for Atom.
37947 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
37948 (index_Slow_BSF): Define.
37949 (HAS_SLOW_BSF): Define.
37950
37951 2010-08-25 Ulrich Drepper <drepper@redhat.com>
37952
37953 [BZ #10851]
37954 * resolv/res_init.c (__res_vinit): When no server address at all
37955 is given default to loopback.
37956
37957 2010-08-24 Roland McGrath <roland@redhat.com>
37958
37959 * configure.in: Remove config-name.h generation.
37960 * configure: Regenerated.
37961 * config-name.in: File removed.
37962 * scripts/config-uname.sh: New file.
37963 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
37964 ($(objdir)config-name.h): New target.
37965
37966 * sunrpc/rpc_parse.h: Avoid nested comment.
37967
37968 2010-08-24 Richard Henderson <rth@redhat.com>
37969 Ulrich Drepper <drepper@redhat.com>
37970 H.J. Lu <hongjiu.lu@intel.com>
37971
37972 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
37973 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
37974 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
37975 Replace _mm_srli_si128 with __m128i_shift_right. Replace
37976 _mm_alignr_epi8 with _mm_loadu_si128.
37977 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
37978 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
37979 (__m128i_shift_right): Removed.
37980 * sysdeps/i386/i686/multiarch/varshift.h: New file.
37981 * sysdeps/i386/i686/multiarch/varshift.S: New file.
37982 * sysdeps/x86_64/multiarch/varshift.h: New file.
37983 * sysdeps/x86_64/multiarch/varshift.S: New file.
37984
37985 2010-08-21 Mike Frysinger <vapier@gentoo.org>
37986
37987 * configure.in: Move assembler checks to before sysdep dir checking.
37988
37989 2010-08-20 Petr Baudis <pasky@suse.cz>
37990
37991 * LICENSES: Sync the sunrpc license.
37992
37993 2010-08-19 Ulrich Drepper <drepper@redhat.com>
37994
37995 * sunrpc/auth_des.c: Update copyright notice once again.
37996 * sunrpc/auth_none.c: Likewise.
37997 * sunrpc/auth_unix.c: Likewise.
37998 * sunrpc/authdes_prot.c: Likewise.
37999 * sunrpc/authuxprot.c: Likewise.
38000 * sunrpc/bindrsvprt.c: Likewise.
38001 * sunrpc/clnt_gen.c: Likewise.
38002 * sunrpc/clnt_perr.c: Likewise.
38003 * sunrpc/clnt_raw.c: Likewise.
38004 * sunrpc/clnt_simp.c: Likewise.
38005 * sunrpc/clnt_tcp.c: Likewise.
38006 * sunrpc/clnt_udp.c: Likewise.
38007 * sunrpc/clnt_unix.c: Likewise.
38008 * sunrpc/des_crypt.c: Likewise.
38009 * sunrpc/des_soft.c: Likewise.
38010 * sunrpc/get_myaddr.c: Likewise.
38011 * sunrpc/getrpcport.c: Likewise.
38012 * sunrpc/key_call.c: Likewise.
38013 * sunrpc/key_prot.c: Likewise.
38014 * sunrpc/openchild.c: Likewise.
38015 * sunrpc/pm_getmaps.c: Likewise.
38016 * sunrpc/pm_getport.c: Likewise.
38017 * sunrpc/pmap_clnt.c: Likewise.
38018 * sunrpc/pmap_prot.c: Likewise.
38019 * sunrpc/pmap_prot2.c: Likewise.
38020 * sunrpc/pmap_rmt.c: Likewise.
38021 * sunrpc/rpc/auth.h: Likewise.
38022 * sunrpc/rpc/auth_unix.h: Likewise.
38023 * sunrpc/rpc/clnt.h: Likewise.
38024 * sunrpc/rpc/des_crypt.h: Likewise.
38025 * sunrpc/rpc/key_prot.h: Likewise.
38026 * sunrpc/rpc/netdb.h: Likewise.
38027 * sunrpc/rpc/pmap_clnt.h: Likewise.
38028 * sunrpc/rpc/pmap_prot.h: Likewise.
38029 * sunrpc/rpc/pmap_rmt.h: Likewise.
38030 * sunrpc/rpc/rpc.h: Likewise.
38031 * sunrpc/rpc/rpc_des.h: Likewise.
38032 * sunrpc/rpc/rpc_msg.h: Likewise.
38033 * sunrpc/rpc/svc.h: Likewise.
38034 * sunrpc/rpc/svc_auth.h: Likewise.
38035 * sunrpc/rpc/types.h: Likewise.
38036 * sunrpc/rpc/xdr.h: Likewise.
38037 * sunrpc/rpc_clntout.c: Likewise.
38038 * sunrpc/rpc_cmsg.c: Likewise.
38039 * sunrpc/rpc_common.c: Likewise.
38040 * sunrpc/rpc_cout.c: Likewise.
38041 * sunrpc/rpc_dtable.c: Likewise.
38042 * sunrpc/rpc_hout.c: Likewise.
38043 * sunrpc/rpc_main.c: Likewise.
38044 * sunrpc/rpc_parse.c: Likewise.
38045 * sunrpc/rpc_parse.h: Likewise.
38046 * sunrpc/rpc_prot.c: Likewise.
38047 * sunrpc/rpc_sample.c: Likewise.
38048 * sunrpc/rpc_scan.c: Likewise.
38049 * sunrpc/rpc_scan.h: Likewise.
38050 * sunrpc/rpc_svcout.c: Likewise.
38051 * sunrpc/rpc_tblout.c: Likewise.
38052 * sunrpc/rpc_util.c: Likewise.
38053 * sunrpc/rpc_util.h: Likewise.
38054 * sunrpc/rpcinfo.c: Likewise.
38055 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38056 * sunrpc/rpcsvc/key_prot.x: Likewise.
38057 * sunrpc/rpcsvc/klm_prot.x: Likewise.
38058 * sunrpc/rpcsvc/mount.x: Likewise.
38059 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38060 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38061 * sunrpc/rpcsvc/rex.x: Likewise.
38062 * sunrpc/rpcsvc/rstat.x: Likewise.
38063 * sunrpc/rpcsvc/rusers.x: Likewise.
38064 * sunrpc/rpcsvc/sm_inter.x: Likewise.
38065 * sunrpc/rpcsvc/spray.x: Likewise.
38066 * sunrpc/rpcsvc/yppasswd.x: Likewise.
38067 * sunrpc/rtime.c: Likewise.
38068 * sunrpc/svc.c: Likewise.
38069 * sunrpc/svc_auth.c: Likewise.
38070 * sunrpc/svc_authux.c: Likewise.
38071 * sunrpc/svc_raw.c: Likewise.
38072 * sunrpc/svc_run.c: Likewise.
38073 * sunrpc/svc_simple.c: Likewise.
38074 * sunrpc/svc_tcp.c: Likewise.
38075 * sunrpc/svc_udp.c: Likewise.
38076 * sunrpc/svc_unix.c: Likewise.
38077 * sunrpc/svcauth_des.c: Likewise.
38078 * sunrpc/xcrypt.c: Likewise.
38079 * sunrpc/xdr.c: Likewise.
38080 * sunrpc/xdr_array.c: Likewise.
38081 * sunrpc/xdr_float.c: Likewise.
38082 * sunrpc/xdr_mem.c: Likewise.
38083 * sunrpc/xdr_rec.c: Likewise.
38084 * sunrpc/xdr_ref.c: Likewise.
38085 * sunrpc/xdr_sizeof.c: Likewise.
38086 * sunrpc/xdr_stdio.c: Likewise.
38087
38088 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38089 handling.
38090
38091 2010-08-19 Andreas Schwab <schwab@redhat.com>
38092
38093 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38094
38095 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
38096
38097 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38098 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38099 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38100 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38101 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38102 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38103 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38104 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38105 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38106 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38107 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38108 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38109 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38110 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38111
38112 2010-07-26 Anton Blanchard <anton@samba.org>
38113
38114 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38115 * malloc/arena.c (heap_trim): Likewise.
38116
38117 2010-08-16 Ulrich Drepper <drepper@redhat.com>
38118
38119 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38120 here. Not...
38121 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38122 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38123
38124 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
38125
38126 * sysdeps/i386/elf/Makefile: New file.
38127
38128 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38129
38130 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38131 from fanotify_init.
38132 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38133 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38134
38135 2010-08-15 Ulrich Drepper <drepper@redhat.com>
38136
38137 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38138 of strncasecmp_l.
38139 * sysdeps/multiarch/strcmp.S: Likewise.
38140
38141 2010-08-14 Ulrich Drepper <drepper@redhat.com>
38142
38143 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38144 strncase_l-nonascii.
38145 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38146 Add strncase_l-ssse3.
38147 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38148 * sysdeps/x86_64/strcmp.S: Likewise.
38149 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38150 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38151 * sysdeps/x86_64/strncase.S: New file.
38152 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38153 * sysdeps/x86_64/strncase_l.S: New file.
38154 * string/Makefile (strop-tests): Add strncasecmp.
38155 * string/test-strncasecmp.c: New file.
38156
38157 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38158 warning.
38159
38160 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38161 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38162
38163 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
38164
38165 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38166
38167 2010-08-12 Ulrich Drepper <drepper@redhat.com>
38168
38169 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38170 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38171 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38172
38173 2010-05-01 Alan Modra <amodra@gmail.com>
38174
38175 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38176 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38177 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38178 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38179 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38180 tidying. Don't tail-call __sigjmp_save for static lib.
38181 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38182 save location.
38183 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38184 (CALL_MCOUNT): Add eh info, and nop after bl.
38185 (TAIL_CALL_SYSCALL_ERROR): New macro.
38186 (PSEUDO_RET): Use it.
38187 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38188 Correct save location of integer regs and cr.
38189 (_dl_profile_resolve): Correct cr save location. Delete nops
38190 after bl when SHARED. Reduce cfi size a little by better
38191 placement of cfi directives.
38192 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38193 make a stack frame. Instead use parm save area as a temp.
38194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38195 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
38196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38197 Don't make a stack frame for parent, use parm save area.
38198 Increase child stack frame to 112 bytes. Don't save unused reg,
38199 and adjust reg usage. Set up cfi on error recovery and
38200 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38202 (__makecontext): Add dummy nop after jump to exit.
38203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38204 Use correct parm save area and cr save, reduce stack frame.
38205 Correct cfi for possible PSEUDO_RET frame setup.
38206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38207 Branch to local label emitted by PSEUDO_RET rather than
38208 __syscall_error.
38209
38210 2010-08-12 Andreas Schwab <schwab@redhat.com>
38211
38212 [BZ #11904]
38213 * locale/programs/locale.c (print_assignment): New function.
38214 (show_locale_vars): Use it.
38215
38216 2010-08-11 Ulrich Drepper <drepper@redhat.com>
38217
38218 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38219 field.
38220 (struct statfs64): Likewise.
38221 (_STATFS_F_FLAGS): Define.
38222 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38223 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38224 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38225 (ST_VALID): Define locally.
38226 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38227 __statvfs_getflags, use the provided value.
38228 * sysdeps/unix/sysv/linux/kernel-features.h: Define
38229 __ASSUME_STATFS_F_FLAGS.
38230
38231 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38232
38233 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38234 Add sys/fanotify.h.
38235 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38236 fanotify_mask for GLIBC_2.13.
38237 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38238 fanotify_init and fanotify_mark.
38239 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38240 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38241
38242 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38243 Add prlimit.
38244 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38245 prlimit64 for GLIBC_2.13.
38246 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38247 prlimit64.
38248 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38249 syscall.
38250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38251 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38252 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38253 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38254 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
38255 add prlimit alias.
38256 * sysdeps/unix/sysv/linux/prlimit.c: New file.
38257
38258 [BZ #11903]
38259 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38260 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38261
38262 * nss/Makefile: Add rules to build and run tst-nss-test1.
38263 * shlib-versions: Add entry for libnss_test1.
38264 * nss/nss_test1.c: New file.
38265 * nss/tst-nss-test1.c: New file.
38266
38267 * nss/nsswitch.c (__nss_database_custom): Define new variable.
38268 (__nss_configure_lookup): Set appropriate entry in
38269 __nss_configure_lookup to true.
38270 * nss/nsswitch.h: Define enum with indeces of databases in
38271 databases and __nss_database_custom arrays. Declare
38272 __nss_database_custom.
38273 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38274 to avoid using nscd when custom rules are installed.
38275 * nss/getXXbyYY_r.c: Likewise.
38276 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38277
38278 * nss/nss_files/files-parse.c: Whitespace fixes.
38279
38280 2010-08-09 Ulrich Drepper <drepper@redhat.com>
38281
38282 [BZ #11883]
38283 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38284 * posix/fnmatch_loop.c: Likewise.
38285
38286 2010-07-17 Andi Kleen <ak@linux.intel.com>
38287
38288 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38289 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38290 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38291 * Versions.def [GLIBC_2.13]: Add.
38292
38293 2010-08-06 Ulrich Drepper <drepper@redhat.com>
38294
38295 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38296 Also fail if tpwd after pwuid call is NULL.
38297
38298 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
38299
38300 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38301 when converting to ms.
38302
38303 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38304
38305 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38306 EOPNOTSUPP errors with ENOTTY.
38307 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38308 EOPNOTSUPP errors with ENOTTY.
38309
38310 2010-07-31 Ulrich Drepper <drepper@redhat.com>
38311
38312 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38313 Add strcasecmp_l-ssse3.
38314 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38315 strcasecmp.
38316 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38317 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38318 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38319
38320 2010-07-30 Ulrich Drepper <drepper@redhat.com>
38321
38322 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38323
38324 * string/Makefile (strop-tests): Add strcasecmp.
38325 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38326 strcasecmp_l-nonascii.
38327 (gen-as-const-headers): Add locale-defines.sym.
38328 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38329 * sysdeps/x86_64/strcasecmp.S: New file.
38330 * sysdeps/x86_64/strcasecmp_l.S: New file.
38331 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38332 * sysdeps/x86_64/locale-defines.sym: New file.
38333 * string/test-strcasecmp.c: New file.
38334
38335 * string/test-strcasestr.c: Test both ends of the range of characters.
38336 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38337
38338 2010-07-29 Roland McGrath <roland@redhat.com>
38339
38340 [BZ #11856]
38341 * manual/locale.texi (Yes-or-No Questions): Fix example code.
38342
38343 2010-07-27 Ulrich Drepper <drepper@redhat.com>
38344
38345 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38346 for ld.so.
38347
38348 2010-07-27 Andreas Schwab <schwab@redhat.com>
38349
38350 * manual/memory.texi (Malloc Tunable Parameters): Document
38351 M_PERTURB.
38352
38353 2010-07-26 Roland McGrath <roland@redhat.com>
38354
38355 [BZ #11840]
38356 * configure.in (-fgnu89-inline check): Set and substitute
38357 gnu89_inline, not libc_cv_gnu89_inline.
38358 * configure: Regenerated.
38359 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38360
38361 2010-07-26 Ulrich Drepper <drepper@redhat.com>
38362
38363 * string/test-strnlen.c: New file.
38364 * string/Makefile (strop-tests): Add strnlen.
38365 * string/tester.c (test_strnlen): Add a few more test cases.
38366 * string/tst-strlen.c: Better error reporting.
38367
38368 * sysdeps/x86_64/strnlen.S: New file.
38369
38370 2010-07-24 Ulrich Drepper <drepper@redhat.com>
38371
38372 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38373 lower-latency instructions.
38374
38375 2010-07-23 Ulrich Drepper <drepper@redhat.com>
38376
38377 * string/test-strcasestr.c: New file.
38378 * string/test-strstr.c: New file.
38379 * string/Makefile (strop-tests): Add strstr and strcasestr.
38380 * string/str-two-way.h: Don't undefine MAX.
38381 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38382
38383 2010-07-21 Andreas Schwab <schwab@redhat.com>
38384
38385 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38386 strcasestr-nonascii.
38387 (CFLAGS-strcasestr-nonascii.c): Define.
38388 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38389 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38390 Remove unused attribute.
38391
38392 2010-07-20 Roland McGrath <roland@redhat.com>
38393
38394 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38395 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
38396 ld.so.cache was broken. With it, there is no way to disable dsocaps
38397 like LD_HWCAP_MASK can disable hwcaps.
38398
38399 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38400
38401 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38402
38403 2010-07-16 Ulrich Drepper <drepper@redhat.com>
38404
38405 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38406 call in strcasestr.
38407 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38408 __strcasestr_sse42_nonascii.
38409 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38410 strcasestr-nonascii.c.
38411 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38412
38413 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
38414
38415 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38416 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38417 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38418 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38419
38420 2010-07-09 Ulrich Drepper <drepper@redhat.com>
38421
38422 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38423 fcntl.
38424
38425 2010-07-06 Andreas Schwab <schwab@redhat.com>
38426
38427 [BZ #11577]
38428 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38429 dl_signal_cerror.
38430
38431 2010-07-06 Ulrich Drepper <drepper@redhat.com>
38432
38433 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38434 _PC_PIPE_BUF using F_GETPIPE_SZ.
38435
38436 2010-07-05 Roland McGrath <roland@redhat.com>
38437
38438 * manual/arith.texi (Rounding Functions): Fix rint description
38439 implicit in round description.
38440
38441 2010-07-02 Ulrich Drepper <drepper@redhat.com>
38442
38443 * elf/Makefile: Fix linking for a few tests to make recent linker
38444 happy.
38445
38446 2010-06-30 Andreas Schwab <schwab@redhat.com>
38447
38448 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38449 $(common-objpfx)libc_nonshared.a.
38450
38451 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
38452
38453 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38454 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38455 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38456 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38457 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38458 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38459 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38460 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38475 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38476 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38477 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38478 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38479 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38480 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38481 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38482 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38483 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38484 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38485 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38486 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38501
38502 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
38503
38504 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38505 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
38506 * string/memmove.c (memmove): Renamed to ...
38507 (MEMMOVE): ...this. Default to memmove.
38508 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38509 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38510 (END_CHK): Define.
38511 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38512 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38513 mempcpy-ssse3-back memmove-ssse3-back.
38514 * sysdeps/x86_64/multiarch/bcopy.S: New file .
38515 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38516 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38517 * sysdeps/x86_64/multiarch/memcpy.S: New file.
38518 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38519 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38520 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38521 * sysdeps/x86_64/multiarch/memmove.c: New file.
38522 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38523 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38524 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38525 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38526 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38527 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38528 Define.
38529 (index_Fast_Copy_Backward): Define.
38530 (HAS_ARCH_FEATURE): Define.
38531 (HAS_FAST_REP_STRING): Define.
38532 (HAS_FAST_COPY_BACKWARD): Define.
38533
38534 2010-06-21 Andreas Schwab <schwab@redhat.com>
38535
38536 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38537 Restore proper fallback handling.
38538
38539 2010-06-19 Ulrich Drepper <drepper@redhat.com>
38540
38541 [BZ #11701]
38542 * posix/group_member.c (__group_member): Correct checking loop.
38543
38544 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38545 OOM in getpwuid_r correctly. Return error number when the caller
38546 should return, otherwise -1.
38547 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38548 call returning > 0 value.
38549 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38550
38551 2010-06-07 Andreas Schwab <schwab@redhat.com>
38552
38553 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38554 libc_nonshared.a from targets in modules-names.
38555
38556 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
38557
38558 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38559 requires it.
38560
38561 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
38562
38563 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38564 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38565 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38566 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38567
38568 2010-06-02 Andreas Schwab <schwab@redhat.com>
38569
38570 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38571
38572 2010-06-14 Ulrich Drepper <drepper@redhat.com>
38573
38574 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38575 and F_GETPIPE_SZ.
38576 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38577 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38578 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38579 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38580 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38581 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38582
38583 2010-06-14 Roland McGrath <roland@redhat.com>
38584
38585 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38586
38587 2010-06-07 Jakub Jelinek <jakub@redhat.com>
38588
38589 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38590 __REDIRECT followed by __THROW.
38591 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38592 * posix/getopt.h (getopt): Likewise.
38593
38594 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
38595
38596 * hurd/lookup-at.c (__file_name_lookup_at): Accept
38597 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
38598 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38599 in AT_FLAGS.
38600 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38601 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38602
38603 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
38604
38605 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38606
38607 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
38608
38609 [BZ #11640]
38610 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38611 Properly check family and model.
38612
38613 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
38614
38615 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38616
38617 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
38618
38619 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38620
38621 2010-05-21 Ulrich Drepper <drepper@redhat.com>
38622
38623 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38624 symbol reference.
38625
38626 2010-05-19 Andreas Schwab <schwab@redhat.com>
38627
38628 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38629 symbol reference.
38630
38631 2010-05-21 Andreas Schwab <schwab@redhat.com>
38632
38633 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38634 and internal_recvmmsg.
38635 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38636 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38637 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38638 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38639
38640 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38641 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38642 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38643
38644 2010-05-20 Andreas Schwab <schwab@redhat.com>
38645
38646 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38647
38648 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
38649
38650 POWER7 optimizations.
38651 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38652 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38653
38654 2010-05-19 Ulrich Drepper <drepper@redhat.com>
38655
38656 * version.h: Update for 2.13 development version.
38657
38658 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
38659
38660 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38661 exceptions. Return 0.
38662
38663 2010-05-07 Roland McGrath <roland@redhat.com>
38664
38665 * elf/ldconfig.c (main): Add a const.
38666
38667 2010-05-06 Ulrich Drepper <drepper@redhat.com>
38668
38669 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38670 (args_options): Add no-idn option.
38671 (ahosts_keys_int): Add idn_flags to ai_flags.
38672 (parse_option): Handle 'i' option to clear idn_flags.
38673
38674 * malloc/malloc.c (_int_free): Possible race in the most recently
38675 added check. Only act on the data if no current modification
38676 happened.
38677
38678 See ChangeLog.17 for earlier changes.