* manual/startup.texi: Document MTASC-safety properties.
[jlayton/glibc.git] / ChangeLog
1 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
2
3         * manual/startup.texi: Document MTASC-safety properties.
4
5 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
6
7         * manual/socket.texi: Document MTASC-safety properties.
8
9 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
10
11         * manual/signal.texi: Document MTASC-safety properties.
12
13 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
14
15         * manual/setjmp.texi: Document MTASC-safety properties.
16
17 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
18
19         * manual/search.texi: Document MTASC-safety properties.
20
21 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
22
23         * manual/resource.texi: Document MTASC-safety properties.
24
25 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
26
27         * manual/process.texi: Document MTASC-safety properties.
28
29 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
30
31         * manual/platform.texi: Document MTASC-safety properties.
32
33 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
34
35         * manual/pipe.texi: Document MTASC-safety properties.
36
37 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
38
39         * manual/pattern.texi: Document MTASC-safety properties.
40
41 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
42
43         * manual/message.texi: Document MTASC-safety properties.
44
45 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
46
47         [BZ #12751]
48         * manual/memory.texi: Document MTASC-safety properties.
49
50 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
51
52         * manual/math.texi: Document MTASC-safety properties.
53
54 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
55
56         * manual/locale.texi: Document MTASC-safety properties.
57
58 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
59
60         * manual/llio.texi: Document MTASC-safety properties.
61
62 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
63
64         * manual/libdl.texi: New.
65
66 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
67
68         * manual/lang.texi: Document MTASC-safety properties.
69
70 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
71
72         * manual/job.texi: Document MTASC-safety properties.
73
74 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
75
76         * manual/getopt.texi: Document MTASC-safety properties.
77
78 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
79
80         * manual/ctype.texi: Document MTASC-safety properties.
81
82 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
83
84         [BZ #16046]
85         * csu/libc-tls.c (static_map): Remove variable.
86         (__libc_setup_tls): Use main executable's link map for TLS data.
87         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
88         casing for LM_ID_BASE and GL(dl_nns).
89         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
90         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
91         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
92         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
93         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
94         member.
95         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
96         l_phnum members.
97
98 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
99
100         * manual/debug.texi: Document MTASC-safety properties.
101
102 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
103
104         [BZ #16510]
105         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
106         of __x86_64__ when disabling x87 inline functions.
107
108 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
109
110         * manual/charset.texi: Document MTASC-safety properties.
111
112 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
113
114         * manual/crypt.texi: Document MTASC-safety properties.
115
116 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
117
118         * manual/conf.texi: Document MTASC-safety properties.
119
120 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
121
122         * manual/arith.texi: Document MTASC-safety properties.
123
124 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
125
126         * manual/argp.texi: Document MTASC-safety properties.
127
128 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
129
130         * manual/macros.texi: Introduce macros to document multi
131         thread, asynchronous signal and asynchronous cancellation
132         safety properties.
133         * manual/intro.texi: Introduce the properties themselves.
134
135 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
136
137         * sysdeps/sh/sh4/Makefile: New file.
138
139 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
140
141         * math/gen-libm-test.pl ($srcdir): New variable.
142         ($auto_input): Use it.
143
144 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
145
146         [BZ #16506]
147         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
148         access beyond array bounds when parsing netgroups file.
149
150         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
151         the old buffer before realloc.
152
153 2014-01-27  Allan McRae  <allan@archlinux.org>
154
155         * po/fr.po: Update French translation from translation project.
156
157 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
158
159         * sysdeps/sh/libm-test-ulps: Regenerate.
160
161 2014-01-24  David S. Miller  <davem@davemloft.net>
162
163         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
164
165 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
166
167         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
168         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
169
170 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
171
172         [BZ #16474]
173         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
174         string pointers after reallocation.
175
176 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
177
178         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
179         __SH4A__ instead of __SH_FPU_ANY__.
180
181 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
182
183         * sysdeps/sh/fpu_control.h: New file.
184         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
185         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
186         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
187         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
188         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
189         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
190         * sysdeps/sh/sys/ucontext.h: Remove.
191         * sysdeps/sh/sys: Remove directory.
192
193 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
194
195         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
196         s390/sys/ucontext.h.
197         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
198         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
199
200 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
201
202         [BZ #15605]
203         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
204
205 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
206
207         [BZ#16431]
208         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
209         Adjust the vDSO correctly for internal calls.
210         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
211
212 2014-01-20  Allan McRae  <allan@archlinux.org>
213
214         * po/ca.po: Update Catalan translation from translation project.
215
216 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
217
218         * sysdeps/s390/sotruss-lib.c: New file.
219
220 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
221
222         [BZ#16430]
223         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
224         (__GI___gettimeofday): Alias for a different internal symbol to avoid
225         local calls issues by not having a PLT stub required for IFUNC calls.
226         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
227
228 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
229
230         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
231         * math/test-fpucw-static.c: Likewise.
232
233 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
234
235         [BZ #16453]
236         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
237
238 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
239
240         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
241         implementation for powerpc.
242
243 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
244
245         [BZ #14782]
246         * sysdeps/posix/system.c (__libc_system): Do not enable
247         asynchronous cancellation.
248
249 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
250
251         [BZ #16427]
252         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
253         handling only for numbers special also in the IEEE case.
254
255 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
256
257         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
258
259 2014-01-11  Allan McRae  <allan@archlinux.org>
260
261         * po/bg.po: Update Bulgarian translation from translation project.
262
263         * po/de.po: Update German translation from translation project.
264
265 2014-01-10  Roland McGrath  <roland@hack.frob.com>
266
267         * sysdeps/generic/gcc-compat.h: New file.
268
269 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
270
271         * benchtests/asin-inputs: Correct slow inputs.
272         * benchtests/acos-inputs: Likewise.
273
274 2014-01-10  Allan McRae  <allan@archlinux.org>
275
276         * po:sv.po: Update Swedish translation from translation project.
277
278         * po/vi.po: Update Vietnamese translation from translation project.
279
280         * po/eo.po: Update Esperanto translation from translation project.
281
282         * po/cs.po: Update Czech translation from translation project.
283
284         * po/nl.po: Update Dutch translation from translation project.
285
286         * po/pl.po: Update Polish translation from translation project.
287
288         * po/ru.po: Update Russian translation from translation project.
289
290         * po/uk.po: Update Ukrainian translation from translation project.
291
292 2014-01-08  Brooks Moses  <bmoses@google.com>
293
294         * elf/dl-load.c: Fix comment typo.
295
296 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
297
298         * po/header.pot: Rename to...
299         * po/pot.header: ... this.
300         * po/Makefile: Use pot.header.
301
302 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
303             Maxim Kuvyrkov  <maxim@kugelworks.com>
304
305         [BZ #16394]
306         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
307         SRC and DEST against LEN.
308
309 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
310
311         [BZ #16414]
312         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
313         implementation.
314         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
315
316 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
317
318         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
319
320 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
321
322         [BZ #16408]
323         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
324         for large positive arguments.
325
326 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
327
328         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
329
330         * math/auto-libm-test-in: Mark various tests with
331         xfail-rounding:ldbl-128ibm.
332         * math/auto-libm-test-out: Regenerated.
333
334         [BZ #16407]
335         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
336         Increase overflow threshold.
337
338 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
339
340         [BZ #14286]
341         * stdio-common/vfprintf.c: Check for integer overflow.
342
343 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
344
345         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
346         the first argument and return value of __tls_get_addr_internal.
347
348 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
349
350         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
351         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
352
353 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
354
355         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
356         * sysdeps/s390/rtld-global-offsets.sym: New file.
357         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
358         GLIBC_2.19 symbol.
359         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
360         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
361         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
362         ... this.
363         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
364         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
365         ... this.
366         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
367         Regenerate.
368         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
369         Regenerate.
370         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
371         halfs of GPRs for high_gprs contexts.
372         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
373         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
374         field.
375         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
376         uc_flags field.
377         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
378         64 bit versions:
379         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
380         for high GPRs (uc_high_gprs) and for future extensions
381         (__reserved).
382         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
383         for future extensions (__reserved).
384         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
385         64 bit versions:
386         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
387         SC_HIGHGPRS offset definition.
388         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
389         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
390
391 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
392
393         * Versions.def: Add GLIBC_2.19 for libpthread.
394         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
395         siglongjmp for libpthread with GLIBC_2.19 symver.
396         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
397         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
398         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
399         * sysdeps/s390/__longjmp.c: New file.
400         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
401         * sysdeps/s390/longjmp.c: New file.
402         * sysdeps/s390/setjmp.S: New file.
403         * sysdeps/s390/sigjmp.S: New file.
404         * sysdeps/s390/v1-longjmp.c: New file.
405         * sysdeps/s390/v1-setjmp.h: New file.
406         * sysdeps/s390/v1-sigjmp.c: New file.
407         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
408         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
409         GLIBC_2.19 version.
410         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
411         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
412         versioned symbols for ____longjmp_chk.
413         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
414         Likewise.
415         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
416         Regenerate.
417         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
418         Regenerate.
419         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
420         Regenerate.
421         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
422         Regenerate.
423         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
424         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
425         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
426         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
427         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
428         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
429         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
430         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
431         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
432         * sysdeps/s390/rtld-__longjmp.c: New file.
433         * sysdeps/s390/rtld-setjmp.S: New file.
434
435 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
436
437         [BZ #16400]
438         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
439         Return -__logl (x) for small positive arguments without evaluating
440         a polynomial.
441
442 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
443
444         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
445         Rename to ...
446         (__ptrace_peeksiginfo_args): ... this.
447         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
448         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
449         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
450
451 2014-01-06  Allan McRae  <allan@archlinux.org>
452
453         * inet/netinet/in.h: Fix typo in comment.
454
455 2014-01-05  Andreas Jaeger  <aj@suse.de>
456
457         * sysdeps/i386/fpu/libm-test-ulps: Update.
458
459 2014-01-05  Allan McRae  <allan@archlinux.org>
460
461         * po/libc.pot: Regenerated.
462
463         * malloc/memusagestat.c: Fix gettext call formatting.
464
465 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
466
467         * nscd/nscd.c: Improve usage() output.
468
469 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
470
471         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
472         * sysdeps/unix/sysv/linux/configure: Regenerated.
473         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
474         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
475
476 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
477
478         [BZ #16390]
479         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
480         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
481
482 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
483
484         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
485         extra tokens at end of #undef directive.
486         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
487         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
488         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
489
490 2014-01-03  Andrew Hunter  <ahh@google.com>
491
492         * elf/dl-open.c (dl_open_worker): New comment.
493         * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use
494         atomic_compare_and_exchange_bool_acq
495         (_dl_allocate_static_tls): Block signals.
496         * elf/dl-tls.c (allocate_and_init): Return void.
497         (_dl_update_slotinfo): Block signals, use atomic update.
498
499 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
500
501         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
502
503         * math/auto-libm-test-in: Mark various tests with
504         xfail-rounding:ldbl-128ibm.
505         * math/auto-libm-test-out: Regenerated.
506
507 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
508
509         [BZ #16386]
510         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
511         numbers with subnormal high part when calculating exponent.
512
513         [BZ #16385]
514         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
515         fabs.
516
517         [BZ #16384]
518         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
519         M_LN2l.
520         (__ieee754_acoshl): Use __log1pl not __log1p.
521
522 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
523
524         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
525         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
526         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
527         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
528         Convert to GNU style.
529         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
530         mem2mem_check, mem2chunk_check, top_check, realloc_check,
531         memalign_check, __malloc_set_state): Likewise.
532         * malloc/mallocbug.c (main): Likewise.
533         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
534         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
535         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
536         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
537         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
538         * malloc/malloc.h: Likewise.
539         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
540         memalignhook, reallochook, mabort): Likewise.
541         * malloc/mcheck.h: Likewise.
542         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
543         mmap64, mremap, munmap, dest): Likewise.
544         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
545         * malloc/morecore.c (__default_morecore): Likewise.
546         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
547         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
548         _obstack_allocated_p, obstack_free, _obstack_memory_used,
549         print_and_abort): Likewise.
550         * malloc/obstack.h: Likewise.
551         * malloc/set-freeres.c (__libc_freeres): Likewise.
552         * malloc/tst-mallocstate.c (main): Likewise.
553         * malloc/tst-mtrace.c (main): Likewise.
554         * malloc/tst-realloc.c (do_test): Likewise.
555
556 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
557
558         [BZ #16366]
559         * nscd/netgroupcache.c (do_notfound): New function.
560         (addgetnetgrentX): Use it.
561
562         [BZ # 16365]
563         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
564         NSS_STATUS_NOTFOUND.
565
566 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
567
568         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
570
571 2014-01-01  Allan McRae  <allan@archlinux.org>
572
573         * scripts/update-copyrights: Update configure input file suffix.
574
575         * NEWS: Update copyright year.
576         * catgets/gencat.c: Likewise.
577         * csu/version.c: Likewise.
578         * debug/catchsegv.sh: Likewise.
579         * debug/pcprofiledump.c: Likewise.
580         * debug/xtrace.sh: Likewise.
581         * elf/ldconfig.c: Likewise.
582         * elf/ldd.bash.in: Likewise.
583         * elf/pldd.c: Likewise.
584         * elf/sotruss.ksh: Likewise.
585         * elf/sprof.c: Likewise.
586         * iconv/iconv_prog.c: Likewise.
587         * iconv/iconvconfig.c: Likewise.
588         * locale/programs/locale.c: Likewise.
589         * locale/programs/localedef.c: Likewise.
590         * login/programs/pt_chown.c: Likewise.
591         * malloc/memusage.sh: Likewise.
592         * malloc/memusagestat.c: Likewise.
593         * malloc/mtrace.pl: Likewise.
594         * manual/libc.texinfo: Likewise.
595         * nscd/nscd.c: Likewise.
596         * nss/getent.c: Likewise.
597         * nss/makedb.c: Likewise.
598         * posix/getconf.c: Likewise.
599         * scripts/test-installation.pl: Likewise.
600
601         * All files with FSF copyright notices: Update copyright dates
602         using scripts/update-copyrights.
603         * intl/plural.c: Regenerated.
604         * locale/programs/charmap-kw.h: Likewise.
605         * locale/programs/locfile-kw.h: Likewise.
606
607 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
608
609         * sysdeps/unix/sysv/linux/configure: Regenerated.
610         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
611         the linux/fanotify.h header.
612         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
613         HAVE_LINUX_FANOTIFY_H is defined.
614
615 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
616
617         * benchtests/cos-inputs: New inputs.
618         * benchtests/sin-inputs: Likewise.
619
620         * benchtests/atan-inputs: New inputs. Fix name of multiple
621         precision fallback inputs.
622
623         * benchtests/atanh-inputs: New inputs.
624         * benchtests/tanh-inputs: Likewise.
625
626         * benchtests/acosh-inputs: New inputs.
627         * benchtests/asinh-inputs: Likewise.
628
629         * benchtests/cosh-inputs: New inputs.
630         * benchtests/sinh-inputs: Likewise.
631
632         * benchtests/acos-inputs: Add more inputs.
633         * benchtests/asin-inputs: Likewise.
634
635 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
636
637         [BZ #16375]
638         * manual/arith.texi: Fix spelling.
639         * manual/charset.texi: Likewise.
640         * manual/errno.texi: Likewise.
641         * manual/filesys.texi: Likewise.
642         * manual/lang.texi: Likewise.
643         * manual/llio.texi: Likewise.
644         * manual/locale.texi: Likewise.
645         * manual/message.texi: Likewise.
646         * manual/resource.texi: Likewise.
647         * manual/search.texi: Likewise.
648         * manual/setjmp.texi: Likewise.
649         * manual/stdio.texi: Likewise.
650         * manual/string.texi: Likewise.
651         * manual/sysinfo.texi: Likewise.
652         * manual/time.texi: Likewise.
653
654 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
655
656         * po/sl.po: New file.
657
658 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
659
660         * .gitignore: Add core/.gdbinit/.gdb_history.
661
662 2013-12-27  Allan McRae  <allan@archlinux.org>
663
664         [BZ #16369]
665         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
666         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
667
668 2013-12-24  Brooks Moses  <bmoses@google.com>
669
670         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
671         all compilers that claim C++98 compliance, not just GCC.
672         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
673         Likewise.
674
675 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
676
677         * NEWS: Restore accidentally deleted bug-fix entries.
678
679 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
680             Ondřej Bílka  <neleai@seznam.cz>
681
682         [BZ #15073]
683         * malloc/malloc.c (_int_free): Perform sanity check only if we
684         have_lock.
685
686 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
687
688         [BZ #12986]
689         * manual/stdio.texi (String Input Conversions): Clarify that character
690         classes are not supported.
691
692 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
693
694         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
695
696 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
697
698         [BZ #16337]
699         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
700         Calculate results for small negative arguments directly rather
701         than using reflection formula with special underflow handling.
702
703         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
704         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
705         sysdeps/unix/bsd/bsd4.4/syscalls.list.
706         (fchflags): Likewise.
707         (revoke): Likewise.
708         (setlogin): Likewise.
709         (sigaltstack): Likewise.
710         (wait4): Likewise.
711         (sigblock): Remove.
712         (sigsetmask): Likewise.
713         (wait3): Likewise.
714         (waitpid): Likewise.
715         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
716         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
717         file.
718         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
719         * sysdeps/unix/bsd/Makefile: ... here.
720         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
721         * sysdeps/unix/bsd/Versions: ... here.
722         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
723         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
724         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
725         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
726         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
727         * sysdeps/unix/bsd/sigblock.c: ... here.
728         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
729         * sysdeps/unix/bsd/sigsetmask.c: ... here.
730         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
731         * sysdeps/unix/bsd/sigvec.c: ... here.
732         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
733         * sysdeps/unix/bsd/tcdrain.c: ... here.
734         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
735         * sysdeps/unix/bsd/tcgetattr.c: ... here.
736         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
737         * sysdeps/unix/bsd/tcsetattr.c: ... here.
738         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
739         * sysdeps/unix/bsd/wait.c: ... here.
740         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
741         * sysdeps/unix/bsd/wait3.c: ... here.
742         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
743         * sysdeps/unix/bsd/waitpid.c: ... here.
744
745 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
746
747         [BZ #16356]
748         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
749         round-to-nearest for [!USE_AS_EXPM1L].
750         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
751         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
752         more tests of exp and exp10.  Expect some exp10 tests to miss
753         exceptions or fail in directed rounding modes.
754         * math/auto-libm-test-out: Regenerated.
755         * math/libm-test.inc (exp10_tonearest_test_data): New array.
756         (exp10_test_tonearest): New function.
757         (exp10_towardzero_test_data): New array.
758         (exp10_test_towardzero): New function.
759         (exp10_downward_test_data): New array.
760         (exp10_test_downward): New function.
761         (exp10_upward_test_data): New array.
762         (exp10_test_upward): New function.
763         (main): Call the new functions.
764         * sysdeps/i386/fpu/libm-test-ulps: Update.
765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
766
767 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
768
769         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
770         asinh, atan, atan2, atanh, cbrt, cos and cosh.
771         * math/auto-libm-test-out: Regenerated.
772         * math/libm-test.inc (acosh_test_data): Add more tests.
773         (atanh_test_data): Likewise.
774         (ceil_test_data): Likewise.
775         (copysign_test_data): Likewise.
776         * sysdeps/i386/fpu/libm-test-ulps: Update.
777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
778
779         * timezone/checktab.awk: Update from tzcode 2013i.
780         * timezone/private.h: Likewise.
781         * timezone/scheck.c: Likewise.
782         * timezone/tzfile.h: Likewise.
783         * timezone/tzselect.ksh: Likewise.
784         * timezone/zdump.c: Likewise.
785         * timezone/zic.c: Likewise.
786
787         * math/auto-libm-test-in: Add tests of cpow.
788         * math/auto-libm-test-out: Regenerated.
789         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
790         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
791         mpc_cc_c.
792         (func_calc_desc): Add mpc_cc_c union field.
793         (test_functions): Add cpow.
794         (special_fill_2pi): New function.
795         (special_real_inputs): Add 2pi.
796         (calc_generic_results): Handle mpc_cc_c.
797         * sysdeps/i386/fpu/libm-test-ulps: Update.
798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
799
800         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
801         csqrt, ctan and ctanh.
802         * math/auto-libm-test-out: Regenerated.
803         * math/libm-test.inc (TEST_COND_x86_64): New macro.
804         (TEST_COND_x86): Likewise.
805         (ccos_test_data): Use AUTO_TESTS_c_c.
806         (ccosh_test_data): Likewise.
807         (cexp_test_data): Likewise.
808         (clog_test_data): Likewise.
809         (csqrt_test_data): Likewise.
810         (ctan_test_data): Likewise.
811         (ctan_tonearest_test_data): Likewise.
812         (ctan_towardzero_test_data): Likewise.
813         (ctan_downward_test_data): Likewise.
814         (ctan_upward_test_data): Likewise.
815         (ctanh_test_data): Likewise.
816         (ctanh_tonearest_test_data): Likewise.
817         (ctanh_towardzero_test_data): Likewise.
818         (ctanh_downward_test_data): Likewise.
819         (ctanh_upward_test_data): Likewise.
820         * math/gen-auto-libm-tests.c (func_calc_method): Add value
821         mpc_c_c.
822         (func_calc_desc): Add mpc_c_c union field.
823         (FUNC_mpc_c_c): New macro.
824         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
825         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
826         ctanh.
827         (special_fill_min_subnorm_p120): New function.
828         (special_real_inputs): Add min_subnorm_p120.
829         (calc_generic_results): Handle mpc_c_c.
830         * sysdeps/i386/fpu/libm-test-ulps: Update.
831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
832
833 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
834
835         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
836         do_sin_slow): New functions.
837         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
838         cslow2, csloww1, csloww2): Use the new functions.
839
840         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
841         Use M to change sign of result instead of X.  Assume X is
842         positive.
843         (csloww1): Likewise.
844         (__sin): Adjust.
845         (__cos): Adjust.
846
847         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
848         arguments A and DA.
849         (__sin): Adjust.
850         (__cos): Likewise.
851
852         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
853         (__cos): Likewise.
854         (sloww1): Don't adjust sign of DX.
855         (csloww1): Likewise.
856         (sloww2): Use X directly and don't adjust sign of DX.
857         (csloww2): Likewise.
858
859 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
860
861         * math/auto-libm-test-in: Add tests of cabs and carg.
862         * math/auto-libm-test-out: Regenerated.
863         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
864         (carg_test_data): Likewise.
865         * math/gen-auto-libm-tests.c (func_calc_method): Add value
866         mpc_c_f.
867         (func_calc_desc): Add mpc_c_f union field.
868         (test_functions): Add cabs and carg.
869         (calc_generic_results): Handle mpc_c_f.
870
871         * sysdeps/powerpc/powerpc32/libgcc-compat.S
872         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
873         as a macro and a compat symbol.
874         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
875         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
876         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
877         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
878         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
879         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
880         not use .hidden.
881         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
882         Likewise.
883         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
884         Likewise.
885         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
886         Likewise.
887         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
888         Likewise.
889         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
890         Likewise.
891         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
892         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
893         from GLIBC_2.3.2.
894
895 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
896
897         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
898
899 2013-12-19  Paul Pluzhnikov  <ppluzhnikov@google.com>
900
901         * elf/dl-misc.c (ptr_to_signal_safe_allocator_header): New function.
902         (__signal_safe_memalign, __signal_safe_free): Use it.
903         (__signal_safe_realloc): Likewise.
904
905 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
906
907         * manual/texinfo.tex: Update to version 2013-11-26.10 with
908         trailing whitespace removed.
909         * scripts/config.guess: Update to version 2013-11-29.
910         * scripts/config.sub: Update to version 2013-10-01.
911
912         * math/auto-libm-test-in: Add tests of sincos.
913         * math/auto-libm-test-out: Regenerated.
914         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
915         * math/gen-auto-libm-tests.c (func_calc_method): Add value
916         mpfr_f_11.
917         (func_calc_desc): Add mpfr_f_11 union field.
918         (test_functions): Add sincos.
919         (calc_generic_results): Handle mpfr_f_11.
920         * sysdeps/i386/fpu/libm-test-ulps: Update.
921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
922
923 2013-12-19  Andreas Schwab  <schwab@suse.de>
924
925         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
926         CALL_MCOUNT.
927         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
928         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
929         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
930
931 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
932
933         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
934         * sysdeps/i386/fpu/libm-test-ulps: Update.
935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
936
937         [BZ #16293]
938         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
939         round-to-nearest mode when using frndint.
940         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
941         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
942         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
943         Likewise.
944         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
945         sinh test to fail.
946         * math/auto-libm-test-out: Regenerated.
947         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
948         (TEST_COND_x86): Likewise.
949         (expm1_tonearest_test_data): New array.
950         (expm1_test_tonearest): New function.
951         (expm1_towardzero_test_data): New array.
952         (expm1_test_towardzero): New function.
953         (expm1_downward_test_data): New array.
954         (expm1_test_downward): New function.
955         (expm1_upward_test_data): New array.
956         (expm1_test_upward): New function.
957         (main): Run the new test functions.
958         * sysdeps/i386/fpu/libm-test-ulps: Update.
959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
960
961         * include/features.h: Update comment documenting feature test
962         macros.  Mention _DEFAULT_SOURCE in comment.
963         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
964         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
965         _BSD_SOURCE and _SVID_SOURCE.
966         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
967         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
968         !_SVID_SOURCE]: Likewise.
969         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
970         (__USE_POSIX_IMPLICITLY): Define.
971         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
972         (_POSIX_SOURCE): Undefine and redefine.
973         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
974         (_POSIX_C_SOURCE): Likewise.
975         * manual/creature.texi (_DEFAULT_SOURCE): Document.
976         (Feature Test Macros): Update documentation of default features.
977
978 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
979
980         * benchtests/Makefile: Add bench-strtok.
981         * benchtests/bench-strtok.c: New file: strtok benchtest.
982
983 2013-12-19  Allan McRae  <allan@archlinux.org>
984
985         * manual/install.texi: Suppress menu for plain text output.
986         * INSTALL: Regenerated.
987
988 2013-12-18  Andrew Hunter  <ahh@google.com>
989
990         * sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
991         (__signal_safe_malloc, __signal_safe_free): Likewise.
992         (__signal_safe_realloc, __signal_safe_calloc): Likewise.
993         * elf/dl-misc.c (__signal_safe_allocator_header): New struct.
994         (__signal_safe_memalign, __signal_safe_malloc): New function.
995         (__signal_safe_free, __signal_safe_realloc): Likewise.
996         (__signal_safe_calloc): Likewise.
997         * elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
998         functions.
999         (_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
1000
1001 2013-12-18  Andrew Hunter  <ahh@google.com>
1002
1003         * elf/Versions (ld): Add _dl_clear_dtv.
1004         * sysdeps/generic/ldsodefs.h (_dl_clear_dtv): New prototype.
1005         * elf/dl-tls.c (_dl_clear_dtv): New function.
1006         * nptl/allocatestack.c (get_cached_stack): Call _dl_clear_dtv.
1007
1008 2013-12-18  Andrew Hunter  <ahh@google.com>
1009
1010         * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype.
1011         (_dl_unmask_signals): Likewise.
1012         * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub.
1013         (_dl_unmask_all_signals): Likewise.
1014         * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype.
1015         (_dl_unmask_all_signals): Likewise.
1016         * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function.
1017         (_dl_unmask_signals): Likewise.
1018
1019 2013-12-18  Brooks Moses  <bmoses@google.com>
1020
1021         [BZ #15846]
1022         * misc/getauxval.c: Include errno.h.
1023         (__getauxval): Set errno to ENOENT if the requested type is not
1024         found.
1025         * misc/sys/auxv.h (getauxval): Document that it may set errno;
1026         don't declare with __attribute_const__.
1027         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
1028         * manual/startup.texi: Document that getauxval sets errno.
1029
1030 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
1031
1032         * math/auto-libm-test-in: Add tests of jn and yn.
1033         * math/auto-libm-test-out: Regenerated.
1034         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
1035         (yn_test_data): Likewise.
1036         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1037         mpfr_if_f.
1038         (func_calc_desc): Add mpfr_if_f union field.
1039         (FUNC_mpfr_if_f): New macro.
1040         (test_functions): Add jn and yn.
1041         (calc_generic_results): Assert type of second input for
1042         mpfr_ff_f.  Handle mpfr_if_f.
1043         (output_for_one_input_case): Disable all checking for arguments
1044         fitting floating-point types in case of an integer argument.
1045         * sysdeps/i386/fpu/libm-test-ulps: Update.
1046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1047
1048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1049         Don't expect fegetround reference in libm.so.
1050
1051 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
1052
1053         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
1054         $(config-cflags-nofma).
1055
1056 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
1057
1058         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
1059         * math/auto-libm-test-out: Regenerated.
1060
1061         [BZ #16338]
1062         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
1063         to determine exponent and adjust argument to have exponent of -1.
1064         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
1065         log2.
1066         * math/auto-libm-test-out: Regenerated.
1067         * sysdeps/i386/fpu/libm-test-ulps: Update.
1068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1069
1070 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
1071
1072         * manual/probes.texi: Remove cases when per-thread arenas are
1073         disabled.
1074
1075 2013-12-18  Andreas Schwab  <schwab@suse.de>
1076
1077         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
1078         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
1079         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
1080         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
1081         * sysdeps/i386/i686/multiarch/Makefile: Update.
1082         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
1083
1084 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1085
1086         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
1087         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
1088
1089 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
1090
1091         Support TZ transition times < 00:00:00.
1092         This is needed for version-3 tz-format files; it supports time
1093         stamps past 2037 for America/Godthab (the only entry in the tz
1094         database for which this change is relevant).
1095         * manual/time.texi (TZ Variable): Document transition times
1096         from -167:59:59 through -00:00:01.
1097         * time/tzset.c (tz_rule): Time of day is now signed.
1098         (__tzset_parse_tz): Parse negative time of day.
1099
1100         Document TZ transition times >= 25:00:00.
1101         * manual/time.texi (TZ Variable): Document transition times from
1102         25:00:00 through 167:59:59.  These are already supported, and this
1103         support will help with version-3 tz-format files.
1104
1105         * manual/time.texi (TZ Variable): Modernize North America example
1106         to reflect current (i.e., 2007-and-later) daylight saving rules.
1107
1108         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
1109
1110 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1111
1112         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
1113         * sysdeps/unix/bsd/bits/stat.h: Likewise.
1114         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
1115         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1116         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
1117         * sysdeps/unix/bsd/bsdstat.h: Likewise.
1118         * sysdeps/unix/bsd/clock.c: Likewise.
1119         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
1120         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
1121         * sysdeps/unix/bsd/init-posix.c: Likewise.
1122         * sysdeps/unix/bsd/poll.c: Likewise.
1123         * sysdeps/unix/bsd/ptsname.c: Likewise.
1124         * sysdeps/unix/bsd/seekdir.c: Likewise.
1125         * sysdeps/unix/bsd/setegid.c: Likewise.
1126         * sysdeps/unix/bsd/seteuid.c: Likewise.
1127         * sysdeps/unix/bsd/setgid.c: Likewise.
1128         * sysdeps/unix/bsd/setrgid.c: Likewise.
1129         * sysdeps/unix/bsd/setruid.c: Likewise.
1130         * sysdeps/unix/bsd/setsid.c: Likewise.
1131         * sysdeps/unix/bsd/setuid.c: Likewise.
1132         * sysdeps/unix/bsd/sigaction.c: Likewise.
1133         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
1134         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
1135         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
1136         * sysdeps/unix/bsd/telldir.c: Likewise.
1137         * sysdeps/unix/bsd/times.c: Likewise.
1138         * sysdeps/unix/bsd/usleep.c: Likewise.
1139
1140         * misc/Makefile (install-lib): Remove libbsd-compat.a.
1141         ($(objpfx)libbsd-compat.a): Remove rule.
1142
1143         * include/features.h (__FAVOR_BSD): Do not define.
1144         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
1145         features conflicting with POSIX.
1146         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
1147         (_BSD_SOURCE): Remove description of not being a subset of other
1148         feature test macros.
1149         * manual/job.texi (getpgrp): Do not document BSD version.
1150         (getpgid): Do not document by reference to BSD getpgrp.
1151         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
1152         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
1153         * signal/signal.h [__FAVOR_BSD]: Likewise.
1154         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
1155         instead of making contents conditional on [__FAVOR_BSD].
1156         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
1157
1158 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1159
1160         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1161
1162 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
1163
1164         [BZ #16314]
1165         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
1166         values below 2**-450, not 2**-500.
1167         * math/auto-libm-test-in: Don't allow spurious underflow from
1168         hypot.
1169         * math/auto-libm-test-out: Regenerated.
1170
1171         [BZ #16316]
1172         [BZ #16330]
1173         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
1174         values of ha and hb and sort them after adjusting subnormal
1175         arguments.
1176         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1177         Likewise.
1178         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
1179         values of ea and eb and sort them after adjusting subnormal
1180         arguments.
1181         * math/auto-libm-test-in: Do not expect some hypot tests of
1182         subnormals to fail.  Add more hypot tests.
1183         * math/auto-libm-test-out: Regenerated.
1184
1185 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1186
1187         [BZ #13304]
1188         * sysdeps/sh/s_fma.c: New file.
1189         * sysdeps/sh/s_fmaf.c: New file.
1190         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
1191         version.
1192         * sysdeps/sh/Implies: Add sh/soft-fp.
1193
1194 2013-12-16  Roland McGrath  <roland@hack.frob.com>
1195
1196         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
1197         level of indirection to members `objname', `errstring', `malloced'.
1198         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
1199         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
1200         it as the __longjmp argument (just pass 1 instead).
1201         (_dl_catch_error): Initialize C with argument pointers and address of
1202         volatile local ERRCODE rather than copying values out of C at return.
1203
1204 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
1205
1206         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
1207         * math/auto-libm-test-out: Regenerated.
1208         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
1209         (hypot_test_data): Likewise.
1210         (pow_test_data): Likewise.
1211         (pow_tonearest_test_data): Likewise.
1212         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1213         mpfr_ff_f.
1214         (func_calc_desc): Add mpfr_ff_f union field.
1215         (FUNC_mpfr_ff_f): New macro.
1216         (test_functions): Add atan2, hypot and pow.
1217         (special_fill_min): New function.
1218         (special_fill_minus_min): Likewise.
1219         (special_fill_min_subnorm): Likewise.
1220         (special_fill_minus_min_subnorm): Likewise.
1221         (special_real_inputs): Add min, -min, min_subnorm and
1222         -min_subnorm.
1223         (calc_generic_results): Handle mpfr_ff_f.
1224         * sysdeps/i386/fpu/libm-test-ulps: Update.
1225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1226
1227 2013-12-16  Will Newton  <will.newton@linaro.org>
1228
1229         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
1230         (Aligned Memory Blocks): Add documentation for aligned_alloc
1231         and suggest it as an alternative to posix_memalign.
1232         (Hooks for Malloc): Document __memalign_hook is also called
1233         for aligned_alloc.  (Summary of Malloc): Add summary for
1234         aligned alloc.  Document __memalign_hook is also called
1235         for aligned_alloc.
1236
1237 2013-12-16  Will Newton  <will.newton@linaro.org>
1238
1239         * manual/memory.texi (Malloc Examples): Clarify default
1240         alignment documentation.  Suggest posix_memalign rather
1241         than memalign or valloc.
1242         (Aligned Memory Blocks): Remove suggestion to use memalign
1243         or valloc.  Remove obsolete comment about BSD.
1244         Document memalign errno values and mark the function obsolete.
1245         Document posix_memalign returned error codes.  Mark valloc
1246         as obsolete.  (Hooks for Malloc): __memalign_hook is also
1247         called for posix_memalign and valloc.
1248         (Summary of Malloc): Add posix_memalign to function summary.
1249         __memalign_hook is also called for posix_memalign and valloc.
1250
1251 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
1252
1253         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
1254         TAYLOR_SIN.
1255         (__sin): Adjust.
1256         (__cos): Likewise.
1257         (sloww): Use mynumber union.  Expand ternary operator into
1258         if-else statements.
1259         (cslow): use mynumber union.
1260
1261 2013-12-16  Allan McRae  <allan@archlinux.org>
1262
1263         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
1264         * configure: Regenerated.
1265
1266         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
1267
1268         [BZ #14120]
1269         * configure.ac: Added --enable-maintainer-mode. Check for
1270         autoconf when enabled.
1271         * configure: Regenerated.
1272
1273         * nscd/nscd.service: New file.
1274         * nscd/nscd.tmpfiles: New file.
1275
1276 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
1277
1278         [BZ #12100]
1279         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
1280         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
1281         * sysdeps/x86_64/multiarch/strstr.c: ... here.
1282         (strstr): Add __strstr_sse2_unaligned ifunc.
1283         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
1284         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
1285         (strcasestr): Remove __strcasestr_sse42 ifunc.
1286         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
1287         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
1288         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1289
1290 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1291
1292         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
1293         * sysdeps/sh/bits/fenv.h: ... here.
1294         * sysdeps/sh/sh4/fpu/bits: Remove directory.
1295
1296 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1297
1298         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
1299
1300 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1301
1302         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
1303         hypotf multiarch implementations.
1304         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
1305         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
1306         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
1307         multiarch hypot for PPC64.
1308         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
1309         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
1310         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
1311         multiarch hypotf for PPC64.
1312
1313 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1314
1315         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
1316         modff multiarch implementations.
1317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
1318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
1319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
1320         multiarch modf for PPC64.
1321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
1322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
1323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
1324         multiarch modff for PPC64.
1325
1326 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1327
1328         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
1329         and logl multiarch implementations.
1330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
1331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
1332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
1333         multiarch logb for PPC64.
1334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
1335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
1336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
1337         multiarch logb for PPC64.
1338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
1339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
1340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
1341         multiarch logb for PPC64.
1342
1343 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1344
1345         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
1346         isinff multiarch implementation.
1347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
1348         file.
1349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
1350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
1351         multiarch isinf for PPC64.
1352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
1353         file.
1354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
1355         multiarch isinff for PPC64.
1356
1357 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1358
1359         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
1360         finitef multiarch implementation.
1361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
1362         file.
1363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
1364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
1365         multiarch finite for PPC64.
1366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
1367         file.
1368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
1369         multiarch finitef for PPC64.
1370
1371 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1372
1373         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
1374         lrint multiarch implementation.
1375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
1376         file.
1377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
1378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
1379         multiarch llrint for PPC64.
1380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
1381         multiarch lrint for PPC64.
1382
1383 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1384
1385         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
1386         copysignf multiarch implementation.
1387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
1388         file.
1389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
1390         file.
1391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
1392         multiarch copysign for PPC64.
1393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
1394         multiarch copysignf for PPC64.
1395
1396 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1397
1398         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
1399         multiarch implementation.
1400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
1401         file.
1402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
1403         file.
1404         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
1405         file.
1406         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
1407         file.
1408         multiarch llround for PPC64.
1409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
1410         multiarch trunc for PPC64.
1411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
1412         multiarch truncf for PPC64.
1413
1414 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1415
1416         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
1417         multiarch implementation.
1418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
1419         file.
1420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
1421         file.
1422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
1423         file.
1424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
1425         file.
1426         multiarch llround for PPC64.
1427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
1428         multiarch round for PPC64.
1429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
1430         multiarch roundf for PPC64.
1431
1432 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1433
1434         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
1435         multiarch implementation.
1436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
1437         file.
1438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
1439         file.
1440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
1441         file.
1442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
1443         file.
1444         multiarch llround for PPC64.
1445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
1446         multiarch floor for PPC64.
1447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
1448         multiarch floorf for PPC64.
1449
1450 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1451
1452         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
1453         multiarch implementation.
1454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
1455         file.
1456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
1457         file.
1458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
1459         file.
1460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
1461         file.
1462         multiarch llround for PPC64.
1463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
1464         multiarch ceil for PPC64.
1465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
1466         multiarch ceilf for PPC64.
1467
1468 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1469
1470         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
1471         multiarch implementation.
1472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
1473         file.
1474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
1475         file.
1476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
1477         file.
1478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
1479         multiarch llround for PPC64.
1480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
1481         multiarch lround for PPC64.
1482
1483 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1484
1485         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
1486         multiarch implementation.
1487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
1488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
1489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
1490         file.
1491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
1492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
1493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
1494         multiarch isnan for PPC64.
1495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
1496         multiarch isnanf for PPC64.
1497
1498 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1499
1500         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
1501         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
1502         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
1503         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
1504         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
1505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
1506
1507 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1508
1509         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
1510         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1511         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1512         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1513
1514 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1515
1516         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
1517         multiarch implementations.
1518         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1519         (__libc_ifunc_impl_list): Likewise.
1520         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
1521         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
1522         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
1523         multiarch stpcpy for PPC64.
1524
1525 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1526
1527         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
1528         multiarch implementations.
1529         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1530         (__libc_ifunc_impl_list): Likewise.
1531         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
1532         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
1533         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
1534         multiarch strcpy for PPC64.
1535
1536 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1537
1538         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
1539         redefine function name.
1540         (_wordcopy_fwd_dest_aligned): Likewise.
1541         (_wordcopy_bwd_aligned): Likewise.
1542         (_wordcopy_bwd_dest_aligned): Likewise.
1543         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
1544         multiarch implementations.
1545         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1546         (__libc_ifunc_impl_list): Likewise.
1547         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
1548         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
1549         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
1550         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
1551         multiarch wcscpy for PPC64.
1552
1553 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1554
1555         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
1556         multiarch implementations.
1557         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1558         (__libc_ifunc_impl_list): Likewise.
1559         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
1560         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
1561         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
1562         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
1563         multiarch wcscpy for PPC64.
1564
1565 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1566
1567         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
1568         multiarch implementations.
1569         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1570         (__libc_ifunc_impl_list): Likewise.
1571         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
1572         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
1573         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
1574         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
1575         multiarch wcsrchr for PPC64.
1576
1577 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1578
1579         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
1580         multiarch implementations.
1581         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1582         (__libc_ifunc_impl_list): Likewise.
1583         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
1584         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
1585         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
1586         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
1587         multiarch wcschr for PPC64.
1588
1589 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1590
1591         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
1592         multiarch implementations.
1593         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1594         (__libc_ifunc_impl_list): Likewise.
1595         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
1596         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
1597         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
1598         multiarch strchrnul for PPC64.
1599
1600 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1601
1602         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
1603         implementations.
1604         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1605         (__libc_ifunc_impl_list): Likewise.
1606         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
1607         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
1608         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
1609         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
1610         strchr for PPC64.
1611
1612 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1613
1614         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
1615         implementations.
1616         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1617         (__libc_ifunc_impl_list): Likewise.
1618         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
1619         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
1620         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
1621         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
1622         strncmp for PPC64.
1623
1624 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1625
1626         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
1627         multiarch implementations.
1628         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1629         (__libc_ifunc_impl_list): Likewise.
1630         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
1631         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
1632         strncasecmp for PPC64.
1633         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
1634         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
1635         multiarch strncasecmp_l for PPC64.
1636
1637 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1638
1639         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
1640         multiarch implementations.
1641         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1642         (__libc_ifunc_impl_list): Likewise.
1643         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
1644         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
1645         multiarch strcasecmp for PPC64.
1646         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
1647         file.
1648         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
1649         multiarch strcasecmp_l for PPC64.
1650
1651 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1652
1653         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
1654         implementations.
1655         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1656         (__libc_ifunc_impl_list): Likewise.
1657         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
1658         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
1659         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
1660         strnlen for PPC64.
1661
1662 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1663
1664         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
1665         implementations.
1666         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1667         (__libc_ifunc_impl_list): Likewise.
1668         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
1669         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
1670         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
1671         strlen for PPC64.
1672
1673 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1674
1675         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
1676         implementations.
1677         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1678         (__libc_ifunc_impl_list): Likewise.
1679         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
1680         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
1681         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
1682         rawmemrchr for PPC64.
1683
1684 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1685
1686         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
1687         implementation.
1688         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1689         (__libc_ifunc_impl_list): Likewise.
1690         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
1691         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
1692         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
1693         memrchr for PPC64.
1694
1695 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1696
1697         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
1698         implementation.
1699         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1700         (__libc_ifunc_impl_list): Likewise.
1701         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
1702         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
1703         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
1704         memchr for PPC64.
1705
1706 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1707
1708         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
1709         implementation.
1710         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1711         (__libc_ifunc_impl_list): Likewise.
1712         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
1713         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
1714         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
1715         mempcpy for PPC64.
1716
1717 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1718
1719         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
1720         avoid cretion of __bzero symbol.
1721         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
1722         Likewise.
1723         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
1724         Likewise.
1725         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
1726         Likewise.
1727         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
1728         multiarch implementations.
1729         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1730         (__libc_ifunc_impl_list): Likewise.
1731         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
1732         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
1733         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
1734         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
1735         bzero for PPC32.
1736         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
1737         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
1738         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
1739         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
1740         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
1741         memset for PPC64.
1742         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
1743
1744 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1745
1746         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
1747         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
1748         implementations.
1749         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1750         (__libc_ifunc_impl_list): Likewise.
1751         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
1752         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
1753         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
1754         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
1755         memcmp for PPC64.
1756
1757 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1758
1759         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
1760         multiarch for POWER/PPC64.
1761         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1762         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
1763         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
1764         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
1765         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
1766         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
1767         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
1768         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
1769         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
1770         memcpy for PPC64.
1771
1772 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1773
1774         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
1775         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
1776         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
1777         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
1778         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
1779         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
1780         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
1781         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
1782         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
1783         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
1784         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
1785         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
1786         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
1787         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
1788         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
1789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
1790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
1791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
1792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
1793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
1794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
1795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
1796
1797 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1798
1799         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
1800
1801 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1802
1803         * benchtests/Makefile (bench): Add exp2 and log2.
1804         (LDLIBS-bench-exp2): Add -lm.
1805         (LDLIBS-bench-log2): Likewise.
1806         * benchtests/exp2-inputs: New inputs file.
1807         * benchtests/log2-inputs: New inputs file.
1808         * benchtests/log-inputs: Add new inputs.
1809         * benchtests/tan-inputs: Likewise.
1810
1811 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1812
1813         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
1814         definition...
1815         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
1816         csloww1, csloww2): ... from here.
1817
1818         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
1819         instead of structures.
1820         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
1821         (POLYNOMIAL): Likewise.
1822         (TAYLOR_SLOW): Likewise.
1823         (__sin): Likewise.
1824         (__cos): Likewise.
1825         (slow1): Likewise.
1826         (slow2): Likewise.
1827         (sloww): Likewise.
1828         (sloww1); Likewise.
1829         (sloww2): Likewise.
1830         (bsloww1): Likewise.
1831         (bsloww2): Likewise.
1832         (cslow2): Likewise.
1833         (csloww): Likewise.
1834         (csloww1): Likewise.
1835         (csloww2): Likewise.
1836
1837 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1838
1839         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
1840         (__malloc_assert, __libc_realloc, __libc_calloc,
1841         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
1842         memcpy and memset.
1843         * malloc/hooks.c (realloc_check): Likewise.
1844
1845 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
1846
1847         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
1848         * malloc/arena.c: Remove PER_THREAD conditional.
1849         [!PER_THREAD]: Remove code.
1850         (ptmalloc_unlock_all2): Likewise.
1851         (ptmalloc_init): Likewise.
1852         (_int_new_arena): Likewise.
1853         (arena_get2): Likewise.
1854         * malloc/hooks.c (__malloc_get_state): Likewise.
1855         (__malloc_set_state): Likewise.
1856         * malloc/malloc.c: Likewise.
1857         (struct malloc_state): Likewise.
1858         (struct malloc_par): Likewise.
1859         (__libc_realloc): Likewise.
1860         (__libc_mallopt): Likewise.
1861
1862 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1863
1864         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
1865
1866 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1867
1868         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
1869         macro to a function.  Check for zero perturb_byte.
1870         (_int_malloc, _int_free): Remove zero perturb_byte checks.
1871
1872 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
1873
1874         * malloc/malloc.c: (force_reg): Remove.
1875         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
1876         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
1877         force_reg by atomic_forced_read.
1878         * malloc/arena.c (ptmalloc_init): Likewise.
1879         * malloc/hooks.c (top_check): Likewise.
1880
1881 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1882
1883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1884
1885 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
1886
1887         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1888
1889 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
1890
1891         * math/auto-libm-test-in: Add tests of lgamma.
1892         * math/auto-libm-test-out: Regenerated.
1893         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
1894         (M_LOG_2_SQRT_PIl): Likewise.
1895         (lgamma_test_data): Use AUTO_TESTS_f_f1.
1896         * math/gen-auto-libm-tests.c (func_calc_method): Add value
1897         mpfr_f_f1.
1898         (func_calc_desc): Add mpfr_f_f1 union field.
1899         (ARGS1): New macro.
1900         (ARGS2): Likewise.
1901         (ARGS3): Likewise.
1902         (ARGS4): Likewise.
1903         (RET1): Likewise.
1904         (RET2): Likewise.
1905         (CALC): Likewise.
1906         (FUNC): Likewise.
1907         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
1908         (test_functions): Add lgamma.
1909         (calc_generic_results): Handle mpfr_f_f1.
1910         * sysdeps/i386/fpu/libm-test-ulps: Update.
1911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1912
1913 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1914
1915         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
1916         __mpn_add_n for PowerPC64/POWER7.
1917         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
1918         __mpn_sub_n for PowerPC64/POWER7.
1919
1920 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1921
1922         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
1923         __mpn_addmul_1 for PowerPC64.
1924         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
1925         __mpn_submul_1 for PowerPC64.
1926         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
1927         for PowerPC64.
1928         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
1929         for PowerPC64.
1930
1931 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
1932
1933         [BZ #15089]
1934         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
1935
1936 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1937
1938         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
1939
1940 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1941
1942         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
1943         add multiarch folders.
1944         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
1945         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
1946         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
1947         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
1948         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
1949         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
1950         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
1951         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
1952         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
1953         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
1954         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
1955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
1956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
1957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
1958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
1959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
1960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
1961
1962 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1963
1964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
1965         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
1966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
1967         New file.
1968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
1969         New file.
1970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
1971         multiarch __ieee754_hypot for PowerPC32.
1972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
1973         New file.
1974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
1975         New file.
1976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
1977         multiarch __ieee754_hypotf for PowerPC32.
1978
1979 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1980
1981         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
1982         long_double_symbol only if __logbl is defined.
1983         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
1984         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
1985         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
1986         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
1987         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
1988         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
1989         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
1990         path for implementation.
1991         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
1992         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
1993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
1994         logb, and logbl multiarch implementations for PowerPC32.
1995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
1996         file.
1997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
1998         file.
1999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
2000         multiarch logb for PowerPC32.
2001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
2002         file.
2003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
2004         file.
2005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
2006         multiarch logbf for PowerPC32.
2007         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
2008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
2009         file.
2010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
2011         multiarch logbl implementation for PowerPC32.
2012
2013 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2014
2015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
2016         and modff multiarch implementations.
2017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
2018         New file.
2019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
2020         New file.
2021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
2022         multiarch modf for PowerPC32.
2023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
2024         New file.
2025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
2026         New file.
2027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
2028         multiarch modff for PowerPC32.
2029
2030 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2031
2032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
2033         and lrintf multiarch implementations.
2034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
2035         New file.
2036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
2037         New file.
2038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
2039         multiarch lrint for PowerPC32.
2040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
2041         file: multiarch lrintf for PowerPC32.
2042
2043 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2044
2045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
2046         and lroundf multiarch implementations.
2047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
2048         New file.
2049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
2050         New file.
2051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
2052         New file.
2053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
2054         multiarch lround for PowerPC32.
2055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
2056         file: multiarch lroundf for PowerPC32.
2057
2058 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2059
2060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
2061         copysign and copysignf multiarch implementations.
2062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
2063         New file.
2064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
2065         New file.
2066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
2067         file: multiarch copysign for PowerPC32.
2068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
2069         file: multiarch copysignf for PowerPC32.
2070
2071 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2072
2073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
2074         and truncf multiarch implementations.
2075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
2076         New file.
2077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
2078         file.
2079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
2080         multiarch trunc for PowerPC32.
2081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
2082         New file.
2083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
2084         New file.
2085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
2086         multiarch truncf for PowerPC32.
2087
2088 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2089
2090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
2091         and roundf multiarch implementations.
2092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
2093         New file.
2094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
2095         file.
2096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
2097         multiarch round for PowerPC32.
2098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
2099         New file.
2100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
2101         New file.
2102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
2103         multiarch roundf for PowerPC32.
2104
2105 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2106
2107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
2108         and floorf multiarch implementations.
2109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
2110         New file.
2111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
2112         file.
2113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
2114         multiarch floor for PowerPC32.
2115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
2116         New file.
2117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
2118         New file.
2119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
2120         multiarch floorf for PowerPC32.
2121
2122 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2123
2124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
2125         and ceilf multiarch implementations.
2126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
2127         New file.
2128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
2129         file.
2130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
2131         multiarch ceil for PowerPC32.
2132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
2133         New file.
2134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
2135         file.
2136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
2137         multiarch ceilf for PowerPC32.
2138
2139 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2140
2141         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
2142         is defined.
2143         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
2144         FINITEF is defined.
2145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
2146         and finitef multiarch implementations.
2147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
2148         New file.
2149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
2150         file.
2151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
2152         multiarch finite for PowerPC32.
2153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
2154         New file.
2155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
2156         file: multiarch finitef for PowerPC32.
2157
2158 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2159
2160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
2161         and isinff multiarch implementations.
2162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
2163         file.
2164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
2165         file.
2166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
2167         multiarch isinf for PowerPC32.
2168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
2169         New file.
2170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
2171         multiarch isinff for PowerPC32.
2172
2173 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2174
2175         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
2176         alias when __isnan is defined.
2177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
2178         and isnanf multiarch implementations.
2179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
2180         file.
2181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
2182         file.
2183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
2184         file.
2185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
2186         file.
2187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
2188         multiarch isnan for PowerPC32.
2189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
2190         New file.
2191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
2192         New file.
2193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
2194         multiarch isnanf for PowerPC32.
2195
2196 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2197
2198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
2199         and sqrtf multiarch implementations.
2200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
2201         file.
2202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
2203         file.
2204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
2205         multiarch sqrt for PowerPC32.
2206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
2207         file.
2208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
2209         file.
2210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
2211         multiarch sqrtf for PowerPC32.
2212
2213 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2214
2215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
2216         and llroundf multiarch implementations.
2217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
2218         New file.
2219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
2220         New file.
2221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
2222         New file.
2223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
2224         file: multiarch llround for PowerPC32.
2225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
2226         file: multiarch llroundf for PowerPC32.
2227
2228 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2229
2230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
2231         multiarch PowerPC32 fpu implementations.
2232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
2233         New file.
2234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
2235         New file.
2236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
2237         multiarch llrint for PowerPC32.
2238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
2239         New file.
2240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
2241         New file.
2242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
2243         file.
2244
2245 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2246
2247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
2248
2249 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2250
2251         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
2252         file.
2253         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
2254         file.
2255         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
2256         file.
2257         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
2258         multiarch wordcopy for PPC32.
2259         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2260         wordcopy objects.
2261         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2262         (__libc_ifunc_impl_list): Likewise.
2263         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
2264         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
2265         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
2266         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
2267         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
2268         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
2269
2270 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2271
2272         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
2273         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
2274         file.
2275         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
2276         file.
2277         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
2278         file.
2279         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
2280         multiarch wcscpy for PPC32.
2281         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
2282         multiarch objects.
2283         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2284         (__libc_ifunc_impl_list): Likewise.
2285         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2286         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2287         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
2288         sysdeps/powerpc/power6/wcscpy.c.
2289
2290 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2291
2292         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
2293         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
2294         file.
2295         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
2296         file.
2297         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
2298         file.
2299         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
2300         multiarch wcsrchr for PPC32.
2301         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2302         multiarch objects.
2303         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2304         (__libc_ifunc_impl_list): Likewise.
2305         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
2306         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
2307         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
2308         sysdeps/powerpc/power6/wcsrchr.c.
2309
2310 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2311
2312         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
2313         file.
2314         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
2315         file.
2316         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
2317         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
2318         multiarch wcschr for PPc32.
2319         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
2320         multiarch objects.
2321         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2322         (__libc_ifunc_impl_list): Likewise.
2323         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
2324         * sysdeps/powerpc/power6/wcschr.c: ... to here.
2325         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
2326         sysdeps/powerpc/power6/wcschr.c.
2327
2328 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2329
2330         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
2331         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
2332         file.
2333         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
2334         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
2335         file: multiarch strchr for PPC32.
2336         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
2337         multiarch objects.
2338         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2339         (__libc_ifunc_impl_list): Likewise.
2340
2341 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2342
2343         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
2344         name.
2345         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
2346         file.
2347         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
2348         file.
2349         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
2350         multiarch strchrnul for PPC32.
2351         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
2352         multiarch objects.
2353         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2354         (__libc_ifunc_impl_list): Likewise.
2355
2356 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2357
2358         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
2359         file.
2360         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
2361         multiarch strncasecmp for PPC32.
2362         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
2363         file.
2364         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
2365         multiarch strncasecmp_l for PPC32.
2366         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
2367         strncasecmp multiarch objects.
2368         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2369         (__libc_ifunc_impl_list): Likewise.
2370
2371 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2372
2373         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
2374         file.
2375         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
2376         multiarch strncasecmp for PPC32.
2377         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
2378         New file.
2379         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
2380         multiarch strcasecmp_l for PPC32.
2381         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
2382         multiarch objects.
2383         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2384         (__libc_ifunc_impl_list): Likewise.
2385
2386 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2387
2388         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
2389         file.
2390         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
2391         file.
2392         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
2393         multiarch strncmp for PPC32.
2394         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
2395         multiarch objects.
2396         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2397         (__libc_ifunc_impl_list): Likewise.
2398
2399 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2400
2401         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
2402         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
2403         file.
2404         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
2405         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
2406         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
2407         multiarch objects.
2408         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2409         (__libc_ifunc_impl_list): Likewise.
2410
2411 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2412
2413         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
2414         file.
2415         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
2416         file.
2417         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
2418         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
2419         multiarch objects.
2420         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2421         (__libc_ifunc_impl_list): Likewise.
2422
2423 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2424
2425         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
2426         file.
2427         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
2428         file.
2429         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
2430         multiarch rawmemchr for PPC32.
2431         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
2432         multiarch objects.
2433         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2434         (__libc_ifunc_impl_list): Likewise.
2435
2436 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2437
2438         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
2439         file.
2440         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
2441         file.
2442         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
2443         file: memrchr multiarch for PPC32.
2444         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
2445         multiarch objects.
2446         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
2447         (__libc_ifunc_impl_list): Likewise.
2448
2449 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2450
2451         * string/memchr.c (__memchr): Using macro to redefine symbol name.
2452         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
2453         file.
2454         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
2455         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
2456         multiarch memchr for PPC32.
2457         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
2458         multiarch objects.
2459         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2460         (__libc_ifunc_impl_list): Likewise.
2461
2462 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2463
2464         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
2465         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
2466         file.
2467         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
2468         file.
2469         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
2470         file: multiarch mempcpy for PPC32.
2471         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
2472         multiarch objects.
2473         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2474         (__libc_ifunc_impl_list): Likewise.
2475
2476 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2477
2478         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
2479         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
2480         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
2481         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
2482         multiarch bzero for PPC32.
2483         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
2484         file.
2485         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
2486         file.
2487         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
2488         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
2489         file: multiarch memset for PPC32.
2490         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
2491         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
2492         memset multiarch objects.
2493         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2494         (__libc_ifunc_impl_list): Likewise.
2495
2496 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2497
2498         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
2499         file.
2500         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
2501         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
2502         memcmp for PPC32.
2503         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
2504         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
2505         multiarch objects.
2506         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2507         (__libc_ifunc_impl_list): Likewise.
2508
2509 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2510
2511         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
2512         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
2513         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
2514         file.
2515         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
2516         file.
2517         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
2518         file.
2519         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
2520         multiarch memcpy for PPC32.
2521         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
2522         multiarch objects.
2523         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
2524         (__libc_ifunc_impl_list): Likewise.
2525
2526 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2527
2528         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
2529         support multiarch for POWER/PPC32.
2530         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2531         Likewise.
2532         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
2534         Implies file to make multiarch folder appers before the fpu and
2535         default folder for power4 configuration.
2536
2537 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
2538
2539         * scripts/bench.pl: Append volatile keyword to type.
2540
2541 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2542
2543         * sysdeps/sh/sotruss-lib.c: New file.
2544         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
2545
2546 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2547
2548         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2549
2550 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
2551
2552         [BZ #6810]
2553         * math/w_tgamma.c: Include <errno.h>.
2554         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
2555         * math/w_tgammaf.c: Include <errno.h>.
2556         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
2557         * math/w_tgammal.c: Include <errno.h>.
2558         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
2559         * math/auto-libm-test-in: Do not allow missing errno on tgamma
2560         underflow.  Add more tgamma tests.
2561         * math/auto-libm-test-out: Regenerated.
2562         * sysdeps/i386/fpu/libm-test-ulps: Update.
2563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2564
2565         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
2566         sin, sinh, tan, tanh, tgamma, y0 and y1.
2567         * math/auto-libm-test-out: Regenerated.
2568         * math/libm-test.inc (TEST_COND_x86_64): New macro.
2569         (TEST_COND_x86): Likewise.
2570         (M_E2l): Remove macro.
2571         (M_E3l): Likewise.
2572         (M_2_SQRT_PIl): Likewise.
2573         (M_SQRT_PIl): Likewise.
2574         (M_1_DIV_El): Likewise.
2575         (log_test_data): Use AUTO_TESTS_f_f.
2576         (log10_test_data): Likewise.
2577         (log1p_test_data): Likewise.
2578         (log2_test_data): Likewise.
2579         (sin_test_data): Likewise.
2580         (sin_tonearest_test_data): Likewise.
2581         (sin_towardzero_test_data): Likewise.
2582         (sin_downward_test_data): Likewise.
2583         (sin_upward_test_data): Likewise.
2584         (sinh_test_data): Likewise.
2585         (sinh_tonearest_test_data): Likewise.
2586         (sinh_towardzero_test_data): Likewise.
2587         (sinh_downward_test_data): Likewise.
2588         (sinh_upward_test_data): Likewise.
2589         (tan_test_data): Likewise.
2590         (tan_tonearest_test_data): Likewise.
2591         (tan_towardzero_test_data): Likewise.
2592         (tan_downward_test_data): Likewise.
2593         (tan_upward_test_data): Likewise.
2594         (tanh_test_data): Likewise.
2595         (tgamma_test_data): Likewise.
2596         (y0_test_data): Likewise.
2597         (y1_test_data): Likewise.
2598         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
2599         (special_real_inputs): Add pi/4.
2600         * sysdeps/i386/fpu/libm-test-ulps: Update.
2601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2602
2603 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2604
2605         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
2606         "longjmp_target" static probes.
2607         (__longjmp): Rename to __longjmp_symbol.
2608         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2609         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
2610         on which longjmp to generate.
2611         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2612         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
2613         probe.
2614         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2615         (__sigjmp_save): Rename to __sigjmp_save_symbol.
2616         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2617         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
2618         and __sigjmp_save_symbol based on which sigsetjmp to generated.
2619         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
2620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
2621         __longjmp_symbol based on which __longjmp to generate.
2622         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
2623         probe.
2624         (setjmp): Rename to setjmp_symbol.
2625         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2626         (_setjmp): Rename to _setjmp_symbol.
2627         (__sigsetjmp): Rename to __sigsetjmp_symbol.
2628         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
2629         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
2630         which setjmp to generate.
2631         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
2632         "longjmp_target" static probes.
2633
2634 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2635
2636         * benchtests/README: Add note about output arguments.
2637         * benchtests/bench-sincos.c: Remove file.
2638         * benchtests/sincos-inputs: New file.
2639         * scripts/bench.pl: Identify output arguments and define
2640         static variables for them.
2641
2642         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
2643
2644         [BZ #15941]
2645         * Makefile (INSTALL): Add install-plain.texi as the primary
2646         dependency.
2647         * manual/install-plain.texi: New file.
2648         * manual/install.texi: Include node directive only for
2649         non-plaintext output.
2650
2651 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
2652
2653         * stdlib/longlong.h: Update from GCC.
2654
2655         [BZ #6807]
2656         [BZ #15901]
2657         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
2658         * math/w_j0f.c (y0f): Likewise.
2659         * math/w_j0l.c (__y0l): Likewise.
2660         * math/w_j1.c (y1): Likewise.
2661         * math/w_j1f.c (y1f): Likewise.
2662         * math/w_j1l.c (__y1l): Likewise
2663         * math/w_jn.c (yn): Likewise.
2664         * math/w_jnf.c (ynf): Likewise.
2665         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
2666         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
2667         value for Bessel function domain errors outside _SVID_ mode.
2668         Adjust sign of return value for yn (negative integer, 0).
2669         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
2670         by zero in return for negative x and set sign appropriately for
2671         negative n.
2672         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
2673         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
2674         * math/libm-test.inc (y0_test_data): Add more tests and adjust
2675         expectations in error cases.
2676         (y1_test_data): Likewise.
2677         (yn_test_data): Likewise.
2678         * sysdeps/i386/fpu/libm-test-ulps: Update.
2679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2680
2681 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2682
2683         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
2684         "64" to "64-v1".  Add "64-v2".
2685         (abi-64-options): Rename to ...
2686         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
2687         (abi-64-condition): Rename to ...
2688         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
2689         (abi-64-ld-soname): Rename to ...
2690         (abi-64-v1-ld-soname): ... this.
2691         (abi-64-v2-options): Define.
2692         (abi-64-v2-condition): Likewise.
2693         (abi-64-v2-ld-soname): Likewise.
2694         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
2695         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
2696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
2697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
2698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
2699
2700 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2701             Alan Modra  <amodra@gmail.com>
2702
2703         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
2704         New versions for use with the ELFv2 ABI.
2705         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
2706         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
2707         declaration.
2708         (struct La_ppc64v2_retval): Likewise.
2709         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
2710         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
2711         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
2712         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
2713         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
2714         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
2715         Do not save or restore CR.
2716         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
2717         (_dl_profile_resolve): Do no save or restore CR.  Support extended
2718         return values for ELFv2 ABI.  Fix location of FPR return registers.
2719         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
2720         updated values for _CALL_ELF == 2.
2721         (La_regs, La_retval, int_retval): Likewise.
2722
2723 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2724
2725         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
2726         (FRAME_MIN_SIZE_PARM): Likewise.
2727         (FRAME_BACKCHAIN): Likewise.
2728         (FRAME_CR_SAVE): Likewise.
2729         (FRAME_LR_SAVE): Likewise.
2730         (FRAME_TOC_SAVE): Likewise.
2731         (FRAME_PARM_SAVE): Likewise.
2732         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2733         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2734         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2735         (call_mcount_parm_offset): New macro.
2736         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
2737         (PROF): Use symbolic stack frame offsets.
2738         (TAIL_CALL_SYSCALL_ERROR): Likewise.
2739         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
2740         Redefine in terms of FRAME_MIN_SIZE.
2741         (_dl_runtime_resolve): Use symbolic stack frame offsets.
2742         (_dl_profile_resolve): Likewise.  Update comment.
2743         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
2744         symbols stack frame offsets.
2745         (__sigsetjmp): Likewise.
2746         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
2747         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
2748         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
2749         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
2750
2751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
2752         (FRAME_BACKCHAIN): Remove.
2753         (FRAME_CR_SAVE): Likewise.
2754         (FRAME_LR_SAVE): Likewise.
2755         (FRAME_COMPILER_DW): Likewise.
2756         (FRAME_LINKER_DW): Likewise.
2757         (FRAME_TOC_SAVE): Likewise.
2758         (FRAME_PARM_SAVE): Likewise.
2759         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2760         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2761         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
2762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
2763         (CHECK_SP): Use symbolic stack frame offsets.
2764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
2765         zone" instead of caller's parameter save area for temp storage.
2766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
2767         Likewise.  Also, use symbolic stack frame offsets.
2768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
2769         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
2770         our own stack frame instead of the caller's.
2771         (__socket): Use symbolic stack frame offsets.
2772
2773 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2774             Alan Modra  <amodra@gmail.com>
2775
2776         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
2777         Define.
2778         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
2779         PPC64_LOCAL_ENTRY_OFFSET): Define.
2780         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2781         New function.
2782         (elf_machine_fixup_plt): Call it.
2783         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
2784         reloc arguments.
2785         (elf_machine_rela): Update call to elf_machine_plt_conflict.
2786         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2787         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
2788         r2 before calling target.
2789
2790 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2791             Alan Modra  <amodra@gmail.com>
2792
2793         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
2794         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
2795         versions of macros to support ELFv2 ABI.
2796         (LOCALENTRY): New macro.
2797         (ENTRY, EALIGN): Use it.
2798         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
2799         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
2800         fall through into ENTRY entry point.
2801         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
2802         Only define if _CALL_ELF != 2.
2803
2804         (elf_machine_matches_host): Verify ABI version matches.
2805         (RTLD_START): Use LOCALENTRY.
2806         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
2807         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
2808         (PLT_ENTRY_WORDS): New macro.
2809         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
2810         (elf_machine_runtime_setup): Support ELFv2 ABI.
2811         (elf_machine_fixup_plt): Likewise.
2812         (elf_machine_plt_conflict): Likewise.
2813         (resolve_ifunc): Likewise.
2814         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
2815         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2816         Likewise.
2817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
2818         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
2819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2820         (makecontext): Support ELFv2 ABI.
2821         * elf/elf.h (EF_PPC64_ABI): Define.
2822
2823 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2824
2825         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
2826         New assembler macro.
2827         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
2828         [ASSEMBLER] (ENTRY): ... but instead here ...
2829         [ASSEMBLER] (EALIGN): ... and here.
2830         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
2831         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
2832         [!ASSEMBLER] (ENTRY_2): Use it.
2833         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
2834         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
2835         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
2836         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
2837         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
2838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
2839         Use PPC64_LOAD_FUNCPTR.
2840
2841 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2842
2843         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
2844
2845 2013-12-04  Alan Modra  <amodra@gmail.com>
2846
2847         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
2848         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
2849         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
2850         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
2851
2852         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
2853         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
2854         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
2855         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
2856         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
2857         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
2858
2859 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
2860
2861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
2862         (__makecontext): Fix incorrect CFI when backtracing out of
2863         context created via makecontext.
2864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
2865         (__setcontext): Fix incorrect CFI during switch to new context.
2866         (__novec_setcontext): Likewise.
2867
2868 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2869
2870         [BZ #4772]
2871         * time/strptime_l.c (__strptime_internal): Allow modifiers
2872         in strptime.
2873         * time/tst-strptime.c (day_tests): Add testcase.
2874
2875
2876 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2877
2878         * scripts/bench.pl: Skip over blank lines.
2879
2880 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2881
2882         [BZ #926]
2883         * manual/time.texi (Calendar Time): Clarify what timezone functions
2884         use.
2885
2886 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2887
2888         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2889
2890 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
2891
2892         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
2893         implementation.
2894         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
2895         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
2896         * debug/memset_chk.c (__memset_chk): Likewise.
2897         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
2898         * debug/strncpy_chk.c: Likewise.
2899
2900 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2901
2902         [BZ #15268]
2903         [BZ #15425]
2904         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
2905         (__ieee754_exp): For possibly underflowing results, check size of
2906         result and force underflow exception if required.
2907         * math/auto-libm-test-in: Add more tests of exp.
2908         * math/auto-libm-test-out: Regenerated.
2909         * sysdeps/i386/fpu/libm-test-ulps: Update.
2910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2911
2912         [BZ #16283]
2913         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
2914         * math/w_exp2f.c (__exp2f): Likewise.
2915         * math/w_exp2l.c (__exp2l): Likewise.
2916         * math/auto-libm-test-in: Do not allow missing errno on exp2
2917         underflow.
2918         * math/auto-libm-test-out: Regenerated.
2919
2920 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
2921
2922         [BZ #16274]
2923         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
2924         handle filename validation.
2925         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
2926         (do_open): Delete.
2927
2928 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
2929
2930         [BZ #6786]
2931         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
2932         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
2933         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
2934         <float.h>.
2935         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
2936         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
2937         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2938         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
2939         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2940         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
2941         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
2942         * math/auto-libm-test-in: Don't allow missing errno from erfc.
2943         Add more erfc tests.
2944         * math/auto-libm-test-out: Regenerated.
2945         * sysdeps/i386/fpu/libm-test-ulps: Update.
2946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2947
2948         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
2949         exp2, expm1, j0 and j1.
2950         * math/auto-libm-test-out: Regenerated.
2951         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
2952         (erfc_test_data): Likewise.
2953         (exp_test_data): Likewise.
2954         (exp_tonearest_test_data): Likewise.
2955         (exp_towardzero_test_data): Likewise.
2956         (exp_downward_test_data): Likewise.
2957         (exp_upward_test_data): Likewise.
2958         (exp10_test_data): Likewise.
2959         (exp2_test_data): Likewise.
2960         (expm1_test_data): Likewise.
2961         (j0_test_data): Likewise.
2962         (j1_test_data): Likewise.
2963         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
2964         (input_flag_type): Add flag_xfail_rounding.
2965         (input_flags): Add xfail-rounding.
2966         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
2967         (output_for_one_input_case): Handle flag_xfail_rounding.
2968         * sysdeps/i386/fpu/libm-test-ulps: Update.
2969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2970
2971 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
2972
2973         [BZ #16289]
2974         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
2975         division by 0.
2976
2977 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
2978
2979         [BZ #16195]
2980         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
2981         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
2982         (STAP_PROBE0): New macro.
2983         (STAP_PROBE1): Likewise.
2984         (STAP_PROBE2): Likewise.
2985         (STAP_PROBE3): Likewise.
2986         (STAP_PROBE4): Likewise.
2987
2988 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
2989
2990         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
2991
2992 2013-12-02  Steve Ellcey  <sellcey@mips.com>
2993
2994         * benchtests/Makefile (bench): Add sqrt.
2995         (LDLIBS-bench-sqrt): New.
2996         * benchtests/sqrt-input: New.
2997
2998 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
2999
3000         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
3001         (GAIH_EAI): Likewise.
3002         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
3003         (gaih_inet): Likewise.
3004         (getaddrinfo): Don't use GAIH_EAI.
3005
3006         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
3007         (struct gaih): Remove definition.
3008
3009 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3010
3011         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
3012         Use HERRNOP directly.
3013
3014 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3015
3016         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3017
3018 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
3019
3020         * math/gen-auto-libm-tests.c (test_functions): Add more
3021         single-argument functions.
3022         (special_fill_pi_2): New function.
3023         (special_fill_minus_pi_2): Likewise.
3024         (special_fill_pi_6): Likewise.
3025         (special_fill_minus_pi_6): Likewise.
3026         (special_fill_pi_3): Likewise.
3027         (special_fill_2pi_3): Likewise.
3028         (special_fill_e): Likewise.
3029         (special_fill_1_e): Likewise.
3030         (special_fill_e_minus_1): Likewise.
3031         (special_real_inputs): Add more special inputs.
3032         (output_for_one_input_case): Do not require ERANGE on underflow to
3033         zero if round-to-nearest result does not underflow to zero, unless
3034         exact results required.
3035         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
3036         atan, atanh, cbrt, cos and cosh.
3037         * math/auto-libm-test-out: Regenerated.
3038         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
3039         (acos_tonearest_test_data): Likewise.
3040         (acos_towardzero_test_data): Likewise.
3041         (acos_downward_test_data): Likewise.
3042         (acos_upward_test_data): Likewise.
3043         (acosh_test_data): Likewise.
3044         (asin_test_data): Likewise.
3045         (asin_tonearest_test_data): Likewise.
3046         (asin_towardzero_test_data): Likewise.
3047         (asin_upward_test_data): Likewise.
3048         (asinh_test_data): Likewise.
3049         (atan_test_data): Likewise.
3050         (atanh_test_data): Likewise.
3051         (cbrt_test_data): Likewise.
3052         (cos_test_data): Likewise.
3053         (cos_tonearest_test_data): Likewise.
3054         (cos_towardzero_test_data): Likewise.
3055         (cos_downward_test_data): Likewise.
3056         (cos_upward_test_data): Likewise.
3057         (cosh_test_data): Likewise.
3058         (cosh_tonearest_test_data): Likewise.
3059         (cosh_towardzero_test_data): Likewise.
3060         (cosh_downward_test_data): Likewise.
3061         (cosh_upward_test_data): Likewise.
3062         * sysdeps/i386/fpu/libm-test-ulps: Update.
3063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3064
3065 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
3066
3067         [BZ #6787]
3068         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
3069         * math/w_exp10f.c (__exp10f): Likewise.
3070         * math/w_exp10l.c (__exp10l): Likewise.
3071         * math/libm-test.inc (exp10_test_data): Add more tests and expect
3072         errno settings in existing tests.
3073
3074         [BZ #14032]
3075         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
3076         precision control set to double precision.
3077         * sysdeps/i386/fpu/w_sqrt.c: New file.
3078         * math/auto-libm-test-in: Add more tests.
3079         * math/auto-libm-test-out: Update.
3080
3081         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
3082         (sqrt_test_tonearest): New function.
3083         (sqrt_towardzero_test_data): New variable.
3084         (sqrt_test_towardzero): New function.
3085         (sqrt_downward_test_data): New variable.
3086         (sqrt_test_downward): New function.
3087         (sqrt_upward_test_data): New variable.
3088         (sqrt_test_upward): New function.
3089         (main): Call the new functions.
3090
3091         * math/gen-auto-libm-tests.c: New file.
3092         * math/auto-libm-test-in: Likewise.
3093         * math/auto-libm-test-out: New generated file.
3094         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
3095         variables.
3096         (%beautify): Add generated representations of zero.
3097         (top level): Set $auto_input and call parse_auto_input.
3098         (beautify): Remove trailing "f" from hex float constants.
3099         (parse_args): Handle XFAIL_TEST.
3100         (convert_condition): New function.
3101         (or_value): Likewise.
3102         (or_cond_value): Likewise.
3103         (generate_testfile): Handle AUTO_TESTS_* lines.
3104         (parse_auto_input): New function.
3105         * math/libm-test.inc (XFAIL_TEST): New macro.
3106         (ERRNO_UNCHANGED): Update value.
3107         (ERRNO_EDOM): Likewise.
3108         (ERRNO_ERANGE): Likewise.
3109         (IGNORE_RESULT): Likewise.
3110         (TEST_COND_flt_32): New macro.
3111         (TEST_COND_dbl_64): Likewise.
3112         (TEST_COND_ldbl_96_intel): Likewise.
3113         (TEST_COND_ldbl_96_m68k): Likewise.
3114         (TEST_COND_ldbl_128): Likewise.
3115         (TEST_COND_ldbl_128ibm): Likewise.
3116         (TEST_COND_long32): Likewise.
3117         (TEST_COND_long64): Likewise.
3118         (TEST_COND_before_rounding): Likewise.
3119         (TEST_COND_after_rounding): Likewise.
3120         (enable_test): Handle XFAIL_TEST flag.
3121         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
3122         with finite results.
3123         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
3124         auto-libm-test-out.
3125
3126 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3127             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3128
3129         [BZ #16214]
3130         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
3131         __tls_get_addr_internal instead of __tls_get_offset in order to
3132         avoid GOT pointer dependency.  Make rtld export
3133         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
3134         __tls_get_addr since we are a __tls_get_offset platform.
3135         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
3136         GOT pointer being set up before.
3137         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
3138
3139 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
3140
3141         * manual/math.texi (Errors in Math Functions): Document accuracy
3142         goals.
3143
3144         [BZ #15004]
3145         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
3146         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
3147         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3148         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3149         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3150         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3151         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3152         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3153         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3154         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3155         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3156         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3157         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3158         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3159         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3160         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3161
3162         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
3163         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
3164         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
3165         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
3166         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
3167         Likewise.
3168         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
3169         Likewise.
3170         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
3171         Likewise.
3172         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
3173         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
3174         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
3175         atomic-feupdateenv and flt-rounds.
3176         * sysdeps/powerpc/nofpu/Versions (libc): Add
3177         __atomic_feholdexcept, __atomic_feclearexcept,
3178         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
3179         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
3180         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
3181         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
3182         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
3183         here.
3184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
3185         Update.
3186
3187         * manual/arith.texi (FP Exceptions): Document that exceptions may
3188         not be raised when matherr is used.
3189         (Math Error Reporting): Document overflow in directed rounding
3190         modes.  Document that errno may not be set when finite values are
3191         returned on overflow.  Document intent to set errno on underflow
3192         only for underflow to zero.
3193
3194         [BZ #16271]
3195         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
3196         round-to-nearest then adjust result for other rounding modes.
3197         * include/fenv.h (fegetround): Use libm_hidden_proto.
3198         * math/fegetround.c (fegetround): Use libm_hidden_def.
3199         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3200         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3201         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3202         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3203         Likewise.
3204         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
3205         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3206         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3207         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
3208
3209 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
3210
3211         [BZ #16077]
3212         * nss/Versions (libnss_files): Add
3213         _nss_files_gethostbyname3_r.
3214         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
3215         New function.
3216         (HOST_DB_LOOKUP): Remove macro.
3217         (_nss_files_gethostbyname_r): Implement function without the
3218         HOST_DB_LOOKUP macro.
3219         (_nss_files_gethostbyname2_r): Likewise.
3220
3221 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
3222
3223         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
3224
3225 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
3226
3227         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
3228         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
3229         warning.
3230
3231 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3232
3233         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
3234         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
3235         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3236         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3237         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
3238         __fe_nomask_env_priv and attribute_hidden.
3239         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
3240         (libc_feupdateenv_test_ppc): Likewise.
3241         (libc_feresetround_ppc): Likewise.
3242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3243         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
3244         compat_symbol macro.
3245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3246         (__fe_nomask_env): Likewise.
3247         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
3248
3249 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3250
3251         * string/Makefile: Remove ifunc tests.
3252         * string/test-string.h: Define TEST_IFUNC.
3253         * string/test-bcopy-ifunc.c: Remove.
3254         * string/test-bzero-ifunc.c: Likewise.
3255         * string/test-memccpy-ifunc.c: Likewise.
3256         * string/test-memchr-ifunc.c: Likewise.
3257         * string/test-memcmp-ifunc.c: Likewise.
3258         * string/test-memcpy-ifunc.c: Likewise.
3259         * string/test-memmem-ifunc.c: Likewise.
3260         * string/test-memmove-ifunc.c: Likewise.
3261         * string/test-mempcpy-ifunc.c: Likewise.
3262         * string/test-memrchr-ifunc.c: Likewise.
3263         * string/test-memset-ifunc.c: Likewise.
3264         * string/test-rawmemchr-ifunc.c: Likewise.
3265         * string/test-stpcpy-ifunc.c: Likewise.
3266         * string/test-stpncpy-ifunc.c: Likewise.
3267         * string/test-strcasecmp-ifunc.c: Likewise.
3268         * string/test-strcasestr-ifunc.c: Likewise.
3269         * string/test-strcat-ifunc.c: Likewise.
3270         * string/test-strchr-ifunc.c: Likewise.
3271         * string/test-strchrnul-ifunc.c: Likewise.
3272         * string/test-strcmp-ifunc.c: Likewise.
3273         * string/test-strcpy-ifunc.c: Likewise.
3274         * string/test-strcspn-ifunc.c: Likewise.
3275         * string/test-strlen-ifunc.c: Likewise.
3276         * string/test-strncasecmp-ifunc.c: Likewise.
3277         * string/test-strncat-ifunc.c: Likewise.
3278         * string/test-strncmp-ifunc.c: Likewise.
3279         * string/test-strncpy-ifunc.c: Likewise.
3280         * string/test-strnlen-ifunc.c: Likewise.
3281         * string/test-strpbrk-ifunc.c: Likewise.
3282         * string/test-strrchr-ifunc.c: Likewise.
3283         * string/test-strspn-ifunc.c: Likewise.
3284         * string/test-strstr-ifunc.c: Likewise.
3285
3286 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3287
3288         * benchtests/Makefile: Remove ifunc tests.
3289         * benchtests/bench-string.h: Define TEST_IFUNC.
3290         * benchtests/bench-bcopy-ifunc.c: Remove.
3291         * benchtests/bench-bzero-ifunc.c: Likewise.
3292         * benchtests/bench-memccpy-ifunc.c: Likewise.
3293         * benchtests/bench-memchr-ifunc.c: Likewise.
3294         * benchtests/bench-memcmp-ifunc.c: Likewise.
3295         * benchtests/bench-memcpy-ifunc.c: Likewise.
3296         * benchtests/bench-memmem-ifunc.c: Likewise.
3297         * benchtests/bench-memmove-ifunc.c: Likewise.
3298         * benchtests/bench-mempcpy-ifunc.c: Likewise.
3299         * benchtests/bench-memrchr-ifunc.c: Likewise.
3300         * benchtests/bench-memset-ifunc.c: Likewise.
3301         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
3302         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
3303         * benchtests/bench-stpcpy-ifunc.c: Likewise.
3304         * benchtests/bench-stpncpy-ifunc.c: Likewise.
3305         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
3306         * benchtests/bench-strcasestr-ifunc.c: Likewise.
3307         * benchtests/bench-strcat-ifunc.c: Likewise.
3308         * benchtests/bench-strchr-ifunc.c: Likewise.
3309         * benchtests/bench-strchrnul-ifunc.c: Likewise.
3310         * benchtests/bench-strcmp-ifunc.c: Likewise.
3311         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
3312         * benchtests/bench-strcpy-ifunc.c: Likewise.
3313         * benchtests/bench-strcspn-ifunc.c: Likewise.
3314         * benchtests/bench-strlen-ifunc.c: Likewise.
3315         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
3316         * benchtests/bench-strncat-ifunc.c: Likewise.
3317         * benchtests/bench-strncmp-ifunc.c: Likewise.
3318         * benchtests/bench-strncpy-ifunc.c: Likewise.
3319         * benchtests/bench-strnlen-ifunc.c: Likewise.
3320         * benchtests/bench-strpbrk-ifunc.c: Likewise.
3321         * benchtests/bench-strrchr-ifunc.c: Likewise.
3322         * benchtests/bench-strsep-ifunc.c: Likewise.
3323         * benchtests/bench-strspn-ifunc.c: Likewise.
3324         * benchtests/bench-strstr-ifunc.c: Likewise.
3325
3326 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3327
3328         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
3329
3330 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
3331
3332         * resolv/netdb.h: Use __glibc_reserved instead __unused.
3333         * rt/aio.h: Likewise.
3334         * sysdeps/gnu/bits/utmp.h: Likewise.
3335         * sysdeps/gnu/bits/utmpx.h: Likewise.
3336         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3337         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
3338         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
3339         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
3340         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
3341         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
3342         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
3343         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
3344         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
3345         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
3346         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
3347         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
3348         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
3349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
3350         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
3351         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
3352         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
3353         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
3354         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
3355         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
3356         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
3357         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
3358         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
3359         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
3360         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
3361         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3362         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
3363         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
3364         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
3365         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
3366         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
3367         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
3368         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
3369         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
3370         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
3371         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
3372         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
3373         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
3374         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
3375         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
3376         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3377         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3378
3379 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
3380
3381         [BZ #16245]
3382         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
3383         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
3384
3385 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
3386
3387         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
3388         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3389         Likewise.
3390
3391 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3392
3393         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
3394         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
3395         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
3396         (__fesetround): Remove define.
3397         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
3398         rounding and exceptions handling.
3399         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
3400         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
3401         (__fe_nomask_env): Likewise.
3402         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
3403         __fegetround instead of fegetround.
3404         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3405         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3406
3407 2013-11-21  Roland McGrath  <roland@hack.frob.com>
3408
3409         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
3410         it's there.
3411
3412         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
3413
3414 2013-11-21  Meador Inge  <meadori@codesourcery.com>
3415
3416         [BZ #11157]
3417         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
3418         (encrypt_r): Likewise.
3419         * malloc/obstack.h (obstack_free): Likewise.
3420         * posix/unistd.h (encrypt): Likewise.
3421
3422 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
3423
3424         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
3425         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
3426         DL_CALL_DT_FINI() that call the functions directly.
3427         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
3428         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
3429         * elf/dl-fini.c: Likewise.
3430
3431 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
3432
3433         * malloc/hooks.c (memalign_check): Add alignment rounding.
3434         * malloc/malloc.c (_mid_memalign): New function.
3435         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
3436         Implement by calling _mid_memalign.
3437         * manual/probes.texi (Memory Allocation Probes): Remove
3438         memory_valloc_retry and memory_pvalloc_retry.
3439
3440 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
3441
3442         * locale/programs/locarchive.c (open_archive): Add const
3443         qualifier to ARCHIVEFNAME and copy default fname to
3444         DEFAULT_FNAME.
3445
3446         [BZ #15601]
3447         * libio/tst-widetext.input: Rename Oriya to Odia.
3448         * locale/iso-639.def: Likewise.
3449
3450         * manual/probes.texi (Mathematical Function Probes): Add
3451         documentation for sin, cos, asin and acos probes.
3452         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
3453         (__sin32): Add slowasin probe.
3454         (__cos32): Add slowacos probe.
3455         (__mpsin): Add slowsin probe.
3456         (__mpcos): Add slowcos probe.
3457
3458 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
3459
3460         [BZ #15483]
3461         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
3462         thread-local __sim_exceptions_thread and global
3463         __sim_exceptions_global.
3464         (__sim_disabled_exceptions): Change to thread-local
3465         __sim_disabled_exceptions_thread and global
3466         __sim_disabled_exceptions_global.
3467         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3468         and global __sim_round_mode_global.
3469         (__simulate_exceptions): Use thread-local floating-point state and
3470         set global state from it as needed.
3471         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
3472         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
3473         __sim_round_mode_thread.
3474         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
3475         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
3476         and global __sim_exceptions_global.
3477         (__sim_disabled_exceptions): Change to thread-local
3478         __sim_disabled_exceptions_thread and global
3479         __sim_disabled_exceptions_global.
3480         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
3481         and global __sim_round_mode_global.
3482         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
3483         (SIM_SET_GLOBAL): Likewise.
3484         * sysdeps/powerpc/soft-fp/sfp-machine.h
3485         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
3486         __sim_round_mode_thread.
3487         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
3488         __sim_disabled_exceptions_thread.
3489         (__sim_exceptions): Change to __sim_exceptions_thread.
3490         (__sim_disabled_exceptions): Change to
3491         __sim_disabled_exceptions_thread.
3492         (__sim_round_mode): Change to __sim_round_mode_thread.
3493         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
3494         thread-local floating-point state and set global state from it as
3495         needed.
3496         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
3497         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
3498         (__sim_disabled_exceptions): Remove extern declaration.
3499         (feenableexcept): Use thread-local floating-point state and set
3500         global state from it as needed.
3501         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
3502         extern declaration.
3503         (__sim_disabled_exceptions): Likewise.
3504         (__sim_round_mode): Likewise.
3505         (__fegetenv): Use thread-local floating-point state.
3506         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
3507         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
3508         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
3509         floating-point state and set global state from it as needed.
3510         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
3511         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3512         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
3513         Likewise.
3514         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3515         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
3516         Likewise.
3517         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
3518         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
3519         Use __sim_round_mode_thread.
3520         * math/test-fenv-tls.c: New file.
3521         * math/Makefile (tests): Add test-fenv-tls.
3522         ($(objpfx)test-fenv-tls): Depend on
3523         $(common-objpfx)nptl/libpthread.so.
3524
3525 2013-11-19  Andreas Schwab  <schwab@suse.de>
3526
3527         * locale/programs/locale.c (show_info): Decode wordarray elements.
3528         * locale/categories.def (LC_MONETARY): Add element for
3529         _NL_MONETARY_CRNCYSTR.
3530         * locale/C-monetary.c (conversion_rate): New variable.
3531         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
3532         element.
3533
3534 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
3535
3536         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
3537         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
3538
3539 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
3540
3541         * elf/Makefile (tst-auxv): New test.
3542         * elf/tst-auxv.c: New
3543         * elf/rtld.c (dl_main): Adjust AT_EXECFN
3544
3545 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
3546
3547         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
3548         (hidden_proto): Caller changed.
3549         (hidden_tls_proto): New macro.
3550         (libc_hidden_tls_proto): Likewise.
3551         (rtld_hidden_tls_proto): Likewise.
3552         (libm_hidden_tls_proto): Likewise.
3553         (libresolv_hidden_tls_proto): Likewise.
3554         (librt_hidden_tls_proto): Likewise.
3555         (libdl_hidden_tls_proto): Likewise.
3556         (libnss_files_hidden_tls_proto): Likewise.
3557         (libnsl_hidden_tls_proto): Likewise.
3558         (libnss_nisplus_hidden_tls_proto): Likewise.
3559         (libutil_hidden_tls_proto): Likewise.
3560
3561 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
3562
3563         [BZ #10253]
3564         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
3565         (decompose_rpath): Defer expansion to fillin_rpath.
3566         (_dl_init_paths): Pass linkmap to fillin_rpath.
3567
3568 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3569
3570         * benchtests/Makefile: Add strsep.
3571         * benchtests/bench-strsep.c: New file: strsep benchtest.
3572         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
3573
3574 2013-11-18  Andreas Schwab  <schwab@suse.de>
3575
3576         * locale/programs/locale.c (show_info) [case byte]: Check for
3577         '\377' instead of '\177'.
3578         * locale/C-monetary.c (not_available): Always use "\377".
3579         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
3580         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
3581         detect unavailable sign_posn locale elements.
3582         * locale/localeconv.c (__localeconv): For grouping and
3583         mon_grouping handle "\177" and "\377" like no grouping.
3584         (INT_ELEM): New macro.  Use it to set all numeric members.
3585         * locale/programs/ld-monetary.c (monetary_read)
3586         <tok_mon_grouping>: Normalize single -1 to the empty string.
3587         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
3588         Likewise.
3589
3590 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3591
3592         [BZ #16055]
3593         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
3594         when we match (nil).
3595         * stdio-common/tst-sscanf.c (struct test): Add testcase.
3596
3597 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
3598
3599         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
3600         (NO_TEST_INLINE): Update value.
3601         (ERRNO_UNCHANGED): Likewise.
3602         (ERRNO_EDOM): Likewise.
3603         (ERRNO_ERANGE): Likewise.
3604         (IGNORE_RESULT): Likewise.
3605         (check_float_internal): Check signs of NaN results if
3606         TEST_NAN_SIGN used.
3607         (check_complex): Pass TEST_NAN_SIGN flag through to second
3608         check_float_internal call.
3609         (copysign_test_data): Add tests with quiet NaNs as second
3610         argument.  Use TEST_NAN_SIGN.
3611         (fabs_test_data): Add test of negative quiet NaN argument.  Use
3612         TEST_NAN_SIGN.
3613         (signbit_test_data): Add tests of quiet NaN argument.
3614         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
3615
3616         * math/gen-libm-test.pl (show_exceptions): Take extra argument
3617         $ignore_result.
3618         (parse_args): Handle function results specified as IGNORE.
3619         * math/libm-test.inc (IGNORE_RESULT): New macro.
3620         (check_float_internal): Do not check numerical result if flag
3621         IGNORE_RESULT set.
3622         (check_complex): Pass through IGNORE_RESULT to second
3623         check_float_internal call.
3624         (check_int): Do not check numerical result if flag IGNORE_RESULT
3625         set.
3626         (check_long): Likewise.
3627         (check_bool): Likewise.
3628         (check_longlong): Likewise.
3629         (lrint_test_data): Add tests of infinite and NaN arguments.
3630         (lrint_tonearest_test_data): Likewise.
3631         (lrint_towardzero_test_data): Likewise.
3632         (lrint_downward_test_data): Likewise.
3633         (lrint_upward_test_data): Likewise.
3634         (llrint_test_data): Likewise.
3635         (llrint_tonearest_test_data): Likewise.
3636         (llrint_towardzero_test_data): Likewise.
3637         (llrint_downward_test_data): Likewise.
3638         (llrint_upward_test_data): Likewise.
3639         (lround_test_data): Likewise.
3640         (llround_test_data): Likewise.
3641
3642         * math/libm-test.inc (NO_TEST_INLINE): New macro.
3643         (ERRNO_UNCHANGED): Update value.
3644         (ERRNO_EDOM): Likewise.
3645         (ERRNO_ERANGE): Likewise.
3646         (NO_TEST_INLINE_FLOAT): New macro.
3647         (NO_TEST_INLINE_DOUBLE): Likewise.
3648         (enable_test): New function.
3649         (RUN_TEST_f_f): Check enable_test before running test.
3650         (RUN_TEST_2_f): Likewise.
3651         (RUN_TEST_fff_f): Likewise.
3652         (RUN_TEST_c_f): Likewise.
3653         (RUN_TEST_f_f1): Likewise.
3654         (RUN_TEST_fF_f1): Likewise.
3655         (RUN_TEST_fI_f1): Likewise.
3656         (RUN_TEST_ffI_f1): Likewise.
3657         (RUN_TEST_c_c): Likewise.
3658         (RUN_TEST_cc_c): Likewise.
3659         (RUN_TEST_f_i): Likewise.
3660         (RUN_TEST_f_i_tg): Likewise.
3661         (RUN_TEST_ff_i_tg): Likewise.
3662         (RUN_TEST_f_b): Likewise.
3663         (RUN_TEST_f_b_tg): Likewise.
3664         (RUN_TEST_f_l): Likewise.
3665         (RUN_TEST_f_L): Likewise.
3666         (RUN_TEST_fFF_11): Likewise.
3667         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
3668         conditionals.
3669         (cosh_test_data): Likewise.
3670         (exp_test_data): Likewise.
3671         (expm1_test_data): Likewise.
3672         (hypot_test_data): Likewise.
3673         (pow_test_data): Likewise.
3674         (sinh_test_data): Likewise.
3675         (tanh_test_data): Likewise.
3676         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
3677         flags argument.
3678
3679         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
3680         tests with quiet NaN input and output.
3681         (acosh_test_data): Likewise.
3682         (asin_test_data): Likewise.
3683         (asinh_test_data): Likewise.
3684         (atan_test_data): Likewise.
3685         (atanh_test_data): Likewise.
3686         (atan2_test_data): Likewise.
3687         (cbrt_test_data): Likewise.
3688         (cos_test_data): Likewise.
3689         (cosh_test_data): Likewise.
3690         (erf_test_data): Likewise.
3691         (erfc_test_data): Likewise.
3692         (exp_test_data): Likewise.
3693         (exp10_test_data): Likewise.
3694         (exp2_test_data): Likewise.
3695         (expm1_test_data): Likewise.
3696         (hypot_test_data): Likewise.
3697         (j0_test_data): Likewise.
3698         (j1_test_data): Likewise.
3699         (jn_test_data): Likewise.
3700         (lgamma_test_data): Likewise.
3701         (log_test_data): Likewise.
3702         (log10_test_data): Likewise.
3703         (log1p_test_data): Likewise.
3704         (log2_test_data): Likewise.
3705         (pow_test_data): Likewise.
3706         (scalb_test_data): Likewise.
3707         (sin_test_data): Likewise.
3708         (sincos_test_data): Likewise.
3709         (sinh_test_data): Likewise.
3710         (tan_test_data): Likewise.
3711         (tanh_test_data): Likewise.
3712         (tgamma_test_data): Likewise.
3713         (y0_test_data): Likewise.
3714         (y1_test_data): Likewise.
3715         (yn_test_data): Likewise.
3716
3717         [BZ #16167]
3718         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
3719         argument being NaN and avoid computations with second argument in
3720         that case.
3721         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3722         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
3723         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3724
3725 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
3726
3727         * locale/iso-639.def: Add Chitwani Tharu (the).
3728
3729 2013-11-14  Andreas Schwab  <schwab@suse.de>
3730
3731         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
3732         word instead of empty string.
3733
3734 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3735
3736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3737         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
3738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3739         (__fe_nomask_env): Likewise.
3740
3741 2013-11-13  Steve Ellcey  <sellcey@mips.com>
3742
3743         * benchtests/bench-timing.h: Include time.h.
3744
3745 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
3746
3747         [BZ #15997]
3748         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
3749         to 3.4.0 for x32.
3750         * sysdeps/unix/sysv/linux/configure: Regenerated.
3751
3752 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
3753
3754         [BZ #16151]
3755         * stdlib/strtod_l.c (round_and_return): Do not consider
3756         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
3757         exponent one less than half the least subnormal exponent.
3758         * stdlib/test-strtod-round-data: Add more tests.
3759         * stdlib/tst-strtod-round.c (tests): Regenerated.
3760
3761 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3762
3763         [BZ #14143]
3764         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
3765         (__fe_mask_env): Likewise.
3766         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
3767         libm_hidden_proto and add function prototype.
3768         (__fe_mask_env): Add function prototype.
3769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
3770         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
3771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
3772         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
3773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
3774         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
3775
3776 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3777
3778         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
3779         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
3780
3781 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
3782
3783         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
3784         of htab_find_slot().
3785
3786 2013-11-11  David S. Miller  <davem@davemloft.net>
3787
3788         [BZ #16150]
3789         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
3790         symbol in the non-vis3 case in static builds.
3791         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
3792         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
3793         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
3794         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
3795
3796 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
3797
3798         [BZ #387]
3799         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
3800         it is empty.
3801
3802 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3803
3804         * benchtests/Makefile: Add bench-strtod.
3805         * benchtests/bench-strtod.c: New file: strtod benchtest
3806
3807 2013-11-11  Andreas Schwab  <schwab@suse.de>
3808
3809         [BZ #16153]
3810         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
3811         terminating NUL in key length.
3812
3813 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3814
3815         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
3816         Add artificial ODP entry for vDSO symbol for PPC64.
3817         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
3818         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3819
3820 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
3821
3822         [BZ #15374]
3823         * nss/getent.c (services_keys): Recognize services starting with digit.
3824
3825 2013-11-06  David S. Miller  <davem@davemloft.net>
3826
3827         [BZ #15985]
3828         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
3829         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
3830
3831 2013-11-06  Will Newton  <will.newton@linaro.org>
3832
3833         * manual/memory.texi (Malloc Examples): Remove register
3834         keyword from examples.
3835
3836 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
3837
3838         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
3839
3840 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
3841
3842         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
3843         depending on [__GCC_IEC_559 > 0].
3844         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
3845         depending on [__GCC_IEC_559_COMPLEX > 0].
3846
3847 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
3848
3849         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
3850         to iso-639.def.
3851
3852 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
3853
3854         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
3855
3856 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
3857
3858         [BZ #16112]
3859         * malloc/malloc (malloc_info): Do not handle first bin as
3860         special case.
3861
3862 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
3863
3864         * locale/iso-639.def: Add Central Nahuatl (nhn).
3865
3866 2013-11-01  Bruno Haible  <bruno@clisp.org>
3867
3868         [BZ #7003]
3869         * manual/math.texi (BSD Random): Specify range upper bound as
3870         in POSIX.
3871
3872 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
3873
3874         * locale/iso-639.def: Add Meadow Mari (mhr).
3875
3876 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
3877
3878         [BZ #14752], [BZ #15763]
3879         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
3880         Validate name.
3881         * rt/tst_shm.c: Add test for escaping directory.
3882
3883 2013-10-31  Andreas Schwab  <schwab@suse.de>
3884
3885         [BZ #15917]
3886         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
3887         followed by 'x' as part of digit sequence.
3888         * stdio-common/tst-sscanf.c (double_tests2): New tests.
3889
3890 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
3891
3892         [BZ #16037]
3893         * configure.ac: allow GNU Make 4.0 and greater.
3894         * configure: Regenerated.
3895
3896 2013-10-30  Will Newton  <will.newton@linaro.org>
3897
3898         [BZ #16038]
3899         * malloc/hooks.c (memalign_check): Limit alignment to the
3900         maximum representable power of two.
3901         * malloc/malloc.c (__libc_memalign): Likewise.
3902         * malloc/tst-memalign.c (do_test): Add test for very
3903         large alignment values.
3904         * malloc/tst-posix_memalign.c (do_test): Likewise.
3905
3906 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3907
3908         [BZ #11087]
3909         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
3910         (munmap_chunk): Likewise.
3911         (mremap_chunk): Likewise.
3912
3913 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
3914
3915         [BZ #15799]
3916         * stdlib/div.c (div): Remove obsolete code.
3917         * stdlib/ldiv.c (ldiv): Likewise.
3918         * stdlib/lldiv.c (lldiv): Likewise.
3919
3920 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3921
3922         [BZ #16071]
3923         * nss/nss_files/files-XXX.c (get_contents_ret): New
3924         enumerator.
3925         (get_contents): New function.
3926         (internal_getent): Use it.  Expand size of LINEBUFLEN.
3927
3928 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
3929
3930         * configure.in: Moved to ...
3931         * configure.ac: ... here. Change reference to configure.in
3932         to configure.ac.
3933         * sysdeps/arm/preconfigure.ac: ... here.
3934         configure.in to configure.ac.
3935         * sysdeps/gnu/configure.in: Moved to ...
3936         * sysdeps/gnu/configure.ac: ... here.
3937         * sysdeps/i386/configure.in: Moved to ...
3938         * sysdeps/i386/configure.ac: ... here.
3939         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
3940         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
3941         * sysdeps/mach/configure.in: Moved to ...
3942         * sysdeps/mach/configure.ac: ... here.
3943         * sysdeps/mach/hurd/configure.in: Moved to ...
3944         * sysdeps/mach/hurd/configure.ac: ... here.
3945         * sysdeps/powerpc/configure.in: Moved to ...
3946         * sysdeps/powerpc/configure.ac: ... here.
3947         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
3948         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
3949         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
3950         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
3951         * sysdeps/s390/s390-32/configure.in: Moved to ...
3952         * sysdeps/s390/s390-32/configure.ac: ... here.
3953         * sysdeps/s390/s390-64/configure.in: Moved to ...
3954         * sysdeps/s390/s390-64/configure.ac: ... here.
3955         * sysdeps/sh/configure.in: Moved to ...
3956         * sysdeps/sh/configure.ac: ... here.
3957         * sysdeps/sparc/configure.in: Moved to ...
3958         * sysdeps/sparc/configure.ac: ... here.
3959         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
3960         * sysdeps/unix/sysv/linux/configure.ac: ... here.
3961         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
3962         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
3963         * sysdeps/x86_64/configure.in: Moved to ...
3964         * sysdeps/x86_64/configure.ac: ... here.
3965         * sysdeps/x86_64/preconfigure.in: Moved to ...
3966         * sysdeps/x86_64/preconfigure.ac: ... here.
3967         * aclocal.m4: Change reference to configure.in to configure.ac.
3968         * config.h.in: Likewise.
3969         * manual/install.texi: Likewise.
3970         * manual/maint.texi: Likewise.
3971         * Makefile: Likewise.
3972         * malloc/Makefile: Likewise.
3973         * nscd/Makefile: Likewise.
3974         * Makeconfig: Change reference to configure.in and
3975         preconfigure.in to configure.ac and preconfigure.ac
3976         respectively.
3977         * INSTALL: Regenerated.
3978         * configure: Likewise.
3979         * sysdeps/gnu/configure: Likewise.
3980         * sysdeps/i386/configure: Likewise.
3981         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
3982         * sysdeps/mach/configure: Likewise.
3983         * sysdeps/mach/hurd/configure: Likewise.
3984         * sysdeps/powerpc/configure: Likewise.
3985         * sysdeps/powerpc/powerpc32/configure: Likewise.
3986         * sysdeps/powerpc/powerpc64/configure: Likewise.
3987         * sysdeps/s390/s390-32/configure: Likewise.
3988         * sysdeps/s390/s390-64/configure: Likewise.
3989         * sysdeps/sh/configure: Likewise.
3990         * sysdeps/sparc/configure: Likewise.
3991         * sysdeps/unix/sysv/linux/configure: Likewise.
3992         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
3993         * sysdeps/x86_64/configure: Likewise.
3994         * sysdeps/x86_64/preconfigure: Likewise.
3995
3996 2013-10-29  Andreas Schwab  <schwab@suse.de>
3997
3998         * stdio-common/Makefile (tst-swscanf-ENV): Define.
3999
4000 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4001
4002         * benchtests/pow-inputs: Add new inputs.
4003
4004         * benchtests/exp-inputs: Add new inputs.
4005
4006         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
4007         conditional check for return value.
4008         (__cos32): Likewise.
4009
4010 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4011
4012         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
4013         to provide a boost for large inputs with word alignment.
4014         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
4015         implementation based on optimized PPC64 strcpy.
4016         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
4017         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
4018         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
4019         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
4020
4021 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4022
4023         [BZ #2801]
4024         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
4025
4026 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4027
4028         [BZ #14876]
4029         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
4030         * time/tst-strptime.c (day_tests): Add testcase.
4031
4032 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
4033
4034         [BZ #14029]
4035         * manual/pattern.texi: Acknowledge that fnmatch can fail.
4036
4037 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
4038
4039         [BZ #16074]
4040         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
4041         MAP_FAILED on error.
4042
4043 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
4044
4045         [BZ #16072]
4046         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
4047         heap for large requests.
4048
4049 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
4050
4051         [BZ #9954]
4052         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
4053         result if the result has no associated interface.
4054         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
4055         interface for all 127.X.Y.Z addresses.
4056
4057 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
4058
4059         * locale/iso-639.def: Add Ligurian (lij)
4060
4061 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
4062
4063         [BZ #15825]
4064         * sunrpc/rpc_main.c: Document rpcgen -5.
4065
4066 2013-10-19  Michael Stahl  <mstahl@redhat.com>
4067
4068         * elf/rtld.c (do_preload): Print the reason why preloading failed.
4069
4070 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
4071
4072         [BZ #10278]
4073         * posix/glob.c: Match only directories when trailing slash is present.
4074         * posix/tst-gnuglob.c (my_opendir): Do not open files.
4075         (main): Add testcase.
4076
4077 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
4078
4079         [BZ #15670]
4080         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
4081
4082 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
4083
4084         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
4085         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
4086         AUTH_DES and cindex for FIPS 140-2.
4087         (DES Encryption): Add cindex FIPS 46-3.
4088
4089         * locale/locarchive.h (struct locarhandle): Add fname.
4090         * locale/programs/localedef.c (main): Pass ARGV[remaining]
4091         if an optional argument was specified to --list-archive,
4092         otherwise NULL.
4093         * locale/programs/locarchive.c (show_archive_content): Take new
4094         argument fname and pass it via ah.fname to open_archive.
4095         * locale/programs/localedef.h: Update decl.
4096         (open_archive): If AH->fname is non-null, open that file
4097         rather than the default file name, and don't ignore ENOENT.
4098         (create_archive): Set AH.fname to NULL.
4099         (delete_locales_from_archive): Likewise.
4100         (add_locales_to_archive): Likewise.
4101         * locale/programs/locfile.c (write_all_categories): Likewise.
4102
4103 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
4104             Aldy Hernandez  <aldyh@redhat.com>
4105
4106         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
4107         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
4108         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
4109         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
4110         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
4111         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
4112         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
4113         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
4114         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
4115         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
4116         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
4117         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
4118         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
4119         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
4120         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
4121         Likewise.
4122         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
4123         Likewise.
4124         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
4125         Likewise.
4126         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
4127         Likewise.
4128         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
4129         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
4130         Likewise.
4131         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
4132         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
4133         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
4134         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
4135         Likewise.
4136         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
4137         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
4138         * sysdeps/powerpc/preconfigure: Likewise.
4139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
4140         Likewise.
4141         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
4142         Replace contents of file by #include of <fenv_libc.h>.
4143         * sysdeps/powerpc/soft-fp/sfp-machine.h
4144         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
4145         and <sys/prctl.h>.
4146         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
4147         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
4148         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
4149         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
4150         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
4151         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
4152         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
4153         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
4154         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
4155         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
4156         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
4157         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
4158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4159         Allow copysignl PLT reference to be missing.
4160
4161 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
4162             Joseph Myers  <joseph@codesourcery.com
4163
4164         [BZ #15948]
4165         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
4166         single character.
4167         (add_to_tablewc): Assert sequence of wide characters is nonempty.
4168
4169 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4170
4171         * elf/tst-tls-dlinfo.c: Don't include tls.h.
4172         * elf/tst-tls1.c: Likewise.
4173         * elf/tst-tls10.h: Likewise.
4174         * elf/tst-tls14.c: Likewise.
4175         * elf/tst-tls2.c: Likewise.
4176         * elf/tst-tls3.c: Likewise.
4177         * elf/tst-tls4.c: Likewise.
4178         * elf/tst-tls5.c: Likewise.
4179         * elf/tst-tls6.c: Likewise.
4180         * elf/tst-tls7.c: Likewise.
4181         * elf/tst-tls8.c: Likewise.
4182         * elf/tst-tls9.c: Likewise.
4183         * elf/tst-tlsmod1.c: Likewise.
4184         * elf/tst-tlsmod13.c: Likewise.
4185         * elf/tst-tlsmod13a.c: Likewise.
4186         * elf/tst-tlsmod14a.c: Likewise.
4187         * elf/tst-tlsmod16a.c: Likewise.
4188         * elf/tst-tlsmod16b.c: Likewise.
4189         * elf/tst-tlsmod2.c: Likewise.
4190         * elf/tst-tlsmod3.c: Likewise.
4191         * elf/tst-tlsmod4.c: Likewise.
4192         * elf/tst-tlsmod5.c: Likewise.
4193         * elf/tst-tlsmod6.c: Likewise.
4194
4195 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
4196
4197         [BZ #12486]
4198         * malloc/malloc.c: remove checks for statistics.
4199
4200 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
4201
4202         [BZ #15277]
4203         * inet/inet_net.c (inet_network): Detect additional invalid strings.
4204         * inet/tst-network.c: Add testcase.
4205
4206 2013-10-17  Andreas Schwab  <schwab@suse.de>
4207
4208         [BZ #15218]
4209         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
4210         to determine canonical name.
4211
4212 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
4213
4214         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
4215         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
4216         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4217         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4218         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4219         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4220         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
4221         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4222         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
4223         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4224         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4225         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4226         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4227         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4228         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4229         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4230         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4231         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4232         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4233         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4234         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4235         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4236         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4237         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
4238         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
4239         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4240         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4241         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
4242         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4243         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
4244         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4245         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4246         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4247         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4248         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4249         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4250         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4251         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4252         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4253         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4254         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4255         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4256         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4257         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4258         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4259         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4260         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4261         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4262         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4263         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4264         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4265         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4266         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4267         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4268         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4269         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4270         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4271         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4272
4273 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
4274
4275         [BZ #16041]
4276         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
4277         make result into a quiet NaN.
4278
4279 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
4280
4281         * soft-fp/adddf3.c: Fix horizontal whitespace.
4282         * soft-fp/addsf3.c: Likewise.
4283         * soft-fp/addtf3.c: Likewise.
4284         * soft-fp/divdf3.c: Likewise.
4285         * soft-fp/divsf3.c: Likewise.
4286         * soft-fp/divtf3.c: Likewise.
4287         * soft-fp/double.h: Likewise.
4288         * soft-fp/eqdf2.c: Likewise.
4289         * soft-fp/eqsf2.c: Likewise.
4290         * soft-fp/eqtf2.c: Likewise.
4291         * soft-fp/extenddftf2.c: Likewise.
4292         * soft-fp/extended.h: Likewise.
4293         * soft-fp/extendsfdf2.c: Likewise.
4294         * soft-fp/extendsftf2.c: Likewise.
4295         * soft-fp/extendxftf2.c: Likewise.
4296         * soft-fp/fixdfdi.c: Likewise.
4297         * soft-fp/fixdfsi.c: Likewise.
4298         * soft-fp/fixdfti.c: Likewise.
4299         * soft-fp/fixsfdi.c: Likewise.
4300         * soft-fp/fixsfsi.c: Likewise.
4301         * soft-fp/fixsfti.c: Likewise.
4302         * soft-fp/fixtfdi.c: Likewise.
4303         * soft-fp/fixtfsi.c: Likewise.
4304         * soft-fp/fixtfti.c: Likewise.
4305         * soft-fp/fixunsdfdi.c: Likewise.
4306         * soft-fp/fixunsdfsi.c: Likewise.
4307         * soft-fp/fixunsdfti.c: Likewise.
4308         * soft-fp/fixunssfdi.c: Likewise.
4309         * soft-fp/fixunssfsi.c: Likewise.
4310         * soft-fp/fixunssfti.c: Likewise.
4311         * soft-fp/fixunstfdi.c: Likewise.
4312         * soft-fp/fixunstfsi.c: Likewise.
4313         * soft-fp/fixunstfti.c: Likewise.
4314         * soft-fp/floatdidf.c: Likewise.
4315         * soft-fp/floatdisf.c: Likewise.
4316         * soft-fp/floatditf.c: Likewise.
4317         * soft-fp/floatsidf.c: Likewise.
4318         * soft-fp/floatsisf.c: Likewise.
4319         * soft-fp/floatsitf.c: Likewise.
4320         * soft-fp/floattidf.c: Likewise.
4321         * soft-fp/floattisf.c: Likewise.
4322         * soft-fp/floattitf.c: Likewise.
4323         * soft-fp/floatundidf.c: Likewise.
4324         * soft-fp/floatundisf.c: Likewise.
4325         * soft-fp/floatunditf.c: Likewise.
4326         * soft-fp/floatunsidf.c: Likewise.
4327         * soft-fp/floatunsisf.c: Likewise.
4328         * soft-fp/floatunsitf.c: Likewise.
4329         * soft-fp/floatuntidf.c: Likewise.
4330         * soft-fp/floatuntisf.c: Likewise.
4331         * soft-fp/floatuntitf.c: Likewise.
4332         * soft-fp/fmadf4.c: Likewise.
4333         * soft-fp/fmasf4.c: Likewise.
4334         * soft-fp/fmatf4.c: Likewise.
4335         * soft-fp/gedf2.c: Likewise.
4336         * soft-fp/gesf2.c: Likewise.
4337         * soft-fp/getf2.c: Likewise.
4338         * soft-fp/ledf2.c: Likewise.
4339         * soft-fp/lesf2.c: Likewise.
4340         * soft-fp/letf2.c: Likewise.
4341         * soft-fp/muldf3.c: Likewise.
4342         * soft-fp/mulsf3.c: Likewise.
4343         * soft-fp/multf3.c: Likewise.
4344         * soft-fp/negdf2.c: Likewise.
4345         * soft-fp/negsf2.c: Likewise.
4346         * soft-fp/negtf2.c: Likewise.
4347         * soft-fp/op-1.h: Likewise.
4348         * soft-fp/op-2.h: Likewise.
4349         * soft-fp/op-4.h: Likewise.
4350         * soft-fp/op-8.h: Likewise.
4351         * soft-fp/op-common.h: Likewise.
4352         * soft-fp/quad.h: Likewise.
4353         * soft-fp/single.h: Likewise.
4354         * soft-fp/soft-fp.h: Likewise.
4355         * soft-fp/sqrtdf2.c: Likewise.
4356         * soft-fp/sqrtsf2.c: Likewise.
4357         * soft-fp/sqrttf2.c: Likewise.
4358         * soft-fp/subdf3.c: Likewise.
4359         * soft-fp/subsf3.c: Likewise.
4360         * soft-fp/subtf3.c: Likewise.
4361         * soft-fp/truncdfsf2.c: Likewise.
4362         * soft-fp/trunctfdf2.c: Likewise.
4363         * soft-fp/trunctfsf2.c: Likewise.
4364         * soft-fp/trunctfxf2.c: Likewise.
4365         * soft-fp/unorddf2.c: Likewise.
4366         * soft-fp/unordsf2.c: Likewise.
4367         * soft-fp/unordtf2.c: Likewise.
4368
4369 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
4370
4371         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
4372         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
4373
4374 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
4375
4376         * elf/dl-libc.c: Clear initfini list after freeing.
4377
4378 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
4379
4380         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
4381         * soft-fp/addsf3.c: Likewise.
4382         * soft-fp/addtf3.c: Likewise.
4383         * soft-fp/divdf3.c: Likewise.
4384         * soft-fp/divsf3.c: Likewise.
4385         * soft-fp/divtf3.c: Likewise.
4386         * soft-fp/double.h: Likewise.
4387         * soft-fp/eqdf2.c: Likewise.
4388         * soft-fp/eqsf2.c: Likewise.
4389         * soft-fp/eqtf2.c: Likewise.
4390         * soft-fp/extenddftf2.c: Likewise.
4391         * soft-fp/extended.h: Likewise.
4392         * soft-fp/extendsfdf2.c: Likewise.
4393         * soft-fp/extendsftf2.c: Likewise.
4394         * soft-fp/extendxftf2.c: Likewise.
4395         * soft-fp/fixdfdi.c: Likewise.
4396         * soft-fp/fixdfsi.c: Likewise.
4397         * soft-fp/fixdfti.c: Likewise.
4398         * soft-fp/fixsfdi.c: Likewise.
4399         * soft-fp/fixsfsi.c: Likewise.
4400         * soft-fp/fixsfti.c: Likewise.
4401         * soft-fp/fixtfdi.c: Likewise.
4402         * soft-fp/fixtfsi.c: Likewise.
4403         * soft-fp/fixtfti.c: Likewise.
4404         * soft-fp/fixunsdfdi.c: Likewise.
4405         * soft-fp/fixunsdfsi.c: Likewise.
4406         * soft-fp/fixunsdfti.c: Likewise.
4407         * soft-fp/fixunssfdi.c: Likewise.
4408         * soft-fp/fixunssfsi.c: Likewise.
4409         * soft-fp/fixunssfti.c: Likewise.
4410         * soft-fp/fixunstfdi.c: Likewise.
4411         * soft-fp/fixunstfsi.c: Likewise.
4412         * soft-fp/fixunstfti.c: Likewise.
4413         * soft-fp/floatdidf.c: Likewise.
4414         * soft-fp/floatdisf.c: Likewise.
4415         * soft-fp/floatditf.c: Likewise.
4416         * soft-fp/floatsidf.c: Likewise.
4417         * soft-fp/floatsisf.c: Likewise.
4418         * soft-fp/floatsitf.c: Likewise.
4419         * soft-fp/floattidf.c: Likewise.
4420         * soft-fp/floattisf.c: Likewise.
4421         * soft-fp/floattitf.c: Likewise.
4422         * soft-fp/floatundidf.c: Likewise.
4423         * soft-fp/floatundisf.c: Likewise.
4424         * soft-fp/floatunsidf.c: Likewise.
4425         * soft-fp/floatunsisf.c: Likewise.
4426         * soft-fp/floatuntidf.c: Likewise.
4427         * soft-fp/floatuntisf.c: Likewise.
4428         * soft-fp/floatuntitf.c: Likewise.
4429         * soft-fp/fmadf4.c: Likewise.
4430         * soft-fp/fmasf4.c: Likewise.
4431         * soft-fp/fmatf4.c: Likewise.
4432         * soft-fp/gedf2.c: Likewise.
4433         * soft-fp/gesf2.c: Likewise.
4434         * soft-fp/getf2.c: Likewise.
4435         * soft-fp/ledf2.c: Likewise.
4436         * soft-fp/lesf2.c: Likewise.
4437         * soft-fp/letf2.c: Likewise.
4438         * soft-fp/muldf3.c: Likewise.
4439         * soft-fp/mulsf3.c: Likewise.
4440         * soft-fp/multf3.c: Likewise.
4441         * soft-fp/negdf2.c: Likewise.
4442         * soft-fp/negsf2.c: Likewise.
4443         * soft-fp/negtf2.c: Likewise.
4444         * soft-fp/op-1.h: Likewise.
4445         * soft-fp/op-2.h: Likewise.
4446         * soft-fp/op-4.h: Likewise.
4447         * soft-fp/op-8.h: Likewise.
4448         * soft-fp/op-common.h: Likewise.
4449         * soft-fp/quad.h: Likewise.
4450         * soft-fp/single.h: Likewise.
4451         * soft-fp/soft-fp.h: Likewise.
4452         * soft-fp/sqrtdf2.c: Likewise.
4453         * soft-fp/sqrtsf2.c: Likewise.
4454         * soft-fp/sqrttf2.c: Likewise.
4455         * soft-fp/subdf3.c: Likewise.
4456         * soft-fp/subsf3.c: Likewise.
4457         * soft-fp/subtf3.c: Likewise.
4458         * soft-fp/truncdfsf2.c: Likewise.
4459         * soft-fp/trunctfdf2.c: Likewise.
4460         * soft-fp/trunctfsf2.c: Likewise.
4461         * soft-fp/trunctfxf2.c: Likewise.
4462         * soft-fp/unorddf2.c: Likewise.
4463         * soft-fp/unordsf2.c: Likewise.
4464         * soft-fp/unordtf2.c: Likewise.
4465
4466 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
4467
4468         [BZ #15672]
4469         * misc/error.c (error_tail): Fix possible buffer overflow.
4470
4471 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
4472
4473         [BZ #13028]
4474         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
4475         address.
4476
4477 2013-10-14  P. J. McDermott  <pj@pehjota.net>
4478
4479         [BZ #832]
4480         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
4481         testing pipefail option.
4482
4483 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
4484
4485         * soft-fp/double.h: Indent preprocessor directives inside #if.
4486         * soft-fp/extended.h: Likewise.
4487         * soft-fp/op-2.h: Likewise.
4488         * soft-fp/op-4.h: Likewise.
4489         * soft-fp/op-common.h: Likewise.
4490         * soft-fp/quad.h: Likewise.
4491         * soft-fp/single.h: Likewise.
4492         * soft-fp/soft-fp.h: Likewise.
4493
4494 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
4495
4496         * iconv/iconv_prog.c: Fix typos.
4497         * stdio-common/psiginfo-data.h: Likewise.
4498
4499 2013-10-12   Reuben Thomas <rrt@sc3d.org>
4500
4501         [BZ #15764]
4502         * locale/setlocale.c: Fix typo.
4503
4504 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
4505
4506         [BZ #16036]
4507         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
4508         signaling NaN arguments.
4509         * soft-fp/unordsf2.c (__unordsf2): Likewise.
4510         * soft-fp/unordtf2.c (__unordtf2): Likewise.
4511
4512         [BZ #14910]
4513         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
4514         unordered operands.
4515         * soft-fp/gesf2.c (__gesf2): Likewise.
4516         * soft-fp/getf2.c (__getf2): Likewise.
4517         * soft-fp/ledf2.c (__ledf2): Likewise.
4518         * soft-fp/lesf2.c (__lesf2): Likewise.
4519         * soft-fp/letf2.c (__letf2): Likewise.
4520
4521         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
4522         * soft-fp/eqsf2.c (__eqsf2): Likewise.
4523         * soft-fp/eqtf2.c (__eqtf2): Likewise.
4524         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
4525         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
4526         * soft-fp/fixdfti.c (__fixdfti): Likewise.
4527         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
4528         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
4529         * soft-fp/fixsfti.c (__fixsfti): Likewise.
4530         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
4531         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
4532         * soft-fp/fixtfti.c (__fixtfti): Likewise.
4533         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
4534         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
4535         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
4536         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
4537         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
4538         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
4539         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
4540         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
4541         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
4542         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
4543         * soft-fp/floatdisf.c (__floatdisf): Likewise.
4544         * soft-fp/floatsisf.c (__floatsisf): Likewise.
4545         * soft-fp/floattidf.c (__floattidf): Likewise.
4546         * soft-fp/floattisf.c (__floattisf): Likewise.
4547         * soft-fp/floattitf.c (__floattitf): Likewise.
4548         * soft-fp/floatundidf.c (__floatundidf): Likewise.
4549         * soft-fp/floatundisf.c (__floatundisf): Likewise.
4550         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
4551         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
4552         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
4553         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
4554         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
4555         * soft-fp/gesf2.c (__gesf2): Likewise.
4556         * soft-fp/getf2.c (__getf2): Likewise.
4557         * soft-fp/ledf2.c (__ledf2): Likewise.
4558         * soft-fp/lesf2.c (__lesf2): Likewise.
4559         * soft-fp/letf2.c (__letf2): Likewise.
4560
4561         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
4562         Undefine and redefine.
4563         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
4564         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
4565         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
4566         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
4567         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4568         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
4569         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4570         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
4571         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4572         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
4573         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4574         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
4575         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4576         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
4577         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
4578
4579         [BZ #16032]
4580         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
4581         without decrementing exponent if mantissa >= that for the
4582         denominator, not >.
4583         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
4584         denominator, not >.  Decrement exponent in < case instead of
4585         incrementing in >= case.
4586         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
4587         without decrementing exponent if mantissa >= that for the
4588         denominator, not >.
4589
4590         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
4591         computing saturated result for unsigned overflow.
4592
4593 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4594             Jeff Law  <law@redhat.com>
4595
4596         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
4597         (atan2Mp): Add systemtap probe marker.
4598         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
4599         (__ieee754_log): Add systemtap probe marker.
4600         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
4601         (atanMp): Add systemtap probe marker.
4602         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
4603         (tanMp): Add systemtap probe marker.
4604         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
4605         (__slowexp): Add systemtap probe marker.
4606         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
4607         (__slowpow): Add systemtap probe marker.
4608         * manual/probes.texi: Document probes.
4609
4610 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
4611
4612         [BZ #15362]
4613         * libio/fileops.c (_IO_new_file_write): Return count of bytes
4614         written.
4615         (_IO_new_file_xsputn): Don't return EOF if nothing has been
4616         written.
4617         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
4618         written to buffer but not flushed.
4619         * libio/iofwrite_u.c:  Likewise.
4620         * libio/iopadn.c:  Return bytes returned even if EOF was
4621         encountered.
4622         * libio/iowpadn.c:  Likewise.
4623         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
4624         if _IO_padn does not write the whole buffer.
4625         [!COMPILE_WPRINTF] (PAD): Likewise.
4626
4627 2013-10-10  David S. Miller  <davem@davemloft.net>
4628
4629         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
4630         directory block.
4631
4632 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4633
4634         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
4635         instead of FSF address.
4636         * soft-fp/fixdfti.c: Likewise.
4637         * soft-fp/fixsfti.c: Likewise.
4638         * soft-fp/fixtfti.c: Likewise.
4639         * soft-fp/fixunsdfti.c: Likewise.
4640         * soft-fp/fixunssfti.c: Likewise.
4641         * soft-fp/fixunstfti.c: Likewise.
4642         * soft-fp/floattidf.c: Likewise.
4643         * soft-fp/floattisf.c: Likewise.
4644         * soft-fp/floattitf.c: Likewise.
4645         * soft-fp/floatuntidf.c: Likewise.
4646         * soft-fp/floatuntisf.c: Likewise.
4647         * soft-fp/floatuntitf.c: Likewise.
4648         * soft-fp/trunctfxf2.c: Likewise.
4649
4650         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
4651         * soft-fp/fixdfti.c: Likewise.
4652         * soft-fp/fixsfti.c: Likewise.
4653         * soft-fp/fixtfti.c: Likewise.
4654         * soft-fp/fixunsdfti.c: Likewise.
4655         * soft-fp/fixunssfti.c: Likewise.
4656         * soft-fp/fixunstfti.c: Likewise.
4657         * soft-fp/floattidf.c: Likewise.
4658         * soft-fp/floattisf.c: Likewise.
4659         * soft-fp/floattitf.c: Likewise.
4660         * soft-fp/floatuntidf.c: Likewise.
4661         * soft-fp/floatuntisf.c: Likewise.
4662         * soft-fp/floatuntitf.c: Likewise.
4663         * soft-fp/trunctfxf2.c: Likewise.
4664
4665 2013-10-10  David S. Miller  <davem@davemloft.net>
4666
4667         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4668
4669 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
4670
4671         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4672         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
4673         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
4674         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
4675         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
4676         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
4677         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
4678
4679         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
4680         for NaNs before doing comparisons on argument.
4681         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
4682         Likewise.
4683
4684 2013-10-10  Will Newton  <will.newton@linaro.org>
4685
4686         * malloc/hooks.c (memalign_check): Ensure the value of bytes
4687         passed to _int_memalign does not overflow.
4688
4689 2013-10-10  Torvald Riegel  <triegel@redhat.com>
4690
4691         * scripts/bench.pl: Add include-sources directive.
4692         * benchtests/README: Update documentation.
4693
4694 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
4695
4696         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
4697         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
4698         instead of FP_INIT_ROUNDMODE.
4699         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
4700         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
4701
4702         [BZ #16034]
4703         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
4704         copy class of input value.
4705         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
4706         not handle exceptions.
4707         * soft-fp/negsf2.c (__negsf2): Likewise.
4708         * soft-fp/negtf2.c (__negtf2): Likewise.
4709         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
4710
4711 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
4712
4713         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
4714         semicolon.  From Linux kernel.
4715
4716 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
4717
4718         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
4719
4720 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
4721
4722         [BZ #156]
4723         * manual/socket.texi: Added statement about buffer
4724         for gethostbyname2_r.
4725
4726 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
4727
4728         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
4729         Use .p2align directive instead, throughout.
4730         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4731         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4732         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
4733         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4734         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4735         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4736         * sysdeps/x86_64/strchr.S: Likewise.
4737         * sysdeps/x86_64/strrchr.S: Likewise.
4738
4739 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4740
4741         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
4742
4743         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
4744
4745         * sysdeps/generic/math_private.h (__mpsin1): Remove
4746         declaration.
4747         (__mpcos1): Likewise.
4748         (__mpsin): New argument __range_reduce.
4749         (__mpcos): Likewise.
4750         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4751         (slow): Use __mpsin and __mpcos.
4752         (slow1): Likewise.
4753         (slow2): Likewise.
4754         (sloww): Likewise.
4755         (sloww1): Likewise.
4756         (sloww2): Likewise.
4757         (bsloww): Likewise.
4758         (bsloww1): Likewise.
4759         (bsloww2): Likewise.
4760         (cslow2): Likewise.
4761         (csloww): Likewise.
4762         (csloww1): Likewise.
4763         (csloww2): Likewise.
4764         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
4765         range_reduce.  Merge in __mpsin1.
4766         (__mpcos): Likewise.
4767         (__mpsin1): Remove.
4768         (__mpcos1): Likewise.
4769
4770 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
4771
4772         * locale/loadlocale.c (_nl_intern_locale_data): Use
4773         LOCFILE_ALIGNED_P.
4774         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
4775         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
4776         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
4777         obstack data is appropriately aligned.
4778         (obstack_int32_grow_fast): Likewise.
4779         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
4780         * locale/programs/locfile.c (add_locale_uint32): Likewise.
4781         (add_locale_uint32_array): Likewise.
4782
4783 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
4784
4785         * benchtests/Makefile: Remove ARGLIST and RET variables.
4786         ($(objpfx)bench-%.c): Pass only function name to the script.
4787         * benchtests/README: Update documentation.
4788         * benchtests/acos-inputs: Add new directives.
4789         * benchtests/acosh-inputs: Likewise.
4790         * benchtests/asin-inputs: Likewise.
4791         * benchtests/asinh-inputs: Likewise.
4792         * benchtests/atan-inputs: Likewise.
4793         * benchtests/atanh-inputs: Likewise.
4794         * benchtests/cos-inputs: Likewise.
4795         * benchtests/cosh-inputs: Likewise.
4796         * benchtests/exp-inputs: Likewise.
4797         * benchtests/log-inputs: Likewise.
4798         * benchtests/pow-inputs: Likewise.
4799         * benchtests/rint-inputs: Likewise.
4800         * benchtests/sin-inputs: Likewise.
4801         * benchtests/sinh-inputs: Likewise.
4802         * benchtests/tan-inputs: Likewise.
4803         * benchtests/tanh-inputs: Likewise.
4804         * scripts/bench.pl: Add support for new directives.
4805
4806 2013-10-07  Alan Modra  <amodra@gmail.com>
4807
4808         * README: Fix careless merge.
4809
4810 2013-10-05  Alan Modra  <amodra@gmail.com>
4811
4812         * NEWS: Mention powerpc64le support and bugs fixed.
4813         * README: Both big-endian and little-endian powerpc64 supported.
4814
4815 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4816
4817         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
4818         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
4819         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
4820         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
4821
4822 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
4823
4824         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
4825         match prototype.
4826
4827 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
4828
4829         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
4830         Move -mhard-float appending from
4831         ports/sysdeps/powerpc/powerpc32/Makefile.
4832         [$(with-fp) = yes] (ASFLAGS): Likewise.
4833         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
4834         * sysdeps/powerpc/nofpu: Move directory from
4835         ports/sysdeps/powerpc/nofpu.
4836         * sysdeps/powerpc/soft-fp: Move directory from
4837         ports/sysdeps/powerpc/soft-fp.
4838         * sysdeps/powerpc/powerpc32/405: Move directory from
4839         ports/sysdeps/powerpc/powerpc32/405.
4840         * sysdeps/powerpc/powerpc32/440: Move directory from
4841         ports/sysdeps/powerpc/powerpc32/440.
4842         * sysdeps/powerpc/powerpc32/464: Move directory from
4843         ports/sysdeps/powerpc/powerpc32/464.
4844         * sysdeps/powerpc/powerpc32/476: Move directory from
4845         ports/sysdeps/powerpc/powerpc32/476.
4846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
4847         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
4848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
4849         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
4850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
4851         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
4852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
4853         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
4854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
4855         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
4856         * README: Update for powerpc-*-linux-gnu software floating point
4857         support in libc.
4858
4859         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
4860         case to powerpc/powerpc32*.
4861         * sysdeps/unix/sysv/linux/configure: Regenerated.
4862
4863         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
4864         (_FPU_MASK_OM): Define as 0x04.
4865         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
4866         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
4867         0x00c10080.
4868         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
4869         0x0000003c.
4870         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
4871
4872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
4873         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4874         getcontext_e500.
4875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
4876         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
4877         setcontext_e500.
4878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4879         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
4880         and setcontext_e500.
4881
4882 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
4883
4884         * locale/iso-3166.def: Update iso-1366.def and related occurrences
4885
4886 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4887
4888         * manual/threads.texi (Default Thread Attributes): Fix typo.
4889
4890 2013-10-04  Will Newton  <will.newton@linaro.org>
4891
4892         * malloc/Makefile: Add tst-memalign.
4893         * malloc/tst-memalign.c: New file.
4894
4895         * malloc/tst-posix_memalign.c: Add comments.
4896         (do_test): Add comments and call free on all potentially
4897         allocated pointers. Add space after cast.
4898
4899         * malloc/tst-pvalloc.c: Add comments.
4900         (do_test): Add comments and call free on all potentially
4901         allocated pointers. Remove duplicate check for NULL pointer.
4902         Add space after cast.
4903
4904         * malloc/tst-valloc.c: Add comments.
4905         (do_test): Add comments and call free on all potentially
4906         allocated pointers. Remove duplicate check for NULL pointer.
4907         Add space after cast.
4908
4909 2013-10-04  Alan Modra  <amodra@gmail.com>
4910
4911         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4912         Use stdint types in rather than __attribute__((mode())).
4913         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4914
4915 2013-10-04  Alan Modra  <amodra@gmail.com>
4916
4917         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4918         Correct handling of unaligned relocs for little-endian.
4919         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4920
4921 2013-10-04  Alan Modra  <amodra@gmail.com>
4922
4923         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
4924         * configure: Regenerate.
4925         * nptl/shlib-versions: Powerpc*le starts at 2.18.
4926         * shlib-versions: Likewise.
4927
4928 2013-10-04  Alan Modra  <amodra@gmail.com>
4929
4930         * string/tester.c (test_memrchr): Increment reported test cycle.
4931
4932 2013-10-04  Alan Modra  <amodra@gmail.com>
4933
4934         * string/test-memcpy.c (do_one_test): When reporting errors, print
4935         string address and don't overrun end of string.
4936
4937 2013-10-04  Alan Modra  <amodra@gmail.com>
4938
4939         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
4940         insrdi.  Make better use of reg selection to speed exit slightly.
4941         Schedule entry path a little better.  Remove useless "are we done"
4942         checks on entry to main loop.  Handle wrapping around zero address.
4943         Correct main loop count.  Handle single left-over word from main
4944         loop inline rather than by using loop_small.  Remove extra word
4945         case in loop_small caused by wrong loop count.  Add little-endian
4946         support.
4947         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4948         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
4949         cache hint.
4950         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4951         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
4952         support.  Avoid rlwimi.
4953         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
4954
4955 2013-10-04  Alan Modra  <amodra@gmail.com>
4956
4957         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
4958         insrdi.  Formatting.
4959         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
4960         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4961         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4962         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4963         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4964         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
4965
4966 2013-10-04  Alan Modra  <amodra@gmail.com>
4967
4968         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
4969         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4970         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4971         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
4972         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4973         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4974         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4975         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
4976         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
4977         use of regs.  Use power7 mtocrf.  Tidy function tails.
4978
4979 2013-10-04  Alan Modra  <amodra@gmail.com>
4980
4981         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
4982         Formatting.  Consistently use rXXX register defines or rN defines.
4983         Use early exit labels that avoid restoring unused non-volatile regs.
4984         Make cr field use more consistent with rWORDn compares.  Rename
4985         regs used as shift registers for unaligned loop, using rN defines
4986         for short lifetime/multiple use regs.
4987         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4988         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
4989         addi 1,1,64 to pop stack frame.  Simplify return value code.
4990         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4991
4992 2013-10-04  Alan Modra  <amodra@gmail.com>
4993
4994         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
4995         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
4996         rather than rlwimi.
4997         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
4998         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
4999         little-endian support.  Correct typos.
5000         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
5001         rather than rlwimi.
5002         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
5003         in loop and entry code to keep "and." results.
5004         (strchr): Add little-endian support.  Comment.  Move cntlzd
5005         earlier in tail.
5006         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
5007
5008 2013-10-04  Alan Modra  <amodra@gmail.com>
5009
5010         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
5011         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
5012         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
5013         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
5014
5015 2013-10-04  Alan Modra  <amodra@gmail.com>
5016
5017         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
5018         (rTMP): Define as r11.
5019         (strcmp): Add little-endian support.  Optimise tail.
5020         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
5021         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5022         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
5023         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
5024         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
5025         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5026         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
5027
5028 2013-10-04  Alan Modra  <amodra@gmail.com>
5029
5030         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
5031         little-endian support.  Remove unnecessary "are we done" tests.
5032         Handle "s" wrapping around zero and extremely large "size".
5033         Correct main loop count.  Handle single left-over word from main
5034         loop inline rather than by using small_loop.  Correct comments.
5035         Delete "zero" tail, use "end_max" instead.
5036         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
5037
5038 2013-10-04  Alan Modra  <amodra@gmail.com>
5039
5040         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
5041         support.  Don't branch over align.
5042         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
5043         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
5044         support.  Rearrange tmp reg use to suit.  Comment.
5045         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
5046
5047 2013-10-04  Alan Modra  <amodra@gmail.com>
5048
5049         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
5050
5051 2013-10-04  Alan Modra  <amodra@gmail.com>
5052
5053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
5054         conditional form of branch and link when obtaining pc.
5055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5056
5057 2013-10-04  Alan Modra  <amodra@gmail.com>
5058
5059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
5060         HIWORD/LOWORD.
5061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
5062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
5063
5064 2013-10-04  Alan Modra  <amodra@gmail.com>
5065
5066         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
5067         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
5068         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5069         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
5070         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5071         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5072         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
5073         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5074         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5075         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
5076
5077 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5078             Alistair Popple <alistair@ozlabs.au.ibm.com>
5079             Alan Modra <amodra@gmail.com>
5080
5081         [BZ #15723]
5082         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
5083         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
5084         _dl_hwcap access for little-endian.
5085         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
5086         destroy vmx regs when saving unaligned.
5087         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
5088         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
5089         destroy vmx regs when saving unaligned.
5090
5091 2013-10-04  Alan Modra  <amodra@gmail.com>
5092
5093         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
5094         Don't use a union to pack hi/low value.
5095
5096 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5097
5098         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
5099         for little-endian.
5100         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5101         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
5102         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5103         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5104         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5105
5106 2013-10-04  Alan Modra  <amodra@gmail.com>
5107
5108         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
5109         constants to usual value for .cst8 section, and remove redundant
5110         high address load.
5111         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
5112         constant for 0x1p52.  Load little-endian words of double from
5113         correct stack offsets.
5114
5115 2013-10-04  Alan Modra  <amodra@gmail.com>
5116
5117         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
5118         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
5119         words of double from correct stack offsets.
5120         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5121         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
5122         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5123         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5124         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5125         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5126         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5127         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5128         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5129         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5130         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5131         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5132         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5133         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5134         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5135         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
5136         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5137
5138 2013-10-04  Alan Modra  <amodra@gmail.com>
5139
5140         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
5141         64-bit int/double union.
5142         (_FPU_SETCW): Likewise.
5143         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
5144         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
5145
5146 2013-10-04  Alan Modra  <amodra@gmail.com>
5147
5148         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
5149         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
5150
5151 2013-10-04  Alan Modra  <amodra@gmail.com>
5152
5153         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
5154         use vector int constants.
5155         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
5156
5157 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5158
5159         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
5160         array with long long.
5161         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
5162         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
5163         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
5164         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
5165         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
5166         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
5167         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
5168         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
5169         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
5170         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
5171         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
5172         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
5173         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
5174
5175 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
5176
5177         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
5178         (__signbit): Likewise.  Correct for little-endian.
5179         (__signbitl): Call __signbit.
5180         (lrint): Correct for little-endian.
5181         (lrintf): Call lrint.
5182
5183 2013-10-04  Alan Modra  <amodra@gmail.com>
5184
5185         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
5186         union 32-bit int array member with 64-bit int array.
5187         (t515, tm256): Double rather than long double.
5188         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
5189
5190 2013-10-04  Alan Modra  <amodra@gmail.com>
5191
5192         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
5193         Delete.
5194         (IEEE854_LONG_DOUBLE_BIAS): Delete.
5195         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
5196         version of math_ldbl.h.
5197
5198 2013-10-04  Alan Modra  <amodra@gmail.com>
5199
5200         [BZ #15734], [BZ #15735]
5201         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5202         all uses of ieee875 long double macros and unions.  Simplify test
5203         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
5204         ldbl_extract_mantissa value for ix,iy exponents.  Properly
5205         normalize after ldbl_extract_mantissa, and don't add hidden bit
5206         already handled.  Don't treat low word of ieee854 mantissa like
5207         low word of IBM long double and mask off bit when testing for
5208         zero.
5209         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
5210         all uses of ieee875 long double macros and unions.  Simplify tests
5211         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
5212         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
5213         two1022, instead use their values.  Recognise that tests for large
5214         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
5215         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
5216         Rewrite all uses of ieee875 long double macros and unions.  Simplify
5217         test for 0.0L and nan.  Correct negation.
5218         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
5219         ieee875 long double macros and unions.  Correct output for large
5220         magnitude x.  Correct absolute value calculation.
5221         (__erfcl): Likewise.
5222         * math/libm-test.inc: Add tests for errors discovered in IBM long
5223         double versions of fmodl, remainderl, erfl and erfcl.
5224
5225 2013-10-04  Alan Modra  <amodra@gmail.com>
5226
5227         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
5228         all uses of ieee854 long double macros and unions.  Simplify tests
5229         for long doubles that are fully specified by the high double.
5230         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
5231         Likewise.
5232         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
5233         Remove dead code too.
5234         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5235         (__ieee754_ynl): Likewise.
5236         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5237         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
5238         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5239         Remove dead code too.
5240         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
5241         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
5242         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5243         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
5244         Simplify.
5245         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
5246         Simplify.
5247         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
5248         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
5249         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
5250         Comment on variable precision.
5251         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
5252         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5253         Likewise.
5254         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5255         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5256         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5257         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
5258         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
5259
5260 2013-10-04  Alan Modra  <amodra@gmail.com>
5261
5262         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
5263         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
5264         all uses of ieee854 long double macros and unions.
5265         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
5266         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
5267         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
5268         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
5269         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5270         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
5271         Likewise.
5272         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
5273         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5274         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
5275         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5276         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
5277         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
5278         Simplify sign and nan test too.
5279         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
5280         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
5281         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
5282         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
5283         Likewise.
5284         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
5285         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
5286         Likewise.
5287         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5288         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
5289         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
5290         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
5291         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
5292         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
5293
5294 2013-10-04  Alan Modra  <amodra@gmail.com>
5295
5296         * stdio-common/printf_size.c (__printf_size): Don't use
5297         union ieee854_long_double in fpnum union.
5298         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
5299         signbit macro to retrieve sign from long double.
5300         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
5301         retrieve sign from long double.
5302         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
5303         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
5304         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
5305         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5306         * math/test-misc.c (main): Don't use union ieee854_long_double.
5307
5308 2013-10-04  Alan Modra  <amodra@gmail.com>
5309
5310         [BZ #15680]
5311         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
5312         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
5313         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
5314         calculation.  Remove unnecessary test for denormal exponent.
5315         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
5316         Correct handling of denormals.  Avoid undefined shift behaviour.
5317         Correct normalisation of low mantissa when low double is denormal.
5318         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5319         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
5320         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
5321         Correct normalisation of low mantissa.  Test for overflow of high
5322         mantissa and normalise.
5323         (ldbl_nearbyint): Use more readable constant for two52.
5324         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
5325         (__mpn_construct_long_double): Fix test for overflow of high
5326         mantissa and correct normalisation.  Avoid undefined shift.
5327
5328 2013-10-04  Alan Modra  <amodra@gmail.com>
5329
5330         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
5331         (union ibm_extended_long_double): Define as an array of ieee754_double.
5332         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
5333         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
5334         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
5335         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5336         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5337         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
5338         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5339         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
5340         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5341         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
5342         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
5343
5344 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
5345
5346         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
5347         page size instead of calling getpagesize.
5348
5349         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
5350         (LOCFILE_ALIGN_MASK): Likewise.
5351         (LOCFILE_ALIGN_UP): Likewise.
5352         (LOCFILE_ALIGNED_P): Likewise.
5353         * locale/programs/ld-collate.c (collate_output): Use the new
5354         macros instead of __alignof__ (int32_t).
5355         * locale/weight.h (findidx): Likewise.
5356
5357 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
5358
5359         [BZ #431]
5360         * manual/string.texi: Fix strncat and wcsncat.
5361
5362 2013-10-03  Brooks Moses  <bmoses@google.com>
5363
5364         [BZ #15915]
5365         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
5366         * Makerules: ...here, and adjust associated comments.
5367
5368 2013-10-02  Will Newton  <will.newton@linaro.org>
5369
5370         * malloc/Makefile: Add tst-pvalloc.
5371         * malloc/tst-pvalloc.c: New file.
5372
5373 2013-10-02  Will Newton  <will.newton@linaro.org>
5374
5375         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
5376         improve test coverage.
5377
5378 2013-10-02  Will Newton  <will.newton@linaro.org>
5379
5380         * malloc/Makefile: Add tst-posix_memalign.
5381         * malloc/tst-posix_memalign.c: New file.
5382
5383 2013-10-01  Eric Blake  <eblake@redhat.com>
5384
5385         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
5386         Use __THROWNL rather than __THROW on static functions.
5387
5388 2013-09-30  Petr Machata  <pmachata@redhat.com>
5389
5390         * elf/elf.h (R_AARCH64_ABS16): New macro.
5391         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
5392         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
5393         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
5394         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
5395         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
5396         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
5397         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
5398         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
5399         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
5400         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
5401         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
5402         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
5403         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
5404         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
5405         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
5406         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
5407         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
5408         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
5409         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
5410         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
5411         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
5412         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
5413         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
5414         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
5415         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
5416         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
5417         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
5418         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
5419         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
5420         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
5421         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
5422         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
5423         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
5424         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
5425         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
5426         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
5427         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
5428         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
5429         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
5430         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
5431         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
5432         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
5433         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
5434         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
5435         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
5436         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
5437         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
5438         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
5439         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
5440         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
5441         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
5442         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
5443         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
5444         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
5445         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
5446         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
5447         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
5448         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
5449         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
5450         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
5451         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
5452         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
5453         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
5454         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
5455         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
5456         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
5457         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
5458         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
5459         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
5460         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
5461         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
5462         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
5463         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
5464         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
5465         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
5466         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
5467         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
5468         (R_AARCH64_TLSDESC_LDR): Likewise.
5469         (R_AARCH64_TLSDESC_ADD): Likewise.
5470         (R_AARCH64_TLSDESC_CALL): Likewise.
5471
5472 2013-09-30  Andreas Schwab  <schwab@suse.de>
5473
5474         [BZ #15048]
5475         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
5476         the nss database lookup.
5477         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5478         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5479
5480 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
5481
5482         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
5483
5484 2013-09-28  P. J. McDermott  <pj@pehjota.net>
5485
5486         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
5487         ${Bash-specific parameter/pattern/string} parameter expansion.
5488         * sysdeps/unix/make-syscalls.sh: Likewise.
5489
5490 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5491
5492         * sysdeps/sh/stackguard-macros.h: New file.
5493
5494 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
5495
5496         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5497         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
5498         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
5499         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
5500         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5501         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
5502
5503 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5504
5505         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
5506         Fix thread ID register.
5507
5508 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
5509
5510         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
5511         [POSIX || UNIX98]: Require rather than permitting all symbols from
5512         <time.h>.
5513         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
5514         element of struct sched_param.
5515         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
5516         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
5517         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
5518         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
5519         constant.
5520
5521 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
5522
5523         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
5524         argument calculation.
5525
5526 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
5527
5528         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
5529         Expect macro.
5530         [POSIX] (pthread_attr_t): Do not require type.
5531         [POSIX] (pthread_cond_t): Likewise.
5532         [POSIX] (pthread_condattr_t): Likewise.
5533         [POSIX] (pthread_key_t): Likewise.
5534         [POSIX] (pthread_mutex_t): Likewise.
5535         [POSIX] (pthread_mutexattr_t): Likewise.
5536         [POSIX] (pthread_once_t): Likewise.
5537         [POSIX] (pthread_t): Likewise.
5538         [POSIX-based standards] (pthread_atfork): Expect function.
5539
5540 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
5541             Richard Sandiford  <richard@codesourcery.com>
5542
5543         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
5544         (swap_endianness_p): New extern variable.
5545         (set_big_endian): New inline function.
5546         (maybe_swap_uint32): Likewise.
5547         (maybe_swap_uint32_array): Likewise.
5548         (maybe_swap_uint32_obstack): Likewise.
5549         * locale/programs/locfile.c: Include <stdbool.h>.
5550         (swap_endianness_p): New variable.
5551         (add_locale_uint32): Call maybe_swap_uint32.
5552         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
5553         (write_locale_data): Call maybe_swap_uint32_array.
5554         * locale/programs/ld-collate.c (obstack_int32_grow): Call
5555         maybe_swap_uint32.
5556         (obstack_int32_grow_fast): Likewise.
5557         (output_weightwc): Call maybe_swap_uint32_obstack.
5558         (collate_output): Likewise.
5559         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
5560         (OPT_LITTLE_ENDIAN): Likewise.
5561         (options): Add --little-endian and --big-endian options.
5562         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
5563         * locale/programs/locarchive.c: Include "locfile.h".
5564         (GET): New macro.
5565         (SET): Likewise.
5566         (INC): Likewise.
5567         (create_archive): Use the new macros to access fields of
5568         structures directly mapped from or written to locale archives.
5569         (oldlocrecentcmp): Likewise.
5570         (enlarge_archive): Likewise.
5571         (insert_name): Likewise.
5572         (add_alias): Likewise.
5573         (add_locale): Likewise.
5574         (delete_locales_from_archive): Likewise.
5575         (show_archive_content): Likewise.
5576         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
5577         locale data.
5578
5579 2013-09-24  Roland McGrath  <roland@hack.frob.com>
5580
5581         * manual/freemanuals.texi: Updated from (newly) canonical copy at
5582         http://www.gnu.org/doc/freemanuals.texi.
5583         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
5584
5585 2013-09-24  Will Newton  <will.newton@linaro.org>
5586
5587         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
5588         macro.
5589
5590 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
5591
5592         * locale/hashval.h (compute_hashval): Interpret bytes of key as
5593         unsigned char.
5594
5595 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
5596
5597         * manual/threads.texi (POSIX Threads): Fix a typo.
5598
5599 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5600
5601         [BZ #14547]
5602         * string/tst-strcoll-overflow.c: New test case.
5603         * string/Makefile (xtests): Add tst-strcoll-overflow.
5604         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
5605         cache if string sizes may cause integer overflow.
5606
5607         [BZ #14547]
5608         * string/strcoll_l.c (coll_seq): New members rule, idx,
5609         save_idx and back_us.
5610         (get_next_seq_nocache): New function.
5611         (do_compare_nocache): New function.
5612         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
5613         when malloc fails.
5614
5615 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
5616
5617         [BZ #15754]
5618         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
5619         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
5620         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
5621
5622         [BZ #15754]
5623         * elf/Makefile (tests): Add tst-ptrguard1.
5624         (tests-static): Add tst-ptrguard1-static.
5625         (tst-ptrguard1-ARGS): Define.
5626         (tst-ptrguard1-static-ARGS): Define.
5627         * elf/tst-ptrguard1.c: New file.
5628         * elf/tst-ptrguard1-static.c: New file.
5629         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
5630         * sysdeps/i386/stackguard-macros.h: Likewise.
5631         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
5632         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
5633         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5634         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5635         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
5636         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
5637
5638 2013-09-23  Hector Marco  <hecmargi@upv.es>
5639             Ismael Ripoll  <iripoll@disca.upv.es>
5640             Carlos O'Donell  <carlos@redhat.com>
5641
5642         [BZ #15754]
5643         * sysdeps/generic/stackguard-macros.h: Define
5644         __pointer_chk_guard_local and POINTER_CHK_GUARD.
5645         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
5646         Define __pointer_chk_guard_local.
5647         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
5648         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
5649
5650 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
5651
5652         [BZ #15859]
5653         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
5654
5655 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
5656
5657         * include/string.h (__ffs): Declare as hidden.
5658         * string/ffs.c (__ffs): Define as hidden.
5659         * sysdeps/i386/ffs.c (__ffs): Likewise.
5660         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
5661         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
5662         * sysdeps/s390/ffs.c (__ffs): Likewise.
5663         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
5664
5665 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
5666
5667         * NEWS: Mention malloc probes.
5668
5669         * malloc/arena.c (new_heap): New memory_heap_new probe.
5670         (grow_heap): New memory_heap_more probe.
5671         (shrink_heap): New memory_heap_less probe.
5672         (heap_trim): New memory_heap_free probe.
5673         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
5674         (systrim): New memory_sbrk_less probe.
5675         * manual/probes.texi: Document them.
5676
5677         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
5678         * manual/probes.texi: Document it.
5679
5680         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
5681         (__libc_realloc): Add memory_realloc_retry probe.
5682         (__libc_memalign): Add memory_memalign_retry probe.
5683         (__libc_valloc): Add memory_valloc_retry probe.
5684         (__libc_pvalloc): Add memory_pvalloc_retry probe.
5685         (__libc_calloc): Add memory_calloc_retry probe.
5686         * manual/probes.texi: Document them.
5687
5688         * malloc/arena.c (get_free_list): Add probe
5689         memory_arena_reuse_free_list.
5690         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
5691         and memory_arena_reuse.
5692         (arena_get2) [!PER_THREAD]: Likewise.
5693         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
5694         memory_arena_reuse_realloc.
5695         * manual/probes.texi: Document them.
5696
5697         * malloc/malloc.c (__libc_free): Add
5698         memory_mallopt_free_dyn_thresholds probe.
5699         (__libc_mallopt): Add multiple memory_mallopt probes.
5700         * manual/probes.texi: Document them.
5701
5702         * malloc/malloc.c: Include stap-probe.h.
5703         (__libc_mallopt): Add memory_mallopt probe.
5704         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
5705         * manual/probes.texi: New.
5706         * manual/Makefile (chapters): Add probes.
5707         * manual/threads.texi: Set next node.
5708
5709 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
5710
5711         [BZ #15963, #13985]
5712         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
5713         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
5714         Add `Chinese' to `nan' entry name.
5715
5716 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5717
5718         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
5719         (POLYNOMIAL): Likewise.
5720         (TAYLOR_SINCOS): Likewise.
5721         (TAYLOR_SLOW): Likewise.
5722         (__sin): Use TAYLOR_SINCOS.
5723         (__cos): Likewise.
5724         (slow): Use TAYLOR_SLOW.
5725         (sloww): Likewise.
5726         (bsloww): Likewise.
5727         (csloww): Likewise.
5728
5729 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5730
5731         * stdlib/strtod_l.c: Fix buffer overrun.
5732
5733 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5734
5735         * benchtests/Makefile (bench): Add sincos.
5736         * benchtests/bench-sincos.c: New file.
5737
5738         * math/libm-test.inc (cos_test_data): New test inputs.
5739         (sin_test_data): Likewise.
5740
5741         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
5742         macro.
5743         (__sin): Use it.
5744         (__cos): Likewise.
5745         (slow1): Likewise.
5746         (slow2): Likewise.
5747         (sloww1): Likewise.
5748         (sloww2): Likewise.
5749         (bsloww1): Likewise.
5750         (bsloww2): Likewise.
5751         (cslow2): Likewise.
5752         (csloww1): Likewise.
5753         (csloww2): Likewise.
5754
5755         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
5756         function.
5757         (__sin): Use it.
5758         (__cos): Likewise.
5759
5760         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
5761         gotos.
5762         (__cos): Likewise.
5763
5764 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
5765
5766         * config.h.in (HAVE_MIPS_NAN2008): New macro.
5767         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
5768         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
5769         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
5770         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
5771         * elf/cache.c (print_entry): Handle the new cache flags.
5772
5773 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5774             Aldy Hernandez  <aldyh@redhat.com>
5775
5776         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
5777         Change condition to [_SOFT_FLOAT].
5778         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
5779         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
5780         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
5781         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
5782         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
5783         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
5784         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
5785         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
5786         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
5787         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
5788         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
5789         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
5790         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
5791         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
5792         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
5793         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
5794         declaration.
5795
5796 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
5797
5798         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
5799         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5800         (__longjmp): Use LOAD_GP to load saved GPRs.
5801         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
5802         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
5803         (__sigsetjmp): Use SAVE_GP to save GPRs.
5804
5805         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
5806         Do not append -msoft-float.
5807         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
5808
5809 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5810
5811         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
5812
5813 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
5814
5815         [BZ #15966]
5816         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
5817         (_FPU_GETCW): Use initial "__" on variable and field names but not
5818         on macro parameter name.
5819         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
5820         parentheses around reference to macro parameter.
5821
5822 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
5823
5824         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
5825         prototype.
5826         (ctype_startup): Use uint32_t in cast and sizeof for
5827         ctype->charnames.
5828
5829 2013-09-11  Jia Liu  <proljc@gmail.com>
5830
5831         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
5832         __daddr_t_defined.
5833         [__FreeBSD__]: Likewise.
5834
5835 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
5836
5837         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5838         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
5839         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
5840         (strchr): Remove __strchr_sse42 ifunc selection.
5841         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
5842         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
5843
5844 2013-09-11  Will Newton  <will.newton@linaro.org>
5845
5846         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
5847         parameter to RES. Remove hardcoded 1000 value.
5848         * benchtests/bench-skeleton.c (main): Pass RES parameter
5849         to TIMING_INIT and multiply result by 1000.
5850
5851 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5852
5853         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5854
5855 2013-09-11  Andreas Schwab  <schwab@suse.de>
5856
5857         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5858         if not defined.
5859         (O_TMPFILE) [__USE_GNU]: Define.
5860         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
5861         Define.
5862
5863 2013-09-11  Will Newton  <will.newton@linaro.org>
5864
5865         [BZ #15857]
5866         * malloc/malloc.c (__libc_memalign): Check the value of bytes
5867         does not overflow.
5868
5869 2013-09-11  Will Newton  <will.newton@linaro.org>
5870
5871         [BZ #15856]
5872         * malloc/malloc.c (__libc_valloc): Check the value of bytes
5873         does not overflow.
5874
5875 2013-09-11  Will Newton  <will.newton@linaro.org>
5876
5877         [BZ #15855]
5878         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
5879         does not overflow.
5880
5881 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
5882
5883         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
5884         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5885         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5886         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5887         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5888
5889 2013-09-10  Allan McRae  <allan@archlinux.org>
5890
5891         [BZ #15748]
5892         * manual/arith.texi (Parsing of Floats): Clarify
5893         cross-reference.
5894
5895         [BZ #15849]
5896         * manual/install.texi (Running make install): Mention
5897         --enable-pt-chown.
5898         * INSTALL: Regenerated.
5899
5900 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
5901
5902         * csu/init-first.c (_init): Remove the !SHARED condition around
5903         FPU control word initialization.
5904         * elf/dl-support.c (_dl_fpu_control): New variable.
5905         (_dl_aux_init) <AT_FPUCW>: Initialize it.
5906         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
5907         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
5908         * math/test-fpucw-static.c: New file.
5909         * math/test-fpucw-ieee.c: New file.
5910         * math/test-fpucw-ieee-static.c: New file.
5911         * math/Makefile (tests): Add `test-fpucw-ieee' and
5912         `$(tests-static)'.
5913         (tests-static): New variable.
5914         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
5915         dependency to...
5916         [($(build-shared),yes)]
5917         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5918         ... this.
5919         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
5920         New dependency.
5921
5922 2013-09-09  Allan McRae  <allan@archlinux.org>
5923
5924         [BZ #15939]
5925         * manual/string.texi (Collation Functions): Fix typo in
5926         strcoll example.
5927         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
5928
5929         [BZ #15893]
5930         * stdlib/isomac.c (get_null_defines): Fix memory leak.
5931
5932         [BZ #15892]
5933         * libio/memstream.c (open_memstream): Fix memory leak.
5934         * libio/wmemstream.c (open_wmemstream): Likewise.
5935
5936         [BZ #15895]
5937         * nscd/netgroupcache.c: Fix nesting of ifdefs.
5938
5939 2013-09-09  Will Newton  <will.newton@linaro.org>
5940
5941         * malloc/Makefile: Add tst-realloc to tests.
5942         * malloc/tst-realloc.c: New file.
5943
5944 2013-09-09  Allan McRae  <allan@archlinux.org>
5945
5946         [BZ #15844]
5947         * COPYING: Update from GNU website to fix FSF address.
5948         * COPYING.LIB: Likewise.
5949
5950 2013-09-06  David S. Miller  <davem@davemloft.net>
5951
5952         * po/zh_TW.po: Update Chinese (traditional) translation from
5953         translation project.
5954
5955 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
5956             Joseph Myers  <joseph@codesourcery.com>
5957
5958         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
5959         "localeinfo.h".
5960         (obstack_chunk_alloc): New macro.
5961         (obstack_chunk_free): Likewise.
5962         (record_offset): New function.
5963         (init_locale_data): Likewise.
5964         (align_locale_data): Likewise.
5965         (add_locale_empty): Likewise.
5966         (add_locale_raw_data): Likewise.
5967         (add_locale_raw_obstack): Likewise.
5968         (add_locale_string): Likewise.
5969         (add_locale_wstring): Likewise.
5970         (add_locale_uint32): Likewise.
5971         (add_locale_uint32_array): Likewise.
5972         (add_locale_char): Likewise.
5973         (start_locale_structure): Likewise.
5974         (end_locale_structure): Likewise.
5975         (start_locale_prelude): Likewise.
5976         (end_locale_prelude): Likewise.
5977         (write_locale_data): Take locale_file structure rather than an
5978         iovec.
5979         * locale/programs/locfile.h: Include "obstack.h".
5980         (struct locale_file): Change to store locale file contents instead
5981         of header.
5982         (init_locale_data): New prototype.
5983         (align_locale_data): Likewise.
5984         (add_locale_empty): Likewise.
5985         (add_locale_raw_data): Likewise.
5986         (add_locale_raw_obstack): Likewise.
5987         (add_locale_string): Likewise.
5988         (add_locale_wstring): Likewise.
5989         (add_locale_uint32): Likewise.
5990         (add_locale_uint32_array): Likewise.
5991         (add_locale_char): Likewise.
5992         (start_locale_structure): Likewise.
5993         (end_locale_structure): Likewise.
5994         (start_locale_prelude): Likewise.
5995         (end_locale_prelude): Likewise.
5996         (write_locale_data): Update prototype.
5997         * locale/programs/3level.h (struct TABLE): Remove result field.
5998         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
5999         Use new locale_file interface.
6000         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
6001         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
6002         * locale/programs/ld-address.c (address_output): Use new
6003         locale_file interface.
6004         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
6005         NO_ADD_LOCALE.
6006         (collate_finish): Don't call collseq_table_finalize.
6007         (collate_output): Use new locale_file interface.
6008         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
6009         in file.
6010         (NO_FINALIZE): Change to NO_ADD_LOCALE.
6011         (TABLE): Move defines earlier in file.
6012         (ELEMENT): Likewise.
6013         (DEFAULT): Likewise.
6014         (wctrans_table_add): Move macro and inline function earlier in
6015         file.
6016         (struct wctype_table): Move type earlier in file.
6017         (add_locale_wctype_table): New static prototype.
6018         (struct locale_ctype_t): Use logical types instead of struct iovec
6019         pointers for members.
6020         (ctype_output): Use new locale_file interface.
6021         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
6022         new locale_file interface.
6023         (allocate_arrays): Update for use of new locale_file interface.
6024         * locale/programs/ld-identification.c (identification_output): Use
6025         new locale_file interface.
6026         * locale/programs/ld-measurement.c (measurement_output): Likewise.
6027         * locale/programs/ld-messages.c (messages_output): Likewise.
6028         * locale/programs/ld-monetary.c (monetary_output): Likewise.
6029         * locale/programs/ld-name.c (name_output): Likewise.
6030         * locale/programs/ld-numeric.c (numeric_output): Likewise.
6031         * locale/programs/ld-paper.c (paper_output): Likewise.
6032         * locale/programs/ld-telephone.c (telephone_output): Likewise.
6033         * locale/programs/ld-time.c (time_output): Likewise.
6034
6035 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6036
6037         * benchtests/Makefile: Add memrchr benchmark.
6038         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
6039         benchmark as memrchr.
6040         * benchtests/bench-memrchr-ifunc.c: New file.
6041         * benchtests/bench-memrchr.c: New file.
6042
6043 2013-09-06   Will Newton  <will.newton@linaro.org>
6044
6045         * benchtests/Makefile (string-bench): Add memcpy.
6046
6047 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
6048             Cong Wang  <amwang@redhat.com>
6049
6050         [BZ #15850]
6051         * sysdeps/unix/sysv/linux/bits/in.h
6052         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
6053         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
6054         before __USE_KERNEL_IPV6_DEFS uses.
6055         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
6056         IPPROTO_BEETPH.
6057         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
6058         sockaddr_in6, or ipv6_mreq.
6059
6060 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6061
6062         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
6063         memory access for final bytes in some large inputs.
6064         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
6065
6066 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6067
6068         * string/test-memrchr.c: New file.
6069         * string/test-memrchr-ifunc.c: New file.
6070         * string/Makefile: Add new memrchr testcase.
6071
6072 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
6073
6074         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
6075         fanotify_init returns EPERM.
6076
6077 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
6078
6079         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
6080         errors.
6081         (top level): Treat second token from macro or constant entries for
6082         allowed headers as allowed.
6083         * include/complex.h: Condition internal declarations on
6084         [!_ISOMAC].
6085         * include/fenv.h: Condition include of <stdbool.h> and internal
6086         declarations on [!_ISOMAC].
6087
6088 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
6089
6090         [BZ #15923]
6091         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
6092
6093 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
6094
6095         * configure.in (--enable-versioning): Remove configure option.
6096         (libc_cv_asm_symver_directive): Remove configure test.
6097         (libc_cv_ld_version_script_option): Likewise.
6098         (VERSIONING): Remove variable and AC_SUBST.
6099         (DO_VERSIONING): Remove AC_DEFINE.
6100         * configure: Regenerated.
6101         * config.h.in (DO_VERSIONING): Remove macro.
6102         * Makerules [$(versioning) = yes]: Change conditionals to
6103         [$(build-shared) = yes].
6104         * config.make.in (versioning): Remove variable.
6105         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
6106         [$(build-shared) = yes].
6107         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
6108         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
6109         * elf/Makefile [$(versioning) = yes]: Change conditionals to
6110         [$(build-shared) = yes].
6111         * extra-lib.mk [$(versioning) = yes]: Likewise.
6112         * hurd/Makefile [$(versioning) = yes]: Likewise.
6113         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
6114         [SHARED].
6115         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
6116         [SHARED].
6117         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6118         [SHARED && !NO_HIDDEN].
6119         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
6120         [SHARED].
6121         [SHARED && DO_VERSIONING]: Likewise..
6122         * libio/Makefile [$(versioning) = yes]: Change conditionals to
6123         [$(build-shared) = yes].
6124         * manual/install.texi (--disable-versioning): Remove
6125         documentation.
6126         * INSTALL: Regenerated.
6127         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
6128         to [SHARED].
6129         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
6130         [$(build-shared) = yes].
6131         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
6132         * sysdeps/i386/i686/multiarch/strstr-c.c
6133         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
6134         [SHARED && !NO_HIDDEN].
6135         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
6136         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
6137         * sysdeps/powerpc/powerpc32/dl-machine.c
6138         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
6139         * sysdeps/powerpc/powerpc32/sysdep.h
6140         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
6141         to [SHARED && PIC && !NO_HIDDEN].
6142         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
6143         conditional to [SHARED].
6144
6145 2013-09-04   Will Newton  <will.newton@linaro.org>
6146
6147         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
6148         * benchtests/bench-string.h: Include bench-timing.h instead
6149         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
6150         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
6151         call to HP_TIMING_DIFF_INIT.
6152         * benchtests/bench-memccpy.c: Use bench-timing.h macros
6153         instead of hp-timing.h macros.
6154         * benchtests/bench-memchr.c: Likewise.
6155         * benchtests/bench-memcmp.c: Likewise.
6156         * benchtests/bench-memcpy.c: Likewise.
6157         * benchtests/bench-memmem.c: Likewise.
6158         * benchtests/bench-memmove.c: Likewise.
6159         * benchtests/bench-memset.c: Likewise.
6160         * benchtests/bench-rawmemchr.c: Likewise.
6161         * benchtests/bench-strcasecmp.c: Likewise.
6162         * benchtests/bench-strcasestr.c: Likewise.
6163         * benchtests/bench-strcat.c: Likewise.
6164         * benchtests/bench-strchr.c: Likewise.
6165         * benchtests/bench-strcmp.c: Likewise.
6166         * benchtests/bench-strcpy.c: Likewise.
6167         * benchtests/bench-strcpy_chk.c: Likewise.
6168         * benchtests/bench-strlen.c: Likewise.
6169         * benchtests/bench-strncasecmp.c: Likewise.
6170         * benchtests/bench-strncat.c: Likewise.
6171         * benchtests/bench-strncmp.c: Likewise.
6172         * benchtests/bench-strncpy.c: Likewise.
6173         * benchtests/bench-strnlen.c: Likewise.
6174         * benchtests/bench-strpbrk.c: Likewise.
6175         * benchtests/bench-strrchr.c: Likewise.
6176         * benchtests/bench-strspn.c: Likewise.
6177         * benchtests/bench-strstr.c: Likewise.
6178
6179 2013-09-04  Will Newton  <will.newton@linaro.org>
6180
6181         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
6182
6183 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
6184
6185         [BZ #15427]
6186         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6187         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
6188         * math/libm-test.inc (lgamma_test_data): Add more tests.
6189         * sysdeps/i386/fpu/libm-test-ulps: Update.
6190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6191
6192 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
6193
6194         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
6195         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6196         Add ifunc.
6197         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6198         Add strcmp-sse2-unaligned
6199         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
6200
6201 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
6202
6203         * Versions.def (libc): Add GLIBC_2.19.
6204
6205 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
6206
6207         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
6208         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
6209
6210 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
6211
6212         [BZ #14155]
6213         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
6214         intermediate calculations in recurrence.
6215         (__ieee754_ynf): Likewise.
6216         * math/libm-test.inc (jn_test_data): Do not allow spurious
6217         underflow exception.  Add more tests.
6218         (yn_test_data): Add more tests.
6219         * sysdeps/i386/fpu/libm-test-ulps: Update.
6220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6221
6222 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
6223
6224         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
6225
6226 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
6227
6228         * csu/init-first.c: Fix then/than typos.
6229         * locale/programs/ld-collate.c: Likewise.
6230         * locale/programs/linereader.h: Likewise.
6231         * manual/charset.texi: Likewise.
6232         * manual/filesys.texi: Likewise.
6233         * manual/stdio.texi: Likewise.
6234         * manual/string.texi: Likewise.
6235         * stdlib/fmtmsg.c: Likewise.
6236         * sysdeps/i386/stpncpy.S: Likewise.
6237         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6238         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6239         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6240         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6241
6242 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
6243
6244         * elf/dl-open.c: Fix typos.
6245         * iconvdata/gbbig5.c: Likewise.
6246         * iconvdata/iso-2022-jp.c: Likewise.
6247         * iconv/gconv_int.h: Likewise.
6248         * iconv/loop.c: Likewise.
6249         * nis/rpcsvc/nis.h: Likewise.
6250         * resolv/ns_name.c: Likewise.
6251         * stdio-common/vfscanf.c: Likewise.
6252         * streams/stropts.h: Likewise.
6253         * sunrpc/rpc_thread.c: Likewise.
6254         * sysdeps/i386/strpbrk.S: Likewise.
6255         * sysdeps/ieee754/k_standard.c: Likewise.
6256         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6257         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6258         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
6259         * sysdeps/mach/hurd/profil.c: Likewise.
6260         * sysdeps/s390/dl-procinfo.h: Likewise.
6261         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
6262         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6263         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
6264         * sysdeps/x86_64/dl-trampoline.S: Likewise.
6265         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6266
6267 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
6268
6269         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
6270         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
6271
6272 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
6273
6274         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
6275         aix specific files.
6276         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
6277         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
6278         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
6279         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
6280         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
6281         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
6282         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
6283         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
6284
6285 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
6286             Roland McGrath  <roland@hack.frob.com>
6287
6288         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
6289         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
6290
6291 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6292
6293         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
6294         __executable_start symbol instead of _start.
6295
6296 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
6297
6298         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
6299         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
6300         Move macros to...
6301         * sysdeps/gnu/ldsodefs.h: ... this new file.
6302
6303         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
6304         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
6305         instead of ELFOSABI_LINUX.
6306
6307         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
6308         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
6309         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
6310         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
6311         Likewise.
6312         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
6313         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
6314         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
6315         Likewise.
6316         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
6317         (ibm_extended_long_double): Add ieee_nan member.
6318         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
6319         (do_test): New function.
6320
6321         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
6322         TEST_TRUNC.
6323         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
6324         functions, renamed from truncdfsf_test, trunctfsf_test,
6325         trunctfdf_test.
6326         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
6327         functions.
6328         (do_test): Run all these.
6329
6330 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
6331
6332         * argp/argp-help.c: Fix typos.
6333         * argp/argp-parse.c: Likewise.
6334         * debug/backtracesyms.c: Likewise.
6335         * elf/elf.h: Likewise.
6336         * malloc/malloc.c: Likewise.
6337         * nis/nis_print.c: Likewise.
6338         * resolv/res_comp.c: Likewise.
6339         * stdlib/stdlib.h: Likewise.
6340         * sunrpc/clnt_tcp.c: Likewise.
6341         * sunrpc/clnt_udp.c: Likewise.
6342         * sunrpc/clnt_unix.c: Likewise.
6343         * sysdeps/unix/bsd/ptsname.c: Likewise.
6344         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6345         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
6346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
6347         Likewise.
6348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
6349         Likewise.
6350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
6351         Likewise.
6352         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6353
6354 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6355
6356         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
6357         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6358
6359 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
6360
6361         [BZ #15897]
6362         * dlfcn/Makefile (tests): Add bug-dl-leaf.
6363         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
6364         ($(objpfx)bug-dl-leaf): New rule.
6365         ($(objpfx)bug-dl-leaf.so): Likewise.
6366         ($(objpfx)bug-dl-leaf.out): Likewise.
6367         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
6368         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
6369         * dlfcn/bug-dl-leaf.c: New test.
6370         * dlfcn/bug-dl-leaf-lib.c: Likewise.
6371         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
6372         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
6373         (dlclose): Likewise.
6374         (dlmopen): Likewise.
6375
6376 2013-08-27  Roland McGrath  <roland@hack.frob.com>
6377
6378         * include/netdb.h [!_ISOMAC]:
6379         Don't include <tls.h>.
6380         (h_errno, __libc_h_errno): Move declaration and macros out of
6381         [_LIBC_REENTRANT].
6382
6383         * include/resolv.h [_RESOLV_H_]:
6384         Don't include <tls.h>.
6385         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
6386         * resolv/res_libc.c: Don't include <tls.h>.
6387         (_res): Use __attribute__ ((nocommon)) in place of
6388         __attribute__ ((section (".bss"))).
6389
6390         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
6391         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
6392
6393         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
6394
6395         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
6396         only under [SIOCGIFCONF && SIOCGIFNETMASK].
6397
6398         * resolv/res_mkquery.c: Include <sys/time.h>.
6399
6400         * inet/ifreq.c: Moved to ...
6401         * sysdeps/unix/ifreq.c: ... here.
6402         * inet/ifreq.c: New file, true stub version.
6403
6404         * socket/sa_len.c: New file.
6405         * socket/Makefile (aux): Add it.
6406         * sysdeps/unix/sysv/linux/Makefile
6407         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
6408         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
6409         and #include <socket/sa_len.c>.
6410         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
6411         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
6412
6413         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
6414         * bits/socket.h: ... here.
6415
6416         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
6417         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
6418         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
6419
6420 2013-08-27  Andreas Schwab  <schwab@suse.de>
6421
6422         [BZ #15736]
6423         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
6424         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
6425         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
6426         * string/test-strcasecmp.c (test_main): Run tests in several
6427         locales.
6428         * string/test-strncasecmp.c (test_main): Likewise.
6429
6430         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
6431         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
6432         to __strcasecmp_nonascii and __strncasecmp_nonascii.
6433         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
6434         (__strncasecmp_ssse3) [PIC]: Likewise.
6435
6436 2013-08-26  Roland McGrath  <roland@hack.frob.com>
6437
6438         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
6439
6440         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
6441         instead of explicitly declaring xdecrypt.
6442         * nis/nss_nis/nis-publickey.c: Likewise.
6443
6444 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6445
6446         [BZ #15890]
6447         * nscd/aicache.c: Include res_hconf.h.
6448         (addhstaiX): Initialize res_hconf.
6449
6450 2013-08-26  Andreas Schwab  <schwab@suse.de>
6451
6452         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
6453         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
6454
6455 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6456
6457         * nscd/aicache.c (addhstaiX): Fix indentation.
6458
6459 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
6460
6461         * configure.ac: Quote $build_pt_chown test.
6462         * configure: Regenerated.
6463
6464 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
6465
6466         [BZ #15532]
6467         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
6468         * math/s_cexpf.c (__cexpf): Likewise.
6469         * math/s_cexpl.c (__cexpl): Likewise.
6470         * math/libm-test.inc (cexp_test_data): Correct expected return
6471         value for NaN + i0.  Add another test.
6472
6473 2013-08-22  David S. Miller  <davem@davemloft.net>
6474
6475         * po/ca.po: Update Catalan translation from translation project.
6476         * po/uk.po: Add Ukrainian translations from translation project.
6477
6478 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
6479
6480         [BZ #15797]
6481         * math/s_fdim.c (__fdim): Check for infinite arguments if result
6482         is infinite, not alongside NaN test.
6483         * math/s_fdimf.c (__fdimf): Likewise.
6484         * math/s_fdiml.c (__fdiml): Likewise.
6485         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
6486         errno is unchanged.
6487
6488 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
6489
6490         * argp/argp-help.c: Fix typos.
6491         * crypt/speeds.c: Likewise.
6492         * csu/check_fds.c: Likewise.
6493         * elf/dl-load.c: Likewise.
6494         * elf/dl-open.c: Likewise.
6495         * elf/reldep3.c: Likewise.
6496         * elf/reldep.c: Likewise.
6497         * elf/sprof.c: Likewise.
6498         * iconv/iconv_charmap.c: Likewise.
6499         * iconv/skeleton.c: Likewise.
6500         * iconv/strtab.c: Likewise.
6501         * io/lockf64.c: Likewise.
6502         * libio/libioP.h: Likewise.
6503         * resolv/gai_notify.c: Likewise.
6504         * resolv/ns_name.c: Likewise.
6505         * resolv/ns_samedomain.c: Likewise.
6506         * resolv/res_send.c: Likewise.
6507         * stdlib/random.c: Likewise.
6508         * sunrpc/rpc/xdr.h: Likewise.
6509         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
6510         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6511         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6512         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6513         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6514         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6515         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6516         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6517         * sysdeps/mach/hurd/check_fds.c: Likewise.
6518         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
6519         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6520         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6521         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
6522         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6523         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6524         * sysdeps/pthread/aio_notify.c: Likewise.
6525         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
6526         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
6527         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
6528         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
6529         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6530
6531 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6532
6533         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
6534         version if bit_Slow_SSE4_2 is set.
6535         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6536         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6537
6538 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6539
6540         [BZ #15867]
6541         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
6542         trampoline stack frame information.
6543         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
6544         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
6545         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
6546         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
6547         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
6548         * sysdeps/unix/sysv/linux/powerpc/init-first.c
6549         (_libc_vdso_platform_setup): Initialize the signal trampolines.
6550         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
6551         sa_flags value.
6552         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
6553         interrupting a syscall and set with option SA_SIGINFO.
6554
6555 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
6556
6557         [BZ #15531]
6558         * math/s_cproj.c (__cproj): Only return an infinity if one part of
6559         argument is infinite.
6560         * math/s_cprojf.c (__cprojf): Likewise.
6561         * math/s_cprojl.c (__cprojl): Likewise.
6562         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
6563         * math/libm-test.inc (cproj_test_data): Add more tests.
6564
6565         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
6566
6567         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
6568         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
6569         size.  Use __ffs to determine corresponding shift.
6570
6571 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
6572             Roland McGrath  <roland@hack.frob.com>
6573
6574         * Makefile (INSTALL): Remove trailing blank lines from output of
6575         makeinfo.
6576
6577 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6578
6579         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
6580         Align 32 bit compat elf_greg to 8 bytes.
6581
6582 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6583
6584         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
6585
6586 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6587
6588         * string/strcoll_l.c (coll_seq): New structure.
6589         (get_next_seq_cached): New function.
6590         (get_next_seq): New function.
6591         (do_compare): New function.
6592         (STRCOLL): Use GNU style definition.  Simplify implementation
6593         by using get_next_seq, get_next_seq_cached and do_compare.
6594
6595 2013-08-16  Florian Weimer  <fweimer@redhat.com>
6596
6597         [BZ #14699]
6598         CVE-2013-4237
6599         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
6600         member.
6601         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
6602         member.
6603         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
6604         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
6605         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
6606         conditional.
6607         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
6608         GETDENTS_64BIT_ALIGNED.
6609         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
6610         * manual/filesys.texi (Reading/Closing Directory): Document
6611         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
6612         strongly.
6613         * manual/conf.texi (Limits for Files): Add portability note to
6614         NAME_MAX, PATH_MAX.
6615         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
6616
6617 2013-08-13  Andreas Schwab  <schwab@suse.de>
6618
6619         [BZ #15749]
6620         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
6621         of fabs.
6622         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
6623         LDBL_MAX_EXP >= 16384]: Add tests for it.
6624
6625 2013-08-12  David S. Miller  <davem@davemloft.net>
6626
6627         * version.h (RELEASE): Set to "development".
6628         (VERSION): Set to "2.18.90".
6629         * NEWS: Add 2.19 section.
6630
6631 2013-08-03  David S. Miller  <davem@davemloft.net>
6632
6633         * po/ko.po: Update Korean translation from translation project.
6634
6635 2013-08-01  David S. Miller  <davem@davemloft.net>
6636
6637         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
6638         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
6639         Bilka.
6640
6641 2013-07-30  David S. Miller  <davem@davemloft.net>
6642
6643         * po/fr.po: Update French translation from translation project.
6644
6645 2013-07-28  David S. Miller  <davem@davemloft.net>
6646
6647         * po/cs.po: Update Czech translation from translation project.
6648
6649         * po/sv.po: Update Swedish translation from translation project.
6650
6651 2013-07-27  David S. Miller  <davem@davemloft.net>
6652
6653         * po/eo.po: Update Esperanto translation from translation project.
6654
6655         * po/vi.po: Update Vietnamese translation from translation project.
6656
6657         * po/de.po: Update German translation from translation project.
6658
6659 2013-07-26  David S. Miller  <davem@davemloft.net>
6660
6661         * po/bg.po: Update Bulgarian translation from translation project.
6662
6663         * po/nl.po: Update Dutch translation from translation project.
6664         * po/pl.po: Update Polish translation from translation project.
6665         * po/ru.po: Update Russian translation from translation project.
6666
6667 2013-07-24  David S. Miller  <davem@davemloft.net>
6668
6669         * po/libc.pot: Update.
6670
6671 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6672
6673         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
6674         variable page size.
6675         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
6676         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
6677         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
6678
6679 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6680
6681         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
6682
6683 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6684             Andreas Schwab  <schwab@suse.de>
6685             Roland McGrath  <roland@hack.frob.com>
6686             Joseph Myers  <joseph@codesourcery.com>
6687             Carlos O'Donell  <carlos@redhat.com>
6688
6689         [BZ #15755]
6690         * config.h.in: Define HAVE_PT_CHOWN.
6691         * config.make.in (build-pt-chown): New variable.
6692         * configure.in (--enable-pt_chown): New configure option.
6693         * configure: Regenerate.
6694         * login/Makefile: Include Makeconfig.  Build pt_chown only if
6695         build-pt-chown is enabled.
6696         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
6697         pt_chown to fix pty ownership.
6698         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
6699         CLOSE_ALL_FDS.
6700         * manual/install.texi (Configuring and compiling): Mention
6701         --enable-pt_chown. Add @findex for grantpt.
6702         * INSTALL: Regenerate.
6703
6704 2013-07-20  David S. Miller  <davem@davemloft.net>
6705
6706         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
6707         difference between 32-bit and 64-bit.
6708
6709 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
6710
6711         [BZ #15711]
6712         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
6713         Avoid system header dependency with -ffreestanding.
6714         ($(objpfx)bits/syscall%d): Likewise.
6715
6716 2013-07-13  David S. Miller  <davem@davemloft.net>
6717
6718         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
6719         underflows from atanl/atan2l due to bug 15319.
6720         (casinh_test_data): Likewise.
6721
6722 2013-07-07  David S. Miller  <davem@davemloft.net>
6723
6724         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
6725
6726 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
6727
6728         * sysdeps/i386/fpu/libm-test-ulps: Update.
6729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6730
6731 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6732
6733         * configure.in (--enable-lock-elision): Fix message text.
6734         * INSTALL: Regenerate.
6735         * configure: Regenerate.
6736
6737 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6738
6739         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6740
6741 2013-07-03  Andreas Jaeger  <aj@suse.de>
6742
6743         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
6744         define.
6745         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
6746         (ptrace_peeksiginfo_args): Add.
6747         (__ptrace_peeksiginfo_flags): Add.
6748         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6749         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6750         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6751
6752 2013-07-03  Allan McRae  <allan@archlinux.org>
6753
6754         * sysdeps/i386/fpu/libm-test-ulps: Update.
6755
6756 2013-07-02  David S. Miller  <davem@davemloft.net>
6757
6758         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6759
6760 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
6761
6762         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6763
6764 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6765
6766         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6768
6769 2013-07-02  Andi Kleen <ak@linux.intel.com>
6770
6771         * config.h.in (ENABLE_LOCK_ELISION): Add.
6772         * configure.in (--enable-lock-elision): Add option.
6773         * manual/install.texi: Document --enable lock elision.
6774         * configure: Regenerate
6775         * INSTALL: Regenerate.
6776
6777 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
6778
6779         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
6780         SSE4.2 strcasecmp for libc.a.
6781         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6782
6783 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
6784
6785         [BZ #13304]
6786         * soft-fp/op-common.h (_FP_FMA): New macro.
6787         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
6788         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
6789         (_FP_MUL_MEAT_1_imm): ... here.
6790         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
6791         (_FP_MUL_MEAT_1_wide): ... here.
6792         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
6793         (_FP_MUL_MEAT_1_hard): ... here.
6794         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
6795         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
6796         (_FP_MUL_MEAT_2_wide): ... here.
6797         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
6798         (_FP_MUL_MEAT_2_wide_3mul): ... here.
6799         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
6800         (_FP_MUL_MEAT_2_gmp): ... here.
6801         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
6802         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
6803         (_FP_MUL_MEAT_4_wide): ... here.
6804         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
6805         (_FP_MUL_MEAT_4_gmp): ... here.
6806         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
6807         (_FP_WFRACBITS_DW_S): Likewise.
6808         (_FP_WFRACXBITS_DW_S): Likewise.
6809         (_FP_HIGHBIT_DW_S): Likewise.
6810         (FP_FMA_S): Likewise.
6811         (_FP_FRAC_HIGH_DW_S): Likewise.
6812         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
6813         (_FP_WFRACBITS_DW_D): Likewise.
6814         (_FP_WFRACXBITS_DW_D): Likewise.
6815         (_FP_HIGHBIT_DW_D): Likewise.
6816         (FP_FMA_D): Likewise.
6817         (_FP_FRAC_HIGH_DW_D): Likewise.
6818         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
6819         (_FP_WFRACBITS_DW_E): Likewise.
6820         (_FP_WFRACXBITS_DW_E): Likewise.
6821         (_FP_HIGHBIT_DW_E): Likewise.
6822         (FP_FMA_E): Likewise.
6823         (_FP_FRAC_HIGH_DW_E): Likewise.
6824         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
6825         (_FP_WFRACBITS_DW_Q): Likewise.
6826         (_FP_WFRACXBITS_DW_Q): Likewise.
6827         (_FP_HIGHBIT_DW_Q): Likewise.
6828         (FP_FMA_Q): Likewise.
6829         (_FP_FRAC_HIGH_DW_Q): Likewise.
6830         * soft-fp/fmasf4.c: New file.
6831         * soft-fp/fmadf4.c: Likewise.
6832         * soft-fp/fmatf4.c: Likewise.
6833
6834 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6835
6836         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
6837         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
6838         Silvermont.
6839         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
6840         macro.
6841         (index_Slow_SSE4_2): Likewise.
6842         (index_Prefer_PMINUB_for_stringop): Likewise.
6843         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
6844         bit_Slow_SSE4_2 is set.
6845         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6846         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6847
6848 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6849
6850         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
6851         rtld_global._dl_hwcap2.
6852         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
6853         POWER8.
6854         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
6855         POWER8 feature descriptions defined in _dl_hwcap2.
6856         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
6857         string handling for POWER8 feature bits.
6858         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
6859         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
6860         _dl_powerpc_cap_flags.
6861         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
6862         * sysdeps/powerpc/rtld-global-offsets.sym
6863         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
6864         _dl_hwcap2 in the rtld_global_ro structure.
6865
6866 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6867
6868         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
6869         hardware capabilities in support of AT_HWCAP2.
6870         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6871         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
6872         GLRO(dl_hwcap2).
6873         (_dl_show_auxv): Add support for calling _dl_procinfo to display
6874         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
6875         explicitly the unknown a_type display mechanism is used.
6876         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
6877         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
6878         struct member.
6879         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
6880         to macro prototype for AT_HWCAP2 support.
6881         * sysdeps/i386/dl-procinfo.h: Likewise.
6882         * sysdeps/s390/dl-procinfo.h: Likewise.
6883         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
6884         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
6885         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
6886         return -1 for unknown a_type display fallback.
6887         * sysdeps/sparc/dl-procinfo.h: Likewise.
6888         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
6889         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
6890
6891 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
6892
6893         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
6894         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
6895
6896 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
6897
6898         [BZ #12492]
6899         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
6900         mprotect making __stack_prot writable.
6901
6902 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
6903             Joseph Myers  <joseph@codesourcery.com>
6904
6905         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
6906         as being properly aligned.
6907
6908 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
6909
6910         * dlfcn/modstatic5.c: New file.
6911         * dlfcn/tststatic5.c: New file.
6912         * dlfcn/Makefile (tests): Add tststatic5.
6913         (tests-static): Likewise.
6914         (modules-names): Add modstatic5.
6915         (tststatic5-ENV): New variable.
6916         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
6917
6918         [BZ #15022]
6919         * elf/dl-support.c (_dl_main_map): New variable.
6920         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
6921         (_dl_nns, _dl_load_adds): Set to 1.
6922         (_dl_initial_searchlist): Refer to _dl_main_map.
6923         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
6924         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
6925         call to _dl_get_origin.
6926         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
6927         around call_map.
6928         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
6929         * dlfcn/modstatic3.c: New file.
6930         * dlfcn/tststatic3.c: New file.
6931         * dlfcn/tststatic4.c: New file.
6932         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
6933         (tests-static): Likewise.
6934         (modules-names): Add modstatic3.
6935         (tststatic3-ENV, tststatic4-ENV): New variables.
6936         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
6937         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
6938
6939 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
6940
6941         * configure.in (CC): Require GCC version 4.4 or later.
6942         * configure: Regenerated.
6943         * manual/install.texi (Tools for Compilation): Update GCC version
6944         requirement.
6945         * INSTALL: Regenerated.
6946
6947 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
6948
6949         [BZ #15674]
6950         * string/test-memcmp.c (check2): New.
6951         (main): Call check2.
6952
6953         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
6954
6955 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
6956
6957         [BZ #15022]
6958         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
6959         over to...
6960         (dl_open_worker) [!SHARED]: ... here.
6961
6962 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6963
6964         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
6965
6966 2013-06-25  Richard Henderson  <rth@redhat.com>
6967
6968         * locale/programs/locarchive.c: Include <libc-internal.h>
6969
6970 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
6971
6972         * manual/texinfo.tex: Update to version 2013-06-21.17, with
6973         trailing whitespace removed.
6974
6975 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
6976
6977         [BZ #10283]
6978         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
6979         * locale/programs/locarchive.c: Include libc-mmap.h.
6980         (prepare_address_space): Take two new outputs (the mmap base and len).
6981         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
6982         values.
6983         (create_archive): Declare new mmap base and len values for
6984         prepare_address_space, and store the result in ah.
6985         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
6986         (enlarge_archive): If ah->mmap_base is not NULL, use that and
6987         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6988         Declare new mmap base and len values for
6989         prepare_address_space, and store the result in new_ah.
6990         (open_archive): Declare new mmap base and len values for
6991         prepare_address_space, and store the result in ah.
6992         (close_archive): If ah->mmap_base is not NULL, use that and
6993         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
6994         * sysdeps/generic/libc-mmap.h: New file.
6995
6996 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
6997
6998         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
6999         (ALIGN_UP): Likewise.
7000         (PTR_ALIGN_DOWN): Likewise.
7001         (PTR_ALIGN_UP): Likewise.
7002
7003 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7004
7005         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
7006         entry mapped to PPC_PLATFORM_POWER8.
7007         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
7008         POWER8.
7009         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
7010         (_dl_string_platform): Add case for exporting platform position for
7011         POWER8.
7012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
7013         search path to sysdeps/powerpc/powerpc32/power8 directory.
7014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
7015         search path to sysdeps/powerpc/powerpc64/power8 directory.
7016         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
7017         power7 directories.
7018         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
7019         power7 directories.
7020
7021 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7022
7023         * INSTALL: Regenerate.
7024
7025         * nscd/connections.c (nscd_init): Fix comment.
7026
7027 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
7028
7029         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
7030
7031         [BZ #15667]
7032         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7033         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
7034
7035 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
7036
7037         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
7038         DL_DST_REQ_STATIC.
7039         (DL_DST_REQ_STATIC): Remove macro.
7040
7041 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
7042
7043         [BZ #7006]
7044         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
7045         with a shift of 0 bits.
7046
7047 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
7048
7049         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
7050         $(tststatic-ENV).
7051
7052 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7053
7054         [BZ #15655]
7055         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
7056
7057 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7058
7059         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
7060         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
7061         accepts -fno-tree-loop-distribute-patterns.
7062         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
7063         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
7064         recursive call.
7065         * string/memset.c (memset): Likewise.
7066         * string/test-memmove.c (simple_memmove): Disable loop transformation
7067         to library calls.
7068         * string/test-memset.c (simple_memset): Likewise.
7069         * benchtests/bench-memmove.c (simple_memmove): Likewise.
7070         * benchtests/bench-memset.c (simple_memset): Likewise.
7071         * configure: Regenerated.
7072
7073 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
7074
7075         * math/test-misc.c (main): Ignore fesetround failure when failures
7076         of subsequent rounding tests would be ignored.
7077
7078         [BZ #15654]
7079         * math/fedisblxcpt.c (fedisableexcept): Return 0.
7080         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
7081         * math/fegetenv.c (__fegetenv): Return 0.
7082         * math/fegetexcept.c (fegetexcept): Return 0.
7083         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
7084         FE_TONEAREST.
7085         * math/feholdexcpt.c (feholdexcept): Return 0.
7086         * math/fesetenv.c (__fesetenv): Return 0.
7087         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
7088         argument FE_TONEAREST.
7089         * math/feupdateenv.c (__feupdateenv): Return 0.
7090         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
7091
7092 2013-06-18  Roland McGrath  <roland@hack.frob.com>
7093
7094         * elf/rtld-Rules (rtld-compile-command.S): New variable.
7095         (rtld-compile-command.s, rtld-compile-command.c): New variables.
7096         ($(objpfx)rtld-%.os rules): Use them.
7097
7098 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7099
7100         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
7101         fields.
7102
7103 2013-06-17  Roland McGrath  <roland@hack.frob.com>
7104
7105         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
7106         length of target pattern, then descending length of dependency pattern.
7107         * configure.in (AWK): Require gawk 3.1.2 or newer.
7108         * manual/install.texi (Tools for Compilation): Say that we do.
7109         * configure: Regenerated.
7110
7111         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
7112         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
7113         * scripts/sysd-rules.awk: ... this new script.
7114         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
7115         than a glob-style pattern.
7116
7117 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
7118
7119         * math/test-misc.c (main): Do not treat incorrectly rounded
7120         conversions as failure unless ROUNDING_TESTS passes.
7121
7122 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
7123
7124         [BZ #15631]
7125         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
7126         restore exception state around main square root computation, then
7127         check for inexactness explicitly.
7128
7129         * math/libm-test.inc (fma_test_data): Add another test.
7130
7131 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7132
7133         * manual/threads.texi (Non-POSIX Extensions): New document
7134         node.  Document pthread_getattr_default_np and
7135         pthread_setattr_default_np.
7136
7137         * Versions.def (libpthread): Add GLIBC_2.18.
7138         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
7139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7140         Likewise.
7141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7142         Likewise.
7143         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7144         Likewise.
7145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7146         Likewise.
7147         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
7148         Likewise.
7149         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7150         Likewise.
7151         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7152         Likewise.
7153         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
7154         Likewise.
7155         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
7156         Likewise.
7157
7158 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
7159
7160         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7161         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
7162
7163 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7164             H.J. Lu  <hjl.tools@gmail.com>
7165
7166         [BZ #15627]
7167         * sysdeps/x86_64/rtld-memset.c: Remove file.
7168         * sysdeps/x86_64/rtld-memset.S: New file.
7169
7170 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
7171
7172         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
7173         (test_in_one_mode): Take arguments for whether the rounding mode
7174         is supported for each floating-point type.
7175         (do_test): Pass new arguments to test_in_one_mode using
7176         ROUNDING_TESTS.
7177
7178 2013-06-13  Roland McGrath  <roland@hack.frob.com>
7179
7180         * posix/tst-waitid.c (do_test): Distinguish different instances of
7181         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
7182         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
7183         before entering the kernel for waitpid.
7184
7185 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7186
7187         * NEWS: Fix note on clock function precision.  Text by Roland
7188         McGrath.
7189
7190 2013-06-13  Roland McGrath  <roland@hack.frob.com>
7191
7192         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
7193         it into place only when and if the sanity check passes.
7194
7195 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
7196
7197         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
7198         output for whether conversion result is exact.  Take argument
7199         indicating whether type is IBM long double.
7200         (round_for_all): Change need_exact field to ibm_ld.
7201         * stdlib/tst-strtod-round.c (struct exactness): New type.
7202         (struct test): Change bool ld_ok field to struct exactness exact.
7203         (TEST): Update all definitions for change to field.
7204         (tests): Regenerate array contents.
7205         (test_in_one_mode): Take pointer to new field instead of old ld_ok
7206         field value.  Check for IBM long double here.
7207         (do_test): Update calls to test_in_one_mode.
7208
7209 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7210
7211         [BZ #12515]
7212         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
7213         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
7214
7215 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7216
7217         [BZ #15605]
7218         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
7219         generated by the compiler on loop optimizations.
7220         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
7221         general definitions.
7222
7223 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
7224
7225         * math/bug-nextafter.c: Include <math-tests.h>.
7226         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7227         the relevant type.
7228         * math/bug-nexttoward.c: Include <math-tests.h>.
7229         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7230         the relevant type.
7231         * math/test-misc.c: Include <math-tests.h>.
7232         (main): Only test for exceptions if EXCEPTION_TESTS is true for
7233         the relevant type.
7234
7235 2013-06-12  Andreas Jaeger  <aj@suse.de>
7236
7237         * po/ia.po: Update Interlingua translation from translation
7238         project.
7239
7240 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7241
7242         * include/fenv.h: Include stdbool.h.
7243         (struct rm_ctx): New structure.
7244         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
7245         Define macro.
7246         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
7247         (SET_RESTORE_ROUNDF): Likewise.
7248         (SET_RESTORE_ROUNDL): Likewise.
7249         (SET_RESTORE_ROUND_NOEX): Likewise.
7250         (SET_RESTORE_ROUND_NOEXF): Likewise.
7251         (SET_RESTORE_ROUND_NOEXL): Likewise.
7252         (SET_RESTORE_ROUND_53BIT): Likewise.
7253         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
7254         (libc_feresetround_noexf_ctx): Likewise.
7255         (libc_feresetround_noexl_ctx): Likewise.
7256         (libc_feholdsetround_53bit_ctx): Likewise.
7257         (libc_feresetround_53bit_ctx): Likewise.
7258         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
7259         (libc_feholdexcept_setround_sse_ctx): New function.
7260         (libc_fesetenv_sse_ctx): Likewise.
7261         (libc_feupdateenv_sse_ctx): Likewise.
7262         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
7263         (libc_feholdexcept_setround_387_ctx): Likewise.
7264         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
7265         (libc_feholdsetround_387_prec_ctx): Likewise.
7266         (libc_feholdsetround_387_ctx): Likewise.
7267         (libc_feholdsetround_387_53bit_ctx): Likewise.
7268         (libc_feholdsetround_sse_ctx): Likewise.
7269         (libc_feresetround_sse_ctx): Likewise.
7270         (libc_feresetround_387_ctx): Likewise.
7271         (libc_feupdateenv_387_ctx): Likewise.
7272         (libc_feholdexcept_setroundf_ctx): Define macro.
7273         (libc_fesetenvf_ctx): Likewise.
7274         (libc_feupdateenvf_ctx): Likewise.
7275         (libc_feholdsetroundf_ctx): Likewise.
7276         (libc_feresetroundf_ctx): Likewise.
7277         (libc_feholdexcept_setround_ctx): Likewise.
7278         (libc_fesetenv_ctx): Likewise.
7279         (libc_feupdateenv_ctx): Likewise.
7280         (libc_feholdsetround_ctx): Likewise.
7281         (libc_feresetround_ctx): Likewise.
7282         (libc_feholdexcept_setroundl_ctx): Likewise.
7283         (libc_feupdateenvl_ctx): Likewise.
7284         (libc_feholdsetroundl_ctx): Likewise.
7285         (libc_feresetroundl_ctx): Likewise.
7286         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
7287         (libc_feresetround_53bit_ctx): Likewise.
7288
7289 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7290
7291         * locale/iso-639.def: Convert to UTF-8.
7292
7293 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
7294
7295         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
7296         (EXCEPTION_TESTS_double): Likewise.
7297         (EXCEPTION_TESTS_long_double): Likewise.
7298         (EXCEPTION_TESTS): Likewise.
7299         * math/libm-test.inc (test_exceptions): Only test exceptions if
7300         EXCEPTION_TESTS (FLOAT).
7301
7302 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7303
7304         * benchtests/Makefile (string-bench): Add strcpy_chk and
7305         stpcpy_chk.
7306         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
7307         * benchtests/bench-stpcpy_chk.c: New file.
7308         * benchtests/bench-strcpy_chk-ifunc.c: New file.
7309         * benchtests/bench-strcpy_chk.c: New file.
7310         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
7311         code.
7312         (do_test): Likewise.
7313
7314 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7315
7316         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
7317         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
7318         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
7319         with tabs where appropriate.
7320         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
7321         dl-procinfo.h.
7322         [PPC_PLATFORM_PPC440]: Likewise.
7323         [PPC_PLATFORM_PPC464]: Likewise.
7324         [PPC_PLATFORM_PPC476]: Likewise.
7325         (_dl_string_platform): Add support for detecting ppc405, ppc440,
7326         ppc464, and ppc476 platform strings merging from ports/
7327         dl-procinfo.h.
7328
7329 2013-06-11  Andreas Schwab  <schwab@suse.de>
7330
7331         [BZ #14991]
7332         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
7333         (from_ucs4_idx): Regenerate.
7334         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
7335         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
7336         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
7337         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
7338         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
7339         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
7340         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
7341         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
7342         from FROM_LOOP and TO_LOOP specific macros.
7343         (BODY): Handle combining characters.
7344         * iconvdata/BIG5HKSCS.irreversible: Update.
7345         * iconvdata/BIG5HKSCS.precomposed: New file.
7346         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
7347         characters.
7348         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
7349
7350 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7351
7352         * include/sys/time.h: Fix indentation and add copyright header.
7353
7354         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
7355         (do_test): Likewise.
7356         * string/test-memchr.c (do_one_test): Likewise.
7357         (do_test): Likewise.
7358         * string/test-memcmp.c (do_one_test): Likewise.
7359         (do_test): Likewise.
7360         * string/test-memcpy.c (do_one_test): Likewise.
7361         (do_test): Likewise.
7362         * string/test-memmem.c (do_one_test): Likewise.
7363         (do_test): Likewise.
7364         (do_random_tests): Likewise.
7365         * string/test-memmove.c (do_one_test): Likewise.
7366         (do_test): Likewise.
7367         * string/test-memset.c (do_one_test): Likewise.
7368         (do_test): Likewise.
7369         * string/test-rawmemchr.c (do_one_test): Likewise.
7370         (do_test): Likewise.
7371         * string/test-strcasecmp.c (do_one_test): Likewise.
7372         (do_test): Likewise.
7373         * string/test-strcasestr.c (do_one_test): Likewise.
7374         (do_test): Likewise.
7375         * string/test-strcat.c (do_one_test): Likewise.
7376         (do_test): Likewise.
7377         * string/test-strchr.c (do_one_test): Likewise.
7378         (do_test): Likewise.
7379         * string/test-strcmp.c (do_one_test): Likewise.
7380         (do_test): Likewise.
7381         * string/test-strcpy.c (do_one_test): Likewise.
7382         (do_test): Likewise.
7383         * string/test-string.h: Likewise.
7384         (test_init): Likewise.
7385         * string/test-strlen.c (do_one_test): Likewise.
7386         (do_test): Likewise.
7387         * string/test-strncasecmp.c (do_one_test): Likewise.
7388         (do_test): Likewise.
7389         * string/test-strncat.c (do_one_test): Likewise.
7390         (do_test): Likewise.
7391         * string/test-strncmp.c (do_one_test): Likewise.
7392         (do_test_limit): Likewise.
7393         (do_test): Likewise.
7394         * string/test-strncpy.c (do_one_test): Likewise.
7395         (do_test): Likewise.
7396         * string/test-strnlen.c (do_one_test): Likewise.
7397         (do_test): Likewise.
7398         * string/test-strpbrk.c (do_one_test): Likewise.
7399         (do_test): Likewise.
7400         * string/test-strrchr.c (do_one_test): Likewise.
7401         (do_test): Likewise.
7402         * string/test-strspn.c (do_one_test): Likewise.
7403         (do_test): Likewise.
7404         * string/test-strstr.c (do_one_test): Likewise.
7405         (do_test): Likewise.
7406
7407         * benchtests/Makefile (string-bench): Add string benchmarks.
7408         * benchtests/bench-bcopy-ifunc.c: New file.
7409         * benchtests/bench-bcopy.c: New file.
7410         * benchtests/bench-bzero-ifunc.c: New file.
7411         * benchtests/bench-bzero.c: New file.
7412         * benchtests/bench-memccpy-ifunc.c: New file.
7413         * benchtests/bench-memccpy.c: New file.
7414         * benchtests/bench-memchr-ifunc.c: New file.
7415         * benchtests/bench-memchr.c: New file.
7416         * benchtests/bench-memcmp-ifunc.c: New file.
7417         * benchtests/bench-memcmp.c: New file.
7418         * benchtests/bench-memmem-ifunc.c: New file.
7419         * benchtests/bench-memmem.c: New file.
7420         * benchtests/bench-memmove-ifunc.c: New file.
7421         * benchtests/bench-memmove.c: New file.
7422         * benchtests/bench-mempcpy-ifunc.c: New file.
7423         * benchtests/bench-mempcpy.c: New file.
7424         * benchtests/bench-memset-ifunc.c: New file.
7425         * benchtests/bench-memset.c: New file.
7426         * benchtests/bench-rawmemchr-ifunc.c: New file.
7427         * benchtests/bench-rawmemchr.c: New file.
7428         * benchtests/bench-stpcpy-ifunc.c: New file.
7429         * benchtests/bench-stpcpy.c: New file.
7430         * benchtests/bench-stpncpy-ifunc.c: New file.
7431         * benchtests/bench-stpncpy.c: New file.
7432         * benchtests/bench-strcasecmp-ifunc.c: New file.
7433         * benchtests/bench-strcasecmp.c: New file.
7434         * benchtests/bench-strcasestr-ifunc.c: New file.
7435         * benchtests/bench-strcasestr.c: New file.
7436         * benchtests/bench-strcat-ifunc.c: New file.
7437         * benchtests/bench-strcat.c: New file.
7438         * benchtests/bench-strchr-ifunc.c: New file.
7439         * benchtests/bench-strchr.c: New file.
7440         * benchtests/bench-strchrnul-ifunc.c: New file.
7441         * benchtests/bench-strchrnul.c: New file.
7442         * benchtests/bench-strcmp-ifunc.c: New file.
7443         * benchtests/bench-strcmp.c: New file.
7444         * benchtests/bench-strcpy-ifunc.c: New file.
7445         * benchtests/bench-strcpy.c: New file.
7446         * benchtests/bench-strcspn-ifunc.c: New file.
7447         * benchtests/bench-strcspn.c: New file.
7448         * benchtests/bench-strlen-ifunc.c: New file.
7449         * benchtests/bench-strlen.c: New file.
7450         * benchtests/bench-strncasecmp-ifunc.c: New file.
7451         * benchtests/bench-strncasecmp.c: New file.
7452         * benchtests/bench-strncat-ifunc.c: New file.
7453         * benchtests/bench-strncat.c: New file.
7454         * benchtests/bench-strncmp-ifunc.c: New file.
7455         * benchtests/bench-strncmp.c: New file.
7456         * benchtests/bench-strncpy-ifunc.c: New file.
7457         * benchtests/bench-strncpy.c: New file.
7458         * benchtests/bench-strnlen-ifunc.c: New file.
7459         * benchtests/bench-strnlen.c: New file.
7460         * benchtests/bench-strpbrk-ifunc.c: New file.
7461         * benchtests/bench-strpbrk.c: New file.
7462         * benchtests/bench-strrchr-ifunc.c: New file.
7463         * benchtests/bench-strrchr.c: New file.
7464         * benchtests/bench-strspn-ifunc.c: New file.
7465         * benchtests/bench-strspn.c: New file.
7466         * benchtests/bench-strstr-ifunc.c: New file.
7467         * benchtests/bench-strstr.c: New file.
7468
7469         * benchtests/Makefile: Disable parallel execution of targets.
7470         (string-bench): Add memcpy.
7471         (benchset): New variable to store a list of benchmark sets.
7472         (bench-func): Renamed from bench.
7473         (bench-set): New target.
7474         (bench): Depend on bench-func and bench-set.
7475         * benchtests/README: Add section on benchmark sets.
7476         * benchtests/bench-memcpy-ifunc.c: New file.
7477         * benchtests/bench-memcpy.c: New file.
7478         * benchtests/bench-string.h: New file.
7479
7480 2013-06-11  Andreas Schwab  <schwab@suse.de>
7481
7482         [BZ #15577]
7483         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
7484         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
7485         values in the triple.
7486         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
7487         terminator in the group key.
7488
7489 2013-06-11  Andreas Jaeger  <aj@suse.de>
7490
7491         * po/zh_TW.po: Update Chinese (traditional) translation from
7492         translation project.
7493
7494 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7495
7496         * include/time.h (__clock_gettime): Add libc_hidden_proto.
7497         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
7498         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
7499         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7500         (clock_getcpuclockid): Likewise.
7501         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
7502         Add weak_alias and libc_hidden_def.
7503         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
7504         * rt/clock_gettime.c (clock_gettime): Rename to
7505         __clock_gettime.  Add weak_alias and libc_hidden_def.
7506         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
7507         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
7508         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
7509         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
7510         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
7511         Likewise.
7512         * rt/clock_settime.c (clock_settime): Rename to
7513         __clock_settime.  Add weak_alias and libc_hidden_def.
7514         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
7515
7516 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
7517
7518         * mach/err_boot.sub: Remove trailing whitespace.
7519         * mach/err_ipc.sub: Likewise.
7520         * mach/err_mach.sub: Likewise.
7521
7522         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
7523         (ROUNDING_TESTS_double): Likewise.
7524         (ROUNDING_TESTS_long_double): Likewise.
7525         (ROUNDING_TESTS): Likewise.
7526         * math/libm-test.inc: Include <math-tests.h>.
7527         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
7528         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7529         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7530         (IF_ROUND_INIT_FE_UPWARD): Likewise.
7531
7532 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7533
7534         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
7535         of assigning.
7536
7537 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
7538
7539         * sysdeps/gnu/errlist.awk: Do not generate space at end of
7540         otherwise empty TRANS lines.
7541         * sysdeps/gnu/errlist.c: Regenerated.
7542
7543         * catgets/gencat.c (error_print): Use (void) in function
7544         definition.
7545         * crypt/crypt_util.c (__init_des): Likewise.
7546         * crypt/speeds.c (Stop): Likewise.
7547         (main): Likewise.
7548         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
7549         * inet/ruserpass.c (token): Likewise.
7550         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
7551         * intl/localealias.c (extend_alias_table): Likewise.
7552         * intl/plural-exp.c (init_germanic_plural): Likewise.
7553         * libio/fcloseall.c (__fcloseall): Likewise.
7554         * libio/genops.c (_IO_flush_all): Likewise.
7555         (_IO_flush_all_linebuffered): Likewise.
7556         (_IO_cleanup): Likewise.
7557         (_IO_iter_begin): Likewise.
7558         (_IO_iter_end): Likewise.
7559         (_IO_list_lock): Likewise.
7560         (_IO_list_unlock): Likewise.
7561         (_IO_list_resetlock): Likewise.
7562         * libio/getchar.c (getchar): Likewise.
7563         * libio/getchar_u.c (getchar_unlocked): Likewise.
7564         * libio/getwchar.c (getwchar): Likewise.
7565         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
7566         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
7567         * login/getpt.c (__getpt): Likewise.
7568         * login/tst-utmp.c (main): Likewise.
7569         * malloc/hooks.c (__malloc_check_init): Likewise.
7570         * malloc/malloc.c (__malloc_stats): Likewise.
7571         * malloc/mtrace.c (tr_break): Likewise.
7572         (mtrace): Likewise.
7573         (muntrace): Likewise.
7574         * misc/fstab.c (endfsent): Likewise.
7575         * misc/getclktck.c (__getclktck): Likewise.
7576         * misc/getdtsz.c (__getdtablesize): Likewise.
7577         * misc/gethostid.c (gethostid): Likewise.
7578         * misc/getpagesize.c (__getpagesize): Likewise.
7579         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
7580         (__get_nprocs): Likewise.
7581         (__get_phys_pages): Likewise.
7582         (__get_avphys_pages): Likewise.
7583         * misc/getttyent.c (getttyent): Likewise.
7584         (setttyent): Likewise.
7585         (endttyent): Likewise.
7586         * misc/getusershell.c (getusershell): Likewise.
7587         (endusershell): Likewise.
7588         (setusershell): Likewise.
7589         (initshells): Likewise.
7590         * misc/hsearch.c (__hdestroy): Likewise.
7591         * misc/sync.c (sync): Likewise.
7592         * misc/syslog.c (closelog_internal): Likewise.
7593         (closelog): Likewise.
7594         * misc/ttyslot.c (ttyslot): Likewise.
7595         * misc/vhangup.c (vhangup): Likewise.
7596         * posix/fork.c (__fork): Likewise.
7597         * posix/getegid.c (__getegid): Likewise.
7598         * posix/geteuid.c (__geteuid): Likewise.
7599         * posix/getgid.c (__getgid): Likewise.
7600         * posix/getpid.c (__getpid): Likewise.
7601         * posix/getppid.c (__getppid): Likewise.
7602         * posix/getuid.c (__getuid): Likewise.
7603         * posix/pause.c (pause): Likewise.
7604         * posix/setpgrp.c (setpgrp): Likewise.
7605         * posix/setsid.c (__setsid): Likewise.
7606         * posix/test-vfork.c (noop): Likewise.
7607         * resolv/gethnamaddr.c (_endhtent): Likewise.
7608         (_gethtent): Likewise.
7609         (ht_endhostent): Likewise.
7610         (gethostent): Likewise.
7611         (dns_service): Likewise.
7612         * stdlib/drand48.c (drand48): Likewise.
7613         * stdlib/lrand48.c (lrand48): Likewise.
7614         * stdlib/mrand48.c (mrand48): Likewise.
7615         * stdlib/rand.c (rand): Likewise.
7616         * stdlib/random.c (__random): Likewise.
7617         * stdlib/setenv.c (clearenv): Likewise.
7618         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
7619         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
7620         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
7621         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
7622         (__get_nprocs): Likewise.
7623         (__get_phys_pages): Likewise.
7624         (__get_avphys_pages): Likewise.
7625         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
7626         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
7627         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
7628         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
7629         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
7630         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
7631         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
7632         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
7633         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
7634         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
7635         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
7636         * sysdeps/mach/hurd/sync.c (sync): Likewise.
7637         * sysdeps/posix/clock.c (clock): Likewise.
7638         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
7639         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
7640         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
7641         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
7642         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
7643         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
7644         (__get_nprocs_conf): Likewise.
7645         (__get_phys_pages): Likewise.
7646         (__get_avphys_pages): Likewise.
7647         * time/clock.c (clock): Likewise.
7648         * time/tzset.c (__tzname_max): Likewise.
7649
7650 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
7651
7652         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
7653         (__bswap_32): Do not use "register".
7654         * crypt/crypt.c (_ufc_doit_r): Likewise.
7655         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7656         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7657         * gmon/gmon.c (__monstartup): Likewise.
7658         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
7659         * hurd/hurdmalloc.c (more_memory): Likewise.
7660         (malloc): Likewise.
7661         (free): Likewise.
7662         (realloc): Likewise.
7663         (malloc_fork_prepare): Likewise.
7664         (malloc_fork_parent): Likewise.
7665         (malloc_fork_child): Likewise.
7666         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
7667         (_svcauth_des): Likewise.
7668         * inet/inet_lnaof.c (inet_lnaof): Likewise.
7669         * inet/inet_net.c (inet_network): Likewise.
7670         * inet/inet_netof.c (inet_netof): Likewise.
7671         * inet/rcmd.c (__validuser2_sa): Likewise.
7672         * io/fts.c (fts_open): Likewise.
7673         (fts_load): Likewise.
7674         (fts_close): Likewise.
7675         (fts_read): Likewise.
7676         (fts_children): Likewise.
7677         (fts_build): Likewise.
7678         (fts_stat): Likewise.
7679         (fts_sort): Likewise.
7680         (fts_alloc): Likewise.
7681         (fts_lfree): Likewise.
7682         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
7683         (_IO_file_xsgetn): Likewise.
7684         (_IO_file_xsgetn_mmap): Likewise.
7685         * libio/iofopncook.c (_IO_cookie_read): Likewise.
7686         (_IO_cookie_write): Likewise.
7687         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
7688         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
7689         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
7690         * malloc/obstack.c (_obstack_begin): Likewise.
7691         (_obstack_begin_1): Likewise.
7692         (_obstack_newchunk): Likewise.
7693         (_obstack_allocated_p): Likewise.
7694         (obstack_free): Likewise.
7695         (_obstack_memory_used): Likewise.
7696         * misc/getttyent.c (getttynam): Likewise.
7697         (getttyent): Likewise.
7698         (skip): Likewise.
7699         (value): Likewise.
7700         * misc/getusershell.c (initshells): Likewise.
7701         * misc/syslog.c (__vsyslog_chk): Likewise.
7702         * misc/ttyslot.c (ttyslot): Likewise.
7703         * nis/nis_hash.c (__nis_hash): Likewise.
7704         * posix/fnmatch_loop.c (FCT): Likewise.
7705         * posix/getconf.c (print_all): Likewise.
7706         (main): Likewise.
7707         * posix/getopt.c (exchange): Likewise.
7708         * posix/glob.c (globfree): Likewise.
7709         (prefix_array): Likewise.
7710         (__glob_pattern_type): Likewise.
7711         * resolv/arpa/nameser.h (NS_GET16): Likewise.
7712         (NS_GET32): Likewise.
7713         (NS_PUT16): Likewise.
7714         (NS_PUT32): Likewise.
7715         * resolv/gethnamaddr.c (getanswer): Likewise.
7716         (gethostbyname2): Likewise.
7717         (gethostbyaddr): Likewise.
7718         (_gethtent): Likewise.
7719         (_gethtbyname2): Likewise.
7720         (_gethtbyaddr): Likewise.
7721         * resolv/ns_print.c (dst_s_get_int16): Likewise.
7722         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
7723         * resolv/res_init.c (__res_vinit): Likewise.
7724         (net_mask): Likewise.
7725         * resolv/res_mkquery.c (outchar): Likewise.
7726         (PRINT): Likewise.
7727         * stdio-common/printf_fp.c (outchar): Likewise.
7728         (PRINT): Likewise.
7729         * stdio-common/printf_fphex.c (outchar): Likewise.
7730         (PRINT): Likewise.
7731         * stdio-common/printf_size.c (outchar): Likewise.
7732         (PRINT): Likewise.
7733         * stdio-common/test_rdwr.c (main): Likewise.
7734         * stdio-common/tfformat.c (matches): Likewise.
7735         * stdio-common/vfprintf.c (outchar): Likewise.
7736         (printf_unknown): Likewise.
7737         (buffered_vfprintf): Likewise.
7738         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7739         * stdio-common/xbug.c (AppendToBuffer): Likewise.
7740         (ReadFile): Likewise.
7741         * stdlib/qsort.c (SWAP): Likewise.
7742         (_quicksort): Likewise.
7743         * stdlib/setenv.c (__add_to_environ): Likewise.
7744         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7745         * stdlib/strtol_l.c (__strtol_l): Likewise.
7746         * stdlib/tst-strtod.c (main): Likewise.
7747         * stdlib/tst-strtol.c (main): Likewise.
7748         * stdlib/tst-strtoll.c (main): Likewise.
7749         * string/bits/string2.h (__strcmp_cc): Likewise.
7750         (__strcmp_cg): Likewise.
7751         (__strcspn_c1): Likewise.
7752         (__strcspn_c2): Likewise.
7753         (__strcspn_c3): Likewise.
7754         (__strspn_c1): Likewise.
7755         (__strspn_c2): Likewise.
7756         (__strspn_c3): Likewise.
7757         (__strsep_1c): Likewise.
7758         (__strsep_2c): Likewise.
7759         (__strsep_3c): Likewise.
7760         * string/memccpy.c (__memccpy): Likewise.
7761         * string/stpcpy.c (__stpcpy): Likewise.
7762         * string/strcmp.c (strcmp): Likewise.
7763         * string/strrchr.c (strrchr): Likewise.
7764         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
7765         Likewise.
7766         * sysdeps/mach/hurd/getcwd.c
7767         (_hurd_canonicalize_directory_name_internal): Likewise.
7768         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
7769         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
7770         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
7771         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
7772         Likewise, in both definitions.
7773         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
7774         definitions.
7775         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
7776         64] (__bswap_64): Likewise.
7777         * time/test_time.c (main): Likewise.
7778         * time/tzfile.c (__tzfile_read): Likewise.
7779         (__tzfile_compute): Likewise.
7780         * time/tzset.c (__tzset_parse_tz): Likewise.
7781         (tzset_internal): Likewise.
7782         (compute_change): Likewise.
7783         * wcsmbs/wcscat.c (__wcscat): Likewise.
7784         * wcsmbs/wcschr.c (wcschr): Likewise.
7785         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
7786         * wcsmbs/wcscspn.c (wcscspn): Likewise.
7787         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
7788         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
7789         * wcsmbs/wcsspn.c (wcsspn): Likewise.
7790         * wcsmbs/wcsstr.c (wcsstr): Likewise.
7791         * wcsmbs/wmemchr.c (wmemchr): Likewise.
7792         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7793         * wcsmbs/wmemset.c (wmemset): Likewise.
7794
7795 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
7796
7797         * scripts/config.guess: Update to version 2013-05-16.
7798         * scripts/config.sub: Update to version 2013-04-24.
7799         * scripts/install-sh: Update to version 2011-11-20.07.
7800         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
7801         * scripts/move-if-change: Update to version 2012-01-06 07:23.
7802
7803 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
7804
7805         * debug/fgetws_u_chk.c: Fix leading whitespaces.
7806         * elf/sln.c: Likewise.
7807         * hurd/hurd/ioctl.h: Likewise.
7808         * hurd/hurdmalloc.c: Likewise.
7809         * hurd/xattr.c: Likewise.
7810         * include/shlib-compat.h: Likewise.
7811         * inet/ruserpass.c: Likewise.
7812         * libio/iofgets_u.c: Likewise.
7813         * libio/iofgetws_u.c: Likewise.
7814         * locale/programs/ld-identification.c: Likewise.
7815         * locale/programs/ld-time.c: Likewise.
7816         * mach/msg-destroy.c: Likewise.
7817         * nss/nss_files/files-netgrp.c: Likewise.
7818         * resolv/res_data.c: Likewise.
7819         * soft-fp/op-1.h: Likewise.
7820         * soft-fp/op-2.h: Likewise.
7821         * soft-fp/op-4.h: Likewise.
7822         * soft-fp/op-common.h: Likewise.
7823         * stdio-common/printf_fphex.c: Likewise.
7824         * stdlib/strtod_l.c: Likewise.
7825         * sunrpc/rpc/clnt.h: Likewise.
7826         * sysdeps/generic/framestate.c: Likewise.
7827         * sysdeps/i386/bsd-_setjmp.S: Likewise.
7828         * sysdeps/i386/bsd-setjmp.S: Likewise.
7829         * sysdeps/i386/__longjmp.S: Likewise.
7830         * sysdeps/i386/setjmp.S: Likewise.
7831         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7832         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7833         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7834         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7835         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7836         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7837         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7838         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7839         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7840         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
7841         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7842         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7843         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7844         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7845         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7846         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7847         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7848         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
7849         * sysdeps/ieee754/support.c: Likewise.
7850         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7851         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
7852         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
7853         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
7854         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
7855         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
7856         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
7857         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
7858         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
7859         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
7860         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
7861         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
7862         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
7863         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
7864         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
7865         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
7866         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7868
7869 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
7870
7871         * posix/transbug.c: Remove executable mode.
7872
7873 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
7874
7875         * crypt/speeds.c: Remove trailing whitespace.
7876         * dlfcn/default.c: Likewise.
7877         * elf/ifuncdep2.c: Likewise.
7878         * elf/ifuncmain1.c: Likewise.
7879         * elf/ifuncmain1vis.c: Likewise.
7880         * elf/testobj.h: Likewise.
7881         * elf/tst-stackguard1.c: Likewise.
7882         * gmon/sys/gmon.h: Likewise.
7883         * hurd/hurdmsg.c: Likewise.
7884         * hurd/new-fd.c: Likewise.
7885         * hurd/ports-get.c: Likewise.
7886         * iconvdata/ibm1008_420.c: Likewise.
7887         * inet/tst-getni1.c: Likewise.
7888         * inet/tst-getni2.c: Likewise.
7889         * libio/ioungetc.c: Likewise.
7890         * libio/wfiledoalloc.c: Likewise.
7891         * manual/libm-err-tab.pl: Likewise.
7892         * math/w_dremf.c: Likewise.
7893         * misc/ftruncate.c: Likewise.
7894         * posix/bug-glob2.c: Likewise.
7895         * posix/tst-pcre.c: Likewise.
7896         * posix/wait4.c: Likewise.
7897         * resolv/README: Likewise.
7898         * resolv/res_debug.h: Likewise.
7899         * resolv/tst-inet_ntop.c: Likewise.
7900         * setjmp/bug269-setjmp.c: Likewise.
7901         * soft-fp/extended.h: Likewise.
7902         * soft-fp/op-1.h: Likewise.
7903         * soft-fp/op-2.h: Likewise.
7904         * soft-fp/op-4.h: Likewise.
7905         * soft-fp/op-8.h: Likewise.
7906         * soft-fp/testit.c: Likewise.
7907         * stdio-common/bug16.c: Likewise.
7908         * stdlib/random.c: Likewise.
7909         * sunrpc/rpcsvc/rquota.x: Likewise.
7910         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
7911         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7912         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7913         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7914         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7915         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7916         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7917         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7918         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7919         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7920         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7921         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7922         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7923         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7924         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7925         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7926         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7927         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7928         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7929         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7930         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7931         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7932         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7933         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7934         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7935         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7936         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7937         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
7938         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7939         * sysdeps/ieee754/s_lib_version.c: Likewise.
7940         * sysdeps/mach/hurd/check_fds.c: Likewise.
7941         * sysdeps/mach/hurd/getsockname.c: Likewise.
7942         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
7943         * sysdeps/mach/hurd/recvfrom.c: Likewise.
7944         * sysdeps/powerpc/bits/link.h: Likewise.
7945         * sysdeps/powerpc/dl-procinfo.c: Likewise.
7946         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
7947         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
7948         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
7949         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7950         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7951         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
7952         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7953         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
7954         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7955         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7956         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
7957         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
7958         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7959         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7960         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7961         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
7962         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
7963         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7964         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7965         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7966         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
7967         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7968         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
7969         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
7970         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
7971         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
7972         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7973         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7974         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
7975         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
7976         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
7977         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7978         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7979         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
7980         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7981         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
7982         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
7983         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7984         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
7985         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
7986         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
7987         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
7988         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
7989         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
7990         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
7991         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
7992         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
7993         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
7994         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
7995         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7996         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7997         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7998         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7999         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
8000         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8001         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8002         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8003         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
8004         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8005         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
8006         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
8007         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
8008         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8009         * sysdeps/powerpc/sysdep.h: Likewise.
8010         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8011         * sysdeps/s390/s390-64/sub_n.S: Likewise.
8012         * sysdeps/sh/dl-trampoline.S: Likewise.
8013         * sysdeps/sh/memset.S: Likewise.
8014         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
8015         * sysdeps/sh/strlen.S: Likewise.
8016         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
8017         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
8018         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
8019         * sysdeps/sparc/sparc32/rem.S: Likewise.
8020         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
8021         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
8022         * sysdeps/sparc/sparc32/strchr.S: Likewise.
8023         * sysdeps/sparc/sparc32/udiv.S: Likewise.
8024         * sysdeps/sparc/sparc32/urem.S: Likewise.
8025         * sysdeps/sparc/sparc64/add_n.S: Likewise.
8026         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
8027         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
8028         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
8029         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
8030         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
8031         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8032         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
8033         * sysdeps/unix/bsd/times.c: Likewise.
8034         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
8035         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
8036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8039         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
8040         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8041         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8042         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
8043         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
8044         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
8045         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8046         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
8047         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8048         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8049         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
8050         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8051         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
8052         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
8053         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
8054         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8055         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
8056         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8057         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
8058         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
8059         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8060         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
8061         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8062         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
8063         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
8064         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
8065         * sysdeps/x86_64/strcspn.S: Likewise.
8066
8067 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
8068
8069         * locale/C-translit.h: Revert #include <stdint.h> because this is a
8070         generated file.  Regenerate properly from gen-translit.pl.
8071         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
8072         locale/C-translit.h.
8073
8074 2013-06-05  Andreas Schwab  <schwab@suse.de>
8075
8076         [BZ #15100]
8077         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
8078         week as 6 instead of -1.
8079         * time/tst-strptime.c (day_tests): Add test case.
8080
8081 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8082
8083         * sysdeps/generic/math_private.h
8084         (libc_feholdexcept_setround_53bit): Replace with
8085         libc_feholdsetround_53bit.
8086         (libc_feupdateenv_53bit): Replace with
8087         libc_feresetround_53bit.
8088         (SET_RESTORE_ROUND_53BIT): Adjust.
8089
8090 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8091
8092         * string/test-strchrnul.c: Add copyright header.
8093
8094         * posix/tst-getaddrinfo4.c: Increase test timeout.
8095
8096 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
8097
8098         [BZ #15536]
8099         * math/libm-test.inc (MAX_EXP): Remove
8100         (MIN_EXP): Define.
8101         (ulp): Use MIN_EXP - MANT_DIG.
8102         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
8103
8104 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
8105
8106         * po/be.po: Revert last change.
8107         * po/zh_CN.po: Likewise.
8108         * po/header.pot: Likewise.
8109
8110 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
8111
8112         * Makefile ($(common-objpfx)linkobj/libc.so): Define
8113         link-libc-deps to empty as target-specific variable.
8114         * Makerules (link-libc-args): New variable.
8115         (libc-for-link): Likewise.
8116         (link-libc-deps): Likewise.
8117         (lib%.so): Depend on $(link-libc-deps).  Link with
8118         $(link-libc-args).
8119         (build-module): Link with $(link-libc-args).
8120         (build-module-asneeded): Likewise.
8121         (build-module-helper-objlist): Filter out $(link-libc-deps) from
8122         list of objects.
8123         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
8124         target-specific variable.
8125         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
8126         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
8127         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
8128         libc.
8129         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
8130         libc and ld.so.
8131         ($(objpfx)libpcprofile.so): Likewise.
8132         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
8133         libc_nonshared.a.
8134         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
8135         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
8136         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
8137         $(link-libc-deps).
8138         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
8139         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
8140         * login/Makefile ($(objpfx)libutil.so): Likewise.
8141         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
8142         * math/Makefile ($(objpfx)libm.so): Likewise.
8143         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
8144         $(objpfx)libnsl.so): Define libc-for-link as target-specific
8145         variable instead of depending directly on libc.
8146         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
8147         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
8148         $(link-libc-deps).
8149         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
8150         libc.
8151         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
8152         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
8153         ($(objpfx)libanl.so): Likewise.
8154         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
8155         ld.so.
8156         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
8157         $(link-libc-deps).
8158         * sysdeps/i386/fpu/Makefile: Remove file.
8159         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
8160         ($(objpfx)libm.so): Remove dependency on ld.so.
8161
8162 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
8163
8164         [BZ # 15553]
8165         * nis/yp_xdr.c (XDRMAXNAME): Define.
8166         (XDRMAXRECORD): Define.
8167         (xdr_domainname): Use XDRMAXNAME.
8168         (xdr_mapname): Likewise.
8169         (xdr_peername): Likewise.
8170         (xdr_keydat): Use XDRMAXRECORD.
8171         (xdr_valdat): Likewise.
8172
8173 2013-05-30  Jeff Law  <law@redhat.com>
8174
8175         [BZ #14256]
8176         * manual/errno.texi (ESTALE): Update to account for more than
8177         just NFS file systems.
8178         * sysdeps/gnu/errlist.c: Regenerated.
8179
8180 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8181
8182         [BZ #15465]
8183         * elf/Makefile (tests): Add tst-null-argv.
8184         (modules-names):  Add tst-null-argv-lib.
8185         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
8186         (tst-null-argv-ENV): Set environment for tst-null-argv.
8187         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
8188         (RTLD_PROGNAME): New macro.
8189         * elf/tst-null-argv.c: New test case.
8190         * elf/tst-null-argv-lib.c: Library for test case.
8191         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
8192         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
8193         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
8194         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
8195         * elf/dl-init.c (call_init): Likewise.
8196         (_dl_init): Likewise.
8197         * elf/dl-load.c (print_search_path): Likewise.
8198         (_dl_map_object): Likewise.
8199         * elf/dl-lookup.c (do_lookup_x): Likewise.
8200         (add_dependency): Likewise.
8201         (_dl_lookup_symbol_x): Likewise.
8202         (_dl_debug_bindings): Likewise.
8203         * elf/dl-open.c (_dl_show_scope): Likewise.
8204         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8205         * elf/dl-version.c (match_symbol): Likewise.
8206         (_dl_check_map_versions): Likewise.
8207         * elf/rtld.c (dl_main): Likewise.
8208         (print_unresolved): Use RTLD_PROGNAME.
8209         (print_missing_version): Likewise.
8210         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
8211         (elf_machine_rela): Likewise.
8212         * sysdeps/powerpc/powerpc32/dl-machine.c
8213         (__process_machine_rela): Likewise.
8214         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8215         Likewise.
8216         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
8217         Likewise.
8218         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8219         Likewise.
8220         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8221         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
8222         Likewise.
8223         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
8224         Likewise.
8225         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8226
8227 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
8228
8229         * po/be.po: Add descriptive title.
8230         * po/zh_CN.po: Likewise.
8231         * po/header.pot: Likewise.
8232
8233 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
8234
8235         * locale/programs/locarchive.c (create_archive): Inlucde fname in
8236         error message.
8237         (enlarge_archive): Likewise.
8238
8239 2013-05-28  Ben North  <ben@redfrontdoor.org>
8240
8241         * manual/arith.texi (frexp): It is the magnitude of the return
8242         value which lies in [0.5, 1), not the return value itself.
8243
8244 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8245
8246         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8247
8248 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
8249
8250         * stdio-common/bug26.c (main): Correct fscanf template.
8251
8252         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
8253         declare _dl_skip_args.
8254
8255         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
8256         Don't declare.
8257
8258         * manual/platform.texi: Add missing @end deftypefun.
8259
8260 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
8261
8262         [BZ #15529]
8263         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
8264         bit of mantissa of 2^16382.
8265         * math/libm-test.inc (hypot_test_data): Add more tests.
8266
8267         * math/libm-test.inc: Add drem and pow10 to list of tested
8268         functions.
8269         (pow10_test): New function.
8270         (drem_test): Likewise.
8271         (drem_test_tonearest): Likewise.
8272         (drem_test_towardzero): Likewise.
8273         (drem_test_downward): Likewise.
8274         (drem_test_upward): Likewise.
8275         (main): Call the new functions.
8276
8277         * math/libm-test.inc (finite_test_data): Remove.
8278         (finite_test): Run tests from isfinite_test_data.
8279         (gamma_test_data): Remove.
8280         (gamma_test): Run tests from lgamma_test_data.
8281         * sysdeps/i386/fpu/libm-test-ulps: Update.
8282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8283
8284 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8285
8286         * manual/platform.texi: Add PowerPC PPR function set documentation.
8287         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
8288         implementation.
8289
8290 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
8291
8292         * math/libm-test.inc (MAX_EXP): Define.
8293         (ULPDIFF): Define.
8294         (ulp): New function.
8295         (check_float_internal): Use ULPDIFF.
8296         (cpow_test): Disable failing test.
8297         (check_ulp): Test ulp() implemetnation.
8298         (main): Call check_ulp before starting tests.
8299
8300 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
8301
8302         * math/gen-libm-test.pl (generate_testfile): Do not handle
8303         START_DATA and END_DATA.
8304         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
8305         END_DATA.
8306         (acos_tonearest_test_data): Likewise.
8307         (acos_towardzero_test_data): Likewise.
8308         (acos_downward_test_data): Likewise.
8309         (acos_upward_test_data): Likewise.
8310         (acosh_test_data): Likewise.
8311         (asin_test_data): Likewise.
8312         (asin_tonearest_test_data): Likewise.
8313         (asin_towardzero_test_data): Likewise.
8314         (asin_downward_test_data): Likewise.
8315         (asin_upward_test_data): Likewise.
8316         (asinh_test_data): Likewise.
8317         (atan_test_data): Likewise.
8318         (atanh_test_data): Likewise.
8319         (atan2_test_data): Likewise.
8320         (cabs_test_data): Likewise.
8321         (cacos_test_data): Likewise.
8322         (cacosh_test_data): Likewise.
8323         (carg_test_data): Likewise.
8324         (casin_test_data): Likewise.
8325         (casinh_test_data): Likewise.
8326         (catan_test_data): Likewise.
8327         (catanh_test_data): Likewise.
8328         (cbrt_test_data): Likewise.
8329         (ccos_test_data): Likewise.
8330         (ccosh_test_data): Likewise.
8331         (ceil_test_data): Likewise.
8332         (cexp_test_data): Likewise.
8333         (cimag_test_data): Likewise.
8334         (clog_test_data): Likewise.
8335         (clog10_test_data): Likewise.
8336         (conj_test_data): Likewise.
8337         (copysign_test_data): Likewise.
8338         (cos_test_data): Likewise.
8339         (cos_tonearest_test_data): Likewise.
8340         (cos_towardzero_test_data): Likewise.
8341         (cos_downward_test_data): Likewise.
8342         (cos_upward_test_data): Likewise.
8343         (cosh_test_data): Likewise.
8344         (cosh_tonearest_test_data): Likewise.
8345         (cosh_towardzero_test_data): Likewise.
8346         (cosh_downward_test_data): Likewise.
8347         (cosh_upward_test_data): Likewise.
8348         (cpow_test_data): Likewise.
8349         (cproj_test_data): Likewise.
8350         (creal_test_data): Likewise.
8351         (csin_test_data): Likewise.
8352         (csinh_test_data): Likewise.
8353         (csqrt_test_data): Likewise.
8354         (ctan_test_data): Likewise.
8355         (ctan_tonearest_test_data): Likewise.
8356         (ctan_towardzero_test_data): Likewise.
8357         (ctan_downward_test_data): Likewise.
8358         (ctan_upward_test_data): Likewise.
8359         (ctanh_test_data): Likewise.
8360         (ctanh_tonearest_test_data): Likewise.
8361         (ctanh_towardzero_test_data): Likewise.
8362         (ctanh_downward_test_data): Likewise.
8363         (ctanh_upward_test_data): Likewise.
8364         (erf_test_data): Likewise.
8365         (erfc_test_data): Likewise.
8366         (exp_test_data): Likewise.
8367         (exp_tonearest_test_data): Likewise.
8368         (exp_towardzero_test_data): Likewise.
8369         (exp_downward_test_data): Likewise.
8370         (exp_upward_test_data): Likewise.
8371         (exp10_test_data): Likewise.
8372         (exp2_test_data): Likewise.
8373         (expm1_test_data): Likewise.
8374         (fabs_test_data): Likewise.
8375         (fdim_test_data): Likewise.
8376         (finite_test_data): Likewise.
8377         (floor_test_data): Likewise.
8378         (fma_test_data): Likewise.
8379         (fma_towardzero_test_data): Likewise.
8380         (fma_downward_test_data): Likewise.
8381         (fma_upward_test_data): Likewise.
8382         (fmax_test_data): Likewise.
8383         (fmin_test_data): Likewise.
8384         (fmod_test_data): Likewise.
8385         (fpclassify_test_data): Likewise.
8386         (frexp_test_data): Likewise.
8387         (gamma_test_data): Likewise.
8388         (hypot_test_data): Likewise.
8389         (ilogb_test_data): Likewise.
8390         (isfinite_test_data): Likewise.
8391         (isgreater_test_data): Likewise.
8392         (isgreaterequal_test_data): Likewise.
8393         (isinf_test_data): Likewise.
8394         (isless_test_data): Likewise.
8395         (islessequal_test_data): Likewise.
8396         (islessgreater_test_data): Likewise.
8397         (isnan_test_data): Likewise.
8398         (isnormal_test_data): Likewise.
8399         (issignaling_test_data): Likewise.
8400         (isunordered_test_data): Likewise.
8401         (j0_test_data): Likewise.
8402         (j1_test_data): Likewise.
8403         (jn_test_data): Likewise.
8404         (ldexp_test_data): Likewise.
8405         (lgamma_test_data): Likewise.
8406         (lrint_test_data): Likewise.
8407         (lrint_tonearest_test_data): Likewise.
8408         (lrint_towardzero_test_data): Likewise.
8409         (lrint_downward_test_data): Likewise.
8410         (lrint_upward_test_data): Likewise.
8411         (llrint_test_data): Likewise.
8412         (llrint_tonearest_test_data): Likewise.
8413         (llrint_towardzero_test_data): Likewise.
8414         (llrint_downward_test_data): Likewise.
8415         (llrint_upward_test_data): Likewise.
8416         (log_test_data): Likewise.
8417         (log10_test_data): Likewise.
8418         (log1p_test_data): Likewise.
8419         (log2_test_data): Likewise.
8420         (logb_test_data): Likewise.
8421         (logb_downward_test_data): Likewise.
8422         (lround_test_data): Likewise.
8423         (llround_test_data): Likewise.
8424         (modf_test_data): Likewise.
8425         (nearbyint_test_data): Likewise.
8426         (nextafter_test_data): Likewise.
8427         (nexttoward_test_data): Likewise.
8428         (pow_test_data): Likewise.
8429         (pow_tonearest_test_data): Likewise.
8430         (pow_towardzero_test_data): Likewise.
8431         (pow_downward_test_data): Likewise.
8432         (pow_upward_test_data): Likewise.
8433         (remainder_test_data): Likewise.
8434         (remainder_tonearest_test_data): Likewise.
8435         (remainder_towardzero_test_data): Likewise.
8436         (remainder_downward_test_data): Likewise.
8437         (remainder_upward_test_data): Likewise.
8438         (remquo_test_data): Likewise.
8439         (rint_test_data): Likewise.
8440         (rint_tonearest_test_data): Likewise.
8441         (rint_towardzero_test_data): Likewise.
8442         (rint_downward_test_data): Likewise.
8443         (rint_upward_test_data): Likewise.
8444         (round_test_data): Likewise.
8445         (scalb_test_data): Likewise.
8446         (scalbn_test_data): Likewise.
8447         (scalbln_test_data): Likewise.
8448         (signbit_test_data): Likewise.
8449         (sin_test_data): Likewise.
8450         (sin_tonearest_test_data): Likewise.
8451         (sin_towardzero_test_data): Likewise.
8452         (sin_downward_test_data): Likewise.
8453         (sin_upward_test_data): Likewise.
8454         (sincos_test_data): Likewise.
8455         (sinh_test_data): Likewise.
8456         (sinh_tonearest_test_data): Likewise.
8457         (sinh_towardzero_test_data): Likewise.
8458         (sinh_downward_test_data): Likewise.
8459         (sinh_upward_test_data): Likewise.
8460         (sqrt_test_data): Likewise.
8461         (tan_test_data): Likewise.
8462         (tan_tonearest_test_data): Likewise.
8463         (tan_towardzero_test_data): Likewise.
8464         (tan_downward_test_data): Likewise.
8465         (tan_upward_test_data): Likewise.
8466         (tanh_test_data): Likewise.
8467         (tgamma_test_data): Likewise.
8468         (trunc_test_data): Likewise.
8469         (y0_test_data): Likewise.
8470         (y1_test_data): Likewise.
8471         (yn_test_data): Likewise.
8472         (significand_test_data): Likewise.
8473
8474         * math/gen-libm-test.pl (@functions): Remove variable.
8475         (generate_testfile): Don't handle START and END lines.
8476         * math/libm-test.inc (START): New macro.
8477         (END): Likewise.
8478         (END_COMPLEX): Likewise.
8479         (acos_test): Use END macro without arguments.
8480         (acos_test_tonearest): Likewise.
8481         (acos_test_towardzero): Likewise.
8482         (acos_test_downward): Likewise.
8483         (acos_test_upward): Likewise.
8484         (acosh_test): Likewise.
8485         (asin_test): Likewise.
8486         (asin_test_tonearest): Likewise.
8487         (asin_test_towardzero): Likewise.
8488         (asin_test_downward): Likewise.
8489         (asin_test_upward): Likewise.
8490         (asinh_test): Likewise.
8491         (atan_test): Likewise.
8492         (atanh_test): Likewise.
8493         (atan2_test): Likewise.
8494         (cabs_test): Likewise.
8495         (cacos_test): Use END_COMPLEX macro without arguments.
8496         (cacosh_test): Likewise.
8497         (carg_test): Use END macro without arguments.
8498         (casin_test): Use END_COMPLEX macro without arguments.
8499         (casinh_test): Likewise.
8500         (catan_test): Likewise.
8501         (catanh_test): Likewise.
8502         (cbrt_test): Use END macro without arguments.
8503         (ccos_test): Use END_COMPLEX macro without arguments.
8504         (ccosh_test): Likewise.
8505         (ceil_test): Use END macro without arguments.
8506         (cexp_test): Use END_COMPLEX macro without arguments.
8507         (cimag_test): Use END macro without arguments.
8508         (clog_test): Use END_COMPLEX macro without arguments.
8509         (clog10_test): Likewise.
8510         (conj_test): Likewise.
8511         (copysign_test): Use END macro without arguments.
8512         (cos_test): Likewise.
8513         (cos_test_tonearest): Likewise.
8514         (cos_test_towardzero): Likewise.
8515         (cos_test_downward): Likewise.
8516         (cos_test_upward): Likewise.
8517         (cosh_test): Likewise.
8518         (cosh_test_tonearest): Likewise.
8519         (cosh_test_towardzero): Likewise.
8520         (cosh_test_downward): Likewise.
8521         (cosh_test_upward): Likewise.
8522         (cpow_test): Use END_COMPLEX macro without arguments.
8523         (cproj_test): Likewise.
8524         (creal_test): Use END macro without arguments.
8525         (csin_test): Use END_COMPLEX macro without arguments.
8526         (csinh_test): Likewise.
8527         (csqrt_test): Likewise.
8528         (ctan_test): Likewise.
8529         (ctan_test_tonearest): Likewise.
8530         (ctan_test_towardzero): Likewise.
8531         (ctan_test_downward): Likewise.
8532         (ctan_test_upward): Likewise.
8533         (ctanh_test): Likewise.
8534         (ctanh_test_tonearest): Likewise.
8535         (ctanh_test_towardzero): Likewise.
8536         (ctanh_test_downward): Likewise.
8537         (ctanh_test_upward): Likewise.
8538         (erf_test): Use END macro without arguments.
8539         (erfc_test): Likewise.
8540         (exp_test): Likewise.
8541         (exp_test_tonearest): Likewise.
8542         (exp_test_towardzero): Likewise.
8543         (exp_test_downward): Likewise.
8544         (exp_test_upward): Likewise.
8545         (exp10_test): Likewise.
8546         (exp2_test): Likewise.
8547         (expm1_test): Likewise.
8548         (fabs_test): Likewise.
8549         (fdim_test): Likewise.
8550         (finite_test): Likewise.
8551         (floor_test): Likewise.
8552         (fma_test): Likewise.
8553         (fma_test_towardzero): Likewise.
8554         (fma_test_downward): Likewise.
8555         (fma_test_upward): Likewise.
8556         (fmax_test): Likewise.
8557         (fmin_test): Likewise.
8558         (fmod_test): Likewise.
8559         (fpclassify_test): Likewise.
8560         (frexp_test): Likewise.
8561         (gamma_test): Likewise.
8562         (hypot_test): Likewise.
8563         (ilogb_test): Likewise.
8564         (isfinite_test): Likewise.
8565         (isgreater_test): Likewise.
8566         (isgreaterequal_test): Likewise.
8567         (isinf_test): Likewise.
8568         (isless_test): Likewise.
8569         (islessequal_test): Likewise.
8570         (islessgreater_test): Likewise.
8571         (isnan_test): Likewise.
8572         (isnormal_test): Likewise.
8573         (issignaling_test): Likewise.
8574         (isunordered_test): Likewise.
8575         (j0_test): Likewise.
8576         (j1_test): Likewise.
8577         (jn_test): Likewise.
8578         (ldexp_test): Likewise.
8579         (lgamma_test): Likewise.
8580         (lrint_test): Likewise.
8581         (lrint_test_tonearest): Likewise.
8582         (lrint_test_towardzero): Likewise.
8583         (lrint_test_downward): Likewise.
8584         (lrint_test_upward): Likewise.
8585         (llrint_test): Likewise.
8586         (llrint_test_tonearest): Likewise.
8587         (llrint_test_towardzero): Likewise.
8588         (llrint_test_downward): Likewise.
8589         (llrint_test_upward): Likewise.
8590         (log_test): Likewise.
8591         (log10_test): Likewise.
8592         (log1p_test): Likewise.
8593         (log2_test): Likewise.
8594         (logb_test): Likewise.
8595         (logb_test_downward): Likewise.
8596         (lround_test): Likewise.
8597         (llround_test): Likewise.
8598         (modf_test): Likewise.
8599         (nearbyint_test): Likewise.
8600         (nextafter_test): Likewise.
8601         (nexttoward_test): Likewise.
8602         (pow_test): Likewise.
8603         (pow_test_tonearest): Likewise.
8604         (pow_test_towardzero): Likewise.
8605         (pow_test_downward): Likewise.
8606         (pow_test_upward): Likewise.
8607         (remainder_test): Likewise.
8608         (remainder_test_tonearest): Likewise.
8609         (remainder_test_towardzero): Likewise.
8610         (remainder_test_downward): Likewise.
8611         (remainder_test_upward): Likewise.
8612         (remquo_test): Likewise.
8613         (rint_test): Likewise.
8614         (rint_test_tonearest): Likewise.
8615         (rint_test_towardzero): Likewise.
8616         (rint_test_downward): Likewise.
8617         (rint_test_upward): Likewise.
8618         (round_test): Likewise.
8619         (scalb_test): Likewise.
8620         (scalbn_test): Likewise.
8621         (scalbln_test): Likewise.
8622         (signbit_test): Likewise.
8623         (sin_test): Likewise.
8624         (sin_test_tonearest): Likewise.
8625         (sin_test_towardzero): Likewise.
8626         (sin_test_downward): Likewise.
8627         (sin_test_upward): Likewise.
8628         (sincos_test): Likewise.
8629         (sinh_test): Likewise.
8630         (sinh_test_tonearest): Likewise.
8631         (sinh_test_towardzero): Likewise.
8632         (sinh_test_downward): Likewise.
8633         (sinh_test_upward): Likewise.
8634         (sqrt_test): Likewise.
8635         (tan_test): Likewise.
8636         (tan_test_tonearest): Likewise.
8637         (tan_test_towardzero): Likewise.
8638         (tan_test_downward): Likewise.
8639         (tan_test_upward): Likewise.
8640         (tanh_test): Likewise.
8641         (tgamma_test): Likewise.
8642         (trunc_test): Likewise.
8643         (y0_test): Likewise.
8644         (y1_test): Likewise.
8645         (yn_test): Likewise.
8646         (significand_test): Likewise.
8647
8648 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
8649
8650         [BZ #15381]
8651         * libio/genops.c (_IO_no_init): Initialize wide struct info.
8652
8653 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
8654
8655         [BZ #14894]
8656         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
8657         __ppc_mdoio and __ppc_mdoom.
8658         * manual/platform.texi: Document new functions __ppc_yield,
8659         __ppc_mdoio and __ppc_mdoom.
8660
8661 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
8662
8663         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
8664         (main): Mention "tls" pseudo-hwcap is legacy.
8665         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
8666
8667 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8668
8669         * math/gen-libm-test.pl (parse_args): Output only string of
8670         arguments as text for test name, not full call or descriptions of
8671         tests for extra outputs.
8672         (generate_testfile): Do not pass function name to parse_args.
8673         Generate this_func variable from START.
8674         * math/libm-test.inc (struct test_f_f_data): Rename test_name
8675         field to arg_str.
8676         (struct test_ff_f_data): Likewise.
8677         (test_ff_f_data_nexttoward): Likewise.
8678         (struct test_fi_f_data): Likewise.
8679         (struct test_fl_f_data): Likewise.
8680         (struct test_if_f_data): Likewise.
8681         (struct test_fff_f_data): Likewise.
8682         (struct test_c_f_data): Likewise.
8683         (struct test_f_f1_data): Likewise.  Remove field extra_name.
8684         (struct test_fF_f1_data): Likewise.
8685         (struct test_ffI_f1_data): Likewise.
8686         (struct test_c_c_data): Rename test_name field to arg_str.
8687         (struct test_cc_c_data): Likewise.
8688         (struct test_f_i_data): Likewise.
8689         (struct test_ff_i_data): Likewise.
8690         (struct test_f_l_data): Likewise.
8691         (struct test_f_L_data): Likewise.
8692         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
8693         and extra2_name.
8694         (COMMON_TEST_SETUP): New macro.
8695         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
8696         (COMMON_TEST_CLEANUP): Likewise.
8697         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
8698         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
8699         macros.
8700         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
8701         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
8702         macros.
8703         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
8704         (RUN_TEST_fff_f): Take argument string.  Call new setup and
8705         cleanup macros.
8706         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
8707         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
8708         macros.
8709         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
8710         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
8711         macros.
8712         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
8713         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
8714         cleanup macros.
8715         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
8716         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
8717         cleanup macros.
8718         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
8719         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
8720         cleanup macros.
8721         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
8722         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
8723         macros.
8724         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
8725         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
8726         macros.
8727         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
8728         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
8729         macros.
8730         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
8731         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
8732         cleanup macros.
8733         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
8734         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
8735         cleanup macros.
8736         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
8737         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
8738         macros.
8739         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
8740         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
8741         cleanup macros.
8742         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
8743         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
8744         macros.
8745         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
8746         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
8747         macros.
8748         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
8749         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
8750         cleanup macros.
8751         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
8752
8753 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
8754
8755         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
8756         to _sifields.sigfault.
8757         (si_addr_lsb): Define new macro.
8758         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
8759         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8760         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
8761
8762 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
8763
8764         [BZ #15441]
8765         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
8766         returns -1.
8767         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
8768         null return -1.
8769         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
8770         loading the domain.
8771
8772 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
8773
8774         * math/gen-libm-test.pl (parse_args): Do not include expected
8775         result in test name.
8776         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
8777         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8778         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8779         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8780         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8782
8783 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8784
8785         * benchtests/Makefile: Sort function entries.
8786
8787         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
8788         tanh, asinh, acosh, atanh.
8789         * benchtests/acos-inputs: New file.
8790         * benchtests/acosh-inputs: New file.
8791         * benchtests/asin-inputs: New file.
8792         * benchtests/asinh-inputs: New file.
8793         * benchtests/atanh-inputs: New file.
8794         * benchtests/cosh-inputs: New file.
8795         * benchtests/log-inputs: New file.
8796         * benchtests/sinh-inputs: New file.
8797         * benchtests/tanh-inputs: New file.
8798
8799 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
8800
8801         [BZ #15339]
8802         * posix/tst-getaddrinfo4.c: New test.
8803         * posix/Makefile (tests): Add it.
8804
8805 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8806
8807         [BZ #15339]
8808         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
8809         when no services were used.
8810         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
8811         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
8812
8813 2013-05-21  Andreas Schwab  <schwab@suse.de>
8814
8815         [BZ #15014]
8816         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
8817         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
8818         successful.
8819         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
8820         redundant variable declarations and reallocation of buffer when
8821         parsing as IPv6 address.  Always set NSS status when called from
8822         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
8823         buffer too small.  Correct computation of needed size.
8824         * nss/Makefile (tests): Add test-digits-dots.
8825         * nss/test-digits-dots.c: New test.
8826
8827 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8828
8829         * benchtests/Makefile: Remove instructions for adding
8830         benchmark tests.
8831         * benchtests/README: New file to explain how to execute and
8832         enhance the benchmark tests.
8833
8834 2013-05-21  Andreas Schwab  <schwab@suse.de>
8835
8836         [BZ #15493]
8837         * setjmp/Makefile (tests): Add tst-sigsetjmp.
8838         * setjmp/tst-sigsetjmp.c: New test.
8839
8840 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8841
8842         * sysdeps/x86_64/memset.S (memset): New implementation.
8843         (__bzero): Likewise.
8844         (__memset_tail): New function.
8845
8846 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
8847
8848         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
8849         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
8850         __memcpy_sse2_unaligned ifunc selection.
8851         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8852         Add memcpy-sse2-unaligned.S.
8853         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8854         Add: __memcpy_sse2_unaligned.
8855
8856 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
8857
8858         [BZ #15490]
8859         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
8860         math_force_eval before restoring floating-point envrionment.
8861         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
8862         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
8863         Likewise.
8864         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
8865         <math_private.h>.
8866         (__nearbyintl): Use math_force_eval before restoring
8867         floating-point environment.
8868         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
8869
8870         * math/gen-libm-test.pl (special_functions): Remove.
8871         (parse_args): Don't handle TEST_extra.  Handle functions with no
8872         return value.
8873         * math/libm-test.inc (struct test_sincos_data): Replace with
8874         struct test_fFF_11_data.
8875         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
8876         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
8877         (sincos_test_data): Change element type to struct
8878         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
8879         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
8880         RUN_TEST_LOOP_sincos.
8881         * math/README.libm-test: Don't mention special handling of
8882         individual functions.
8883         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
8884         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8885         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8886         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
8887         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8889
8890         * math/gen-libm-test.pl (get_variable): Remove function.
8891         (parse_args): Don't show pointer parameters to call in test
8892         names.  Use "extra output N" in test names for extra outputs
8893         rather than naming variables.
8894
8895 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
8896
8897         [BZ #15488]
8898         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
8899         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
8900         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
8901         double tests.
8902         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
8903         disable.
8904         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
8905         check_long_double.
8906
8907         * math/gen-libm-test.pl (@tests): Remove variable.
8908         ($count): Likewise.
8909         (new_test): Remove function.
8910         (show_exceptions): New function.
8911         (special_functions): Use show_exceptions instead of new_test.
8912         (parse_args): Likewise.
8913         (generate_testfile): Pass only function name in generated call to
8914         print_max_error or print_complex_max_error.
8915         (get_ulps): Do not handle complex tests specially.
8916         (output_test): Rename to ...
8917         (get_all_ulps_for_test): ... this.  Return a string rather than
8918         printing to a file.  Require ulps to be present.
8919         (output_ulps): Generate arrays rather than #defines.
8920         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
8921         (struct ulp_data): New type.
8922         (BUILD_COMPLEX_ULP): Remove macro.
8923         (compare_ulp_data): New function.
8924         (find_ulps): Likewise.
8925         (find_test_ulps): Likewise.
8926         (find_function_ulps): Likewise.
8927         (find_complex_function_ulps): Likewise.
8928         (print_max_error): Determine allowed ulps using
8929         find_function_ulps.
8930         (print_complex_max_error): Determine allowed ulps using
8931         find_complex_function_ulps.
8932         (check_float_internal): Determine max ulps using find_test_ulps.
8933         (check_float): Do not take max_ulp parameter.  Update call to
8934         check_float_internal.
8935         (check_complex): Likewise.
8936         (check_int): Do not take max_ulp parameter.
8937         (check_long): Likewise.
8938         (check_bool): Likewise.
8939         (check_longlong): Likewise.
8940         (struct test_f_f_data): Remove max_ulp field.
8941         (struct test_ff_f_data): Likewise.
8942         (struct test_ff_f_data_nexttoward): Likewise.
8943         (struct test_fi_f_data): Likewise.
8944         (struct test_fl_f_data): Likewise.
8945         (struct test_if_f_data): Likewise.
8946         (struct test_fff_f_data): Likewise.
8947         (struct test_c_f_data): Likewise.
8948         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
8949         (struct test_fF_f1_data): Likewise.
8950         (struct test_ffI_f1_data): Likewise.
8951         (struct test_c_c_data): Remove max_ulp field.
8952         (struct test_cc_c_data): Likewise.
8953         (struct test_f_i_data): Likewise.
8954         (struct test_ff_i_data): Likewise.
8955         (struct test_f_l_data): Likewise.
8956         (struct test_f_L_data): Likewise.
8957         (struct test_sincos_data): Likewise.
8958         (RUN_TEST_f_f): Do not handle ulps.
8959         (RUN_TEST_LOOP_f_f): Likewise.
8960         (RUN_TEST_2_f): Likewise.
8961         (RUN_TEST_LOOP_2_f): Likewise.
8962         (RUN_TEST_fff_f): Likewise.
8963         (RUN_TEST_LOOP_fff_f): Likewise.
8964         (RUN_TEST_c_f): Likewise.
8965         (RUN_TEST_LOOP_c_f): Likewise.
8966         (RUN_TEST_f_f1): Likewise.
8967         (RUN_TEST_LOOP_f_f1): Likewise.
8968         (RUN_TEST_fF_f1): Likewise.
8969         (RUN_TEST_LOOP_fF_f1): Likewise.
8970         (RUN_TEST_fI_f1): Likewise.
8971         (RUN_TEST_LOOP_fI_f1): Likewise.
8972         (RUN_TEST_ffI_f1): Likewise.
8973         (RUN_TEST_LOOP_ffI_f1): Likewise.
8974         (RUN_TEST_c_c): Likewise.
8975         (RUN_TEST_LOOP_c_c): Likewise.
8976         (RUN_TEST_cc_c): Likewise.
8977         (RUN_TEST_LOOP_cc_c): Likewise.
8978         (RUN_TEST_f_i): Likewise.
8979         (RUN_TEST_LOOP_f_i): Likewise.
8980         (RUN_TEST_f_i_tg): Likewise.
8981         (RUN_TEST_LOOP_f_i_tg): Likewise.
8982         (RUN_TEST_ff_i_tg): Likewise.
8983         (RUN_TEST_LOOP_ff_i_tg): Likewise.
8984         (RUN_TEST_f_b): Likewise.
8985         (RUN_TEST_LOOP_f_b): Likewise.
8986         (RUN_TEST_f_b_tg): Likewise.
8987         (RUN_TEST_LOOP_f_b_tg): Likewise.
8988         (RUN_TEST_f_l): Likewise.
8989         (RUN_TEST_LOOP_f_l): Likewise.
8990         (RUN_TEST_f_L): Likewise.
8991         (RUN_TEST_LOOP_f_L): Likewise.
8992         (RUN_TEST_sincos): Likewise.
8993         (RUN_TEST_LOOP_sincos): Likewise.
8994
8995 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
8996
8997         [BZ #15480]
8998         [BZ #15485]
8999         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
9000         main case of finite arguments, set rounding mode to FE_TONEAREST
9001         and discard exceptions.
9002         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
9003         exceptions.
9004         (remainder_tonearest_test_data): New variable.
9005         (remainder_test_tonearest): New function.
9006         (remainder_towardzero_test_data): New variable.
9007         (remainder_test_towardzero): New function.
9008         (remainder_downward_test_data): New variable.
9009         (remainder_test_downward): New function.
9010         (remainder_upward_test_data): New variable.
9011         (remainder_test_upward): New function.
9012         (main): Call the new test functions.
9013
9014         * math/libm-test.inc (struct test_f_f1_data): Remove field
9015         extra_init.
9016         (struct test_fF_f1_data): Likewise.
9017         (struct test_ffI_f1_data): Likewise.
9018         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
9019         based on value of EXTRA_EXPECTED.
9020         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
9021         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
9022         EXTRA_VAR based on value of EXTRA_EXPECTED.
9023         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
9024         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
9025         EXTRA_VAR based on value of EXTRA_EXPECTED.
9026         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
9027         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
9028         EXTRA_VAR based on value of EXTRA_EXPECTED.
9029         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
9030         * math/gen-libm-test.pl (parse_args): Don't output initializers
9031         for extra output values.
9032
9033         * math/libm-test.inc (check_int): Expect result to be exactly
9034         equal to expected value and do not handle ulps.
9035         (check_long): Likewise.
9036         (check_longlong): Likewise.
9037
9038         * math/libm-test.inc (ceil_test_data): Test for "inexact"
9039         exceptions.
9040         (cimag_test_data): Likewise.
9041         (conj_test_data): Likewise.
9042         (copysign_test_data): Likewise.
9043         (cproj_test_data): Likewise.
9044         (creal_test_data): Likewise.
9045         (fabs_test_data): Likewise.
9046         (fdim_test_data): Likewise.
9047         (finite_test_data): Likewise.
9048         (floor_test_data): Likewise.
9049         (fmax_test_data): Likewise.
9050         (fmin_test_data): Likewise.
9051         (fmod_test_data): Likewise.
9052         (fpclassify_test_data): Likewise.
9053         (frexp_test_data): Likewise.
9054         (ilogb_test_data): Likewise.
9055         (isfinite_test_data): Likewise.
9056         (isgreater_test_data): Likewise.
9057         (isgreaterequal_test_data): Likewise.
9058         (isinf_test_data): Likewise.
9059         (isless_test_data): Likewise.
9060         (islessequal_test_data): Likewise.
9061         (islessgreater_test_data): Likewise.
9062         (isnan_test_data): Likewise.
9063         (isnormal_test_data): Likewise.
9064         (issignaling_test_data): Likewise.
9065         (isunordered_test_data): Likewise.
9066         (ldexp_test_data): Likewise.
9067         (lrint_test_data): Likewise.
9068         (lrint_test_data) [TEST_FLOAT]: Disable one test.
9069         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
9070         (lrint_tonearest_test_data): Test for "inexact" exceptions.
9071         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9072         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
9073         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9074         test input.
9075         (lrint_towardzero_test_data): Test for "inexact" exceptions.
9076         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9077         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
9078         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
9079         that test input.
9080         (lrint_downward_test_data): Test for "inexact" exceptions.
9081         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9082         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
9083         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
9084         test input.
9085         (lrint_upward_test_data): Test for "inexact" exceptions.
9086         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
9087         test input.
9088         (llrint_test_data): Test for "inexact" exceptions.
9089         (llrint_test_data) [TEST_FLOAT]: Disable one test.
9090         (llrint_tonearest_test_data): Test for "inexact" exceptions.
9091         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
9092         (llrint_towardzero_test_data): Test for "inexact" exceptions.
9093         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
9094         (llrint_downward_test_data): Test for "inexact" exceptions.
9095         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
9096         (llrint_upward_test_data): Test for "inexact" exceptions.
9097         (logb_test_data): Likewise.
9098         (logb_downward_test_data): Likewise.
9099         (nextafter_test_data): Likewise.
9100         (nexttoward_test_data): Likewise.
9101         (remainder_test_data): Likewise.
9102         (remquo_test_data): Likewise.
9103         (scalbn_test_data): Likewise.
9104         (scalbln_test_data): Likewise.
9105         (signbit_test_data): Likewise.
9106         (sqrt_test_data): Likewise.
9107         (significand_test_data): Likewise.
9108
9109 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9110
9111         [BZ #15424]
9112         * benchtests/bench-modf.c (struct args): Mark arg0 as
9113         volatile.
9114         * scripts/bench.pl: Mark members of struct args as volatile.
9115
9116 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9117
9118         [BZ # 15497]
9119         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
9120         negative infinity on POWER6 or lower.
9121         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
9122
9123 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
9124
9125         [BZ #15442]
9126         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
9127         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
9128         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
9129         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
9130         (_FP_SETQNAN): New macro.
9131         (_FP_SETQNAN_SEMIRAW): Likewise.
9132         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
9133         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
9134         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
9135         (FP_EXTEND): Use _FP_FRAC_SNANP.
9136         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
9137         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
9138         into account.
9139         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9140         New macro.
9141         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
9142         Likewise.
9143
9144 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9145
9146         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
9147         with DIVIDE_BY_ZERO_EXCEPTION.
9148         (gamma_test_data): Likewise.
9149         (lgamma_test_data): Likewise.
9150         (log_test_data): Likewise.
9151         (log10_test_data): Likewise.
9152         (log2_test_data): Likewise.
9153         (tgamma_test_data): Likewise.
9154
9155         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
9156         (acos_test_tonearest): Likewise.
9157         (acos_test_towardzero): Likewise.
9158         (acos_test_downward): Likewise.
9159         (acos_test_upward): Likewise.
9160         (acosh_test): Likewise.
9161         (asin_test): Likewise.
9162         (asin_test_tonearest): Likewise.
9163         (asin_test_towardzero): Likewise.
9164         (asin_test_downward): Likewise.
9165         (asin_test_upward): Likewise.
9166         (asinh_test): Likewise.
9167         (atan_test): Likewise.
9168         (atanh_test): Likewise.
9169         (atan2_test): Likewise.
9170         (cabs_test): Likewise.
9171         (cacos_test): Likewise.
9172         (cacosh_test): Likewise.
9173         (casin_test): Likewise.
9174         (casinh_test): Likewise.
9175         (catan_test): Likewise.
9176         (catanh_test): Likewise.
9177         (cbrt_test): Likewise.
9178         (ccos_test): Likewise.
9179         (ccosh_test): Likewise.
9180         (cexp_test): Likewise.
9181         (clog_test): Likewise.
9182         (clog10_test): Likewise.
9183         (cos_test): Likewise.
9184         (cos_test_tonearest): Likewise.
9185         (cos_test_towardzero): Likewise.
9186         (cos_test_downward): Likewise.
9187         (cos_test_upward): Likewise.
9188         (cosh_test): Likewise.
9189         (cosh_test_tonearest): Likewise.
9190         (cosh_test_towardzero): Likewise.
9191         (cosh_test_downward): Likewise.
9192         (cosh_test_upward): Likewise.
9193         (cpow_test): Likewise.
9194         (csin_test): Likewise.
9195         (csinh_test): Likewise.
9196         (csqrt_test): Likewise.
9197         (ctan_test): Likewise.
9198         (ctan_test_tonearest): Likewise.
9199         (ctan_test_towardzero): Likewise.
9200         (ctan_test_downward): Likewise.
9201         (ctan_test_upward): Likewise.
9202         (ctanh_test): Likewise.
9203         (ctanh_test_tonearest): Likewise.
9204         (ctanh_test_towardzero): Likewise.
9205         (ctanh_test_downward): Likewise.
9206         (ctanh_test_upward): Likewise.
9207         (erf_test): Likewise.
9208         (erfc_test): Likewise.
9209         (exp_test): Likewise.
9210         (exp_test_tonearest): Likewise.
9211         (exp_test_towardzero): Likewise.
9212         (exp_test_downward): Likewise.
9213         (exp_test_upward): Likewise.
9214         (exp10_test): Likewise.
9215         (exp2_test): Likewise.
9216         (expm1_test): Likewise.
9217         (fmod_test): Likewise.
9218         (gamma_test): Likewise.
9219         (hypot_test): Likewise.
9220         (j0_test): Likewise.
9221         (j1_test): Likewise.
9222         (jn_test): Likewise.
9223         (lgamma_test): Likewise.
9224         (log_test): Likewise.
9225         (log10_test): Likewise.
9226         (log1p_test): Likewise.
9227         (log2_test): Likewise.
9228         (logb_test_downward): Likewise.
9229         (pow_test): Likewise.
9230         (pow_test_tonearest): Likewise.
9231         (pow_test_towardzero): Likewise.
9232         (pow_test_downward): Likewise.
9233         (pow_test_upward): Likewise.
9234         (remainder_test): Likewise.
9235         (remquo_test): Likewise.
9236         (sin_test): Likewise.
9237         (sin_test_tonearest): Likewise.
9238         (sin_test_towardzero): Likewise.
9239         (sin_test_downward): Likewise.
9240         (sin_test_upward): Likewise.
9241         (sincos_test): Likewise.
9242         (sinh_test): Likewise.
9243         (sinh_test_tonearest): Likewise.
9244         (sinh_test_towardzero): Likewise.
9245         (sinh_test_downward): Likewise.
9246         (sinh_test_upward): Likewise.
9247         (sqrt_test): Likewise.
9248         (tan_test): Likewise.
9249         (tan_test_tonearest): Likewise.
9250         (tan_test_towardzero): Likewise.
9251         (tan_test_downward): Likewise.
9252         (tan_test_upward): Likewise.
9253         (tanh_test): Likewise.
9254         (tgamma_test): Likewise.
9255         (y0_test): Likewise.
9256         (y1_test): Likewise.
9257         (yn_test): Likewise.
9258
9259         * math/gen-libm-test.pl (adjust_arg): Remove function.
9260         (special_function): Remove argument $in_func.  Only handle
9261         generating output for tables of tests, not inside functions.
9262         (parse_args): Likewise.
9263         (generate_testfile): Remove variable $in_func.  Update call to
9264         parse_args.
9265         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
9266         (MINUS_ZERO_INIT): Rename macro to minus_zero.
9267         (PLUS_INFTY_INIT): Rename macro to plus_infty.
9268         (MINUS_INFTY_INIT): Rename macro to minus_infty.
9269         (QNAN_VALUE_INIT): Rename macro to qnan_value.
9270         (MAX_VALUE_INIT): Rename macro to max_value.
9271         (MIN_VALUE_INIT): Rename macro to min_value.
9272         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
9273         (plus_zero): Remove variable.
9274         (minus_zero): Likewise.
9275         (plus_infty): Likewise.
9276         (minus_infty): Likewise.
9277         (qnan_value): Likewise.
9278         (max_value): Likewise.
9279         (min_value): Likewise.
9280         (min_subnorm_value): Likewise.
9281
9282 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9283
9284         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
9285         uint64_t or uint32_t usage.
9286         * crypt/sha256-block.c: Likewise.
9287         * crypt/sha256-crypt.c: Likewise.
9288         * crypt/sha256.c: Likewise.
9289         * crypt/sha512-block.c: Likewise.
9290         * crypt/sha512-crypt.c: Likewise.
9291         * crypt/sha512.c: Likewise.
9292         * debug/backtrace-tst.c: Likewise.
9293         * debug/pcprofiledump.c: Likewise.
9294         * elf/cache.c: Likewise.
9295         * elf/dl-cache.c: Likewise.
9296         * elf/dl-misc.c: Likewise.
9297         * elf/dl-profile.c: Likewise.
9298         * elf/dl-support.c: Likewise.
9299         * elf/ldconfig.c: Likewise.
9300         * elf/sprof.c: Likewise.
9301         * iconv/dummy-repertoire.c: Likewise.
9302         * iconv/iconv_charmap.c: Likewise.
9303         * iconv/skeleton.c: Likewise.
9304         * iconvdata/8bit-generic.c: Likewise.
9305         * iconvdata/cp737.h: Likewise.
9306         * iconvdata/cp775.h: Likewise.
9307         * iconvdata/ibm1008.h: Likewise.
9308         * iconvdata/ibm1025.h: Likewise.
9309         * iconvdata/ibm1046.h: Likewise.
9310         * iconvdata/ibm1097.h: Likewise.
9311         * iconvdata/ibm1112.h: Likewise.
9312         * iconvdata/ibm1122.h: Likewise.
9313         * iconvdata/ibm1123.h: Likewise.
9314         * iconvdata/ibm1124.h: Likewise.
9315         * iconvdata/ibm1129.h: Likewise.
9316         * iconvdata/ibm1130.h: Likewise.
9317         * iconvdata/ibm1132.h: Likewise.
9318         * iconvdata/ibm1133.h: Likewise.
9319         * iconvdata/ibm1137.h: Likewise.
9320         * iconvdata/ibm1140.h: Likewise.
9321         * iconvdata/ibm1141.h: Likewise.
9322         * iconvdata/ibm1142.h: Likewise.
9323         * iconvdata/ibm1143.h: Likewise.
9324         * iconvdata/ibm1144.h: Likewise.
9325         * iconvdata/ibm1145.h: Likewise.
9326         * iconvdata/ibm1146.h: Likewise.
9327         * iconvdata/ibm1147.h: Likewise.
9328         * iconvdata/ibm1148.h: Likewise.
9329         * iconvdata/ibm1149.h: Likewise.
9330         * iconvdata/ibm1153.h: Likewise.
9331         * iconvdata/ibm1154.h: Likewise.
9332         * iconvdata/ibm1155.h: Likewise.
9333         * iconvdata/ibm1156.h: Likewise.
9334         * iconvdata/ibm1157.h: Likewise.
9335         * iconvdata/ibm1158.h: Likewise.
9336         * iconvdata/ibm1160.h: Likewise.
9337         * iconvdata/ibm1161.h: Likewise.
9338         * iconvdata/ibm1162.h: Likewise.
9339         * iconvdata/ibm1163.h: Likewise.
9340         * iconvdata/ibm1164.h: Likewise.
9341         * iconvdata/ibm1166.h: Likewise.
9342         * iconvdata/ibm1167.h: Likewise.
9343         * iconvdata/ibm12712.h: Likewise.
9344         * iconvdata/ibm1390.h: Likewise.
9345         * iconvdata/ibm1399.h: Likewise.
9346         * iconvdata/ibm16804.h: Likewise.
9347         * iconvdata/ibm4517.h: Likewise.
9348         * iconvdata/ibm4899.h: Likewise.
9349         * iconvdata/ibm4909.h: Likewise.
9350         * iconvdata/ibm4971.h: Likewise.
9351         * iconvdata/ibm5347.h: Likewise.
9352         * iconvdata/ibm803.h: Likewise.
9353         * iconvdata/ibm856.h: Likewise.
9354         * iconvdata/ibm901.h: Likewise.
9355         * iconvdata/ibm902.h: Likewise.
9356         * iconvdata/ibm9030.h: Likewise.
9357         * iconvdata/ibm9066.h: Likewise.
9358         * iconvdata/ibm921.h: Likewise.
9359         * iconvdata/ibm922.h: Likewise.
9360         * iconvdata/ibm9448.h: Likewise.
9361         * iconvdata/isiri-3342.h: Likewise.
9362         * iconvdata/jis0201.h: Likewise.
9363         * include/link.h: Likewise.
9364         * include/netdb.h: Likewise.
9365         * inet/check_native.c: Likewise.
9366         * inet/check_pf.c: Likewise.
9367         * inet/getipv4sourcefilter.c: Likewise.
9368         * inet/getnameinfo.c: Likewise.
9369         * inet/getsourcefilter.c: Likewise.
9370         * inet/htonl.c: Likewise.
9371         * inet/setipv4sourcefilter.c: Likewise.
9372         * inet/setsourcefilter.c: Likewise.
9373         * inet/test-inet6_opt.c: Likewise.
9374         * inet/tst-network.c: Likewise.
9375         * locale/C-collate.c: Likewise.
9376         * locale/C-ctype.c: Likewise.
9377         * locale/C-time.c: Likewise.
9378         * locale/C-translit.h: Likewise.
9379         * locale/loadarchive.c: Likewise.
9380         * locale/programs/3level.h: Likewise.
9381         * locale/programs/charmap.c: Likewise.
9382         * locale/programs/charmap.h: Likewise.
9383         * locale/programs/ld-address.c: Likewise.
9384         * locale/programs/ld-collate.c: Likewise.
9385         * locale/programs/ld-ctype.c: Likewise.
9386         * locale/programs/ld-identification.c: Likewise.
9387         * locale/programs/ld-measurement.c: Likewise.
9388         * locale/programs/ld-messages.c: Likewise.
9389         * locale/programs/ld-monetary.c: Likewise.
9390         * locale/programs/ld-name.c: Likewise.
9391         * locale/programs/ld-numeric.c: Likewise.
9392         * locale/programs/ld-paper.c: Likewise.
9393         * locale/programs/ld-telephone.c: Likewise.
9394         * locale/programs/ld-time.c: Likewise.
9395         * locale/programs/linereader.c: Likewise.
9396         * locale/programs/locale.c: Likewise.
9397         * locale/programs/locarchive.c: Likewise.
9398         * locale/programs/locfile.h: Likewise.
9399         * locale/programs/repertoire.c: Likewise.
9400         * locale/programs/simple-hash.c: Likewise.
9401         * locale/programs/simple-hash.h: Likewise.
9402         * malloc/memusage.c: Likewise.
9403         * malloc/memusagestat.c: Likewise.
9404         * nis/nis_defaults.c: Likewise.
9405         * nis/nis_hash.c: Likewise.
9406         * nis/nis_print.c: Likewise.
9407         * nis/nis_xdr.c: Likewise.
9408         * nscd/connections.c: Likewise.
9409         * nscd/hstcache.c: Likewise.
9410         * nscd/nscd_gethst_r.c: Likewise.
9411         * nscd/nscd_getserv_r.c: Likewise.
9412         * nscd/nscd_helper.c: Likewise.
9413         * nscd/servicescache.c: Likewise.
9414         * nss/makedb.c: Likewise.
9415         * nss/nss_db/db-XXX.c: Likewise.
9416         * nss/nss_db/db-initgroups.c: Likewise.
9417         * nss/nss_db/db-netgrp.c: Likewise.
9418         * nss/nss_files/files-network.c: Likewise.
9419         * nss/nss_files/files-parse.c: Likewise.
9420         * posix/bug-regex5.c: Likewise.
9421         * posix/fnmatch_loop.c: Likewise.
9422         * posix/regcomp.c: Likewise.
9423         * posix/regexec.c: Likewise.
9424         * posix/tst-rfc3484-2.c: Likewise.
9425         * posix/tst-rfc3484-3.c: Likewise.
9426         * posix/tst-rfc3484.c: Likewise.
9427         * resolv/nss_dns/dns-canon.c: Likewise.
9428         * resolv/nss_dns/dns-network.c: Likewise.
9429         * resolv/res_init.c: Likewise.
9430         * resolv/res_mkquery.c: Likewise.
9431         * resolv/tst-aton.c: Likewise.
9432         * stdlib/cxa_atexit.c: Likewise.
9433         * stdlib/cxa_finalize.c: Likewise.
9434         * stdlib/gen-fpioconst.c: Likewise.
9435         * stdlib/strtol_l.c: Likewise.
9436         * string/tst-endian.c: Likewise.
9437         * sunrpc/auth_des.c: Likewise.
9438         * sunrpc/clnt_udp.c: Likewise.
9439         * sunrpc/rtime.c: Likewise.
9440         * sunrpc/svcauth_des.c: Likewise.
9441         * sunrpc/xdr.c: Likewise.
9442         * sunrpc/xdr_intXX_t.c: Likewise.
9443         * sunrpc/xdr_rec.c: Likewise.
9444         * sysdeps/generic/ldconfig.h: Likewise.
9445         * sysdeps/generic/ldsodefs.h: Likewise.
9446         * sysdeps/generic/memusage.h: Likewise.
9447         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9448         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
9449         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
9450         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9451         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9452         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9453         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9454         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9455         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9456         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9457         * sysdeps/posix/getaddrinfo.c: Likewise.
9458         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9459         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9460         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9461         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9462         * sysdeps/powerpc/test-gettimebase.c: Likewise.
9463         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9464         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
9465         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
9466         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9467         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
9468         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9469         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9470         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
9471         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
9472         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
9473         * sysdeps/x86_64/dl-tls.h: Likewise.
9474         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
9475         * time/alt_digit.c: Likewise.
9476         * time/era.c: Likewise.
9477         * wcsmbs/tst-c16c32-1.c: Likewise.
9478
9479 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9480
9481         * math/libm-test.inc (struct test_sincos_data): New type.
9482         (RUN_TEST_LOOP_sincos): New macro.
9483         (sincos_test_data): New variable.
9484         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
9485
9486 2013-05-16  Richard Henderson  <rth@redhat.com>
9487
9488         * math/atest-exp2.c (LIMB64): New macro.
9489         (CONSTSZ): New macro.
9490         (mp_exp1, mp_exp_m1, mp_log2): New variables.
9491         (hexdig): Move ...
9492         (print_mpn_fp): ... to function scope.
9493         (read_mpn_hex): Remove.
9494         (get_log2): Remove.
9495         (exp2_mpn): Use mp_log2.
9496         (main): Use mp_exp1.
9497
9498 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
9499
9500         * math/libm-test.inc: Remove comment about not testing "inexact"
9501         exceptions.
9502         (INEXACT_EXCEPTION): New macro.
9503         (NO_INEXACT_EXCEPTION): Likewise.
9504         (INVALID_EXCEPTION_OK): Update value.
9505         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9506         (OVERFLOW_EXCEPTION_OK): Likewise.
9507         (UNDERFLOW_EXCEPTION_OK): Likewise.
9508         (IGNORE_ZERO_INF_SIGN): Likewise.
9509         (ERRNO_UNCHANGED): Likewise.
9510         (ERRNO_EDOM): Likewise.
9511         (ERRNO_ERANGE): Likewise.
9512         (test_exceptions): Handle testing "inexact" exceptions.
9513         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
9514         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
9515         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
9516         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
9517         INEXACT_EXCEPTION.
9518         (rint_towardzero_test_data): Likewise.
9519         (rint_downward_test_data): Likewise.
9520         (rint_upward_test_data): Likewise.
9521
9522         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
9523         with OVERFLOW_EXCEPTION.
9524         (exp10_test_data): Likewise.
9525         (exp2_test_data): Likewise.
9526         (expm1_test_data): Likewise.
9527         (lgamma_test_data): Likewise.
9528         (pow_test_data): Likewise.
9529         (tgamma_test_data): Likewise.
9530         (yn_test_data): Remove duplicate test of overflow.
9531
9532         * math/libm-test.inc (struct test_cc_c_data): New type.
9533         (RUN_TEST_LOOP_cc_c): New macro.
9534         (cpow_test_data): New variable.
9535         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
9536
9537         * math/libm-test.inc (struct test_f_L_data): New type.
9538         (RUN_TEST_LOOP_f_L): New macro.
9539         (llrint_test_data): New variable.
9540         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
9541         (llrint_tonearest_test_data): New variable.
9542         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
9543         (llrint_towardzero_test_data): New variable.
9544         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
9545         (llrint_downward_test_data): New variable.
9546         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
9547         (llrint_upward_test_data): New variable.
9548         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
9549         (llround_test_data): New variable.
9550         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
9551
9552 2013-05-13  Peter Collingbourne  <pcc@google.com>
9553
9554         * math/atest-exp2.c (get_log2): Remove const attribute.
9555
9556 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
9557
9558         * math/libm-test.inc (struct test_f_l_data): New type.
9559         (RUN_TEST_LOOP_f_l): New macro.
9560         (lrint_test_data): New variable.
9561         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
9562         (lrint_tonearest_test_data): New variable.
9563         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
9564         (lrint_towardzero_test_data): New variable.
9565         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
9566         (lrint_downward_test_data): New variable.
9567         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
9568         (lrint_upward_test_data): New variable.
9569         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
9570         (lround_test_data): New variable.
9571         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
9572
9573 2013-05-15  Peter Collingbourne  <pcc@google.com>
9574
9575         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
9576         (EXTRACT_WORDS64) Use where appropriate.
9577         (INSERT_WORDS64) Likewise.
9578
9579         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
9580         constraints with x constraints.
9581         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
9582
9583         * malloc/obstack.c (_obstack_compat): Add initializer.
9584
9585 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
9586
9587         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
9588         si_trapno and add si_addr_lsb to _sifields.sigfault.
9589         (si_trapno): Remove macro.
9590         (si_addr_lsb): Define new macro.
9591         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
9592
9593 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
9594
9595         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
9596         instead of TEST_f_l.
9597         (llrint_test_tonearest): Likewise.
9598         (llrint_test_towardzero): Likewise.
9599         (llrint_test_downward): Likewise.
9600         (llrint_test_upward): Likewise.
9601         (llround_test): Likewise.
9602
9603         * math/libm-test.inc (struct test_f_i_data): Add comment.
9604         (RUN_TEST_LOOP_f_b): New macro.
9605         (RUN_TEST_LOOP_f_b_tg): Likewise.
9606         (finite_test_data): New variable.
9607         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
9608         (isfinite_test_data): New variable.
9609         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9610         (isinf_test_data): New variable.
9611         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9612         (isnan_test_data): New variable.
9613         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9614         (isnormal_test_data): New variable.
9615         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9616         (issignaling_test_data): New variable.
9617         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9618         (signbit_test_data): New variable.
9619         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
9620
9621         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
9622         with INVALID_EXCEPTION.
9623         (acosh_test_data): Likewise.
9624         (asin_test_data): Likewise.
9625         (atanh_test_data): Likewise.
9626         (fmod_test_data): Likewise.
9627         (log_test_data): Likewise.
9628         (log10_test_data): Likewise.
9629         (log2_test_data): Likewise.
9630         (pow_test_data): Likewise.
9631         (sqrt_test_data): Likewise.
9632         (y0_test_data): Likewise.
9633         (y1_test_data): Likewise.
9634         (yn_test_data): Likewise.
9635
9636         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
9637         function contents.
9638
9639         * math/libm-test.inc (struct test_ff_i_data): New type.
9640         (RUN_TEST_LOOP_ff_i_tg): New macro.
9641         (isgreater_test_data): New variable.
9642         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9643         (isgreaterequal_test_data): New variable.
9644         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9645         (isless_test_data): New variable.
9646         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9647         (islessequal_test_data): New variable.
9648         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9649         (islessgreater_test_data): New variable.
9650         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9651         (isunordered_test_data): New variable.
9652         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
9653
9654 2013-05-14  David S. Miller  <davem@davemloft.net>
9655
9656         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9657
9658 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
9659
9660         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
9661
9662         * math/libm-test.inc (struct test_fF_f1_data): Change type of
9663         extra_test to int.
9664         (struct test_f_i_data): Change type of max_ulp to int.
9665
9666         * math/libm-test.inc (test_ffI_f1_data): New type.
9667         (RUN_TEST_LOOP_ffI_f1): New macro.
9668         (remquo_test_data): New variable.
9669         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
9670
9671         * setjmp/tst-setjmp-fp.c: New file.
9672         * setjmp/Makefile (tests): Add tst-setjmp-fp.
9673         (link-libm): New variable.
9674         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
9675
9676         * math/libm-test.inc (struct test_f_i_data): New type.
9677         (RUN_TEST_LOOP_f_i): New macro.
9678         (RUN_TEST_LOOP_f_i_tg): Likewise.
9679         (fpclassify_test_data): New variable.
9680         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
9681         (ilogb_test_data): New variable.
9682         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
9683
9684         * math/libm-test.inc (scalbln_test): Correct function name in END
9685         call.
9686
9687         * math/libm-test.inc (struct test_f_f1_data): Add comment.
9688         (RUN_TEST_LOOP_fI_f1): New macro.
9689         (frexp_test_data): New variable.
9690         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
9691
9692         * math/libm-test.inc (struct test_fF_f1_data): New type.
9693         (RUN_TEST_LOOP_fF_f1): New macro.
9694         (modf_test_data): New variable.
9695         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
9696
9697         * math/libm-test.inc (struct test_f_f1_data): New type.
9698         (RUN_TEST_LOOP_f_f1): New macro.
9699         (gamma_test_data): New variable.
9700         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9701         (lgamma_test_data): New variable.
9702         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
9703
9704 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
9705
9706         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
9707         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
9708         (main): Comment "tls" pseudo-hwcap.
9709
9710 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
9711
9712         * math/libm-test.inc (struct test_fl_f_data): New type.
9713         (RUN_TEST_LOOP_fl_f): New variable.
9714         (scalbln_test_data): New variable.
9715         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
9716
9717         * math/libm-test.inc (struct test_fi_f_data): New type.
9718         (RUN_TEST_LOOP_fi_f): New macro.
9719         (ldexp_test_data): New variable.
9720         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
9721         (scalbn_test_data): New variable.
9722         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
9723
9724         * math/libm-test.inc (struct test_c_f_data): New type.
9725         (RUN_TEST_LOOP_c_f): New macro.
9726         (cabs_test_data): New variable.
9727         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
9728         (carg_test_data): New variable.
9729         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
9730         (cimag_test_data): New variable.
9731         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
9732         (creal_test_data): New variable.
9733         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
9734
9735         * math/libm-test.inc (struct test_if_f_data): New type.
9736         (RUN_TEST_LOOP_if_f): New macro.
9737         (jn_test_data): New variable.
9738         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
9739         (yn_test_data): New variable.
9740         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
9741
9742         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
9743
9744 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9745
9746         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
9747         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
9748
9749 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
9750
9751         * benchtests/Makefile (CPPFLAGS-nonlib): Add
9752         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
9753         (bench-deps): Add bench-timing.h.
9754         * benchtests-bench-skeleton.c: Include bench-timing.h.
9755         (main): Use TIMING_* macros instead of clock_gettime.
9756         * benchtests/bench-timing.h: New file.
9757
9758         [BZ #14582]
9759         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
9760         Renamed from _LIB_VERSION.
9761         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
9762
9763 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
9764
9765         * math/libm-test.inc (struct test_fff_f_data): New type.
9766         (RUN_TEST_LOOP_fff_f): New macro.
9767         (fma_test_data): New variable.
9768         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
9769         (fma_towardzero_test_data): New variable.
9770         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
9771         (fma_downward_test_data): New variable.
9772         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
9773         (fma_upward_test_data): New variable.
9774         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
9775
9776         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
9777         (struct test_c_c_data): New type.
9778         (RUN_TEST_LOOP_c_c): New macro.
9779         (cacos_test_data): New variable.
9780         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
9781         (cacosh_test_data): New variable.
9782         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
9783         (casin_test_data): New variable.
9784         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
9785         (casinh_test_data): New variable.
9786         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
9787         (catan_test_data): New variable.
9788         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
9789         (catanh_test_data): New variable.
9790         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
9791         (ccos_test_data): New variable.
9792         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
9793         (ccosh_test_data): New variable.
9794         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
9795         (cexp_test_data): New variable.
9796         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
9797         (clog_test_data): New variable.
9798         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
9799         (clog10_test_data): New variable.
9800         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
9801         (conj_test_data): New variable.
9802         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
9803         (cproj_test_data): New variable.
9804         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
9805         (csin_test_data): New variable.
9806         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
9807         (csinh_test_data): New variable.
9808         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
9809         (csqrt_test_data): New variable.
9810         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
9811         (ctan_test_data): New variable.
9812         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
9813         (ctan_tonearest_test_data): New variable.
9814         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9815         (ctan_towardzero_test_data): New variable.
9816         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9817         (ctan_downward_test_data): New variable.
9818         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9819         (ctan_upward_test_data): New variable.
9820         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9821         (ctanh_test_data): New variable.
9822         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
9823         (ctanh_tonearest_test_data): New variable.
9824         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
9825         (ctanh_towardzero_test_data): New variable.
9826         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
9827         (ctanh_downward_test_data): New variable.
9828         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
9829         (ctanh_upward_test_data): New variable.
9830         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
9831         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
9832         of BUILD_COMPLEX.
9833
9834         * math/libm-test.inc (struct test_ff_f_data): New type.
9835         (struct test_ff_f_data_nexttoward): Likewise.
9836         (RUN_TEST_LOOP_2_f): New macro.
9837         (RUN_TEST_LOOP_ff_f): Likewise.
9838         (atan2_test_data): New variable.
9839         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
9840         (copysign_test_data): New variable.
9841         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
9842         (fdim_test_data): New variable.
9843         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
9844         (fmax_test_data): New variable.
9845         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
9846         (fmin_test_data): New variable.
9847         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
9848         (fmod_test_data): New variable.
9849         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
9850         (hypot_test_data): New variable.
9851         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
9852         (nextafter_test_data): New variable.
9853         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
9854         (nexttoward_test_data): New variable.
9855         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
9856         (pow_test_data): New variable.
9857         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
9858         (pow_tonearest_test_data): New variable.
9859         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
9860         (pow_towardzero_test_data): New variable.
9861         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
9862         (pow_downward_test_data): New variable.
9863         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
9864         (pow_upward_test_data): New variable.
9865         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
9866         (remainder_test_data): New variable.
9867         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
9868         (scalb_test_data): New variable.
9869         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
9870         * sysdeps/i386/fpu/libm-test-ulps: Update.
9871
9872 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
9873
9874         * math/libm-test.inc (fma_test): Use max_value instead of local
9875         variable fltmax.
9876         (nextafter_test): Likewise.
9877
9878         * math/libm-test.inc (acos_towardzero_test_data): New variable.
9879         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9880         (acos_downward_test_data): New variable.
9881         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9882         (acos_upward_test_data): New variable.
9883         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9884         (acosh_test_data): New variable.
9885         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
9886         (asin_test_data): New variable.
9887         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
9888         (asin_tonearest_test_data): New variable.
9889         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9890         (asin_towardzero_test_data): New variable.
9891         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9892         (asin_downward_test_data): New variable.
9893         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9894         (asin_upward_test_data): New variable.
9895         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9896         (asinh_test_data): New variable.
9897         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
9898         (atan_test_data): New variable.
9899         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
9900         (atanh_test_data): New variable.
9901         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
9902         (cbrt_test_data): New variable.
9903         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
9904         (ceil_test_data): New variable.
9905         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
9906         (cos_test_data): New variable.
9907         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
9908         (cos_tonearest_test_data): New variable.
9909         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9910         (cos_towardzero_test_data): New variable.
9911         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9912         (cos_downward_test_data): New variable.
9913         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9914         (cos_upward_test_data): New variable.
9915         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9916         (cosh_test_data): New variable.
9917         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
9918         (cosh_tonearest_test_data): New variable.
9919         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9920         (cosh_towardzero_test_data): New variable.
9921         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9922         (cosh_downward_test_data): New variable.
9923         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9924         (cosh_upward_test_data): New variable.
9925         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9926         (erf_test_data): New variable.
9927         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
9928         (erfc_test_data): New variable.
9929         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
9930         (exp_test_data): New variable.
9931         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
9932         (exp_tonearest_test_data): New variable.
9933         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9934         (exp_towardzero_test_data): New variable.
9935         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9936         (exp_downward_test_data): New variable.
9937         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9938         (exp_upward_test_data): New variable.
9939         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9940         (exp10_test_data): New variable.
9941         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
9942         (exp2_test_data): New variable.
9943         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
9944         (expm1_test_data): New variable.
9945         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
9946         (fabs_test_data): New variable.
9947         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
9948         (floor_test_data): New variable.
9949         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
9950         (j0_test_data): New variable.
9951         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
9952         (j1_test_data): New variable.
9953         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
9954         (log_test_data): New variable.
9955         (log_test): Run tests with RUN_TEST_LOOP_f_f.
9956         (log10_test_data): New variable.
9957         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
9958         (log1p_test_data): New variable.
9959         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
9960         (log2_test_data): New variable.
9961         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
9962         (logb_test_data): New variable.
9963         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
9964         (logb_downward_test_data): New variable.
9965         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9966         (nearbyint_test_data): New variable.
9967         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
9968         (rint_test_data): New variable.
9969         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
9970         (rint_tonearest_test_data): New variable.
9971         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9972         (rint_towardzero_test_data): New variable.
9973         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9974         (rint_downward_test_data): New variable.
9975         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9976         (rint_upward_test_data): New variable.
9977         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9978         (round_test_data): New variable.
9979         (round_test): Run tests with RUN_TEST_LOOP_f_f.
9980         (sin_test_data): New variable.
9981         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
9982         (sin_tonearest_test_data): New variable.
9983         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9984         (sin_towardzero_test_data): New variable.
9985         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9986         (sin_downward_test_data): New variable.
9987         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9988         (sin_upward_test_data): New variable.
9989         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
9990         (sinh_test_data): New variable.
9991         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
9992         (sinh_tonearest_test_data): New variable.
9993         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
9994         (sinh_towardzero_test_data): New variable.
9995         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
9996         (sinh_downward_test_data): New variable.
9997         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
9998         (sinh_upward_test_data): New variable.
9999         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10000         (sqrt_test_data): New variable.
10001         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
10002         (tan_test_data): New variable.
10003         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
10004         (tan_tonearest_test_data): New variable.
10005         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10006         (tan_towardzero_test_data): New variable.
10007         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
10008         (tan_downward_test_data): New variable.
10009         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
10010         (tan_upward_test_data): New variable.
10011         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
10012         (tanh_test_data): New variable.
10013         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
10014         (tgamma_test_data): New variable.
10015         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
10016         (trunc_test_data): New variable.
10017         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
10018         (y0_test_data): New variable.
10019         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
10020         (y1_test_data): New variable.
10021         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
10022         (significand_test_data): New variable.
10023         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
10024
10025 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
10026
10027         [BZ #12387]
10028         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
10029
10030 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
10031
10032         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
10033
10034 2013-05-10  Andreas Jaeger  <aj@suse.de>
10035
10036         [BZ #15448]
10037         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
10038         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
10039
10040 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
10041
10042         * math/gen-libm-test.pl (adjust_arg): New function.
10043         (special_functions): Handle generating output in both functions
10044         and arrays.
10045         (parse_args): Likewise.
10046         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
10047         $in_func argument to parse_args.
10048         * math/libm-test.inc (struct test_f_f_data): New type.
10049         (IF_ROUND_INIT_): New macro.
10050         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10051         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10052         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10053         (IF_ROUND_INIT_FE_UPWARD): Likewise.
10054         (ROUND_RESTORE_): Likewise.
10055         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10056         (ROUND_RESTORE_FE_TONEAREST): Likewise.
10057         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10058         (ROUND_RESTORE_FE_UPWARD): Likewise.
10059         (RUN_TEST_LOOP_f_f): New macro.
10060         (acos_test_data): New variable.
10061         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
10062         (acos_tonearest_test_data): New variable.
10063         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
10064
10065 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10066
10067         * benchtests/bench-skeleton.c (startup): Fix coding style.
10068
10069 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
10070
10071         [BZ #6809]
10072         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
10073         negative infinity argument.
10074         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
10075         negative infinity argument.
10076         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
10077         negative infinity argument.
10078         * math/libm-test.inc (tgamma_test): Expect errno to be set for
10079         domain errors.
10080
10081 2013-05-10  Florian Weimer  <fweimer@redhat.com>
10082
10083         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
10084         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
10085         * iconv/iconv_prog.c (main): Likewise.
10086         * locale/programs/charmap-dir.c (charmap_readdir)
10087         (fopen_uncompressed): Likewise.
10088         * locale/programs/locfile.c (siblings_uncached)
10089         (write_locale_data): Use lstat64 instead of lstat.
10090         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
10091         stat.
10092
10093 2013-05-10  Andreas Jaeger  <aj@suse.de>
10094
10095         [BZ #15395]
10096         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
10097         localization.
10098         Include <locale.h>.
10099
10100 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
10101
10102         * elf/dl-close.c (_dl_close_worker): Add comments.
10103
10104 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
10105
10106         [BZ #15359]
10107         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
10108         high part of pi/2.
10109         (__ieee754_rem_pio2l): Update comments.
10110
10111         [BZ #15429]
10112         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
10113         high part of pi/2.
10114         (__ieee754_rem_pio2l): Update comments.
10115
10116         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
10117         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
10118
10119         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
10120         M_PI_4l.
10121
10122         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
10123         (M_PI_34_LOG10El): Likewise.
10124         (M_PI2_LOG10El): Likewise.
10125         (M_PI4_LOG10El): Likewise.
10126         (M_PI_LOG10El): Likewise.
10127
10128 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10129
10130         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10131
10132 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
10133
10134         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
10135         (MINUS_ZERO_INIT): Likewise.
10136         (PLUS_INFTY_INIT): Likewise.
10137         (MINUS_INFTY_INIT): Likewise.
10138         (QNAN_VALUE_INIT): Likewise.
10139         (MAX_VALUE_INIT): Likewise.
10140         (MIN_VALUE_INIT): Likewise.
10141         (MIN_SUBNORM_VALUE_INIT): Likewise.
10142         (plus_zero): Initialize with PLUS_ZERO_INIT.
10143         (minus_zero): Initialize with MINUS_ZERO_INIT.
10144         (plus_infty): Initialize with PLUS_INFTY_INIT.
10145         (minus_infty): Initialize with MINUS_INFTY_INIT.
10146         (qnan_value): Initialize with QNAN_VALUE_INIT.
10147         (max_value): Initialize with MAX_VALUE_INIT.
10148         (min_value): Initialize with MIN_VALUE_INIT.
10149         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
10150
10151         * math/libm-test.inc (RUN_TEST_if_f): New macro.
10152         (jn_test): Use TEST_if_f instead of TEST_ff_f.
10153         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
10154         (yn_test): Use TEST_if_f instead of TEST_ff_f.
10155
10156         * math/libm-test.inc (RUN_TEST_f_f): New macro.
10157         (RUN_TEST_2_f): Likewise.
10158         (RUN_TEST_ff_f): Likewise.
10159         (RUN_TEST_fi_f): Likewise.
10160         (RUN_TEST_fl_f): Likewise.
10161         (RUN_TEST_fff_f): Likewise.
10162         (RUN_TEST_c_f): Likewise.
10163         (RUN_TEST_f_f1): Likewise.
10164         (RUN_TEST_fF_f1): Likewise.
10165         (RUN_TEST_fI_f1): Likewise.
10166         (RUN_TEST_ffI_f1): Likewise.
10167         (RUN_TEST_c_c): Likewise.
10168         (RUN_TEST_cc_c): Likewise.
10169         (RUN_TEST_f_i): Likewise.
10170         (RUN_TEST_f_i_tg): Likewise.
10171         (RUN_TEST_ff_i_tg): Likewise.
10172         (RUN_TEST_f_b): Likewise.
10173         (RUN_TEST_f_b_tg): Likewise.
10174         (RUN_TEST_f_l): Likewise.
10175         (RUN_TEST_f_L): Likewise.
10176         (RUN_TEST_sincos): Likewise.
10177         * math/gen-libm-test.pl (new_test): Take new argument to indicate
10178         whether to show exceptions.  Do not include ");\n" in return
10179         value.
10180         (special_functions): Output call to RUN_TEST_sincos instead of
10181         check_float calls.  Update calls to new_test.
10182         (parse_args): Output call to single RUN_TEST_* macro instead of
10183         check_* calls and other assignments.  Update calls to new_test.
10184
10185         [BZ #2546]
10186         [BZ #2560]
10187         [BZ #5159]
10188         [BZ #15426]
10189         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
10190         input to result for tgamma overflow.
10191         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
10192         (gamma_coeff): New variable.
10193         (NCOEFF): New macro.
10194         (gamma_positive): New function.
10195         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
10196         underflow here.  Use gamma_positive instead of exp (lgamma) for
10197         other arguments.
10198         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
10199         (gamma_coeff): New variable.
10200         (NCOEFF): New macro.
10201         (gammaf_positive): New function.
10202         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
10203         underflow here.  Use gamma_positive instead of exp (lgamma) for
10204         other arguments.
10205         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
10206         (gamma_coeff): New variable.
10207         (NCOEFF): New macro.
10208         (gammal_positive): New function.
10209         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
10210         underflow here.  Use gamma_positive instead of exp (lgamma) for
10211         other arguments.
10212         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
10213         (gamma_coeff): New variable.
10214         (NCOEFF): New macro.
10215         (gammal_positive): New function.
10216         (__ieee754_gammal_r): Handle positive infinity, overflow and
10217         underflow here.  Handle NaN the same as positive infinity.  Remove
10218         check x < 0xffffffff for negative integers.  Use gamma_positive
10219         instead of exp (lgamma) for other arguments.
10220         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
10221         (gamma_coeff): New variable.
10222         (NCOEFF): New macro.
10223         (gammal_positive): New function.
10224         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
10225         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
10226         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10227         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
10228         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10229         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10230         * sysdeps/generic/math_private.h (__gamma_productf): New
10231         prototype.
10232         (__gamma_product): Likewise.
10233         (__gamma_productl): Likewise.
10234         * math/Makefile (libm-calls): Add gamma_product.
10235         * math/libm-test.inc (tgamma_test): Add more tests.
10236         * sysdeps/i386/fpu/libm-test-ulps: Update.
10237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10238
10239 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
10240
10241         * benchtests/bench-skeleton.c (main): Preheat CPU.
10242
10243 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
10244
10245         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
10246
10247 2013-05-07  Roland McGrath  <roland@hack.frob.com>
10248
10249         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
10250         and _dl_skip_args_internal.
10251
10252 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
10253
10254         * manual/message.texi (Message Translation): Talk about users.
10255         Message to key mapping impacts design.
10256
10257 2013-05-06  Roland McGrath  <roland@hack.frob.com>
10258
10259         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
10260
10261         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
10262
10263         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
10264         * sysdeps/wordsize-64/glob64.c: ... here.
10265
10266         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
10267         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
10268         New macros.
10269
10270         * debug/getlogin_r_chk.c: Moved to ...
10271         * login/getlogin_r_chk.c: ... here.
10272         * debug/Makefile (routines): Move getlogin_r_chk to ...
10273         * login/Makefile (routines): ... here.
10274         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
10275         * login/Versions (libc: GLIBC_2.4): ... here.
10276
10277         * io/poll.c (__poll): Renamed from poll.
10278         Add libc_hidden_def.
10279         (poll): Define as weak alias.
10280
10281         * debug/ptsname_r_chk.c: Moved to ...
10282         * login/ptsname_r_chk.c: ... here.
10283         * debug/Makefile (routines): Move ptsname_r_chk to ...
10284         * login/Makefile (routines): ... here.
10285         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
10286         * login/Versions (libc: GLIBC_2.4): ... here.
10287
10288         * posix/getlogin.c: Moved to ...
10289         * login/getlogin.c: ... here.
10290         * posix/getlogin_r.c: Moved to ...
10291         * login/getlogin_r.c: ... here.
10292         * posix/getlogin_r.c: Moved to ...
10293         * login/getlogin_r.c: ... here.
10294         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
10295         * login/Makefile (routines): ... here.
10296         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
10297         * login/Versions (libc: GLIBC_2.0): ... here.
10298
10299         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
10300         (setrlimit): Define as weak alias.
10301
10302         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
10303         Call __ names for open, ftruncate, and close.
10304         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
10305         (truncate): Define as weak alias.
10306
10307 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
10308
10309         * math/gen-libm-test.pl (parse_args): Initialize x before each
10310         test of frexp, modf and remquo.
10311
10312         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
10313         test signgam value.
10314
10315 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10316
10317         [BZ #15418]
10318         [BZ #15419]
10319         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
10320         internal tests.
10321         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10322
10323 2013-05-06  Roland McGrath  <roland@hack.frob.com>
10324
10325         * elf/dl-writev.h: New file.
10326         * elf/dl-misc.c: Include it.
10327         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
10328         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
10329
10330 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
10331
10332         * math/libm-test.inc (noXFails): Remove variable.
10333         (noXPasses): Likewise.
10334         (BUILD_COMPLEX_INT): Remove macro.
10335         (print_screen): Remove xfail argument.
10336         (print_screen_max_error): Likewise.
10337         (update_stats): Likewise.
10338         (print_max_error): Likewise.  Update calls to other affected
10339         functions.
10340         (print_complex_max_error): Likewise.
10341         (test_single_exception): Update calls to print_screen.
10342         (test_single_errno): Likewise.
10343         (check_float_internal): Remove xfail argument.  Update calls to
10344         other affected functions.
10345         (check_float): Likewise.
10346         (check_complex): Likewise.
10347         (check_int): Likewise.
10348         (check_long): Likewise.
10349         (check_bool): Likewise.
10350         (check_longlong): Likewise.
10351         (main): Don't print noXFails and noXPasses.
10352         * math/gen-libm-test.pl (top level): Don't mention expected
10353         failure handling in comment.
10354         (new_test): Don't handle expected failures.
10355         (parse_args): Don't mention expected failure handling in comment.
10356         (generate_testfile): Don't handle expected failures.
10357         (parse_ulps): Likewise.
10358         (print_ulps_file): Likewise.
10359         (get_failure): Remove function.
10360         (output_test): Don't handle expected failures.
10361         * make/README.libm-test: Don't mention expected failure handling.
10362
10363         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
10364         (minus_zero): Likewise.
10365         (plus_infty): Likewise.
10366         (minus_infty): Likewise.
10367         (qnan_value): Likewise.
10368         (max_value): Likewise.
10369         (min_value): Likewise.
10370         (min_subnorm_value): Likewise.
10371         (initialize): Do not initialize those variables dynamically.
10372
10373 2013-05-03  Roland McGrath  <roland@hack.frob.com>
10374
10375         * io/open.c (__open_2): Moved to ...
10376         * io/open_2.c: ... this new file.
10377         * io/open64.c (__open64_2): Moved to ...
10378         * io/open64_2.c: ... this new file.
10379         * io/openat.c (__openat_2): Moved to ...
10380         * io/openat_2.c: ... this new file.
10381         * io/openat64.c (__openat64_2): Moved to ...
10382         * io/openat64_2.c: ... this new file.
10383         * io/Makefile (routines): Add them.
10384         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
10385         * sysdeps/unix/sysv/linux/open_2.c: File removed.
10386         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
10387         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
10388         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
10389         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
10390         (__openat64): Add hidden_ver.
10391         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
10392         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
10393
10394         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
10395         Separately conditionalize setting of GLRO(dl_sysinfo) so
10396         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
10397         as well, but the actual setting is only under [NEED_DL_SYSINFO].
10398
10399 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10400
10401         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
10402         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
10403         definition.
10404         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
10405         * sysdeps/unix/sysv/linux/powerpc/init-first.c
10406         (_libc_vdso_platform_setup): Add __vdso_time initialization.
10407         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
10408         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
10409
10410 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
10411
10412         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
10413         test signgam value.
10414
10415         * math/libm-test.inc (hypot_test): Do not use
10416         IGNORE_ZERO_INF_SIGN.
10417
10418 2013-05-03  Andreas Jaeger  <aj@suse.de>
10419
10420         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
10421         Linux 3.9.
10422         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
10423         (PF_MAX): Adjust for VSOCK change.
10424
10425 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10426
10427         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10428
10429 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
10430
10431         [BZ #15264]
10432         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
10433         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
10434         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
10435
10436 2013-05-02  David S. Miller  <davem@davemloft.net>
10437
10438         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10439
10440 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
10441
10442         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
10443
10444 2013-05-01  Roland McGrath  <roland@hack.frob.com>
10445
10446         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
10447
10448 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
10449
10450         [BZ #14952]
10451         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
10452         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10453         Use __attribute__ ((__gnu_inline__)).
10454         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
10455         Don't use __attribute__ ((__gnu_inline__)).
10456
10457 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
10458
10459         [BZ #15423]
10460         * math/s_catan.c (__catan): Handle small real or imaginary part of
10461         input specially to avoid spurious underflow.
10462         * math/s_catanf.c (__catanf): Likewise.
10463         * math/s_catanh.c (__catanh): Likewise.
10464         * math/s_catanhf.c (__catanhf): Likewise.
10465         * math/s_catanhl.c (__catanhl): Likewise.
10466         * math/s_catanl.c (__catanl): Likewise.
10467         * math/libm-test.inc (catan_test): Add more tests.
10468         (catanh_test): Likewise.
10469         * sysdeps/i386/fpu/libm-test-ulps: Update.
10470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10471
10472 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10473
10474         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10475
10476 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
10477
10478         [BZ #15416]
10479         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
10480         accurately for denominator in atan2.
10481         * math/s_catanf.c (__catanf): Likewise.
10482         * math/s_catanh.c (__catanh): Likewise.
10483         * math/s_catanhf.c (__catanhf): Likewise.
10484         * math/s_catanhl.c (__catanhl): Likewise.
10485         * math/s_catanl.c (__catanl): Likewise.
10486         * math/libm-test.inc (catan_test): Add more tests.
10487         (catanh_test): Likewise.
10488         * sysdeps/i386/fpu/libm-test-ulps: Update.
10489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10490
10491 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10492
10493         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
10494
10495         * benchtests/Makefile (bench): Remove slow benchmarks.
10496         * benchtests/atan-inputs: Add slow benchmark inputs.
10497         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
10498         (BENCH_FUNC): Accept variant offset.
10499         (VARIANT): Define.
10500         * benchtests/bench-skeleton.c (main): Run benchmark for each
10501         variant.
10502         * benchtests/cos-inputs: Add slow benchmark inputs.
10503         * benchtests/exp-inputs: Likewise.
10504         * benchtests/pow-inputs: Likewise.
10505         * benchtests/sin-inputs: Likewise.
10506         * benchtests/slowatan-inputs: Remove.
10507         * benchtests/slowatan.c: Remove.
10508         * benchtests/slowcos-inputs: Remove.
10509         * benchtests/slowcos.c: Remove.
10510         * benchtests/slowexp-inputs: Remove.
10511         * benchtests/slowexp.c: Remove.
10512         * benchtests/slowpow-inputs: Remove.
10513         * benchtests/slowpow.c: Remove.
10514         * benchtests/slowsin-inputs: Remove.
10515         * benchtests/slowsin.c: Remove.
10516         * benchtests/slowtan-inputs: Remove.
10517         * benchtests/slowtan.c: Remove.
10518         * benchtests/tan-inputs: Add slow benchmark inputs.
10519         * scripts/bench.pl: Parse comments and directives.
10520
10521         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
10522         in CPPFLAGS.
10523         ($(objpfx)bench-%.c): Remove *-ITER.
10524         * benchtests/bench-modf.c: Remove definition of ITER.
10525         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
10526         (main): Loop for DURATION seconds instead of fixed number of
10527         iterations.
10528         * scripts/bench.pl: Don't expect iterations in parameters.
10529
10530 2013-04-29  Roland McGrath  <roland@hack.frob.com>
10531
10532         * io/fchdir.c (__fchdir): Renamed from fchdir.
10533         (fchdir): Define as weak alias.
10534
10535 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
10536
10537         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
10538         (ERRNO_EDOM): Likewise.
10539         (ERRNO_ERANGE): Likewise.
10540         (noErrnoTests): New variable.
10541         (init_max_error): Set errno to 0.
10542         (test_single_errno): New function.
10543         (test_errno): Likewise.
10544         (check_float_internal): Call test_errno.  Set errno to 0.
10545         (check_complex): Refer to errno tests in comment.
10546         (check_int): Call test_errno.  Set errno to 0.
10547         (check_long): Likewise.
10548         (check_bool): Likewise.
10549         (check_longlong): Likewise.
10550         (cos_test): Use ERRNO_* flags for errno tests instead of
10551         check_int.
10552         (expm1_test): Likewise.
10553         (fmod_test): Likewise.
10554         (ilogb_test): Likewise.
10555         (lgamma_test): Likewise.
10556         (pow_test): Likewise.
10557         (remainder_test): Likewise.
10558         (sin_test): Likewise.
10559         (tan_test): Likewise.
10560         (yn_test): Likewise.
10561         (initialize): Set errno to 0.
10562         (main): Print number of errno tests.
10563         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
10564
10565 2013-04-29  Andreas Jaeger  <aj@suse.de>
10566
10567         [BZ #15084]
10568         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
10569         and RES_USEVC.
10570
10571         [BZ #15085]
10572         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
10573         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
10574         unimplemented.
10575
10576         [BZ #15380]
10577         * stdlib/random.c (__initstate): Return NULL if
10578         __initstate fails.
10579
10580         [BZ #15086]
10581         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
10582         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
10583         RES_SNGLKUPREOP.
10584
10585 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10586
10587         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10588
10589 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
10590
10591         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
10592         of individual tests.
10593         (casin_test): Likewise.
10594         (casinh_test): Likewise.
10595
10596 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
10597
10598         [BZ #15409]
10599         * math/s_catan.c (__catan): Handle arguments with large real or
10600         imaginary part separately without squaring.
10601         * math/s_catanf.c (__catanf): Likewise.
10602         * math/s_catanh.c (__catanh): Likewise.
10603         * math/s_catanhf.c (__catanhf): Likewise.
10604         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10605         and redefine.
10606         (__catanhl): Handle arguments with large real or imaginary part
10607         separately without squaring.
10608         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10609         and redefine.
10610         (__catanl): Handle arguments with large real or imaginary part
10611         separately without squaring.
10612         * math/libm-test.inc (catan_test): Add more tests.
10613         (catanh_test): Likewise.
10614         * sysdeps/i386/fpu/libm-test-ulps: Update.
10615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10616
10617 2013-04-27  Andreas Jaeger  <aj@suse.de>
10618
10619         [BZ #15007]
10620         * stdlib/stdlib.h: Update guards for qecvt.
10621         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
10622         <stdlib.h>.
10623
10624 2013-04-27  Allan McRae  <allan@archlinux.org>
10625
10626         * sysdeps/i386/fpu/libm-test-ulps: Update.
10627
10628 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
10629
10630         [BZ #15406]
10631         * math/s_catan.c: Include <float.h>.
10632         (__catan): Ensure underflow exception occurs for underflowed
10633         result.
10634         * math/s_catanf.c: Include <float.h>.
10635         (__catanf): Ensure underflow exception occurs for underflowed
10636         result.
10637         * math/s_catanh.c: Include <float.h>.
10638         (__catanh): Ensure underflow exception occurs for underflowed
10639         result.
10640         * math/s_catanhf.c: Include <float.h>.
10641         (__catanhf): Ensure underflow exception occurs for underflowed
10642         result.
10643         * math/s_catanhl.c: Include <float.h>.
10644         (__catanhl): Ensure underflow exception occurs for underflowed
10645         result.
10646         * math/s_catanl.c: Include <float.h>.
10647         (__catanl): Ensure underflow exception occurs for underflowed
10648         result.
10649         * math/libm-test.inc (catan_test): Add more tests.
10650         (catanh_test): Likewise.
10651
10652         [BZ #15405]
10653         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
10654         underflowed result.
10655         * math/s_ccoshf.c (__ccoshf): Likewise.
10656         * math/s_ccoshl.c (__ccoshl): Likewise.
10657         * math/s_csin.c (__csin): Likewise.
10658         * math/s_csinf.c (__csinf): Likewise.
10659         * math/s_csinh.c (__csinh): Likewise.
10660         * math/s_csinhf.c (__csinhf): Likewise.
10661         * math/s_csinhl.c (__csinhl): Likewise.
10662         * math/s_csinl.c (__csinl): Likewise.
10663         * math/libm-test.inc (ccos_test): Add more tests.
10664         (ccosh_test): Likewise.
10665         (csin_test): Likewise.
10666         (csinh_test): Likewise.
10667
10668 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10669
10670         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
10671         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
10672         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
10673         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
10674         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
10675         powerpc/power5+/fpu folders.
10676         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
10677
10678
10679 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
10680
10681         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10682
10683 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
10684
10685         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
10686         additions to variable.
10687         [$(config-machine) = x86_64] (modules-names): Likewise.
10688         ($(objpfx)tst-audit3): Remove dependency.
10689         ($(objpfx)tst-audit3.out): Likewise.
10690         ($(objpfx)tst-audit4): Likewise.
10691         ($(objpfx)tst-audit4.out): Likewise.
10692         ($(objpfx)tst-audit5): Likewise.
10693         ($(objpfx)tst-audit5.out): Likewise.
10694         ($(objpfx)tst-audit6): Likewise.
10695         ($(objpfx)tst-audit6.out): Likewise.
10696         ($(objpfx)tst-audit7): Likewise.
10697         ($(objpfx)tst-audit7.out): Likewise.
10698         (tst-audit3-ENV): Remove variable.
10699         (tst-audit4-ENV): Likewise.
10700         (tst-audit5-ENV): Likewise.
10701         (tst-audit6-ENV): Likewise.
10702         (tst-audit7-ENV): Likewise.
10703         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
10704         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
10705         addition to variable.
10706         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
10707         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
10708         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
10709         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
10710         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
10711         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
10712         tst-audit3, tst-audit4 and tst-audit5.
10713         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
10714         tst-audit6 and tst-audit7.
10715         [$(subdir) = elf] (modules-names): Add audit modules for those
10716         tests.
10717         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
10718         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
10719         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
10720         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
10721         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
10722         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
10723         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
10724         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
10725         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
10726         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
10727         [$(subdir) = elf] (tst-audit3-ENV): New variable.
10728         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
10729         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
10730         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
10731         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
10732         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
10733         Likewise.
10734         [$(subdir) = elf && $(config-cflags-avx) = yes]
10735         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
10736         [$(subdir) = elf && $(config-cflags-avx) = yes]
10737         (CFLAGS-tst-auditmod4a.c): Likewise.
10738         [$(subdir) = elf && $(config-cflags-avx) = yes]
10739         (CFLAGS-tst-auditmod4b.c): Likewise.
10740         [$(subdir) = elf && $(config-cflags-avx) = yes]
10741         (CFLAGS-tst-auditmod6b.c): Likewise.
10742         [$(subdir) = elf && $(config-cflags-avx) = yes]
10743         (CFLAGS-tst-auditmod6c.c): Likewise.
10744         [$(subdir) = elf && $(config-cflags-avx) = yes]
10745         (CFLAGS-tst-auditmod7b.c): Likewise.
10746         * elf/tst-audit3.c: Move to ...
10747         * sysdeps/x86_64/tst-audit3.c: ... here.
10748         * elf/tst-audit4.c: Move to ...
10749         * sysdeps/x86_64/tst-audit4.c: ... here.
10750         * elf/tst-audit5.c: Move to ...
10751         * sysdeps/x86_64/tst-audit5.c: ... here.
10752         * elf/tst-audit6.c: Move to ...
10753         * sysdeps/x86_64/tst-audit6.c: ... here.
10754         * elf/tst-audit7.c: Move to ...
10755         * sysdeps/x86_64/tst-audit7.c: ... here.
10756         * elf/tst-auditmod3a.c: Move to ...
10757         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
10758         * elf/tst-auditmod3b.c: Move to ...
10759         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
10760         * elf/tst-auditmod4a.c: Move to ...
10761         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
10762         * elf/tst-auditmod4b.c: Move to ...
10763         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
10764         * elf/tst-auditmod5a.c: Move to ...
10765         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
10766         * elf/tst-auditmod5b.c: Move to ...
10767         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
10768         * elf/tst-auditmod6a.c: Move to ...
10769         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
10770         * elf/tst-auditmod6b.c: Move to ...
10771         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
10772         * elf/tst-auditmod6c.c: Move to ...
10773         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
10774         * elf/tst-auditmod7a.c: Move to ...
10775         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
10776         * elf/tst-auditmod7b.c: Move to ...
10777         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
10778
10779 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
10780
10781         [BZ #15366]
10782         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
10783         define unconditionally.
10784         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
10785         define unconditionally.
10786         (INT8_C, INT16_C, etc.): Likewise.
10787
10788 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
10789
10790         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
10791         __ehdr_start with hidden visibility.
10792
10793         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
10794
10795 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
10796
10797         * math/libm-test.inc (cos_test): Use accurate hex constants.
10798         (sincost_test): Likewise.
10799
10800 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
10801
10802         * math/libm-test.inc (catan_test): Add more tests.
10803         (catanh_test): Likewise.
10804
10805         * math/s_catanf.c (__catanf): Use suffixed floating-point
10806         constants.
10807         * math/s_catanhf.c (__catanhf): Likewise.
10808         * math/s_catanhl.c (__catanhl): Likewise.
10809         * math/s_catanl.c (__catanl): Likewise.
10810
10811         [BZ #15394]
10812         * math/s_catan.c (__catan): Calculate imaginary part of result
10813         with log1p not log unless computing log of number close to 0.
10814         * math/s_catanf.c (__catanf): Likewise.
10815         * math/s_catanl.c (__catanl): Likewise.
10816         * math/s_catanh.c (__catanh): Calculate real part of result with
10817         log1p not log unless computing log of number close to 0.
10818         * math/s_catanhf.c (__catanhf): Likewise.
10819         * math/s_catanhl.c (__catanhl): Likewise.
10820         * math/libm-test.inc (catan_test): Add more tests.
10821         (catanh_test): Likewise.
10822         * sysdeps/i386/fpu/libm-test-ulps: Update.
10823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10824
10825 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10826
10827         * benchtests/Makefile: Mention files in which fast and slow
10828         paths of math functions are implemented.
10829
10830 2013-04-23  Roland McGrath  <roland@hack.frob.com>
10831
10832         * sysdeps/posix/timespec_get.c: New file.
10833
10834 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10835
10836         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
10837         POWER.
10838         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
10839         for POWER.
10840         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
10841         powerpc/power5/fpu folders.
10842         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
10843         * benchtests/Makefile: Add modf testcase.
10844         * benchtests/bench-modf.c: New file: Benchmark test for mo
10845
10846 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10847
10848         [BZ #14888]
10849         * time/Makefile (tests): Add tst-strptime-whitespace.
10850         * time/strptime_l.c (get_number): Use ISSPACE.
10851         (__strptime_internal): Likewise.
10852         * time/tst-strptime-whitespace.c: New test case.
10853
10854 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
10855
10856         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
10857         member.
10858         (_nss_files_init): Set it here.
10859
10860 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
10861
10862         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
10863         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
10864         unsigned.
10865
10866 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
10867
10868         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
10869
10870 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10871
10872         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
10873         size just once.
10874
10875 2013-04-21  David S. Miller  <davem@davemloft.net>
10876
10877         * po/ru.po: Update Russion translation from translation project.
10878
10879 2013-04-17  Adam Conrad  <adconrad@0c3.net>
10880
10881         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
10882         and setfsgid.
10883
10884 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
10885
10886         * configure.in: Remove i386 configure warning. Remove i386 case.
10887         * configure: Regenerate.
10888         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
10889         Add example to error message.
10890         * sysdeps/i386/configure: Regenerate.
10891
10892 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
10893
10894         * benchtests/Makefile (bench): Add cos, tan, slowcos and
10895         slowtan.
10896         * benchtests/cos-inputs: New file.
10897         * benchtests/slowcos-inputs: New file.
10898         * benchtests/slowcos.c: New file.
10899         * benchtests/slowtan-inputs: New file.
10900         * benchtests/slowtan.c: New file.
10901         * benchtests/tan-inputs: New file.
10902
10903 2013-04-16  Roland McGrath  <roland@hack.frob.com>
10904
10905         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
10906         considered kosher.
10907
10908 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10909
10910         * benchtests/Makefile: Include cppflags-iterator.mk to add
10911         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
10912
10913         * Makefile.in (bench-clean): New target.
10914         * benchtests/Makefile (bench-clean): Likewise.
10915
10916 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
10917
10918         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
10919
10920 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
10921
10922         * stdio-common/tstdiomisc.c: Fix coding-style violation.
10923
10924 2013-04-15  Andreas Schwab  <schwab@suse.de>
10925
10926         * nscd/grpcache.c (cache_addgr): Properly check for short write.
10927         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10928         * nscd/pwdcache.c (cache_addpw): Likewise.
10929         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
10930         more than recsize.
10931
10932 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10933
10934         * benchtests/Makefile (bench): Write all output to
10935         bench-out.tmp together.
10936
10937 2013-04-15  Andreas Schwab  <schwab@suse.de>
10938
10939         * nscd/nscd.c (main): Don't fork again after closing files.
10940
10941 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10942
10943         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
10944
10945         * benchtests/Rules (bench-deps): Collect dependencies into a
10946         single variable.  Add Makefile to dependencies.
10947         ($(objpfx)bench-%.c): Depend on bench-deps.
10948
10949 2013-04-12  Roland McGrath  <roland@hack.frob.com>
10950             Xavier Roche  <roche+kml2@exalead.com>
10951
10952         [BZ #15361]
10953         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
10954         just that it's a file descriptor.
10955         * manual/llio.texi (Synchronizing AIO Operations): Update description
10956         for EBADF error from aio_fsync.
10957
10958 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10959
10960         * Rules (bench): Move target definition...
10961         * benchtests/Makefile: ... here.
10962
10963 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
10964
10965         * math/libm-test.inc (cos_test): Fix PI/2 test.
10966         (sincos_test): Likewise.
10967         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
10968         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10969
10970 2013-04-11  Andreas Schwab  <schwab@suse.de>
10971
10972         [BZ #13988]
10973         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
10974         accept exponent character only when digits were seen.
10975         * stdio-common/Makefile (tests): Add bug26.
10976         * stdio-common/bug26.c: New file.
10977
10978         [BZ #14293]
10979         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
10980         non-freeable.
10981
10982 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10983
10984         * Makeconfig (rtld-prefix): Define built linker prefix.
10985         * Rules (run-bench): Use it.
10986         * math/Makefile (run-regen-ulps): Likewise.
10987
10988         * Rules (bench): Remove eval.
10989
10990 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10991             Roland McGrath  <roland@hack.frob.com>
10992             Ondrej Bilka  <neleai@seznam.cz>
10993
10994         [BZ #15346]
10995         * time/getdate.c: Include ctype.h and alloca.h.
10996         (__getdate_r): Trim leading and trailing spaces of input.
10997         * time/tst-getdate.c (tests): Add tests with leading and
10998         trailing spaces.
10999
11000 2013-04-08  Roland McGrath  <roland@hack.frob.com>
11001
11002         [BZ #14280]
11003         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
11004         when computing value.
11005
11006 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11007
11008         * math/README.libm-test (How can I generate "libm-test-ulps"?):
11009         Use testrun.sh to run libm tests.
11010
11011         [BZ #15309]
11012         * elf/dl-open.c (dl_open_worker): memset all of seen array.
11013
11014 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
11015
11016         [BZ #15264]
11017         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
11018
11019 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11020
11021         * Makefile.in (regen-ulps): New target.
11022         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
11023         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
11024         [ifneq (no,$(PERL)] (regen-ulps): New target.
11025         [ifeq (no,$(PERL)] (regen-ulps): New target.
11026         * math/libm-test.inc (ulps_file_name): Define.
11027         (output_dir): New variable.
11028         (options): Add "output-dir" option.
11029         (parse_opt): Handle 'o' case.
11030         (main): If output_dir is non-NULL use it as a prefix
11031         otherwise use "".
11032         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
11033
11034 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11035
11036         [BZ #10060, #10062]
11037         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
11038         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
11039         fail configure if __sync_val_compare_and_swap is not inlined.
11040         * sysdeps/i386/configure: Regenerate.
11041         * configure.in: Build for i686 when configured for i386.
11042         * configure: Regenerate.
11043         * README: Remove i386 reference.
11044
11045 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
11046
11047         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
11048         * sysdeps/s390/s390-64/sysdep.h: Likewise.
11049
11050 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
11051
11052         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
11053         (lmsnanval): New variables.
11054         (F): Add conversion tests.
11055         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
11056         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
11057
11058         * stdio-common/tstdiomisc.c (F): Properly collect individual
11059         tests' results.
11060
11061         [BZ #14686, #15336]
11062         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
11063         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11064         Instead, use input NaN values or generate a qNaN by arithmetic
11065         operation.  Also fix bugs to comply with the standard.
11066         * math/libm-test.inc (remainder_test): Add more tests.
11067
11068         [BZ #15335, #15342]
11069         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
11070         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
11071         input NaN values or generate a qNaN by arithmetic operation.
11072
11073         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
11074         unreachable code.
11075
11076         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
11077         definitions.
11078
11079 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
11080
11081         [BZ #14478]
11082         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
11083         underflowed result.
11084         * math/s_cexpf.c (__cexpf): Likewise.
11085         * math/s_cexpl.c (__cexpl): Likewise.
11086         * math/libm-test.inc (cexp_test): Add more tests.
11087
11088 2013-04-03  Andreas Schwab  <schwab@suse.de>
11089
11090         [BZ #15330]
11091         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
11092         order arrays from heap if bigger than alloca cutoff.
11093
11094 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
11095
11096         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
11097         (SNAN_TESTS_double): Refer to GCC PR56831.
11098         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
11099         GCC PR56828.
11100
11101 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11102
11103         * Rules (bench): Move bench.out after the run is complete.
11104
11105         * Rules (bench): Echo currently running benchmark.
11106
11107         * benchtests/Makefile (bench): Add atan and slowatan.
11108         * benchtests/atan-inputs: New file.
11109         * benchtests/slowatan-inputs: New file.
11110         * benchtests/slowatan.c: New file.
11111
11112         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
11113         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
11114         its value.
11115
11116         [BZ #15305]
11117         * sysdeps/unix/sysv/linux/kernel-features.h
11118         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
11119         __ASSUME_XFS_RESTRICTED_CHOWN.
11120         * sysdeps/unix/sysv/linux/pathconf.c
11121         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11122         Save and restore errno.
11123
11124 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
11125
11126         [BZ #15327]
11127         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
11128         arguments using __kernel_casinh.
11129         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
11130         arguments using __kernel_casinhf.
11131         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
11132         arguments using __kernel_casinhl.
11133         * math/libm-test.inc (cacosh_test): Add more tests.
11134         * sysdeps/i386/fpu/libm-test-ulps: Update.
11135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11136
11137 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11138
11139         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
11140         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
11141
11142         * bench/Makefile (bench): Add sin and slowsin.
11143         * benchtests/sin-inputs: New file.
11144         * benchtests/slowsin-inputs: New file.
11145         * benchtests/slowsin.c: New file.
11146
11147         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
11148         (bench): Add slowexp and slowpow.
11149         (exp-ITER): Increase iterations.
11150         (pow-ITER): Likewise.
11151         * benchtests/exp-inputs: Change input.
11152         * benchtests/pow-inputs: Likewise.
11153         * benchtests/slowexp-inputs: New file.
11154         * benchtests/slowexp.c: New file.
11155         * benchtests/slowpow-inputs: New file.
11156         * benchtests/slowpow.c: New file.
11157
11158 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11159
11160         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
11161         instructions.
11162         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11163         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
11164         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11165         * benchtests/Makefile: Add rint benchtest.
11166         * benchtests/rint-inputs: Input for rint benchtest.
11167
11168 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
11169
11170         * Versions.def (libm): Add GLIBC_2.18.
11171         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
11172         hidden libm prototypes.
11173         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
11174         * math/Makefile (libm-calls): Add s_issignaling.
11175         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
11176         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
11177         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
11178         declaration.
11179         * math/math.h [__USE_GNU] (issignaling): New macro.
11180         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
11181         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
11182         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
11183         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
11184         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11185         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
11186         * manual/arith.texi (issignaling): New section.
11187         * manual/libm-err-tab.pl (@all_functions): Update comment.
11188         * math/gen-libm-test.pl (parse_args): Apply special handling for
11189         issignaling.
11190         * math/libm-test.inc (print_float, issignaling_test): New
11191         functions.
11192         (check_float_internal): Add issignaling checks.
11193         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
11194         default definition.
11195         * sysdeps/powerpc/math-tests.h: New file.
11196         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
11197         tests.
11198         * math/test-snan.c (TEST_FUNC): Likewise.
11199
11200 2013-03-30  David S. Miller  <davem@davemloft.net>
11201
11202         * po/de.po: Update from translation team.
11203
11204 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
11205
11206         [BZ #10357]
11207         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11208         imaginary part less than 1.0 and real part less than 0.5
11209         specially.
11210         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11211         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11212         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
11213         (cacos_test): Add more tests.
11214         (casin_test): Likewise.
11215         (casinh_test): Likewise.
11216         * sysdeps/i386/fpu/libm-test-ulps: Update.
11217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11218
11219 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11220
11221         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
11222         ONE with its value.
11223
11224         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
11225         (__pow_mp): Replace ONE and MONE with their values.
11226         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11227         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
11228         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11229         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
11230         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11231         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11232
11233         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
11234
11235         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
11236         (__pow_mp): Replace ZERO and MZERO with their values.
11237         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11238         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11239         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11240         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11241         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11242         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
11243         (__sqr): Likewise.
11244
11245         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
11246
11247         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
11248
11249 2013-03-28  Roland McGrath  <roland@hack.frob.com>
11250
11251         * include/stdlib.h [!SHARED] (__call_tls_dtors):
11252         Declare with __attribute__ ((weak)).
11253         * stdlib/exit.c (__libc_atexit) [!SHARED]:
11254         Call __call_tls_dtors only if it's not NULL.
11255
11256 2013-03-28  Roland McGrath  <roland@hack.frob.com>
11257
11258         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
11259         didn't do it already, then set _dl_phdr and _dl_phnum based on the
11260         magic __ehdr_start linker symbol if it's defined.
11261         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
11262         them up here if it was already done.
11263
11264         * elf/dl-support.c (_dl_phdr): Make pointer to const.
11265         (_dl_aux_init): Use const in cast when setting it.
11266         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
11267         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
11268         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
11269
11270         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
11271         Declare them here.
11272         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
11273         * csu/libc-tls.c: Nor here.
11274         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
11275
11276         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
11277         (__libc_message): Never call vsyslog.
11278
11279 2013-03-28  Alan Modra  <amodra@gmail.com>
11280
11281         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
11282         Define as empty.
11283         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11284         Likewise.
11285
11286 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11287
11288         [BZ #15214]
11289         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
11290         underflow.
11291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11292
11293 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11294
11295         [BZ #15304]
11296         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
11297         Don't add gid passed as argument.
11298
11299         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
11300
11301 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
11302
11303         [BZ #15307]
11304         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11305         imaginary part between 1.0 and 1.5 and real part less than 0.5
11306         specially.
11307         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11308         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11309         * math/libm-test.inc (cacos_test): Add more tests.
11310         (casin_test): Likewise.
11311         (casinh_test): Likewise.
11312         * sysdeps/i386/fpu/libm-test-ulps: Update.
11313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11314
11315 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11316
11317         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
11318         constants.
11319         (norm): Likewise.
11320         (denorm): Likewise.
11321         (__dbl_mp): Likewise.
11322         (add_magnitudes): Likewise.
11323         (sub_magnitudes): Likewise.
11324         (__add): Likewise.
11325         (__sub): Likewise.
11326         (__mul): Likewise.
11327         (__sqr): Likewise.
11328         (__inv): Likewise.
11329         (__dvd): Likewise.
11330
11331         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
11332         commented code.
11333         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
11334         (__dubcos): Likewise.
11335         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
11336         (__ieee754_acos): Likewise.
11337         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
11338         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
11339         (__exp1): Likewise.
11340         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11341         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
11342         (log1): Likewise.
11343         (my_log2): Likewise.
11344         (checkint): Likewise.
11345         * sysdeps/ieee754/dbl-64/e_remainder.c
11346         (__ieee754_remainder): Likewise.
11347         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
11348         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
11349         (bsloww): Likewise.
11350         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11351
11352         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11353         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
11354         MANTISSA_STORE_T to store computations on mantissa.  Use
11355         macros for rounding and division.
11356         (denorm): Likewise.
11357         (__dbl_mp): Likewise.
11358         (add_magnitudes): Likewise.
11359         (sub_magnitudes): Likewise.
11360         (__mul): Likewise.
11361         (__sqr): Likewise.
11362         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11363         powers of two in terms of TWOPOW macro.
11364         (mp_no): Make type of mantissa as MANTISSA_T.
11365         [!RADIXI]: Define RADIXI.
11366         [!TWO52]: Define TWO52.
11367         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11368
11369 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11370
11371         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
11372         llroundl symbol when building for PPC32.
11373
11374 2013-03-24  Mark H Weaver  <mhw@netris.org>
11375
11376         * manual/arith.texi (Normalization Functions): Fix prototypes for
11377         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
11378
11379 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11380
11381         [BZ #13889]
11382         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
11383         high value to check if expl overflow.
11384         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
11385         to check for underflow and overflow.
11386         * math/libm-test.inc: Add exp test.
11387
11388 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
11389
11390         [BZ #11120]
11391         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
11392         with NOT_IN_libc.
11393
11394 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11395
11396         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
11397         symbol.
11398
11399 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
11400
11401         * math/gen-libm-test.pl (parse_args, special_functions): Properly
11402         wrap blocks consisting of several statements.
11403
11404         * sysdeps/generic/math-tests.h: New file.
11405         * sysdeps/i386/fpu/math-tests.h: Likewise.
11406         * math/test-snan.c: Include it.
11407         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
11408
11409 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
11410
11411         [BZ #15285]
11412         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
11413         (__ieee754_j0l): Do not improve calculations using cos of twice
11414         input for inputs above LDBL_MAX / 2.0L.
11415         (__ieee754_y0l): Likewise.
11416         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
11417         (__ieee754_j1l): Do not improve calculations using cos of twice
11418         input for inputs above LDBL_MAX / 2.0L.
11419         (__ieee754_y1l): Likewise.
11420         * math/libm-test.inc (j0_test): Add another test.
11421         (j1_test): Likewise.
11422         (y0_test): Likewise.
11423         (y1_test): Likewise.
11424         * sysdeps/i386/fpu/libm-test-ulps: Update.
11425
11426 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11427
11428         * Rules ($(objpfx)bench-%.c): Include code from a C source
11429         file.
11430
11431 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
11432
11433         [BZ #15287]
11434         * math/k_casinh.c (__kernel_casinh): Handle arguments with
11435         imaginary part 1.0 and real part less than 0.5 specially.
11436         * math/k_casinhf.c (__kernel_casinhf): Likewise.
11437         * math/k_casinhl.c (__kernel_casinhl): Likewise.
11438         * math/libm-test.inc (cacos_test): Add more tests.
11439         (casin_test): Likewise.
11440         (casinh_test): Likewise.
11441         * sysdeps/i386/fpu/libm-test-ulps: Update.
11442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11443
11444 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11445
11446         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
11447         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
11448
11449 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
11450
11451         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
11452         * config.make.in (config-cflags-sse4): Remove variable.
11453         (config-cflags-avx): Likewise.
11454         (config-cflags-sse2avx): Likewise.
11455         (config-cflags-novzeroupper): Likewise.
11456         (config-asflags-i686): Likewise.
11457         (have-mfma4): Likewise.
11458         (have-as-vis3): Likewise.
11459         (MIG): Likewise.
11460         * configure.in (MIG): Do not AC_SUBST.
11461         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
11462         (libc_cv_cc_sse4): Do not AC_SUBST.
11463         (libc_cv_cc_avx): Likewise.
11464         (libc_cv_cc_sse2avx): Likewise.
11465         (libc_cv_cc_novzeroupper): Likewise.
11466         (libc_cv_cc_fma4): Likewise.
11467         (libc_cv_as_i686): Likewise.
11468         (libc_cv_sparc_as_vis3): Likewise.
11469         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
11470         LIBC_CONFIG_VAR.
11471         (config-asflags-i686): Likewise.
11472         (config-cflags-avx): Likewise.
11473         (config-cflags-sse2avx): Likewise.
11474         (have-mfma4): Likewise.
11475         (config-cflags-novzeroupper): Likewise.
11476         * sysdeps/mach/configure.in (MIG): Likewise.
11477         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
11478         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
11479         LIBC_CONFIG_VAR.
11480         (config-cflags-avx): Likewise.
11481         (config-cflags-sse2avx): Likewise.
11482         (have-mfma4): Likewise.
11483         (config-cflags-novzeroupper): Likewise.
11484         * configure: Regenerated.
11485         * sysdeps/i386/configure: Likewise.
11486         * sysdeps/mach/configure: Likewise.
11487         * sysdeps/sparc/configure: Likewise.
11488         * sysdeps/x86_64/configure: Likewise.
11489
11490 2013-03-20  Roland McGrath  <roland@hack.frob.com>
11491
11492         [BZ #14812]
11493         * locale/programs/localedef.c (options): Put N_ translation marker
11494         on argument names, not just descriptions.
11495
11496 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11497
11498         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
11499
11500 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
11501
11502         [BZ #14176]
11503         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
11504
11505 2013-03-19  Roland McGrath  <roland@hack.frob.com>
11506
11507         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
11508         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
11509         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
11510         [!BEFORE_ABORT] (before_abort): New function.
11511         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
11512         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
11513         (writev_for_fatal): New function.
11514         (WRITEV_FOR_FATAL): New macro; call that.
11515         (backtrace_and_maps): New function.
11516         (BEFORE_ABORT): New macro; call that.
11517         (struct str_list): Type removed.
11518         (__libc_message, __libc_fatal): Functions removed.
11519         Include <sysdeps/posix/libc_fatal.c> instead.
11520
11521 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
11522
11523         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
11524         constants.
11525         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
11526         double constants.
11527
11528 2013-03-19  Andreas Schwab  <schwab@suse.de>
11529
11530         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
11531         * sysdeps/gnu/configure: Regenerate.
11532
11533         * configure.in: Substitute libc_cv_rtlddir.
11534         * configure: Regenerate.
11535         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
11536         * Makeconfig (rtlddir, inst_rtlddir): New variables.
11537         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
11538         * elf/Makefile (install-others, CFLAGS-interp.c)
11539         (ldso_install, common-ldd-rewrite): Likewise.
11540         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
11541         $(inst_slibdir)/$(rtld-installed-name).
11542         * scripts/rellns-sh: Add -p option.
11543         * Makerules (make-shlib-link): Use rellns-sh to get relative name
11544         for source.
11545
11546 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11547
11548         * manual/nptl.texi: Renamed to ...
11549         * manual/threads.texi: ... this.
11550         * manual/Makefile (chapters): Update.
11551
11552 2013-03-18  Roland McGrath  <roland@hack.frob.com>
11553
11554         [BZ #14812]
11555         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
11556         on argument names, not just descriptions.
11557         * malloc/memusagestat.c (options): Likewise.
11558         * nss/getent.c (options): Likewise.
11559
11560 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
11561
11562         [BZ #14812]
11563         * iconv/iconv_prog.c (options): Put N_ translation marker
11564         on argument names, not just descriptions.
11565         * iconv/iconvconfig.c (options): Likewise.
11566
11567 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
11568
11569         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
11570         implementation which is faster on all x86_64 architectures.
11571         Tested on AMD, Intel Nehalem, SNB, IVB.
11572         * sysdeps/x86_64/strnlen.S: Likewise.
11573
11574         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
11575         Remove all multiarch strlen and strnlen versions.
11576         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
11577         Remove strlen and strnlen related parts.
11578
11579         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
11580         Inline strlen part.
11581         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
11582
11583         * sysdeps/x86_64/multiarch/strlen.S: Remove.
11584         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
11585         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
11586         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
11587         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11588         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
11589
11590 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
11591
11592         * manual/memory.texi (Malloc Tunable Parameters):
11593         Sort parameters alphabetically. Add comments for missing entries.
11594
11595 2013-03-17  David S. Miller  <davem@davemloft.net>
11596
11597         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11598
11599 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
11600
11601         [BZ #15283]
11602         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
11603         for arguments at most half maximum finite value.
11604         * math/libm-test.inc (j0_test): Add more tests.
11605         (j1_test): Likewise.
11606         (y0_test): Likewise.
11607         (y1_test): Likewise.
11608         * sysdeps/i386/fpu/libm-test-ulps: Update.
11609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11610
11611         [BZ #14155]
11612         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
11613         1 / x and functions P and Q for arguments above 0x1p256L.
11614         (__ieee754_y0l): Likewise.
11615         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
11616         (__ieee754_y1l): Likewise.
11617         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
11618         (j1_test): Likewise.
11619         (y0_test): Likewise.
11620         (y1_test): Likewise.
11621
11622 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
11623
11624         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
11625         variable.
11626
11627 2013-03-15  Roland McGrath  <roland@hack.frob.com>
11628
11629         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
11630         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
11631         zero since it's initialized to EXEC_PAGESIZE.
11632
11633         * sysdeps/unix/sysv/linux/ldsodefs.h
11634         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
11635         * sysdeps/generic/ldsodefs.h: ... here.
11636
11637 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
11638
11639         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
11640
11641         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
11642         math/test-snan.c.
11643         * math/test-snan.c: Renamed from
11644         sysdeps/powerpc/fpu/test-powerpc-snan.c.
11645         * math/Makefile (tests): Add test-snan.
11646         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
11647         test-powerpc-snan.
11648
11649         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
11650         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
11651         functions.
11652         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
11653         __builtin_nan family of functions.
11654         * math/libm-test.inc (initialize): Initialize qnan_value with
11655         __builtin_nan family of functions.
11656         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
11657         Remove variables.
11658         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
11659         Remove functions.
11660         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
11661         storage class.  Initialize qNaN_var and sNaN_var with
11662         __builtin_nan and __builtin_nans families of functions,
11663         respectively.
11664
11665         * math/libm-test.inc (acosh_test): Also test with qNaN input.
11666         (sqrt_test): Remove duplicate test with qNaN input.
11667         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
11668         (round_test, signbit_test, significand_test): Note missing +/-Inf
11669         as well as qNaN tests.
11670
11671         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
11672         qNaN_var.  Fix a few strings, too.
11673         * math/libm-test.inc (nan_value): Rename to qnan_value.
11674         * math/gen-libm-test.pl (%beautify): Adjust to that.
11675         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
11676         * math/test-misc.c (main): Likewise.
11677         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
11678         to __qnan_bytes, and __qnan_union, respectively.
11679         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
11680         Likewise.
11681         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
11682         and lqnanval, respectively.
11683         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
11684         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
11685         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
11686         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
11687
11688         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
11689         * math/test-misc.c (main) [__x86_64__]: Enable test for long
11690         doubles.
11691
11692         * math/test-misc.c (main): Fix copy'n'pastos.
11693         * misc/tst-efgcvt.c (special): Likewise.
11694
11695         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
11696         Remove declarations.
11697
11698 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11699
11700         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
11701         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
11702         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
11703         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
11704
11705 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11706
11707         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
11708         macro to return vdso values correctly in IFUNC implementations.
11709         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11710         Optimization by using IFUNC.
11711
11712 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11713             Richard Henderson  <rth@redhat.com>
11714             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11715
11716         * Makefile.in (bench): New target.
11717         * NEWS: Mention the benchmark framework.
11718         * Rules (bench): Likewise.
11719         (binaries-bench): Generate binaries for functions to
11720         benchmark.
11721         * benchtests/Makefile: New makefile for benchmark tests.
11722         * benchtests/bench-skeleton.c: New skeleton file for benchmark
11723         programs.
11724         * benchtests/exp-inputs: New input file for EXP function.
11725         * benchtests/pow-inputs: New input file for POW function.
11726         * scripts/bench.pl: New script to generate source files for
11727         benchmark programs.
11728
11729 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11730
11731         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
11732         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
11733         computations on mantissa.  Use macros for rounding and
11734         division.
11735         (denorm): Likewise.
11736         (__dbl_mp): Likewise.
11737         (add_magnitudes): Likewise.
11738         (sub_magnitudes): Likewise.
11739         (__mul): Likewise.
11740         (__sqr): Likewise.
11741         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
11742         powers of two in terms of TWOPOW macro.
11743         (mp_no): Make type of mantissa as MANTISSA_T.
11744         [!RADIXI]: Define RADIXI.
11745         [!TWO52]: Define TWO52.
11746         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
11747
11748         * manual/nptl.texi (cindex): Modify threads to pthreads.
11749
11750 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
11751
11752         * sysdeps/x86_64/preconfigure: Regenerated.
11753
11754 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
11755
11756         [BZ #14155]
11757         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
11758         0x1p28 and above.
11759         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
11760         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
11761         0x1p28 and above.
11762         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
11763         * math/libm-test.inc (j0_test): Do not allow one spurious
11764         underflow exception.
11765         (y1_test): Likewise.
11766
11767 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11768
11769         * manual/Makefile (chapters): Add nptl.
11770         * manual/debug.texi (Debugging Support): Add link to Threads
11771         chapter.
11772         * manual/nptl.texi: New file.
11773
11774         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
11775
11776 2013-03-14  Petr Baudis  <pasky@ucw.cz>
11777
11778         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
11779         for non-NULL pointer before the memory validity test. Pointed
11780         out by Holger Brunck <holger.brunck@keymile.com>.
11781
11782 2013-03-13  Andreas Schwab  <schwab@suse.de>
11783
11784         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
11785         instead of .os.
11786
11787 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
11788
11789         * timezone/zic.c: Update from tzcode 2013b.
11790
11791 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
11792
11793         * manual/install.texi (Configuring and compiling):
11794         Mention i686 and i586.
11795         * INSTALL: Regenerate.
11796
11797 2013-03-12  Roland McGrath  <roland@hack.frob.com>
11798
11799         * sysdeps/init_array/elf-init.c: New file.
11800         * csu/elf-init.c
11801         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
11802         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
11803
11804         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
11805         __gmon_start__ as global, but as static with a .preinit_array pointer.
11806         * sysdeps/init_array/gmon-start.c: New file.  Use that.
11807         * sysdeps/init_array/crti.S: New file, empty except for comments.
11808         * sysdeps/init_array/crtn.S: Likewise.
11809
11810 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
11811
11812         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
11813         definining bcopy.
11814         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11815         Remove Prefer_SSE_for_memop.
11816         * sysdeps/x86_64/multiarch/init-arch.h: Remove
11817         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
11818         HAS_PREFER_SSE_FOR_MEMOP.
11819         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
11820         memset-x86-64.
11821         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11822         Remove bzero, memset ifunc support.
11823         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
11824         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
11825         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11826         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11827
11828 2013-03-11  Andreas Schwab  <schwab@suse.de>
11829
11830         [BZ #15234]
11831         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
11832         by SHLIB_COMPAT.
11833         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
11834         (GLIBC_2.16): Remove pthread_atfork.
11835
11836 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
11837
11838         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
11839         (ptestcases.h): Likewise.
11840
11841 2013-03-08  Roland McGrath  <roland@hack.frob.com>
11842
11843         * Makeconfig ($(common-objpfx)config.status): Depend on
11844         sysdeps/*/preconfigure{,.in} too.
11845
11846 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
11847
11848         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
11849         (__free_hook): Use void * instead of __malloc_ptr_t.
11850         (__malloc_hook): Likewise.
11851         (__realloc_hook): Likewise.
11852         (__memalign_hook): Likewise.
11853         (__after_morecore_hook): Likewise.
11854         * malloc/arena.c (save_malloc_hook): Likewise.
11855         (save_free_hook): Likewise.
11856         * malloc/hooks.c (malloc_hook_ini): Likewise.
11857         (realloc_hook_ini): Likewise.
11858         (memalign_hook_ini): Likewise.
11859         * malloc/malloc.c (malloc_hook_ini): Likewise.
11860         (realloc_hook_ini): Likewise.
11861         (memalign_hook_ini): Likewise.
11862         (__free_hook): Likewise.
11863         (__malloc_hook): Likewise.
11864         (__realloc_hook): Likewise.
11865         (__memalign_hook): Likewise.
11866         (__libc_malloc): Likewise.
11867         (__libc_free): Likewise.
11868         (__libc_realloc): Likewise.
11869         (__libc_memalign): Likewise.
11870         (__libc_valloc): Likewise.
11871         (__libc_pvalloc): Likewise.
11872         (__libc_calloc): Likewise.
11873         (__posix_memalign): Likewise.
11874         * malloc/morecore.c (__sbrk): Likewise.
11875         (__default_morecore): Likewise.
11876
11877         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
11878
11879         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
11880         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
11881         __malloc_ptrdiff_t.
11882
11883         * malloc/malloc.h (__malloc_size_t): Remove macro.
11884         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11885         __malloc_size_t.
11886         (old_memalign_hook): Likewise.
11887         (old_realloc_hook): Likewise.
11888         (struct hdr): Likewise.
11889         (flood): Likewise.
11890         (mallochook): Likewise.
11891         (memalignhook): Likewise.
11892         (reallochook): Likewise.
11893         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
11894         (tr_old_realloc_hook): Likewise.
11895         (tr_old_memalign_hook): Likewise.
11896         (tr_mallochook): Likewise.
11897         (tr_reallochook): Likewise.
11898         (tr_memalignhook): Likewise.
11899
11900 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11901
11902         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
11903         default_ldbl_pack and using as default implementation.
11904         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
11905         implementation.
11906         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
11907         redundant definition.
11908         (ldbl_insert_mantissa): Likewise.
11909         (ldbl_canonicalize): Likewise.
11910         (ldbl_nearbyint): Likewise.
11911         (ldbl_pack): Rename to ldbl_pack_ppc.
11912         (ldbl_unpack): Rename to ldbl_unpack_ppc.
11913         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
11914         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
11915
11916 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11917
11918         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
11919         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
11920         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
11921         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
11922         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
11923         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
11924         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
11925         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11926
11927 2013-03-07  Andreas Jaeger  <aj@suse.de>
11928
11929         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11930         bits/mman-linux.h.
11931
11932 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
11933
11934         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
11935         Include mpa.h and declare __MPEXP.
11936         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
11937         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11938         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11939         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
11940         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11941         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
11942         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
11943
11944         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
11945         (__slowpow): Use long double EXPL and LOGL functions to
11946         compute POW.
11947         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
11948         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11949         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
11950         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
11951         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
11952         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
11953
11954         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
11955         intermediate variable to calculate exponent.
11956         (__sqr): Likewise.
11957         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11958         Likewise.
11959         (__sqr): Likewise.
11960
11961         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
11962         [!NO__SQR]: Define __sqr.
11963         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
11964         and NO__SQR.  Remove all code except __mul and __sqr.  Include
11965         sysdeps/ieee754/dbl-64/mpa.c.
11966         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11967
11968         [BZ #12723]
11969         * posix/Makefile (tests): Add tst-pathconf.
11970         * posix/tst-pathconf.c: New test case.
11971         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
11972         _PC_PIPE_BUF.
11973         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
11974
11975 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
11976
11977         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
11978
11979 2013-03-06  Andreas Jaeger  <aj@suse.de>
11980
11981         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
11982         definition via __MAP_ANONYMOUS.
11983
11984         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
11985         it's not part of Linux headers.
11986
11987         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
11988         (MAP_HUGE_MASK): Define.
11989
11990         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11991         Define.
11992         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11993         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11994         Define.
11995         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11996         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
11997         Define.
11998         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
11999         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
12000         Define.
12001         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
12002
12003         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
12004         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
12005         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
12006         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
12007         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
12008         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
12009
12010         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12011         Handle f2fs.
12012
12013         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12014         Handle f2fs and efivarfs.
12015
12016         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
12017         f2fs.
12018
12019         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
12020         (EFIVARFS_MAGIC): Add.
12021         (F2FS_LINK_MAX): Add.
12022
12023 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12024
12025         * stdio-common/vfprintf.c: Replace __builtin_expect with
12026         __glibc_unlikely.
12027
12028 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
12029
12030         [BZ #13550]
12031         * sysdeps/generic/bp-sym.h: Remove file.
12032         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
12033         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
12034         <bp-sym.h> and <bp-asm.h>.
12035         (__longjmp): Don't use BP_SYM.
12036         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
12037         and <bp-asm.h>.
12038         (memcpy): Don't use BP_SYM.
12039         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
12040         <bp-sym.h> and <bp-asm.h>.
12041         (memcpy): Don't use BP_SYM.
12042         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
12043         <bp-asm.h>.
12044         (memcpy): Don't use BP_SYM.
12045         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
12046         <bp-asm.h>.
12047         (memset): Don't use BP_SYM.
12048         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12049         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12050         (__bzero): Don't use BP_SYM.
12051         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12052         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12053         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
12054         <bp-sym.h> and <bp-asm.h>.
12055         (memcmp): Don't use BP_SYM.  Remove comment about bounded
12056         pointers.
12057         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
12058         <bp-sym.h> and <bp-asm.h>.
12059         (memcpy): Don't use BP_SYM.
12060         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
12061         <bp-sym.h> and <bp-asm.h>.
12062         (memset): Don't use BP_SYM.
12063         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12064         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12065         (__bzero): Don't use BP_SYM.
12066         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12067         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12068         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
12069         <bp-sym.h> and <bp-asm.h>.
12070         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12071         pointers.
12072         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
12073         <bp-sym.h> and <bp-asm.h>.
12074         (memcpy): Don't use BP_SYM.
12075         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
12076         <bp-sym.h> and <bp-asm.h>.
12077         (memset): Don't use BP_SYM.
12078         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12079         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12080         (__bzero): Don't use BP_SYM.
12081         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12082         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12083         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
12084         <bp-sym.h> and <bp-asm.h>.
12085         (__memchr): Don't use BP_SYM.
12086         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
12087         <bp-sym.h> and <bp-asm.h>.
12088         (memcmp): Don't use BP_SYM.  Remove comment about bounded
12089         pointers.
12090         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
12091         <bp-sym.h> and <bp-asm.h>.
12092         (memcpy): Don't use BP_SYM.
12093         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
12094         <bp-sym.h> and <bp-asm.h>.
12095         (__mempcpy): Don't use BP_SYM.
12096         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
12097         <bp-sym.h> and <bp-asm.h>.
12098         (__memrchr): Don't use BP_SYM.
12099         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
12100         <bp-sym.h> and <bp-asm.h>.
12101         (memset): Don't use BP_SYM.
12102         (__bzero): Likewise.
12103         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
12104         <bp-sym.h> and <bp-asm.h>.
12105         (__rawmemchr): Don't use BP_SYM.
12106         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
12107         <bp-sym.h> and <bp-asm.h>.
12108         (__STRCMP): Don't use BP_SYM.
12109         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
12110         <bp-sym.h> and <bp-asm.h>.
12111         (strchr): Don't use BP_SYM.
12112         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
12113         <bp-sym.h> and <bp-asm.h>.
12114         (__strchrnul): Don't use BP_SYM.
12115         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
12116         <bp-sym.h> and <bp-asm.h>.
12117         (strlen): Don't use BP_SYM.
12118         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
12119         <bp-sym.h> and <bp-asm.h>.
12120         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12121         pointers.
12122         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
12123         <bp-sym.h> and <bp-asm.h>.
12124         (__strnlen): Don't use BP_SYM.
12125         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
12126         <bp-sym.h> and <bp-asm.h>.
12127         (__GI__setjmp): Don't use BP_SYM.
12128         (_setjmp): Likewise.
12129         (__sigsetjmp): Likewise.
12130         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
12131         (L(start_addresses)): Don't use BP_SYM.
12132         (_start): Likewise.
12133         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
12134         <bp-asm.h>.
12135         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
12136         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
12137         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12138         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12139         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
12140         <bp-asm.h>.
12141         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
12142         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
12143         about bounded pointers.
12144         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12145         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12146         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
12147         <bp-asm.h>.
12148         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
12149         about bounded pointers.  Remove GKM FIXME comments.
12150         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12151         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
12152         <bp-asm.h>.
12153         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
12154         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
12155         Remove GKM FIXME comments.
12156         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12157         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12158         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
12159         <bp-asm.h>.
12160         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
12161         about bounded pointers.  Remove GKM FIXME comment.
12162         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
12163         and <bp-asm.h>.
12164         (strncmp): Don't use BP_SYM.  Remove comment about bounded
12165         pointers.
12166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
12167         <bp-sym.h> and <bp-asm.h>.
12168         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
12170         <bp-sym.h> and <bp-asm.h>.
12171         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
12172         comment.
12173
12174 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12175
12176         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
12177         call free(NULL).
12178
12179 2013-03-05  David S. Miller  <davem@davemloft.net>
12180
12181         * po/es.po: Update from translation team.
12182
12183 2013-03-05  Andreas Jaeger  <aj@suse.de>
12184
12185         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
12186         <bits/mman-linux.h>.
12187         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12188         is fine.
12189         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
12190         <bits/mman-linux.h> to end of file.
12191         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12192         is fine.
12193         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
12194         <bits/mman-linux.h> to end of file.
12195         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
12196         is fine.
12197         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
12198         <bits/mman-linux.h> to end of file.
12199
12200         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
12201         (MCL_CURRENT, MCL_FUTURE): Define here.
12202
12203 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12204
12205         [BZ #15232]
12206         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
12207         attribute_hidden.
12208         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12209
12210 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12211
12212         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
12213         fourth parameter needed for rt_sigprocmask syscall.
12214         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12215         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12216         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
12217         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12218         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12219         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
12220
12221 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
12222
12223         [BZ #13550]
12224         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
12225         comment about bounded pointers.
12226         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
12227         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
12228
12229 2013-03-04  Andreas Jaeger  <aj@suse.de>
12230
12231         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
12232         common definitions.
12233
12234         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
12235         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
12236         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
12237         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12238         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12239         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12240
12241 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12242
12243         [BZ #15055]
12244         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
12245         __ieee754_sqrl instead of __sqrl.
12246
12247 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
12248
12249         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
12250         * sysdeps/powerpc/fpu_control.h: ... here.
12251         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
12252         * sysdeps/powerpc/bits/fenvinline.h: ... here.
12253         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
12254         * sysdeps/powerpc/bits/mathinline.h: ... here.
12255
12256 2013-03-01  Roland McGrath  <roland@hack.frob.com>
12257
12258         * elf/dl-hwcaps.c (_dl_important_hwcaps):
12259         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
12260         to just [NEED_DL_SYSINFO_DSO].
12261         * elf/dl-support.c: Likewise.
12262         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
12263         * elf/rtld.c (dl_main): Likewise.
12264         * elf/setup-vdso.h (setup_vdso): Likewise.
12265         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
12266         * sysdeps/unix/sysv/linux/dl-sysdep.c
12267         (_dl_discover_osversion): Likewise.
12268
12269 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
12270
12271         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
12272         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12273
12274 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12275
12276         * NEWS: Mention libm performance improvements and non-x86 PI
12277         futex support.
12278
12279         * csu/libc-start.c (__pthread_initialize_minimal): Change
12280         function arguments.
12281         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
12282
12283 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
12284
12285         [BZ #13550]
12286         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
12287         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
12288         <bp-sym.h> and <bp-asm.h>.
12289         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12290         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
12291         and <bp-asm.h>.
12292         (memcpy): Don't use BP_SYM.
12293         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
12294         <bp-asm.h>.
12295         (__mpn_add_n): Don't use BP_SYM.
12296         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
12297         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
12298         and <bp-asm.h>.
12299         (__mpn_addmul_1): Don't use BP_SYM.
12300         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12301         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
12302         <bp-sym.h>.
12303         (_setjmp): Don't use BP_SYM.
12304         (__novmx_setjmp): Likewise.
12305         (__GI__setjmp): Likewise.
12306         (__vmx_setjmp): Likewise.
12307         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
12308         <bp-sym.h>.
12309         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
12310         (__bzero): Don't use BP_SYM.
12311         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
12312         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
12313         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
12314         <bp-sym.h> and <bp-asm.h>.
12315         (memcpy): Don't use BP_SYM.
12316         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
12317         <bp-sym.h> and <bp-asm.h>.
12318         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12319         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
12320         <bp-sym.h> and <bp-asm.h>.
12321         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
12322         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
12323         <bp-asm.h>.
12324         (__mpn_lshift): Don't use BP_SYM.
12325         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12326         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
12327         <bp-asm.h>.
12328         (memset): Don't use BP_SYM.
12329         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
12330         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
12331         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
12332         <bp-asm.h>.
12333         (__mpn_mul_1): Don't use BP_SYM.
12334         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12335         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
12336         <bp-sym.h> and <bp-asm.h>.
12337         (memcmp): Don't use BP_SYM.
12338         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
12339         <bp-sym.h> and <bp-asm.h>.
12340         (memcpy): Don't use BP_SYM.
12341         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
12342         <bp-sym.h> and <bp-asm.h>.
12343         (memset): Don't use BP_SYM.
12344         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
12345         <bp-sym.h> and <bp-asm.h>.
12346         (strncmp): Don't use BP_SYM.
12347         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
12348         <bp-sym.h> and <bp-asm.h>.
12349         (memcpy): Don't use BP_SYM.
12350         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
12351         <bp-sym.h> and <bp-asm.h>.
12352         (memset): Don't use BP_SYM.
12353         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
12354         <bp-sym.h> and <bp-asm.h>.
12355         (__memchr): Don't use BP_SYM.
12356         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
12357         <bp-sym.h> and <bp-asm.h>.
12358         (memcmp): Don't use BP_SYM.
12359         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
12360         <bp-sym.h> and <bp-asm.h>.
12361         (memcpy): Don't use BP_SYM.
12362         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
12363         <bp-sym.h> and <bp-asm.h>.
12364         (__mempcpy): Don't use BP_SYM.
12365         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
12366         <bp-sym.h> and <bp-asm.h>.
12367         (__memrchr): Don't use BP_SYM.
12368         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
12369         <bp-sym.h> and <bp-asm.h>.
12370         (memset): Don't use BP_SYM.
12371         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
12372         <bp-sym.h> and <bp-asm.h>.
12373         (__rawmemchr): Don't use BP_SYM.
12374         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
12375         <bp-sym.h> and <bp-asm.h>.
12376         (__STRCMP): Don't use BP_SYM.
12377         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
12378         <bp-sym.h> and <bp-asm.h>.
12379         (strchr): Don't use BP_SYM.
12380         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
12381         <bp-sym.h> and <bp-asm.h>.
12382         (__strchrnul): Don't use BP_SYM.
12383         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
12384         <bp-sym.h> and <bp-asm.h>.
12385         (strlen): Don't use BP_SYM.
12386         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
12387         <bp-sym.h> and <bp-asm.h>.
12388         (strncmp): Don't use BP_SYM.
12389         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
12390         <bp-sym.h> and <bp-asm.h>.
12391         (__strnlen): Don't use BP_SYM.
12392         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
12393         <bp-asm.h>.
12394         (__mpn_rshift): Don't use BP_SYM.
12395         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
12396         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
12397         <bp-sym.h> and <bp-asm.h>.
12398         (__sigsetjmp): Don't use BP_SYM.
12399         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
12400         (L(start_addresses)): Don't use BP_SYM.
12401         (_start): Likewise.
12402         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
12403         <bp-asm.h>.
12404         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
12405         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12406         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12407         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
12408         <bp-asm.h>.
12409         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
12410         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
12411         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
12412         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
12413         <bp-asm.h>.
12414         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
12415         comments.
12416         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
12417         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
12418         <bp-asm.h>.
12419         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
12420         FIXME comments.
12421         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
12422         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
12423         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
12424         <bp-asm.h>.
12425         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
12426         comment.
12427         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
12428         and <bp-asm.h>.
12429         (strncmp): Don't use BP_SYM,
12430         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
12431         <bp-asm.h>.
12432         (__mpn_sub_n): Don't use BP_SYM.
12433         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
12434         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
12435         and <bp-asm.h>.
12436         (__mpn_submul_1): Don't use BP_SYM.
12437         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
12438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
12439         <bp-sym.h> and <bp-asm.h>.
12440         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
12441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
12442         <bp-sym.h> and <bp-asm.h>.
12443         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
12444         comment.
12445
12446 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12447
12448         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
12449         Use ZK to minimize writes to Z.
12450         (sub_magnitudes): Simplify code a bit.
12451         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
12452         Use ZK to minimize writes to Z.
12453         (sub_magnitudes): Simplify code a bit.
12454
12455 2013-02-27  Roland McGrath  <roland@hack.frob.com>
12456
12457         * csu/gmon-start.c: Add special exception to license text.
12458
12459 2013-02-27  Richard Henderson  <rth@redhat.com>
12460
12461         * scripts/config.guess: Update from config.git.
12462         * scripts/config.sub: Likewise.
12463
12464 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12465
12466         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
12467
12468         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
12469
12470         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
12471
12472         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
12473
12474         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
12475
12476 2013-02-26  Roland McGrath  <roland@hack.frob.com>
12477
12478         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
12479         [$(build-shared = yes].
12480
12481 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12482
12483         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
12484         (__mul): Reduce iterations for calculating mantissa.
12485
12486         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
12487         MPTWO.
12488         (__mpranred): Likewise.
12489
12490         [BZ #15160]
12491         * malloc/memusagestat.c (main): Draw graphs for heap and stack
12492         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
12493
12494 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
12495
12496         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
12497         Define __attribute__.
12498
12499 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12500
12501         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
12502         unused.
12503         * posix/regex_internal.h (__attribute): Remove.
12504         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
12505         (re_string_context_at): Likewise.
12506         (bitset_not): Use __attribute__ and mark function as possibly
12507         unused.
12508         (bitset_merge): Likewise.
12509         (bitset_mask): Likewise.
12510         (re_string_char_size_at): Likewise.
12511         (re_string_wchar_at): Likewise.
12512         (re_string_elem_size_at): Likewise.
12513
12514 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12515
12516         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
12517         code.
12518         (cc32): Likewise.
12519
12520         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
12521         (__acr): Likewise.
12522         (__cpy): Likewise.
12523         (norm): Likewise.
12524         (denorm): Likewise.
12525         (__dbl_mp): Likewise.
12526         (add_magnitudes): Likewise.
12527         (sub_magnitudes): Likewise.
12528         (__mul): Likewise.
12529         (__inv): Likewise.
12530
12531         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
12532         style.
12533
12534         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
12535         style.
12536
12537         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
12538         code.
12539
12540         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
12541         up changes with default code.
12542         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
12543         Likewise.
12544
12545 2013-02-24  Allan McRae  <allan@archlinux.org>
12546
12547         * manual/socket.texi (The Internet Namespace): Order menu items
12548         to match that in the file.
12549
12550         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
12551         node listing of the info page menu.
12552
12553 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
12554
12555         [BZ #13550]
12556         * sysdeps/i386/bp-asm.h: Remove file.
12557         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12558         (PARMS): Do not use macros from bp-asm.h.
12559         (S1): Likewise.
12560         (S2): Likewise.
12561         (SIZE): Likewise.
12562         (__mpn_add_n): Do not use BP_SYM
12563         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
12564         "bp-asm.h".
12565         (PARMS): Do not use macros from bp-asm.h.
12566         (S1): Likewise.
12567         (SIZE): Likewise.
12568         (__mpn_addmul_1): Do not use BP_SYM
12569         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
12570         "bp-asm.h".
12571         (PARMS): Do not use macros from bp-asm.h.
12572         (SIGMSK): Likewise.
12573         (_setjmp): Likewise.  Do not use BP_SYM.
12574         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
12575         "bp-asm.h".
12576         (PARMS): Do not use macros from bp-asm.h.
12577         (SIGMSK): Likewise.
12578         (setjmp): Likewise.  Do not use BP_SYM.
12579         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
12580         "bp-asm.h".
12581         (PARMS): Do not use macros from bp-asm.h.
12582         (__frexp): Do not use BP_SYM.
12583         (frexp): Likewise.
12584         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
12585         "bp-asm.h".
12586         (PARMS): Do not use macros from bp-asm.h.
12587         (__frexpf): Do not use BP_SYM.
12588         (frexpf): Likewise.
12589         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
12590         "bp-asm.h".
12591         (PARMS): Do not use macros from bp-asm.h.
12592         (__frexpl): Do not use BP_SYM.
12593         (frexpl): Likewise.
12594         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
12595         "bp-asm.h".
12596         (PARMS): Do not use macros from bp-asm.h.
12597         (__remquo): Do not use BP_SYM.
12598         (remquo): Likewise.
12599         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
12600         "bp-asm.h".
12601         (PARMS): Do not use macros from bp-asm.h.
12602         (__remquof): Do not use BP_SYM.
12603         (remquof): Likewise.
12604         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
12605         "bp-asm.h".
12606         (PARMS): Do not use macros from bp-asm.h.
12607         (__remquol): Do not use BP_SYM.
12608         (remquol): Likewise.
12609         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
12610         "bp-asm.h".
12611         (PARMS): Do not use macros from bp-asm.h.
12612         (DEST): Likewise.
12613         (SRC): Likewise.
12614         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
12615         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
12616         "bp-asm.h".
12617         (PARMS): Do not use macros from bp-asm.h.
12618         (strlen): Do not use BP_SYM.
12619         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
12620         "bp-asm.h".
12621         (PARMS): Do not use macros from bp-asm.h.
12622         (S1): Likewise.
12623         (S2): Likewise.
12624         (SIZE): Likewise.
12625         (__mpn_add_n): Do not use BP_SYM.
12626         * sysdeps/i386/i586/addmul_1.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         (SIZE): Likewise.
12631         (__mpn_addmul_1): Do not use BP_SYM.
12632         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
12633         weak_alias.
12634         (bzero): Likewise.
12635         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
12636         "bp-asm.h".
12637         (PARMS): Do not use macros from bp-asm.h.
12638         (S): Likewise.
12639         (SIZE): Likewise.
12640         (__mpn_lshift): Do not use BP_SYM.
12641         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
12642         "bp-asm.h".
12643         (PARMS): Do not use macros from bp-asm.h.
12644         (DEST): Likewise.
12645         (SRC): Likewise.
12646         (LEN): Likewise.
12647         (memcpy): Likewise.  Do not use BP_SYM.
12648         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
12649         libc_hidden_def and weak_alias.
12650         (mempcpy): Do not use BP_SYM in weak_alias.
12651         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
12652         "bp-asm.h".
12653         (PARMS): Do not use macros from bp-asm.h.
12654         (DEST): Likewise.
12655         (LEN): Likewise.
12656         [!BZERO_P] (CHR): Likewise.
12657         (memset): Likewise.  Do not use BP_SYM.
12658         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
12659         "bp-asm.h".
12660         (PARMS): Do not use macros from bp-asm.h.
12661         (S1): Likewise.
12662         (SIZE): Likewise.
12663         (__mpn_mul_1): Do not use BP_SYM.
12664         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
12665         "bp-asm.h".
12666         (PARMS): Do not use macros from bp-asm.h.
12667         (S): Likewise.
12668         (SIZE): Likewise.
12669         (__mpn_rshift): Do not use BP_SYM.
12670         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
12671         "bp-asm.h".
12672         (PARMS): Do not use macros from bp-asm.h.
12673         (STR): Likewise.
12674         (CHR): Likewise.
12675         (strchr): Likewise.  Do not use BP_SYM.
12676         (index): Do not use BP_SYM in weak_alias.
12677         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
12678         "bp-asm.h".
12679         (PARMS): Do not use macros from bp-asm.h.
12680         (DEST): Likewise.
12681         (SRC): Likewise.
12682         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
12683         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
12684         "bp-asm.h".
12685         (PARMS): Do not use macros from bp-asm.h.
12686         (strlen): Do not use BP_SYM.
12687         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
12688         "bp-asm.h".
12689         (PARMS): Do not use macros from bp-asm.h.
12690         (S1): Likewise.
12691         (S2): Likewise.
12692         (SIZE): Likewise.
12693         (__mpn_sub_n): Do not use BP_SYM.
12694         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
12695         "bp-asm.h".
12696         (PARMS): Do not use macros from bp-asm.h.
12697         (S1): Likewise.
12698         (SIZE): Likewise.
12699         (__mpn_submul_1): Do not use BP_SYM.
12700         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
12701         "bp-asm.h".
12702         (PARMS): Do not use macros from bp-asm.h.
12703         (S1): Likewise.
12704         (S2): Likewise.
12705         (SIZE): Likewise.
12706         (__mpn_add_n): Do not use BP_SYM.
12707         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
12708         weak_alias.
12709         (bzero): Likewise.
12710         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
12711         "bp-asm.h".
12712         (PARMS): Do not use macros from bp-asm.h.
12713         (BLK2): Likewise.
12714         (LEN): Likewise.
12715         (memcmp): Do not use BP_SYM.
12716         (bcmp): Do not use BP_SYM in weak_alias.
12717         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
12718         "bp-asm.h".
12719         (PARMS): Do not use macros from bp-asm.h.
12720         (DEST): Likewise.
12721         (SRC): Likewise.
12722         (LEN): Likewise.
12723         (memcpy): Likewise.  Do not use BP_SYM.
12724         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
12725         "bp-asm.h".
12726         (PARMS): Do not use macros from bp-asm.h.
12727         (DEST): Likewise.
12728         (SRC): Likewise.
12729         (LEN): Likewise.
12730         (memmove): Likewise.  Do not use BP_SYM.
12731         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
12732         "bp-asm.h".
12733         (PARMS): Do not use macros from bp-asm.h.
12734         (DEST): Likewise.
12735         (SRC): Likewise.
12736         (LEN): Likewise.
12737         (__mempcpy): Likewise.  Do not use BP_SYM.
12738         (mempcpy): Do not use BP_SYM in weak_alias.
12739         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
12740         "bp-asm.h".
12741         (PARMS): Do not use macros from bp-asm.h.
12742         (DEST): Likewise.
12743         (LEN): Likewise.
12744         [!BZERO_P] (CHR): Likewise.
12745         (memset): Likewise.  Do not use BP_SYM.
12746         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
12747         "bp-asm.h".
12748         (PARMS): Do not use macros from bp-asm.h.
12749         (STR2): Likewise.
12750         (strcmp): Do not use BP_SYM.
12751         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
12752         "bp-asm.h".
12753         (PARMS): Do not use macros from bp-asm.h.
12754         (STR): Likewise.
12755         (DELIM): Likewise.
12756         [USE_AS_STRTOK_R] (SAVE): Likewise.
12757         (FUNCTION): Likewise.  Do not use BP_SYM.
12758         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
12759         aliases.
12760         (strtok_r): Likewise.
12761         (__GI___strtok_r): Likewise.
12762         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12763         (PARMS): Do not use macros from bp-asm.h.
12764         (S): Likewise.
12765         (SIZE): Likewise.
12766         (__mpn_lshift): Do not use BP_SYM.
12767         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12768         (PARMS): Do not use macros from bp-asm.h.
12769         (STR): Likewise.
12770         (CHR): Likewise.
12771         (__memchr): Do not use BP_SYM.
12772         (memchr): Do not use BP_SYM in weak_alias.
12773         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12774         (PARMS): Do not use macros from bp-asm.h.
12775         (BLK2): Likewise.
12776         (LEN): Likewise.
12777         (memcmp): Do not use BP_SYM.
12778         (bcmp): Do not use BP_SYM in weak_alias.
12779         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
12780         (PARMS): Do not use macros from bp-asm.h.
12781         (S1): Likewise.
12782         (SIZE): Likewise.
12783         (__mpn_mul_1): Do not use BP_SYM.
12784         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
12785         "bp-asm.h".
12786         (PARMS): Do not use macros from bp-asm.h.
12787         (STR): Likewise.
12788         (CHR): Likewise.
12789         (__rawmemchr): Do not use BP_SYM.
12790         (rawmemchr): Do not use BP_SYM in weak_alias.
12791         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
12792         (PARMS): Do not use macros from bp-asm.h.
12793         (S): Likewise.
12794         (SIZE): Likewise.
12795         (__mpn_rshift): Do not use BP_SYM.
12796         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
12797         (PARMS): Do not use macros from bp-asm.h.
12798         (SIGMSK): Likewise.
12799         (__sigsetjmp): Likewise.  Do not use BP_SYM.
12800         * sysdeps/i386/start.S: Do not include "bp-sym.h".
12801         (_start): Do not use BP_SYM.
12802         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
12803         (PARMS): Do not use macros from bp-asm.h.
12804         (DEST): Likewise.
12805         (SRC): Likewise.
12806         (__stpcpy): Likewise.  Do not use BP_SYM.
12807         (stpcpy): Do not use BP_SYM in weak_alias.
12808         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
12809         "bp-asm.h".
12810         (PARMS): Do not use macros from bp-asm.h.
12811         (DEST): Likewise.
12812         (SRC): Likewise.
12813         (LEN): Likewise.
12814         (__stpncpy): Likewise.  Do not use BP_SYM.
12815         (stpncpy): Do not use BP_SYM in weak_alias.
12816         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
12817         (PARMS): Do not use macros from bp-asm.h.
12818         (STR): Likewise.
12819         (CHR): Likewise.
12820         (strchr): Likewise.  Do not use BP_SYM.
12821         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
12822         "bp-asm.h".
12823         (PARMS): Do not use macros from bp-asm.h.
12824         (STR): Likewise.
12825         (CHR): Likewise.
12826         (__strchrnul): Likewise.  Do not use BP_SYM.
12827         (strchrnul): Do not use BP_SYM in weak_alias.
12828         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
12829         "bp-asm.h".
12830         (PARMS): Do not use macros from bp-asm.h.
12831         (STOP): Likewise.
12832         (strcspn): Do not use BP_SYM.
12833         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
12834         "bp-asm.h".
12835         (PARMS): Do not use macros from bp-asm.h.
12836         (STR): Likewise.
12837         (STOP): Likewise.
12838         (strpbrk): Likewise.  Do not use BP_SYM.
12839         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
12840         "bp-asm.h".
12841         (PARMS): Do not use macros from bp-asm.h.
12842         (STR): Likewise.
12843         (CHR): Likewise.
12844         (strrchr): Likewise.  Do not use BP_SYM.
12845         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
12846         (PARMS): Do not use macros from bp-asm.h.
12847         (SKIP): Likewise.
12848         (strspn): Do not use BP_SYM.
12849         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
12850         (PARMS): Do not use macros from bp-asm.h.
12851         (STR): Likewise.
12852         (DELIM): Likewise.
12853         (SAVE): Likewise.
12854         (FUNCTION): Likewise.  Do not use BP_SYM.
12855         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
12856         aliases.
12857         (strtok_r): Likewise.
12858         (__GI___strtok_r): Likewise.
12859         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
12860         (PARMS): Do not use macros from bp-asm.h.
12861         (S1): Likewise.
12862         (S2): Likewise.
12863         (SIZE): Likewise.
12864         (__mpn_sub_n): Do not use BP_SYM.
12865         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
12866         "bp-asm.h".
12867         (PARMS): Do not use macros from bp-asm.h.
12868         (S1): Likewise.
12869         (SIZE): Likewise.
12870         (__mpn_submul_1): Do not use BP_SYM.
12871         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
12872         <bp-sym.h>.
12873         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
12874         and <bp-asm.h>.
12875         (PARMS): Do not use macros from bp-asm.h.
12876         (FLAGS): Likewise.
12877         (PTID): Likewise.
12878         (TLS): Likewise.
12879         (CTID): Likewise.
12880         (__clone): Do not use BP_SYM.
12881         (clone): Do not use BP_SYM in weak_alias.
12882         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
12883         and <bp-asm.h>.
12884         (PARMS): Do not use macros from bp-asm.h.
12885         (LEN): Likewise.
12886         (__mmap64): Do not use BP_SYM.
12887         (mmap64): Do not use BP_SYM in weak_alias.
12888         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
12889         <bp-sym.h> and <bp-asm.h>.
12890         (PARMS): Do not use macros from bp-asm.h.
12891         (__posix_fadvise64_l64): Do not use BP_SYM.
12892         * sysdeps/unix/sysv/linux/i386/semtimedop.S
12893         (PARMS): Do not use macros from bp-asm.h.
12894         (NSOPS): Likewise.
12895         (semtimedop): Do not use BP_SYM.
12896         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
12897         and <bp-asm.h>.
12898
12899 2013-02-21  Allan McRae  <allan@archlinux.org>
12900
12901         * manual/message.texi (Charset conversion in gettext):
12902         Move @end statement to beginning of line.
12903
12904 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12905
12906         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
12907         static.
12908         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12909         Likewise.
12910
12911         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
12912         (denorm): Likewise.
12913         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
12914         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
12915
12916 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12917
12918         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
12919         tail-call to the resolved function if pltexit isn't needed.
12920
12921 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12922
12923         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
12924         or Y being zero as being unlikely.
12925         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
12926         Likewise.
12927
12928 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
12929
12930         * manual/nss.texi (System Databases and Name Service Switch):
12931         Remove frobnicate @pxref.
12932
12933 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
12934
12935         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12936         __attribute__ ((unused)) to __attribute__ ((__unused__)).
12937
12938 2013-02-20  Petr Machata  <pmachata@redhat.com>
12939
12940         * elf/elf.h (R_ARM_TARGET1): New macro.
12941         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
12942         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
12943         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
12944         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
12945         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
12946         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
12947         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
12948         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
12949         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
12950         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
12951         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
12952         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
12953         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
12954         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
12955         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
12956         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
12957         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
12958         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
12959         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
12960         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
12961         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
12962         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
12963         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
12964         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
12965         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
12966         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
12967         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
12968         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
12969         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
12970         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
12971         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
12972         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
12973         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
12974         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
12975         (R_ARM_THM_GOT_BREL12): Likewise.
12976         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
12977         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
12978         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
12979         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
12980         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
12981         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
12982         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
12983         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
12984         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
12985
12986 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
12987
12988         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
12989         __attribute_used__ to __attribute__ ((unused)).
12990
12991 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12992
12993         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
12994         powerpc mpa.c.
12995         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
12996         comment formatting.
12997         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
12998
12999 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
13000
13001         [BZ #13550]
13002         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
13003         Remove macro.
13004         (ENTER): Remove both macro definitions.
13005         (LEAVE): Likewise.
13006         (CHECK_BOUNDS_LOW): Likewise.
13007         (CHECK_BOUNDS_HIGH): Likewise.
13008         (CHECK_BOUNDS_BOTH): Likewise.
13009         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
13010         (RETURN_BOUNDED_POINTER): Likewise.
13011         (RETURN_NULL_BOUNDED_POINTER): Likewise.
13012         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
13013         (POP_ERRNO_LOCATION_RETURN): Likewise.
13014         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
13015         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13016         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
13017         macros.
13018         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13019         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
13020         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
13021         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
13022         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
13023         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
13024         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
13025         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
13026         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
13027         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
13028         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
13029         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
13030         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13031         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
13032         removed macros.
13033         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13034         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
13035         macros.
13036         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13037         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
13038         * sysdeps/i386/i586/memset.S (memset): Likewise.
13039         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
13040         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13041         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
13042         macros.
13043         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13044         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
13045         Change uses of L(2) to L(out).
13046         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
13047         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
13048         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
13049         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13050         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
13051         removed macros.
13052         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13053         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
13054         macros.
13055         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13056         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
13057         (RETURN): Do not use macro LEAVE.
13058         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
13059         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
13060         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
13061         * sysdeps/i386/i686/memset.S (memset): Likewise.
13062         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
13063         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
13064         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13065         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
13066         Likewise.
13067         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13068         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
13069         L(1_2) and L(1_3) into L(1).
13070         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13071         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
13072         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13073         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
13074         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13075         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
13076         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
13077         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13078         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
13079         macros.
13080         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
13081         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
13082         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
13083         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
13084         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
13085         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13086         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
13087         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
13088         * sysdeps/i386/strcspn.S (strcspn): Likewise.
13089         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
13090         * sysdeps/i386/strrchr.S (strrchr): Likewise.
13091         * sysdeps/i386/strspn.S (strspn): Likewise.
13092         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
13093         conditional code.
13094         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13095         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
13096         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
13097         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
13098         L(1_3) into L(1_1).
13099         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
13100         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
13101         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
13102         macros.
13103         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
13104
13105 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
13106
13107         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
13108         macro.
13109
13110 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13111
13112         * math/atest-exp.c (exp_mpn): Remove ROUND.
13113         * math/atest-exp2.c (exp_mpn): Likewise.
13114         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
13115
13116         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
13117         * stdlib/tst-tls-atexit-lib.c: Likewise.
13118         * stdlib/tst-tls-atexit.c: Likewise.
13119
13120 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13121
13122         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
13123         and __attribute_alloc_size__.
13124
13125 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13126
13127         * include/programs/xmalloc.h: Change __attribute_alloc_size to
13128         __attribute_alloc_size__.
13129         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
13130         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
13131
13132 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
13133
13134         * include/programs/xmalloc.h: New file.
13135         * catgets/gencat.c: Include it.
13136         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
13137         * elf/pldd.c: Likewise.
13138         * iconv/iconv_charmap.c: Likewise.
13139         * iconv/iconvconfig.c: Likewise.
13140         * iconv/strtab.c: Likewise.
13141         * locale/programs/locale.c: Likewise.
13142         * locale/programs/localedef.h: Likewise.
13143         * locale/programs/simple-hash.c: Likewise.
13144         * nscd/nscd.h: Likewise.
13145         * nss/makedb.c: Likewise.
13146         * sysdeps/generic/ldconfig.h: Likewise.
13147
13148 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13149
13150         * Versions.def: Add GLIBC_2.18.
13151         * include/link.h (struct link_map): New member l_tls_dtor_count.
13152         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
13153         (__call_tls_dtors): Likewise.
13154         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
13155         __cxa_thread_atexit_impl.
13156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13157         Likewise.
13158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13159         Likewise.
13160         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
13161         Likewise.
13162         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
13163         Likewise.
13164         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
13165         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
13166         Likewise.
13167         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
13168         Likewise.
13169         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
13170         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
13171         Likewise.
13172         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
13173         (tests): Add test case tst-tls-atexit.
13174         (modules-names): Add shared library for tst-tls-atexit.
13175         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
13176         (GLIBC_PRIVATE): Add __call_tls_dtors.
13177         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
13178         for libstdc++.
13179         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
13180         * stdlib/tst-tls-atexit.c: New test case.
13181         * stdlib/tst-tls-atexit-lib.c: New test case.
13182
13183         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
13184
13185         * elf/Versions (ld): Add _dl_find_dso_for_object.
13186         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
13187         * elf/dl-open.c (_dl_find_dso_for_object): New function.
13188         (dl_open_worker): Use _dl_find_dso_for_object.
13189         * elf/dl-sym.c (do_sym): Likewise.
13190         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
13191
13192 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13193
13194         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
13195         Syntactic changes only.
13196         (_dl_runtime_profile): Do a tail-call to the resolved function.
13197
13198 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
13199
13200         [BZ #13550]
13201         * sysdeps/x86_64/bp-asm.h: Remove file.
13202         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
13203         <bp-sym.h> and <bp-asm.h>.
13204         (__clone): Do not use BP_SYM.
13205         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
13206         <bp-sym.h> and <bp-asm.h>.
13207         * sysdeps/unix/x86_64/sysdep.S: Likewise.
13208         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
13209         "bp-asm.h".
13210         (_setjmp): Do not use BP_SYM.
13211         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
13212         "bp-asm.h".
13213         (setjmp): Do not use BP_SYM.
13214         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
13215         libc_hidden_def.
13216         (mempcpy): Do not use BP_SYM in weak_alias.
13217         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
13218         "bp-asm.h".
13219         (strchr): Do not use BP_SYM.
13220         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
13221         "bp-asm.h".
13222         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
13223         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
13224         (_start): Do not use BP_SYM.
13225         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
13226         "bp-asm.h".
13227         (strcat): Do not use BP_SYM.
13228         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
13229         "bp-asm.h".
13230         (STRCMP): Do not use BP_SYM.
13231         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
13232         "bp-asm.h".
13233         (STRCPY): Do not use BP_SYM.
13234         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
13235         "bp-asm.h".
13236         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
13237         "bp-asm.h".
13238         (FUNCTION): Do not use BP_SYM.
13239         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
13240         weak_alias.
13241         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
13242
13243 2013-02-17  Andreas Jaeger  <aj@suse.de>
13244
13245         * time/Versions: Sort entries.
13246         * string/Versions: Likewise.
13247         * resolv/Versions: Likewise.
13248         * posix/Versions: Likewise.
13249         * iconv/Versions: Likewise.
13250         * elf/Versions: Likewise.
13251         * wcsmbs/Versions: Likewise.
13252
13253 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13254
13255         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
13256         loop termination condition.
13257
13258         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
13259         variable to calculate EZ.
13260         (__sqr): Likewise.
13261
13262         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
13263         the lower precision input.
13264
13265 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
13266
13267         [BZ #13550]
13268         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
13269         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
13270         (run-via-rtld-prefix): Do not handle %-bp tests.
13271         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
13272         (all-object-suffixes): Remove .ob.
13273         (bppfx): Remove variable.
13274         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
13275         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
13276         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
13277         [$(build-bounded) = yes] (libtype.ob): Likewise.
13278         * Makerules (elide-routines.ob): Remove variable.
13279         (do-tests-clean): Do not handle *-bp.out.
13280         (common-mostlyclean): Do not handle *-bp and *-bp.out.
13281         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
13282         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
13283         (tests): Do not include $(tests-bp.out).
13284         (xtests): Do not include $(xtests-bp.out).
13285         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
13286         [$(build-bounded) = yes] ($(addprefix
13287         $(objpfx),$(binaries-bounded))): Remove rule.
13288         ($(objpfx)%-bp.out): Remove rule.
13289         * config.make.in (build-bounded): Remove variable.
13290         * crypt/Makefile [$(build-bounded) = yes]
13291         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
13292         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
13293         append to variable.
13294         [$(build-bounded) = yes] (install-lib): Likewise.
13295         [$(build-bounded) = yes] (generated): Likewise.
13296         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
13297         Remove rule.
13298         * intl/Makefile [$(build-bounded) = yes]
13299         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
13300         * math/Makefile [$(build-bounded) = yes]
13301         ($(tests:%=$(objpfx)%-bp): Likewise.
13302         * misc/Makefile [$(build-bounded) = yes]
13303         ($(objpfx)tst-tsearch-bp): Likewise.
13304         * nptl/Makeconfig (bounded-thread-library): Remove variable.
13305         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
13306         Remove dependency.
13307         * string/Makefile (o-objects.ob): Remove variable.
13308         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
13309         (CFLAGS-.ob): Remove variable.
13310         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
13311         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
13312         both definitions of variable.
13313         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
13314         (ASFLAGS-.ob): Remove variable.
13315
13316 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
13317
13318         [BZ #13550]
13319         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
13320         Remove __BOUNDED_POINTERS__ from condition.
13321         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
13322         * string/bits/string2.h [!__NO_STRING_INLINES &&
13323         !__BOUNDED_POINTERS__]: Likewise.
13324         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
13325         Likewise.
13326         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
13327         Remove conditional code.
13328         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
13329         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
13330         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
13331         condition.
13332
13333         [BZ #13550]
13334         * csu/libc-start.c: Do not include <bp-sym.h>.
13335         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
13336         * elf/dl-open.c: Do not include <bp-sym.h>.
13337         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
13338         * math/fegetenv.c: Do not include <bp-sym.h>.
13339         (fegetenv): Do not use BP_SYM in versioned symbols.
13340         * nptl/sysdeps/pthread/bits/libc-lockP.h
13341         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
13342         <bp-sym.h>.
13343         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13344         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
13345         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13346         (__pthread_mutex_destroy): Likewise.
13347         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13348         (__pthread_mutex_lock): Likewise.
13349         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13350         (__pthread_mutex_trylock): Likewise.
13351         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13352         (__pthread_mutex_unlock): Likewise.
13353         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13354         (__pthread_mutexattr_init): Likewise.
13355         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13356         (__pthread_mutexattr_destroy): Likewise.
13357         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13358         (__pthread_mutexattr_settype): Likewise.
13359         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13360         (__pthread_rwlock_init): Likewise.
13361         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13362         (__pthread_rwlock_destroy): Likewise.
13363         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13364         (__pthread_rwlock_rdlock): Likewise.
13365         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13366         (__pthread_rwlock_tryrdlock): Likewise.
13367         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13368         (__pthread_rwlock_wrlock): Likewise.
13369         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13370         (__pthread_rwlock_trywrlock): Likewise.
13371         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13372         (__pthread_rwlock_unlock): Likewise.
13373         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13374         (__pthread_key_create): Likewise.
13375         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13376         (__pthread_setspecific): Likewise.
13377         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13378         (__pthread_getspecific): Likewise.
13379         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
13380         Likewise.
13381         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13382         (_pthread_cleanup_push_defer): Likewise.
13383         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13384         (_pthread_cleanup_pop_restore): Likewise.
13385         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
13386         (pthread_setcancelstate): Likewise.
13387         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
13388         <bp-sym.h>.
13389         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
13390         (memchr): Do not use BP_SYM in weak_alias.
13391         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
13392         (fegetenv): Do not use BP_SYM in versioned symbols.
13393         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
13394         (fesetenv): Do not use BP_SYM in versioned symbols.
13395         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13396         (feupdateenv): Do not use BP_SYM in versioned symbols.
13397         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13398         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13399         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
13400         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
13401         (open64): Do not use BP_SYM in weak_alias.
13402         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
13403         (fegetenv): Do not use BP_SYM in versioned symbols.
13404         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
13405         (fesetenv): Do not use BP_SYM in versioned symbols.
13406         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
13407         (feupdateenv): Do not use BP_SYM in versioned symbols.
13408         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
13409         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
13410         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
13411         (feraiseexcept): Do not use BP_SYM in versioned symbols.
13412         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
13413         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
13414         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
13415         <bp-sym.h>.
13416         (__libc_start_main): Do not use BP_SYM.
13417
13418 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13419
13420         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
13421         redundant return line.
13422         (norm): Likewise.
13423         (denorm): Likewise.
13424         (dbl_mp): Likewise.
13425         (sub_magnitudes): Likewise.
13426         (__add): Likewise.
13427         (__sub): Likewise.
13428         (__mul): Likewise.
13429         (__inv): Likewise.
13430         (__dvd): Likewise.
13431         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
13432         (norm): Likewise.
13433         (denorm): Likewise.
13434         (dbl_mp): Likewise.
13435         (sub_magnitudes): Likewise.
13436         (__add): Likewise.
13437         (__sub): Likewise.
13438         (__mul): Likewise.
13439         (__inv): Likewise.
13440         (__dvd): Likewise.
13441
13442         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
13443         instead of __mul.
13444         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
13445         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
13446         (cc32): Likewise.
13447
13448         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
13449         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
13450         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
13451         of __mul for squares.
13452         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
13453         function
13454         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
13455         Likewise.
13456         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
13457         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13458
13459 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
13460
13461         [BZ #13550]
13462         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
13463         code.
13464         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
13465         prototype or function definition.  Rename ubp_* variables and
13466         parameters.  Remove argv definitions conditional on
13467         [__BOUNDED_POINTERS__].
13468         * debug/backtrace.c (__backtrace): Do not use __unbounded.
13469         * elf/dl-runtime.c (_dl_fixup): Likewise.
13470         * include/set-hooks.h (RUN_HOOK): Likewise.
13471         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
13472         definition.
13473         * string/strcpy.c (strcpy): Do not use __unbounded.
13474         * sysdeps/generic/frame.h (struct layout): Likewise.
13475         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
13476         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
13477         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
13478         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
13479         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
13480         (__backtrace): Likewise.
13481         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
13482         use __ptrvalue.
13483         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
13484         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13485         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13486         Likewise.
13487         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
13488         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
13489         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13490         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13491         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
13492         Do not use __unbounded.
13493         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
13494         Rename __unboundedrlimits parameter to rlimits in prototype.
13495         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
13496         Do not use __unbounded.
13497         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
13498         not use __ptrvalue.
13499         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13500         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
13501         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13502         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
13503         __ptrvalue or __unbounded.
13504         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
13505         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
13506         use __unbounded.
13507         (__new_msgctl): Do not use __ptrvalue.
13508         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
13509         __unbounded.
13510         (__libc_msgrcv): Do not use __ptrvalue.
13511         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
13512         startup_info): Do not use __unbounded.
13513         (__libc_start_main): Likewise.  Rename ubp_* variables and
13514         parameters.  Remove argv definitions conditional on
13515         [__BOUNDED_POINTERS__].
13516         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
13517         __ptrvalue.
13518         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
13519         use __unbounded.
13520         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
13521         or __ptrvalue.
13522         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
13523         use __unbounded.
13524         (__new_shmctl): Do not use __ptrvalue.
13525         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13526         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13527         Likewise.
13528         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13529         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
13530         (__libc_sigaction): Likewise.
13531         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
13532         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
13533         Likewise.
13534         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
13535
13536 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
13537
13538         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
13539
13540         * string/mempcpy.c: Implement by calling memcpy.
13541
13542 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13543
13544         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
13545
13546         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
13547         evaluation.
13548
13549         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
13550         values in the mantissa.
13551
13552         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
13553         minimize writes to Z.
13554         (sub_magnitudes): Simplify code a bit.
13555
13556 2013-02-12  Roland McGrath  <roland@hack.frob.com>
13557
13558         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
13559         from the message.  The linker prefixes all warnings with that already.
13560
13561 2013-02-12  Andreas Schwab  <schwab@suse.de>
13562
13563         [BZ #15078]
13564         * posix/regexec.c (extend_buffers): Add parameter min_len.
13565         (check_matching): Pass minimum needed length.
13566         (clean_state_log_if_needed): Likewise.
13567         (get_subexp): Likewise.
13568         * posix/Makefile (tests): Add bug-regex34.
13569         (bug-regex34-ENV): Define.
13570         * posix/bug-regex34.c: New file.
13571
13572         [BZ #11561]
13573         * posix/regcomp.c (parse_bracket_exp): When looking up collating
13574         elements compare against the byte sequence of it, not its name.
13575         * posix/Makefile (tests): Add bug-regex35.
13576         (bug-regex35-ENV): Define.
13577         * posix/bug-regex35.c: New file.
13578
13579 2013-02-11  Tom de Vries  <tom@codesourcery.com>
13580
13581         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
13582         comment.
13583         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
13584         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
13585         (CHECK_EOL): Add undef.
13586
13587 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
13588
13589         * bits/stdlib-bsearch.h: New file.
13590         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
13591         * stdlib/stdlib.h: Likewise.
13592
13593 2013-02-11  Roland McGrath  <roland@hack.frob.com>
13594
13595         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
13596         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
13597         declaration.
13598         * manual/search.texi (Array Search Function): Add missing const in
13599         lfind prototype.
13600         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
13601         declaration to use rlim_t.
13602         (Basic Scheduling Functions): Remove erroneous const from
13603         sched_getparam prototype.  Remove erroneous * from
13604         sched_get_priority_max and sched_get_priority_min prototypes.
13605         (Resource Usage): Fix summary @comment on vtimes to refer to
13606         sys/vtimes.h rather than vtimes.h.
13607         Add missing *s in vtimes prototype.
13608         (Limits on Resources): Fix ulimit prototype to return long int.
13609         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
13610         prototypes to use long int rather than double.
13611         (BSD Random): Fix initstate and setstate to use char *, not void *.
13612         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
13613         prototype to make second argument 'struct aiocb64 *const[]'.
13614         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
13615         (Status of AIO Operations): Remove erroneous const in aio_return and
13616         aio_return64 prototypes.
13617         (Synchronizing I/O): Fix sync prototype to return void.
13618         * manual/startup.texi (Suboptions): Remove an erroneous const in
13619         getsubopt prototype.
13620         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
13621         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
13622         use size_t rather than int.
13623         (Scanning All Users): Likewise for getpwent_r.
13624         (Setting Groups): Add missing const to setgroups prototype.
13625         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
13626         * manual/socket.texi (Host Names): Fix gethostbyaddr and
13627         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
13628         'const void *' rather than 'const char *'.
13629         (Host Address Functions): Likewise for inet_ntop.
13630         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
13631         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
13632         ssize_t for return value.
13633         (Sending Data): Likewise for send, sendto, sendmsg.
13634         (Socket Option Functions): Add a missing const in setsockopt prototype.
13635         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
13636         use wchar_t for the argument.
13637         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
13638         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
13639         take no arguments.
13640         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
13641         double/float/long double for second argument.
13642         Fix return types of significand, significandf, significandl.
13643         * manual/filesys.texi (Setting Permissions): Use mode_t for second
13644         argument in fchmod prototype.
13645         (File Owner): Use uid_t and gid_t in fchown prototype.
13646         (File Times): Add const to utimes, futimes, and lutimes prototypes.
13647         (Making Special Files): Use mode_t and dev_t in mknod prototype.
13648         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
13649         use 'const struct dirent **' as argument types to CMP function pointer
13650         argument.
13651         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
13652         (File Times): Fix summary magic @comment for struct utimbuf and utime
13653         to refer to utime.h, not time.h.
13654         * manual/string.texi (Argz Functions): Add missing const in
13655         argz_extract and argz_next prototypes.
13656         (Finding Tokens in a String): Likewise for basename.
13657         (String/Array Comparison): Fix typo in wcscasecmp prototype.
13658         (Copying and Concatenation): Fix typo in wmemmove prototype.
13659         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
13660         (Signal Stack): Remove erroneous const in sigstack prototype.
13661         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
13662         prototype.
13663         (Simple Calendar Time): Likewise for stime.
13664         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
13665         prototype.
13666         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
13667         say sys/sysctl.h instead.
13668         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
13669         and vsyslog prototypes.
13670
13671 2013-02-11  Tom de Vries  <tom@codesourcery.com>
13672
13673         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
13674         Remove.
13675
13676 2013-02-11  Roland McGrath  <roland@hack.frob.com>
13677
13678         * misc/sys/mman.h: Fix typo in mremap comment.
13679
13680 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13681
13682         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
13683         the '\0' terminator.
13684
13685 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13686
13687         [BZ #13550]
13688         * debug/segfault.c: Don't include <bp-checks.h>.
13689         * sysdeps/generic/bp-checks.h: Remove file.
13690         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
13691         (__GETDENTS): Don't use CHECK_N.
13692         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
13693         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13694         (__getgroups): Don't use CHECK_N.
13695         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
13696         (setgroups): Don't use CHECK_N.
13697         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
13698         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
13699         (__libc_msgrcv): Don't use CHECK_N.
13700         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
13701         (__libc_msgsnd): Don't use CHECK_N.
13702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
13703         <bp-checks.h>.
13704         (__libc_pread): Don't use CHECK_N.
13705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
13706         include <bp-checks.h>.
13707         (__libc_pread64): Don't use CHECK_N.
13708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
13709         include <bp-checks.h>.
13710         (__libc_pwrite): Don't use CHECK_N.
13711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
13712         include <bp-checks.h>.
13713         (__libc_pwrite64): Don't use CHECK_N.
13714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
13715         <bp-checks.h>.
13716         (__libc_pread): Don't use CHECK_N.
13717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
13718         include <bp-checks.h>.
13719         (__libc_pread64): Don't use CHECK_N.
13720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
13721         include <bp-checks.h>.
13722         (__libc_pwrite): Don't use CHECK_N.
13723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
13724         include <bp-checks.h>.
13725         (__libc_pwrite64): Don't use CHECK_N.
13726         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
13727         (do_pread): Don't use CHECK_N.
13728         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
13729         (do_pread64): Don't use CHECK_N.
13730         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
13731         (do_pwrite): Don't use CHECK_N.
13732         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
13733         (do_pwrite64): Don't use CHECK_N.
13734         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
13735         (__libc_readv): Don't use CHECK_N.
13736         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
13737         (semop): Don't use CHECK_N.
13738         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
13739         <bp-checks.h>.
13740         (semtimedop): Don't use CHECK_N.
13741         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
13742         (__libc_pread): Don't use CHECK_N.
13743         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
13744         <bp-checks.h>.
13745         (__libc_pread64): Don't use CHECK_N.
13746         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
13747         <bp-checks.h>.
13748         (__libc_pwrite): Don't use CHECK_N.
13749         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
13750         <bp-checks.h>.
13751         (__libc_pwrite64): Don't use CHECK_N.
13752         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
13753         <bp-checks.h>.
13754         (__libc_msgrcv): Don't use CHECK_N.
13755         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
13756         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
13757         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
13758         (__libc_writev): Don't use CHECK_N.
13759
13760 2013-02-08  Roland McGrath  <roland@hack.frob.com>
13761
13762         * string/strcpy.c: Removed unused variable.
13763
13764         * Makeconfig (+sysdep-includes): Define with := rather than =.
13765         Use an existing include/ subdir of each sysdeps dir before it.
13766
13767 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13768
13769         * nscd/connection.c (register_traced_file): Comment function.
13770         [HAVE_INOTIFY] (union __inev): Define.
13771         [HAVE_INOTIFY] (inotify_check_files): New function.
13772         [HAVE_INOTIFY] (clear_db_cache): Likewise.
13773         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
13774         clear_db_cache.
13775         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
13776
13777 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13778
13779         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
13780         loaded if not already and that a failure is permanent.
13781
13782 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
13783
13784         [BZ #15006]
13785         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
13786         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
13787
13788 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
13789
13790         [BZ #13550]
13791         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
13792         (CHECK_1_NULL_OK): Likewise.
13793         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
13794         (__fxstat): Do not use CHECK_1.
13795         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
13796         <bp-checks.h>.
13797         (___fxstat64): Do not use CHECK_1.
13798         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13799         <bp-checks.h>.
13800         (__fxstatat): Do not use CHECK_1.
13801         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13802         <bp-checks.h>.
13803         (__fxstatat64): Do not use CHECK_1.
13804         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
13805         <bp-checks.h>.
13806         (__fxstat): Do not use CHECK_1.
13807         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13808         <bp-checks.h>.
13809         (__fxstatat): Do not use CHECK_1.
13810         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
13811         <bp-checks.h>.
13812         (__getresgid): Do not use CHECK_1.
13813         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
13814         <bp-checks.h>.
13815         (__getresuid): Do not use CHECK_1.
13816         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
13817         <bp-checks.h>.
13818         (__lxstat): Do not use CHECK_1.
13819         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
13820         <bp-checks.h>.
13821         (__old_msgctl): Do not use CHECK_1.
13822         (__new_msgctl): Likewise.
13823         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
13824         <bp-checks.h>.
13825         (__new_setrlimit): Do not use CHECK_1.
13826         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
13827         <bp-checks.h>.
13828         (__old_shmctl): Do not use CHECK_1.
13829         (__new_shmctl): Likewise.
13830         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
13831         <bp-checks.h>.
13832         (__xstat): Do not use CHECK_1.
13833         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
13834         (__lxstat): Do not use CHECK_1.
13835         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
13836         <bp-checks.h>.
13837         (___lxstat64): Do not use CHECK_1.
13838         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
13839         (__old_msgctl): Do not use CHECK_1.
13840         (__new_msgctl): Likewise.
13841         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
13842         <bp-checks.h>.
13843         (__gettimeofday): Do not use CHECK_1.
13844         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
13845         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
13846         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
13847         <bp-checks.h>.
13848         (__gettimeofday): Do not use CHECK_1.
13849         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
13850         (__old_shmctl): Do not use CHECK_1_NULL_OK.
13851         (__new_shmctl): Do not use CHECK_1.
13852         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
13853         <bp-checks.h>.
13854         (do_sigtimedwait): Do not use CHECK_1.
13855         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
13856         <bp-checks.h>.
13857         (do_sigwaitinfo): Do not use CHECK_1.
13858         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
13859         <bp-checks.h>.
13860         (msgctl): Do not use CHECK_1.
13861         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
13862         <bp-checks.h>.
13863         (shmctl): Do not use CHECK_1.
13864         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
13865         (ustat): Do not use CHECK_1.
13866         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
13867         <bp-checks.h>.
13868         (__fxstat): Do not use CHECK_1.
13869         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13870         <bp-checks.h>.
13871         (__fxstatat): Do not use CHECK_1.
13872         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
13873         <bp-checks.h>.
13874         (__lxstat): Do not use CHECK_1.
13875         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
13876         <bp-checks.h>.
13877         (__xstat): Do not use CHECK_1.
13878         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
13879         (__xstat): Do not use CHECK_1.
13880         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
13881         (___xstat64): Do not use CHECK_1.
13882
13883         [BZ #13550]
13884         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
13885         definitions.
13886         (CHECK_BOUNDS_HIGH): Likewise.
13887         * string/strcpy.c: Do not include <bp-checks.h>.
13888         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
13889
13890 2013-02-07  Roland McGrath  <roland@hack.frob.com>
13891
13892         * nscd/nscd-client.h (__nscd_drop_map_ref):
13893         Add __attribute__ ((unused)).
13894         * nis/nss-nisplus.h (niserr2nss): Likewise.
13895
13896         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
13897         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
13898
13899         * csu/libc-tls.c (init_static_tls, init_slotinfo):
13900         Remove inline keyword.
13901         * include/rounding-mode.h (round_away): Likewise.
13902         * libio/wfileops.c (adjust_wide_data): Likewise.
13903         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
13904         (__m128i_strloadu_tolower): Likewise.
13905         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
13906         (__m128i_strloadu_tolower): Likewise.
13907         * time/mktime.c (ydhms_diff): Likewise.
13908         * locale/elem-hash.h (elem_hash): Likewise.
13909         * locale/setlocale.c (setdata): Likewise.
13910         * posix/regex_internal.h (re_string_char_size_at): Likewise.
13911         (re_string_wchar_at): Likewise.
13912         (bitset_not, bitset_merge, bitset_mask): Likewise.
13913         [!(__GNUC__ > 3)] (inline): Remove macro.
13914         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
13915         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
13916         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
13917         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
13918         * string/memcmp.c (memcmp_bytes): Likewise.
13919         * locale/programs/locarchive.c (compute_hashval): Likewise.
13920         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
13921         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
13922         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
13923         * nss/getent.c (print_rpc, print_protocols): Likewise.
13924         (print_passwd, print_group, print_aliases): Likewise.
13925         * nis/nss-nisplus.h (niserr2nss): Likewise.
13926         * nscd/connections.c (restart_p): Likewise.
13927         Change return type to bool.
13928
13929 2013-02-05  Roland McGrath  <roland@hack.frob.com>
13930
13931         * Makeconfig (all-Depend-files): Add existing
13932         $(sorted-subdirs:=/Depend) files.
13933         (all-subdirs): Remove nss.
13934         * sysdeps/unix/inet/Subdirs: Add it here instead.
13935         * hesiod/Depend: New file.
13936
13937         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
13938         instead of calling alloca.
13939
13940         * io/lseek.c (__lseek): Rename to __libc_lseek.
13941         Define __lseek as an alias.
13942
13943         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
13944
13945 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
13946
13947         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
13948         else clause and remove check for non-standard endianness.
13949
13950 2013-02-04  David S. Miller  <davem@davemloft.net>
13951
13952         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13953
13954 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
13955
13956         [BZ #13550]
13957         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
13958         (__ubp_memchr): Remove prototype.
13959         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
13960         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13961         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
13962         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
13963         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
13964         Remove alias.
13965         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
13966         (__ubp_memchr): Likewise.
13967         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
13968         (__ubp_memchr): Likewise.
13969         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
13970         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
13971         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
13972         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
13973         CHECK_STRING.
13974         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13975         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
13976         (__getcwd): Do not use CHECK_STRING.
13977         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
13978         <bp-checks.h>.
13979         (__real_chown): Do not use CHECK_STRING.
13980         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
13981         <bp-checks.h>.
13982         (fchownat): Do not use CHECK_STRING.
13983         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
13984         CHECK_STRING.
13985         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
13986         <bp-checks.h>.
13987         (__lchown): Do not use CHECK_STRING.
13988         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
13989         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
13990         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
13991         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
13993         include <bp-checks.h>.
13994         (truncate64): Do not use CHECK_STRING.
13995         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
13996         <bp-checks.h>.
13997         (__real_chown): Do not use CHECK_STRING.
13998         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
13999         <bp-checks.h>.
14000         (__lchown): Do not use CHECK_STRING.
14001         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
14002         <bp-checks.h>.
14003         (__chown): Do not use CHECK_STRING.
14004         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
14005         <bp-checks.h>.
14006         (truncate64): Do not use CHECK_STRING.
14007         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
14008         Likewise.
14009         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
14010         (__xmknod): Do not use CHECK_STRING.
14011         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14012         <bp-checks.h>.
14013         (__xmknodat): Do not use CHECK_STRING.
14014         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14015         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14016
14017 2013-02-04  Andreas Schwab  <schwab@suse.de>
14018
14019         [BZ #14142]
14020         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
14021         * include/netdb.h: Likewise for h_errno.
14022         * elf/tst-stackguard1.c: Include <tls.h>.
14023
14024 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
14025
14026         * elf/link.h (struct link_map): Extend the l_addr comment.
14027         * include/link.h (struct link_map): Likewise.
14028
14029 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
14030
14031         [BZ #13550]
14032         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
14033         (BOUNDED_1): Remove macro.
14034         * debug/backtrace.c: Don't include <bp-checks.h>.
14035         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
14036         (__backtrace): Likewise.
14037         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
14038         <bp-checks.h>.
14039         (__backtrace): Don't use BOUNDED_1.
14040         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
14041         <bp-checks.h>.
14042         (__backtrace): Don't use BOUNDED_1.
14043         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
14044         (__backtrace): Don't use BOUNDED_1.
14045         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
14046         (shmat): Don't use BOUNDED_N.
14047
14048 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
14049
14050         [BZ #13550]
14051         * sysdeps/generic/bp-start.h: Remove file.
14052         * csu/libc-start.c: Don't include <bp-start.h>.
14053         (LIBC_START_MAIN): Set up __environ directly instead of using
14054         INIT_ARGV_and_ENVIRON.
14055         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
14056         <bp-start.h>.
14057
14058         [BZ #13550]
14059         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
14060         definitions.
14061         (CHECK_FCNTL): Likewise.
14062         (CHECK_N_PAGES): Likewise.
14063
14064         [BZ #13550]
14065         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
14066         definitions.
14067         (CHECK_SIGSET_NULL_OK): Likewise.
14068         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
14069         <bp-checks.h>.
14070         (sigpending): Don't use CHECK_SIGSET.
14071         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
14072         <bp-checks.h>.
14073         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14074         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
14075         <bp-checks.h>.
14076         (do_sigsuspend): Don't use CHECK_SIGSET.
14077         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
14078         use CHECK_SIGSET.
14079         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
14080         (do_sigwait): Don't use CHECK_SIGSET.
14081         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
14082         use CHECK_SIGSET.
14083         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
14084         include <bp-checks.h>.
14085         (sigpending): Don't use CHECK_SIGSET.
14086         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
14087         include <bp-checks.h>.
14088         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14089         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
14090         <bp-checks.h>.
14091         (sigpending): Don't use CHECK_SIGSET.
14092         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
14093         <bp-checks.h>.
14094         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
14095
14096         [BZ #13550]
14097         * sysdeps/generic/bp-semctl.h: Remove file.
14098         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
14099         <bp-checks.h> and <bp-semctl.h>.
14100         (__old_semctl): Don't use CHECK_SEMCTL.
14101         (__new_semctl): Likewise.
14102         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
14103         and <bp-semctl.h>.
14104         (__old_semctl): Don't use CHECK_SEMCTL.
14105         (__new_semctl): Likewise.
14106         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
14107         <bp-checks.h> and <bp-semctl.h>.
14108         (__old_semctl): Don't use CHECK_SEMCTL.
14109         (__new_semctl): Likewise.
14110         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
14111         <bp-checks.h> and <bp-semctl.h>.
14112         (semctl): Don't use CHECK_SEMCTL.
14113
14114         [BZ #13550]
14115         * Makerules (elide-bp-thunks): Remove variable.
14116         (elide-routines.oS): Don't use $(elide-bp-thunks).
14117         (elide-routines.os): Likewise.
14118         (elide-routines.o): Likewise.
14119         (elide-routines.op): Likewise.
14120         (elide-routines.og): Likewise.
14121         (objects): Don't use $(bp-thunks).
14122         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
14123         include.
14124         (common-generated): Do not add s-proto-bp.d.
14125         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
14126         (int): Likewise.
14127         (typ): Likewise.
14128         Do not generate makefile rules for bounded-pointer thunks.
14129         * sysdeps/generic/bp-thunks.h: Remove file.
14130         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
14131         * sysdeps/unix/s-proto-bp.S: Likewise.
14132
14133         [BZ #15062]
14134         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
14135         parts of result separately when argument is not close to line from
14136         -i to i and one part of argument is small.
14137         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14138         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14139         * math/libm-test.inc (cacos_test): Add more tests.
14140         (casin_test): Likewise.
14141         (casinh_test): Likewise.
14142         * sysdeps/i386/fpu/libm-test-ulps: Update.
14143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14144
14145 2013-01-31  David S. Miller  <davem@davemloft.net>
14146
14147         * po/de.po: Update from translation team.
14148
14149 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
14150
14151         * time/tzfile.c: Include stdint.h for SIZE_MAX.
14152
14153 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
14154
14155         * configure.in (_AC_PROG_CC_C89): New definition.
14156         * configure: Regenerate.
14157
14158         * configure.in (AC_PROG_CPP): New definition.
14159         * configure: Regenerate.
14160
14161 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
14162
14163         * debug/tst-backtrace.h: New file.
14164         * debug/tst-backtrace2.c: Include tst-backtrace.h.
14165         (ret): Remove variable.
14166         (x): Likewise.
14167         (FAIL): Remove macro.
14168         (NO_INLINE): Likewise.
14169         (fn1): Use match function instead of strstr.
14170         * debug/tst-backtrace3.c: Include tst-backtrace.h.
14171         (ret): Remove variable.
14172         (x): Likewise.
14173         (FAIL): Remove macro.
14174         (NO_INLINE): Likewise.
14175         (fn): Use match function instead of strstr.
14176         * debug/tst-backtrace4.c: Include tst-backtrace.h.
14177         (ret): Remove variable.
14178         (x): Likewise.
14179         (FAIL): Remove macro.
14180         (NO_INLINE): Likewise.
14181         (handle_signal): Use match function instead of strstr.
14182         * debug/tst-backtrace5.c: Include tst-backtrace.h.
14183         (ret): Remove variable.
14184         (x): Likewise.
14185         (FAIL): Remove macro.
14186         (NO_INLINE): Likewise.
14187         (handle_signal): Use match function instead of strstr.
14188
14189 2013-01-23  Roland McGrath  <roland@hack.frob.com>
14190
14191         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
14192
14193 2013-01-23  David S. Miller  <davem@davemloft.net>
14194
14195         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
14196         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
14197         argument of CAS if possible.
14198         * sysdeps/sparc/sparc64/bits/atomic.h
14199         (__arch_compare_and_exchange_val_32_acq): Likewise.
14200         (__arch_compare_and_exchange_val_64_acq): Likewise.
14201
14202 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
14203
14204         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
14205         * sysdeps/posix/ulimit.c: ... this.
14206         Include <limits.h>.
14207         * sysdeps/unix/bsd/ulimit.c: Remove file.
14208
14209 2013-01-23  Adam Conrad  <adconrad@0c3.net>
14210
14211         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
14212         (LDFLAGS-tst-array5): Likewise.
14213
14214 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
14215
14216         [BZ #15036]
14217         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
14218         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
14219         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
14220         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
14221
14222 2013-01-21  David S. Miller  <davem@davemloft.net>
14223
14224         * sysdeps/sparc/backtrace.c: New file.
14225         * sysdeps/sparc/sparc32/backtrace.h: New file.
14226         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
14227         * sysdeps/sparc/sparc64/backtrace.h: New file.
14228         * sysdeps/sparc/sparc64/backtrace.c: Delete.
14229         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
14230         -funwind-tables.
14231
14232 2013-01-21  Andreas Schwab  <schwab@suse.de>
14233
14234         [BZ #15020]
14235         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
14236         closed its stdout.
14237
14238 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
14239
14240         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
14241         "mpa2.h".
14242         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14243
14244 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
14245             Mark Mitchell  <mark@codesourcery.com>
14246             Tom de Vries  <tom@codesourcery.com>
14247             Paul Pluzhnikov  <ppluzhnikov@google.com>
14248
14249         * debug/tst-backtrace2.c: New file.
14250         * debug/tst-backtrace3.c: Likewise.
14251         * debug/tst-backtrace4.c: Likewise.
14252         * debug/tst-backtrace5.c: Likewise.
14253         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
14254         (CFLAGS-tst-backtrace3.c): Likewise.
14255         (CFLAGS-tst-backtrace4.c): Likewise.
14256         (CFLAGS-tst-backtrace5.c): Likewise.
14257         (LDFLAGS-tst-backtrace2): Likewise.
14258         (LDFLAGS-tst-backtrace3): Likewise.
14259         (LDFLAGS-tst-backtrace4): Likewise.
14260         (LDFLAGS-tst-backtrace5): Likewise.
14261         (tests): Add new tests tst-backtrace2, tst-backtrace3,
14262         tst-backtrace4 and tst-backtrace5.
14263
14264 2013-01-18  Anton Blanchard  <anton@samba.org>
14265             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14266
14267         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
14268         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
14269         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
14270         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
14271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
14272         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
14273         "+r" and remove output regs list as redundant.  Add explicit inline
14274         asm to specify register of return val to work around compiler codegen
14275         bug.  Remove (int) cast on return value.  Add return type parameter to
14276         use in macro so that this macro does not truncate return value for
14277         64-bit values.
14278         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
14279         pass to INTERNAL_VSYSCALL_NCS.
14280         (INLINE_VSYSCALL): Add 'long int' as return type to
14281         INTERNAL_VSYSCALL_NCS macro invocation.
14282         (INTERNAL_VSYSCALL): Add 'long int' as return type to
14283         INTERNAL_VSYSCALL_NCS macro invocation.
14284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14285
14286 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14287
14288         [BZ #14496]
14289         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
14290         Fix application of SIMD FP exception mask.
14291
14292         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
14293         mp_no from a power of two.
14294         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
14295         __mpexp_twomm1.  Use __pow_mp.
14296
14297         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
14298         multiplication.
14299
14300 2013-01-17  David S. Miller  <davem@davemloft.net>
14301
14302         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14303
14304 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
14305
14306         [BZ #15023]
14307         * include/complex.h: Condition contents on [!_COMPLEX_H].
14308         (__kernel_casinhf): New prototype.
14309         (__kernel_casinh): Likewise.
14310         (__kernel_casinhl): Likewise.
14311         * math/Makefile (libm_calls): Add k_casinh.
14312         * math/k_casinh.c: New file.
14313         * math/k_casinhf.c: Likewise.
14314         * math/k_casinhl.c: Likewise.
14315         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
14316         finite nonzero arguments.
14317         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
14318         finite nonzero arguments.
14319         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
14320         finite nonzero arguments.
14321         * math/s_casinh.c: Do not include <float.h>.
14322         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
14323         * math/s_casinhf.c: Do not include <float.h>.
14324         (__casinhf): Move code for finite nonzero arguments to
14325         k_casinhf.c.
14326         * math/s_casinhl.c: Do not include <float.h>.
14327         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
14328         redefine.
14329         (__casinhl): Move code for finite nonzero arguments to
14330         k_casinhl.c.
14331         * math/libm-test.inc (cacos_test): Add more tests.
14332         * sysdeps/i386/fpu/libm-test-ulps: Update.
14333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14334
14335 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
14336
14337         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
14338         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
14339         [!HAVE_MREMAP]: Remove [defined linux] case.
14340         * malloc/arena.c: Do not include <malloc-sysdep.h>.
14341
14342 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14343
14344         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
14345
14346 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
14347
14348         * elf/elf.h (R_386_SIZE32): New relocation.
14349         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
14350         R_386_SIZE32.
14351         (elf_machine_rela): Likewise.
14352         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
14353         R_X86_64_SIZE64 and R_X86_64_SIZE32.
14354
14355 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
14356
14357         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
14358         (FP_FAST_FMA): Do not define.
14359         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
14360         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
14361         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
14362         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
14363         !_SOFT_FLOAT]: Likewise.
14364         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
14365         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
14366         value.
14367         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
14368         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
14369         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
14370         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
14371         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
14372         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
14373         file.
14374
14375 2013-01-16  Andreas Schwab  <schwab@suse.de>
14376
14377         [BZ #14327]
14378         * include/stdlib.h (__mktemp): Add declaration.
14379         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
14380         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
14381
14382 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14383
14384         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
14385         definitions.
14386         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
14387         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
14388         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
14389         definitions here.
14390         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
14391         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
14392         definitions.
14393         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
14394         and ONE.
14395         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
14396         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
14397         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
14398         definitions.
14399         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
14400         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
14401         definitions.
14402         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
14403
14404         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
14405
14406 2013-01-15  David S. Miller  <davem@davemloft.net>
14407
14408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14409         trunc{,f} to libm-sysdep_routes.
14410         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
14412         file.
14413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
14414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
14415         file.
14416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
14417         file.
14418         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
14419         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
14420         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
14421         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
14422         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
14423         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
14424         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
14425         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
14426
14427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14428         nearbyint{,f} to libm-sysdep_routes.
14429         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
14431         New file.
14432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
14433         file.
14434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
14435         New file.
14436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
14437         file.
14438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
14439         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
14440         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
14441         file.
14442         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
14443         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
14444         file.
14445         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
14446         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
14447         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
14448
14449         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14450         libc_feholdexcept and libc_fesetenv.
14451
14452 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
14453
14454         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
14455
14456 2013-01-14  David S. Miller  <davem@davemloft.net>
14457
14458         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
14459         (SPARC_ASM_VIS2_IFUNC): Likewise.
14460         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
14461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
14462         use of 'siam' instruction.
14463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
14464         Likewise.
14465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
14466         Likewise.
14467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
14468         Likewise.
14469         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
14470         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
14471         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
14472         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
14473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
14474         file.
14475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
14476         file.
14477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
14478         file.
14479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
14480         file.
14481         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
14482         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
14483         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
14484         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
14485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
14486         new VIS2 routines.
14487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
14488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
14490         Likewise.
14491         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
14492         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
14493         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
14494         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
14495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
14496         routines to libm-sysdep_routines.
14497         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
14498
14499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
14500         fdim/fdimf to libm-sysdep_routines.
14501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
14502         file.
14503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
14504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
14505         file.
14506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
14507         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
14508         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
14509         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
14510         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
14511         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
14512         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
14513
14514 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
14515
14516         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
14517         to optimize copies.
14518
14519         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
14520         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14521         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14522
14523         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
14524         local variable MPTWO.
14525         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14526         Likewise.
14527
14528 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14529
14530         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
14531         GLOB_NOESCAPE.
14532
14533 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14534
14535         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
14536
14537 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
14538
14539         * manual/pattern.texi (glob_t): Document gl_flags.
14540         (glob64_t): Likewise.
14541
14542 2013-01-11  David S. Miller  <davem@davemloft.net>
14543
14544         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
14545         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
14546         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
14547         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
14548         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
14549         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
14550         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
14551         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
14552         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
14553         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
14554         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
14555         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
14556         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
14557
14558         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14559         sparc V9 rather than using V8 code.
14560         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14561         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14562
14563         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14564         Move to...
14565         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
14566         Here.
14567
14568 2013-01-11  Roland McGrath  <roland@hack.frob.com>
14569
14570         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
14571         not in the main loop.
14572         * configure: Regenerated.
14573
14574 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
14575
14576         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
14577         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
14578         to just #else.
14579         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
14580         [!__GLIBC_HAVE_LONG_LONG] case.
14581         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
14582         condition to just #else.
14583         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
14584         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
14585         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
14586         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
14587         unconditional.
14588         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
14589         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14590         #elif condition to just #else.
14591         * sysdeps/unix/sysv/linux/sys/sysmacros.h
14592         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
14593         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
14594         #elif condition to just #else.
14595
14596 2013-01-11  Steve Ellcey  <sellcey@mips.com>
14597
14598         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
14599         (EF_MIPS_ARCH_64): Fix value.
14600         (EF_MIPS_ARCH_32R2): New.
14601         (EF_MIPS_ARCH_64R2): New.
14602
14603 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
14604
14605         * Makeconfig (+link-pie-before-libc): New.
14606         (+link-pie-after-libc): Likewise.
14607         (+link-pie-tests): Likewise.
14608         (+link-pie): Rewritten.
14609         (link-before-libc): Remove $(config-LDFLAGS).
14610         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
14611         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
14612         (config-LDFLAGS): Renamed to ...
14613         (rtld-LDFLAGS): This.
14614         (rtld-tests-LDFLAGS): New macro.
14615         (link-libc-rpath-link): Likewise.
14616         (link-libc-tests-rpath-link): Likewise.
14617         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
14618         (link-libc): Prepand $(link-libc-rpath-link).
14619         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
14620         (test-program-prefix): New macro.
14621         (test-via-rtld-prefix): Likewise.
14622         (test-program-cmd): Likewise.
14623         (host-test-program-cmd): Likewise.
14624         * Makefile ($(common-objpfx)testrun.sh): Replace
14625         $(run-program-prefix) with $(test-program-prefix).
14626         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
14627         $(rtld-LDFLAGS).
14628         ($(common-objpfx)shlib.lds): Likewise.
14629         (build-module-helper): Likewise.
14630         ($(common-objpfx)format.lds): Likewise.
14631         * Rules (binaries-pie-tests): New.
14632         (binaries-pie-notests): Likewise.
14633         (binaries-pie): Rewritten.
14634         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
14635         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
14636         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
14637         (make-test-out): Replace $(host-built-program-cmd) with
14638         $(host-test-program-cmd).
14639         * config.make.in (build-hardcoded-path-in-tests): New variable.
14640         * configure.in (--enable-hardcoded-path-in-tests): New configure
14641         option.
14642         (hardcoded_path_in_tests): New AC_SUBST.
14643         * configure: Regenerated.
14644         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
14645         $(built-program-cmd) with $(test-program-cmd).
14646         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
14647         (test_program_cmd): This.
14648         * elf/Makefile ($(objpfx)order.out): Run test with
14649         $(test-program-prefix).
14650         ($(objpfx)order2.out): Likewise.
14651         ($(objpfx)tst-initorder.out): Likewise.
14652         ($(objpfx)tst-initorder2.out): Likewise.
14653         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
14654         $(test-program-cmd).
14655         ($(objpfx)tst-array1-static.out): Likewise.
14656         ($(objpfx)tst-array2.out): Likewise.
14657         ($(objpfx)tst-array3.out): Likewise.
14658         ($(objpfx)tst-array4.out): Likewise.
14659         ($(objpfx)tst-array5.out): Likewise.
14660         ($(objpfx)tst-array5-static.out): Likewise.
14661         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
14662         $(test-program-cmd).
14663         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
14664         $(run-program-prefix) with $(test-program-prefix).
14665         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
14666         (test_program_prefix): This.
14667         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
14668         $(run-program-prefix) with $(test-program-prefix).
14669         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
14670         (test_program_prefix): This.
14671         * iconvdata/tst-tables.sh: Likewise.
14672         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
14673         $(run-program-prefix) with $(test-program-prefix).
14674         ($(objpfx)tst-translit.out): Likewise.
14675         ($(objpfx)tst-gettext2.out): Likewise.
14676         ($(objpfx)tst-gettext4.out): Likewise.
14677         ($(objpfx)tst-gettext6.out): Likewise.
14678         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
14679         (test_program_prefix): This.
14680         * intl/tst-gettext2.sh: Likewise.
14681         * intl/tst-gettext4.sh  Likewise.
14682         * intl/tst-gettext6.sh: Likewise.
14683         * intl/tst-translit.sh: Likewise.
14684         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
14685         with $(test-program-cmd).
14686         * libio/Makefile ($(objpfx)test-freopen.out): Replace
14687         $(run-program-prefix) with $(test-program-prefix).
14688         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
14689         (test_program_prefix): This.
14690         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
14691         $(run-program-prefix) with $(test-program-prefix).
14692         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
14693         (test_program_prefix): This.
14694         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
14695         * posix/Makefile ($(objpfx)globtest.out): Replace
14696         $(run-via-rtld-prefix) and $(test-wrapper) with
14697         $(test-program-prefix) and $(test-via-rtld-prefix).
14698         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
14699         $(test-program-prefix).
14700         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
14701         $(host-test-program-cmd).
14702         (tst-spawn-ARGS): Likewise.
14703         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
14704         $(test-program-prefix).
14705         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
14706         (test_via_rtld_prefix): This.
14707         (test_wrapper): Renamed to ...
14708         (test_program_prefix): This.
14709         (run_program_prefix): Replaced by test_program_prefix.
14710         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
14711         (test_program_prefix): This.
14712         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
14713         with $(host-test-program-cmd).
14714         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
14715         $(run-program-prefix) with $(test-program-prefix).
14716         ($(objpfx)tst-printf.out): Likewise.
14717         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
14718         $(test-program-cmd).
14719         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
14720         (test_program_prefix): This.
14721         * stdio-common/tst-unbputc.sh: Likewise.
14722         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
14723         $(run-program-prefix) with $(test-program-prefix).
14724         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
14725         (test_program_prefix): This.
14726         * string/Makefile ($(objpfx)tst-svc.out):  Replace
14727         $(built-program-cmd) with $(test-program-cmd).
14728
14729 2013-01-11  Andreas Jaeger  <aj@suse.de>
14730
14731         [BZ #15003]
14732         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
14733         value. Sync with Linux 3.7.
14734
14735 2013-01-10  David S. Miller  <davem@davemloft.net>
14736
14737         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
14738         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14739         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14740
14741 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14742
14743         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
14744         never set.
14745         * configure: Regenerated.
14746
14747 2013-01-10  David S. Miller  <davem@davemloft.net>
14748
14749         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
14750         sparc V9 rather than using V8 code.
14751         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
14752         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
14753
14754 2013-01-10  Roland McGrath  <roland@hack.frob.com>
14755
14756         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
14757         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
14758         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
14759         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
14760         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
14761         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
14762         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
14763         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
14764         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
14765         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
14766         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14767         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
14768         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
14769         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
14770         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
14771         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
14772         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
14773         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
14774         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
14775         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
14776         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
14777         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
14778         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
14779         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
14780         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
14781         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
14782         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
14783
14784 2013-01-10  David S. Miller  <davem@davemloft.net>
14785
14786         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14787
14788 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14789
14790         * posix/Makefile (tests-static): New variable.
14791         (tests): Add $(tests-static).
14792         (tst-exec-static-ARGS): New variable.
14793         (tst-spawn-static-ARGS): Likewise.
14794         * posix/tst-exec-static.c: New file.
14795         * posix/tst-spawn-static.c: Likewise.
14796         * posix/tst-exec.c: Support run directly.
14797         * posix/tst-spawn.c: Likewise.
14798
14799 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
14800
14801         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
14802         long.
14803         * math/bits/mathcalls.h (llrint): Likewise.
14804         (llround): Likewise.
14805         * stdlib/stdlib.h (struct drand48_data): Likewise.
14806         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
14807         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
14808         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
14809         Likewise.
14810         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
14811         Likewise.
14812         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
14813         (elf_greg_t): Likewise.
14814         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
14815         (__jmp_buf): Likewise.
14816         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
14817         definitions.
14818         (llrint): Likewise, for all definitions.
14819         (llrintl): Likewise.
14820
14821         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
14822         Remove [__GNUC__] condition.
14823         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
14824         condition to just [__USE_ISOC99].
14825         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
14826
14827 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
14828
14829         [BZ #14200]
14830         * sysdeps/unix/sysv/linux/x86/bits/environments.h
14831         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
14832         defined.
14833         (_POSIX_V6_ILP32_OFF32): Likewise.
14834         (_XBS5_ILP32_OFF32): Likewise.
14835         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
14836         (__ILP32_OFFBIG_LDFLAGS): Likewise.
14837
14838 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14839
14840         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
14841
14842         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
14843         doubles __mpexp_twomm1.  Adjust usage.
14844         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
14845         Remove.
14846
14847 2013-01-10  Andreas Schwab  <schwab@suse.de>
14848
14849         [BZ #14964]
14850         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
14851         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
14852
14853 2013-01-09  David S. Miller  <davem@davemloft.net>
14854
14855         [BZ #15003]
14856         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
14857         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
14858         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
14859         TCP_FASTOPEN): Define.
14860         (tcp_repair_opt): New structure.
14861         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
14862         enum values.
14863         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
14864         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
14865         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
14866         (tcp_cookie_transactions): New structure.
14867
14868 2013-01-09  Anton Blanchard  <anton@samba.org>
14869
14870         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
14871         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
14872         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
14873         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
14874
14875 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
14876
14877         * include/features.h (__USE_ANSI): Remove.
14878
14879 2013-01-09  Roland McGrath  <roland@hack.frob.com>
14880
14881         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
14882
14883         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
14884
14885 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
14886
14887         * sysdeps/s390/fpu/libm-test-ulps: Update.
14888
14889         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14890
14891         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
14892         (__acr): Likewise.
14893         (__cpy): Likewise.
14894         (norm): Likewise.
14895         (denorm): Likewise.
14896         (__mp_dbl): Likewise.
14897         (__dbl_mp): Likewise.
14898         (add_magnitudes): Likewise.
14899         (sub_magnitudes): Likewise.
14900         (__add): Likewise.
14901         (__sub): Likewise.
14902         (__mul): Likewise.
14903         (__inv): Likewise.
14904         (__dvd): Likewise.
14905         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
14906         (__acr): Likewise.
14907         (__cpy): Likewise.
14908         (norm): Likewise.
14909         (denorm): Likewise.
14910         (__mp_dbl): Likewise.
14911         (__dbl_mp): Likewise.
14912         (add_magnitudes): Likewise.
14913         (sub_magnitudes): Likewise.
14914         (__add): Likewise.
14915         (__sub): Likewise.
14916         (__mul): Likewise.
14917         (__inv): Likewise.
14918         (__dvd): Likewise.
14919         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
14920         (__acr): Likewise.
14921         (__cpy): Likewise.
14922         (norm): Likewise.
14923         (denorm): Likewise.
14924         (__mp_dbl): Likewise.
14925         (__dbl_mp): Likewise.
14926         (add_magnitudes): Likewise.
14927         (sub_magnitudes): Likewise.
14928         (__add): Likewise.
14929         (__sub): Likewise.
14930         (__mul): Likewise.
14931         (__inv): Likewise.
14932         (__dvd): Likewise.
14933
14934 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
14935
14936         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
14937         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
14938         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
14939         2 && __USE_EXTERN_INLINES]: Likewise.
14940
14941 2013-01-08  Andreas Jaeger  <aj@suse.de>
14942
14943         [BZ# 14985]
14944         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
14945         Remove.
14946         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14947         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
14948
14949 2013-01-07  Anton Blanchard  <anton@samba.org>
14950
14951         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
14952         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14953         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
14954         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14955         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14956         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
14957         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
14958         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
14959         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
14960         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14961         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14962         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14963         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
14964         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14965         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14966         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14967         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14968         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14969         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14970         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14971         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14972         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
14973         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14974         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14975         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
14976         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14977         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14978         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14979         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
14980         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
14981         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14982         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
14983         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14984         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14985         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14986         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14987         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14988         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14989         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
14990         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14991         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
14992         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14993         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14994
14995 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
14996
14997         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
14998         (__MALLOC_PMT): Likewise.
14999         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
15000         [__GNUC__], only on [_LIBC].
15001         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15002         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
15003         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
15004         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
15005         forward declaration.
15006         (realloc_hook_ini): Likewise.
15007         (memalign_hook_ini): Likewise.
15008         (__libc_memalign): Do not use __MALLOC_PMT in variable
15009         declaration.
15010         (__libc_valloc): Likewise.
15011         (__libc_pvalloc): Likewise.
15012         (__libc_calloc): Likewise.
15013         (__posix_memalign): Likewise.
15014
15015         [BZ #14996]
15016         * math/s_casinh.c: Include <float.h>.
15017         (__casinh): Do not do computation with squaring and square root
15018         for large arguments.
15019         * math/s_casinhf.c: Include <float.h>.
15020         (__casinhf): Do not do computation with squaring and square root
15021         for large arguments.
15022         * math/s_casinhl.c: Include <float.h>.
15023         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
15024         (__casinhl): Do not do computation with squaring and square root
15025         for large arguments.
15026         * math/libm-test.inc (casin_test): Add more tests.
15027         (casinh_test): Likewise.
15028         * sysdeps/i386/fpu/libm-test-ulps: Update.
15029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15030
15031 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
15032
15033         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
15034         (__x86_64_raw_data_cache_size): Likewise.
15035         (__x86_64_data_cache_size_half): Likewise.
15036         (__x86_64_raw_data_cache_size_half): Likewise.
15037         (__x86_64_shared_cache_size): Likewise.
15038         (__x86_64_raw_shared_cache_size): Likewise.
15039         (__x86_64_shared_cache_size_half): Likewise.
15040         (__x86_64_raw_shared_cache_size_half): Likewise.
15041         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
15042         to ...
15043         (__x86_data_cache_size): This.
15044         (__x86_64_raw_data_cache_size): Renamed to ...
15045         (__x86_raw_data_cache_size): This.
15046         (__x86_64_data_cache_size_half): Renamed to ...
15047         (__x86_data_cache_size_half): This.
15048         (__x86_64_raw_data_cache_size_half): Renamed to ...
15049         (__x86_raw_data_cache_size_half): This.
15050         (__x86_64_shared_cache_size): Renamed to ...
15051         (__x86_shared_cache_size): This.
15052         (__x86_64_raw_shared_cache_size): Renamed to ...
15053         (__x86_raw_shared_cache_size): This.
15054         (__x86_64_shared_cache_size_half): Renamed to ...
15055         (__x86_shared_cache_size_half): This.
15056         (__x86_64_raw_shared_cache_size_half): Renamed to ...
15057         (__x86_raw_shared_cache_size_half): This.
15058         * sysdeps/x86_64/memcpy.S: Updated.
15059         * sysdeps/x86_64/memset.S: Likewise.
15060         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15061         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15062         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15063
15064 2013-01-04  David S. Miller  <davem@davemloft.net>
15065
15066         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15067
15068 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
15069
15070         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
15071         1 to avoid redefinition warning.
15072         (__USE_GNU): Don't define.
15073         (init_signaling_nan): Protoize.
15074
15075         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15076
15077 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15078
15079         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
15080         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
15081         (__cpymn): Likewise.
15082         (norm): Remove commented code.
15083         (denorm): Likewise.
15084         (__mp_dbl): Likewise.
15085         (__inv): Likewise.
15086         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
15087         (__cpymn): Likewise.
15088         (norm): Remove commented code.
15089         (denorm): Likewise.
15090         (__mp_dbl): Likewise.
15091         (__inv): Likewise.
15092
15093         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
15094         mp_no value for 1.0 and 2.0.
15095         (norm): Use RADIXI instead of radixi.d.
15096         (denorm): Likewise.
15097         (__mul): Use 0.0 instead of zero.d.
15098         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
15099         mp_no value for 1.0 and 2.0.
15100         (norm): Use RADIXI instead of radixi.d.
15101         (denorm): Likewise.
15102         (__mul): Use 0.0 instead of zero.d.
15103
15104 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
15105
15106         [BZ #14994]
15107         * math/s_casinh.c (__casinh): Reduce finite argument to first
15108         quadrant then set signs of results at the end.
15109         * math/s_casinhf.c (__casinhf): Likewise.
15110         * math/s_casinhl.c (__casinhl): Likewise.
15111         * math/libm-test.inc (casin_test): Add more tests.
15112         (casinh_test): Likewise.
15113         * sysdeps/i386/fpu/libm-test-ulps: Update.
15114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15115
15116 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15117
15118         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
15119
15120         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
15121
15122         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
15123         declarations.
15124         (denorm): Likewise.
15125         (__mp_dbl): Likewise.
15126         (__inv): Likewise.
15127
15128         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
15129         and adjust the header comment.
15130
15131         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
15132         variable name from declaration.
15133
15134 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
15135
15136         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15137         Initialize COMMON_CPUID_INDEX_7 element.
15138         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
15139         (CPUID_RTM): Likewise.
15140         (HAS_RTM): Likewise.
15141         (COMMON_CPUID_INDEX_7): New enum.
15142
15143 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
15144
15145         [BZ #14981]
15146         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
15147         size is zero, record memory as freed.
15148
15149 2013-01-03  Andreas Jaeger  <aj@suse.de>
15150
15151         * po/ia.po: Add new Interlingua translation.
15152
15153 2012-01-03  Allan McRae  <allan@archlinux.org>
15154
15155         * locale/programs/localedef.c: Fix description of '--posix' flag.
15156
15157 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
15158
15159         * NEWS: Update dates in second copyright notice.
15160         * README: Update copyright dates in example.
15161         * manual/libc.texinfo: Update copyright dates.
15162         * scripts/test-installation.pl: Update copyright date in --version
15163         output.
15164
15165         * hurd/ctty-input.c: Fix copyright notice formatting.
15166         * hurd/ctty-output.c: Likewise.
15167         * hurd/dtable.c: Likewise.
15168         * hurd/hurd-raise.c: Likewise.
15169         * hurd/hurdprio.c: Likewise.
15170         * hurd/msgportdemux.c: Likewise.
15171         * misc/sys/file.h: Likewise.
15172         * misc/sys/ioctl.h: Likewise.
15173         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
15174         * sysdeps/mach/hurd/chdir.c: Likewise.
15175         * sysdeps/mach/hurd/fchdir.c: Likewise.
15176         * sysdeps/mach/hurd/rename.c: Likewise.
15177         * sysdeps/mach/hurd/rmdir.c: Likewise.
15178         * sysdeps/mach/hurd/seekdir.c: Likewise.
15179         * sysdeps/mach/hurd/setsid.c: Likewise.
15180         * sysdeps/posix/wait3.c: Likewise.
15181
15182         * All files with FSF copyright notices: Update copyright dates
15183         using scripts/update-copyrights.
15184         * intl/plural.c: Regenerated.
15185         * locale/programs/charmap-kw.h: Likewise.
15186         * locale/programs/locfile-kw.h: Likewise.
15187
15188 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15189
15190         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
15191         four values.
15192
15193         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
15194         calculation loop and add branch prediction.
15195
15196         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
15197         check access beyond bounds of m1np.
15198
15199         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15200         MPTWO.
15201         (__inv): Remove local variable MPTWO to use the global
15202         constant.
15203         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
15204         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15205         variable MPTWO.
15206         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
15207         MP3HALFS static const.
15208
15209 2013-01-01  David S. Miller  <davem@davemloft.net>
15210
15211         * po/ca.po: Update from translation team.
15212
15213 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
15214
15215         * scripts/update-copyrights: New file.
15216         * Makeconfig: Reformat copyright notice.
15217         * ctype/ctype.h: Likewise.
15218         * debug/swprintf_chk.c: Likewise.
15219         * elf/dl-cache.c: Likewise.
15220         * elf/dl-debug.c: Likewise.
15221         * elf/dl-object.c: Likewise.
15222         * grp/initgroups.c: Likewise.
15223         * hurd/Makefile: Likewise.
15224         * hurd/hurd/signal.h: Likewise.
15225         * hurd/hurdfault.c: Likewise.
15226         * hurd/hurdioctl.c: Likewise.
15227         * hurd/hurdlookup.c: Likewise.
15228         * hurd/intr-msg.c: Likewise.
15229         * iconv/gconv_open.c: Likewise.
15230         * libio/swprintf.c: Likewise.
15231         * locale/lc-ctype.c: Likewise.
15232         * locale/nl_langinfo.c: Likewise.
15233         * mach/Machrules: Likewise.
15234         * mach/Makefile: Likewise.
15235         * malloc/obstack.h: Likewise.
15236         * manual/Makefile: Likewise.
15237         * manual/tsort.awk: Likewise.
15238         * misc/bits/stab.def: Likewise.
15239         * nis/nis_print_group_entry.c: Likewise.
15240         * nis/nis_table.c: Likewise.
15241         * nis/nss_compat/compat-pwd.c: Likewise.
15242         * nis/nss_compat/compat-spwd.c: Likewise.
15243         * po/Makefile: Likewise.
15244         * posix/fnmatch.c: Likewise.
15245         * posix/regex.h: Likewise.
15246         * resolv/Makefile: Likewise.
15247         * resolv/nss_dns/dns-network.c: Likewise.
15248         * resolv/res_hconf.c: Likewise.
15249         * scripts/gen-sorted.awk: Likewise.
15250         * soft-fp/soft-fp.h: Likewise.
15251         * stdio-common/printf.h: Likewise.
15252         * stdlib/monetary.h: Likewise.
15253         * stdlib/random.c: Likewise.
15254         * stdlib/random_r.c: Likewise.
15255         * sysdeps/generic/Makefile: Likewise.
15256         * sysdeps/gnu/Makefile: Likewise.
15257         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
15258         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15259         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
15260         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15261         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15262         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15263         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15264         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15265         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15266         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15267         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15268         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15269         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
15270         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
15271         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
15272         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
15273         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15274         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15275         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15276         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15277         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
15278         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
15279         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
15280         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15281         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
15282         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
15283         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
15284         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
15285         * sysdeps/mach/hurd/errnos.awk: Likewise.
15286         * sysdeps/mach/hurd/fork.c: Likewise.
15287         * sysdeps/mach/hurd/getcwd.c: Likewise.
15288         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
15289         * sysdeps/mach/hurd/mmap.c: Likewise.
15290         * sysdeps/mach/hurd/utimes.c: Likewise.
15291         * sysdeps/mach/hurd/xmknod.c: Likewise.
15292         * sysdeps/posix/profil.c: Likewise.
15293         * sysdeps/posix/readdir_r.c: Likewise.
15294         * sysdeps/powerpc/bits/mathdef.h: Likewise.
15295         * sysdeps/powerpc/bits/setjmp.h: Likewise.
15296         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
15297         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
15298         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
15299         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
15300         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
15301         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15302         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15303         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
15304         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
15305         * sysdeps/pthread/lio_listio.c: Likewise.
15306         * sysdeps/sparc/dl-procinfo.h: Likewise.
15307         * sysdeps/unix/i386/sysdep.S: Likewise.
15308         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
15309         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
15310         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
15311         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
15312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15313         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15314         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15315         * sysdeps/unix/sysv/linux/speed.c: Likewise.
15316         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
15317         * sysdeps/wordsize-32/divdi3.c: Likewise.
15318         * time/sys/time.h: Likewise.
15319         * wcsmbs/Makefile: Likewise.
15320
15321 2013-01-01  David S. Miller  <davem@davemloft.net>
15322
15323         * po/fr.po: Update from translation team.
15324
15325         * catgets/gencat.c: Update copyright year.
15326         * csu/version.c: Likewise.
15327         * debug/catchsegv.sh: Likewise.
15328         * debug/pcprofiledump.c: Likewise.
15329         * debug/xtrace.sh: Likewise.
15330         * elf/ldconfig.c: Likewise.
15331         * elf/ldd.bash.in: Likewise.
15332         * elf/pldd.c: Likewise.
15333         * elf/sotruss.ksh: Likewise.
15334         * elf/sprof.c: Likewise.
15335         * iconv/iconv_prog.c: Likewise.
15336         * iconv/iconvconfig.c: Likewise.
15337         * locale/programs/locale.c: Likewise.
15338         * locale/programs/localedef.c: Likewise.
15339         * login/programs/pt_chown.c: Likewise.
15340         * malloc/memusage.sh: Likewise.
15341         * malloc/memusagestat.c: Likewise.
15342         * malloc/mtrace.pl: Likewise.
15343         * nscd/nscd.c: Likewise.
15344         * nss/getent.c: Likewise.
15345         * nss/makedb.c: Likewise.
15346         * posix/getconf.c: Likewise.
15347
15348 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15349
15350         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
15351         numbers.
15352
15353 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
15354
15355         * math/bits/mathcalls.h (modf): Use __nonnull.
15356
15357 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15358
15359         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
15360         (split): Use macro CN instead of the bare value.
15361         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
15362         could be used.
15363         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
15364         instead of the bare value.
15365         (power1): Likewise.
15366
15367 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15368
15369         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
15370         __ATAN_TWOM.
15371         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15372
15373         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
15374         their values.
15375         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
15376         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15377         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
15378         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
15379
15380 2012-12-28  Andreas Jaeger  <aj@suse.de>
15381
15382         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
15383         values are from Linux 3.7.
15384
15385         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
15386         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
15387
15388 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15389
15390         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
15391         TRUE case.
15392
15393         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
15394         (norm): Likewise.
15395         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
15396         variables with preprocessor constants.
15397         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
15398         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
15399         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
15400
15401 2012-12-27  Bruno Haible  <bruno@clisp.org>
15402
15403         [BZ #14317]
15404         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
15405         only if needed.
15406
15407 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15408
15409         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
15410         and use variable directly.
15411         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
15412
15413         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
15414         MPONE.
15415         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
15416         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
15417         variable MPONE.
15418         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15419         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15420         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
15421         include directive.  Remove local variable MPONE.
15422         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
15423         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
15424         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15425
15426 2012-12-25  David S. Miller  <davem@davemloft.net>
15427
15428         * version.h (RELEASE): Set to "development".
15429         (VERSION): Set to "2.17.90".
15430         * NEWS: Add 2.18 section.
15431
15432 2012-12-21  David S. Miller  <davem@davemloft.net>
15433
15434         * po/hr.po: Update from translation team.
15435
15436 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15437
15438         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
15439
15440 2012-12-19  Steve Ellcey  <sellcey@mips.com>
15441
15442         * NEWS:  Mention new memcpy for MIPS.
15443
15444 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15445
15446         * manual/contrib.texi (Contributors): Spelling correction.
15447
15448 2012-12-15  David S. Miller  <davem@davemloft.net>
15449
15450         * po/ru.po: Update from translation team.
15451
15452 2012-12-13  David S. Miller  <davem@davemloft.net>
15453
15454         * NEWS: Mention IFUNC testsuite enhancements.
15455
15456         * po/pl.po: Update from translation team.
15457         * po/bg.po: Likewise.
15458
15459         * manual/contrib.texi (Contributors): Update entries for Hongjiu
15460         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
15461
15462 2012-12-11  David S. Miller  <davem@davemloft.net>
15463
15464         * po/sv.po: Update from translation team.
15465
15466         * po/vi.po: Update from translation team.
15467
15468         * po/cs.po: Update from translation team.
15469
15470         * po/de.po: Update from translation team.
15471         * po/eo.po: Likewise.
15472         * po/nl.po: Likewise.
15473
15474 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15475
15476         [BZ #14246]
15477         * manual/argp.texi (Argp Helper Functions): Move node to follow
15478         Argp Parsing State.
15479
15480         [BZ #14872]
15481         * manual/conf.texi (Limits on File System Capacity): Mention if
15482         terminating null is included in the max size.
15483
15484 2012-12-10  Andreas Jaeger  <aj@suse.de>
15485
15486         * po/cs.po: Update from translation team.
15487
15488 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15489
15490         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
15491         void pointer and cast to uintptr_t.
15492         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
15493         path.
15494         * sysdeps/s390/s390-64/memcpy.S: Likewise.
15495         * sysdeps/s390/s390-64/memset.S: Likewise.
15496
15497 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
15498
15499         [BZ #14833]
15500         * menual/message.texi (Message Translation): Fix typos.
15501         (Helper programs for gettext): Likewise.
15502
15503 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
15504
15505         [BZ #14898]
15506         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
15507         Change to -1.
15508
15509 2012-12-07  David S. Miller  <davem@davemloft.net>
15510
15511         * po/libc.pot: Update.
15512
15513 2012-12-07  Richard Henderson  <rth@redhat.com>
15514
15515         [BZ #10114]
15516         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
15517         normal/normal case to before the switch.
15518         (_FP_DIV): Likewise.
15519
15520 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
15521             Mike Frysinger  <vapier@gentoo.org>
15522
15523         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
15524         check for __NR_fadvise64_64.
15525
15526 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
15527
15528         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
15529         0, not just to plain "0" as a statement.
15530         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
15531         with cw.
15532
15533 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
15534
15535         * NEWS: Use sourceware.org in Bugzilla URL.
15536
15537 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15538
15539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15540         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15541
15542         * stdio-common/tst-put-error.c (do_test): Add newline to the
15543         padded test to ensure flush.
15544
15545 2012-12-05  Jeff Law  <law@redhat.com>
15546
15547         * sunrpc/etc.rpc (fedfs_admin): Add entry.
15548
15549 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
15550
15551         * README: Don't refer to ports add-on as distributed separately.
15552         Mention AArch64 in list of systems supported in the ports add-on.
15553
15554         * LICENSES: Add more non-FSF copyright and license notices.
15555
15556         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
15557         ((unused)).
15558
15559         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
15560
15561         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
15562         10000 as width of padded output.
15563
15564 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
15565
15566         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
15567
15568         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
15569         variable LX with __attribute__ ((unused)).
15570         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
15571         Likewise.
15572         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
15573         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15574         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
15575         with __attribute__ ((unused)).
15576
15577 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
15578
15579         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
15580
15581 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
15582
15583         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
15584         (CFLAGS-nldbl-acos.c): New variable.
15585         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
15586         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
15587         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
15588         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
15589         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
15590         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
15591         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
15592         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
15593         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
15594         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
15595         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
15596         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
15597         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
15598         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
15599         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
15600         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
15601         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
15602         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
15603         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
15604         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
15605         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
15606         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
15607         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
15608         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
15609         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
15610         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
15611         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
15612         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
15613         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
15614         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
15615         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
15616         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
15617         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
15618         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
15619         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
15620         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
15621         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
15622         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
15623         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
15624         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
15625         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
15626         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
15627         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
15628         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
15629         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
15630         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
15631         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
15632         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
15633         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
15634         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
15635         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
15636         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
15637         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
15638         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
15639         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
15640         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
15641         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
15642         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
15643         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
15644         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
15645         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
15646         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
15647         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
15648         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
15649         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
15650         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
15651         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
15652         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
15653         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
15654         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
15655         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
15656         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
15657         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
15658         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
15659         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
15660         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
15661         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
15662         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
15663         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
15664         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
15665         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
15666         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
15667         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
15668         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
15669         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
15670         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
15671         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
15672         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
15673         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
15674         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
15675         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
15676         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
15677         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
15678         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
15679         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
15680         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
15681         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
15682
15683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15684         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
15685
15686         [BZ #14914]
15687         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
15688         whole low double instead of just low 47 bits when splitting values
15689         into two parts.
15690
15691 2012-12-03  Allan McRae  <allan@archlinux.org>
15692
15693         * manual/stdio.texi (Predefined Printf Handlers): Remove
15694         @hsep and @vsep usage.
15695
15696 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
15697
15698         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
15699         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
15700
15701 2012-12-03  Jeff Law  <law@redhat.com>
15702
15703         * time/sys/time.h (settimeofday): Do not mark TV argument
15704         as __nonnull.
15705
15706 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
15707
15708         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
15709         when currently writing and seek to current position when not.
15710         * libio/Makefile (tests): Remove bug-fclose1.
15711         * libio/bug-fclose1.c: Delete.
15712
15713 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
15714
15715         * manual/arith.texi (feenableexcept): Fix typo.
15716         (fedisableexcept): Likewise.
15717
15718 2012-11-30  Roland McGrath  <roland@hack.frob.com>
15719
15720         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
15721         second, differently-typed declaration, rather than a cast.
15722
15723 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15724
15725         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
15726         * include/rpc/svc.h: ... here.
15727
15728 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
15729
15730         [BZ #13013]
15731         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
15732         depending n and resplen2 to catch cases where answer
15733         equals answerp2.
15734
15735 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
15736
15737         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
15738         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
15739
15740 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
15741
15742         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
15743
15744 2012-11-29  Roland McGrath  <roland@hack.frob.com>
15745
15746         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
15747
15748 2012-11-28  Jeff Law  <law@redhat.com>
15749
15750         [BZ #13761]
15751         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
15752         dataset_temporary.  Track alloca usage into alloca_used.
15753         If dataset is large allocate and release it via malloc/free.
15754
15755 2012-06-04  Florian Weimer  <fweimer@redhat.com>
15756
15757         [BZ #14197]
15758         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
15759
15760 2012-11-28  David S. Miller  <davem@davemloft.net>
15761
15762         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15763
15764 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15765
15766         [BZ #14803]
15767         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
15768         of pi/2 rounded to nearest to 64 bits.
15769         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
15770         nearest to 64 bits.
15771         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
15772         bits.
15773
15774 2012-11-28  Jeff Law <law@redhat.com>
15775             Martin Osvald <mosvald@redhat.com>
15776
15777         [BZ #14889]
15778         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
15779         * sunrpc/svc.c: Include time.h.
15780         (__svc_accept_failed): New function.
15781         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
15782         any reason other than EINTR, call __svc_accept_failed.
15783         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
15784         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
15785
15786 2012-11-28  Andreas Schwab  <schwab@suse.de>
15787
15788         * scripts/abilist.awk: Also handle indirect functions in .opd
15789         section.
15790
15791 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
15792
15793         [BZ #13881]
15794         * sysdeps/x86/fpu/powl_helper.c: New file.
15795         * sysdeps/x86/fpu/Makefile: Likewise.
15796         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
15797         (p3): New object.
15798         (__ieee754_powl): Use __powl_helper for finite arguments except
15799         integer exponents below 8.
15800         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
15801         (p3): New object.
15802         (__ieee754_powl): Use __powl_helper for finite arguments except
15803         integer exponents below 8.
15804         * math/libm-test.inc (pow_test): Add more tests and enable some
15805         previously disabled tests.
15806         * sysdeps/i386/fpu/libm-test-ulps: Update.
15807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15808
15809 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15810             Carlos O'Donell  <carlos_odonell@mentor.com>
15811
15812         * nss/makedb.c (is_prime): Assert that input is odd and greater
15813         than 4.  Note that fact in a comment too.
15814         (next_prime): Add 4 to input.
15815
15816 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15817
15818         [BZ #11741]
15819         * libio/Makefile (tests): Add test case tst-fwrite-error.
15820         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
15821         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
15822         * libio/tst-fwrite-error.c: New test case.
15823
15824 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
15825
15826         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
15827         before casting to void *.
15828         * include/libc-internal.h (__pointer_type): New macro.
15829         (__integer_if_pointer_type_sub): Likewise.
15830         (__integer_if_pointer_type): Likewise.
15831         (cast_to_integer): Likewise.
15832         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
15833         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
15834         before casting to atomic64_t.
15835         (atomic_exchange_acq): Likewise.
15836         (__arch_exchange_and_add_body): Likewise.
15837         (__arch_add_body): Likewise.
15838         (atomic_add_negative): Likewise.
15839         (atomic_add_zero): Likewise.
15840
15841 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
15842
15843         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
15844         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
15845         (add_fdes): Likewise.
15846         (linear_search_fdes): Likewise.
15847         (binary_search_unencoded_fdes): Likewise.
15848
15849 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
15850
15851         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
15852
15853 2012-11-24  Adam Conrad  <adconrad@0c3.net>
15854
15855         * configure.in: Autodetect C++ header directories.
15856         * configure: Regenerated.
15857
15858 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
15859
15860         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
15861
15862 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
15863
15864         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15865
15866 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
15867
15868         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
15869         LDBL_MANT_DIG == 106]: Disable some tests.
15870         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15871         Likewise.
15872         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
15873         Likewise.
15874
15875         [BZ #14871]
15876         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
15877         input for small inputs.  Return +/- pi/2 for large inputs.
15878         * math/libm-test.inc (atan_test): Add more tests.
15879
15880         * sysdeps/generic/unwind-dw2-fde-glibc.c
15881         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
15882         __attribute__ ((unused)).
15883
15884         [BZ #14645]
15885         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
15886         x * y if x and y are nonzero and z is zero.
15887
15888         [BZ #14811]
15889         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
15890         nonzero exponents with absolute value below 0x1p-117 to +/-
15891         0x1p-117.
15892
15893         [BZ #14869]
15894         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
15895         up arguments below 2**-450, not just those below 2**-500.
15896         * math/libm-test.inc (hypot_test): Add another test.
15897
15898         [BZ #14868]
15899         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15900         Return a+b for ratio over 2**120, not 2**60.
15901         * math/libm-test.inc (hypot_test): Add another test.
15902
15903         * math/libm-test.inc (clog_test): Use
15904         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
15905         (clog10_test): Likewise.
15906
15907         [BZ #6778]
15908         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
15909
15910 2012-11-22  Andreas Schwab  <schwab@suse.de>
15911
15912         * sysdeps/i386/fpu/libm-test-ulps: Update.
15913
15914 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
15915
15916         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
15917         printf output with newline.
15918
15919 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
15920
15921         [BZ #14865]
15922         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
15923         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
15924         -z nodlopen, -z initfirst and -z execstack support.
15925         * configure: Regenerated.
15926
15927         * elf/elf.h (DF_1_NODIRECT): New macro.
15928         (DF_1_IGNMULDEF): Likewise.
15929         (DF_1_NOKSYMS): Likewise.
15930         (DF_1_NOHDR): Likewise.
15931         (DF_1_EDITED): Likewise.
15932         (DF_1_NORELOC): Likewise.
15933         (DF_1_SYMINTPOSE): Likewise.
15934         (DF_1_GLOBAUDIT): Likewise.
15935         (DF_1_SINGLETON): Likewise.
15936         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
15937         DT_1_SUPPORTED_MASK bits.
15938         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
15939
15940 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
15941
15942         * sysdeps/unix/make-syscalls.sh: Document prefixes.
15943
15944 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
15945
15946         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
15947         macro.
15948
15949         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
15950         (sendmmsg): Move declarations...
15951         * socket/sys/socket.h: ... here.
15952         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
15953         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
15954         include it from...
15955         * socket/recvmmsg.c: ... this new file.
15956         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
15957         (sendmmsg): Rename to __sendmmsg, create weak alias and make
15958         definition of __sendmmsg hidden.
15959         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15960         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
15961         Move ENOSYS stub into and include it from...
15962         * socket/sendmmsg.c: ... this new file.
15963         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
15964         (sysdep_routines): Move recvmmsg and sendmmsg...
15965         * socket/Makefile (routines): ... here.
15966         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
15967         (GLIBC_PRIVATE): Add __sendmmsg.
15968         * include/sys/socket.h (__sendmmsg): Add declarations.
15969         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
15970         sendmmsg.
15971
15972 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
15973
15974         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
15975         variable I1 with __attribute__ ((unused)).
15976         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15977
15978 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
15979
15980         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
15981         DUMMY variables with __attribute__ ((unused)).
15982
15983         * bits/byteswap.h: Include <bits/types.h>.
15984         (__bswap_64): Use __uint64_t instead of unsigned long long int.
15985
15986 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
15987
15988         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
15989         string_t.  Do not manually set errno.
15990         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
15991         length with __strnlen.  Make sure to both set errno and return it on
15992         failure.
15993
15994 2012-11-19  David S. Miller  <davem@davemloft.net>
15995
15996         With help from Joseph Myers.
15997         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
15998         very large arguments properly.
15999         * math/libm-test.inc (atan_test): New tests.
16000         (atan2_test): New tests.
16001         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16002         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16003
16004 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
16005
16006         [BZ #14856]
16007         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
16008         Define to 3.
16009
16010         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
16011         [POSIX] (EADDRNOTAVAIL): Likewise.
16012         [POSIX] (EAFNOSUPPORT): Likewise.
16013         [POSIX] (EALREADY): Likewise.
16014         [POSIX] (ECONNABORTED): Likewise.
16015         [POSIX] (ECONNREFUSED): Likewise.
16016         [POSIX] (ECONNRESET): Likewise.
16017         [POSIX] (EDESTADDRREQ): Likewise.
16018         [POSIX] (EDQUOT): Likewise.
16019         [POSIX] (EHOSTUNREACH): Likewise.
16020         [POSIX] (EIDRM): Likewise.
16021         [POSIX] (EISCONN): Likewise.
16022         [POSIX] (ELOOP): Likewise.
16023         [POSIX] (EMULTIHOP): Likewise.
16024         [POSIX] (ENETDOWN): Likewise.
16025         [POSIX] (ENETUNREACH): Likewise.
16026         [POSIX] (ENOBUFS): Likewise.
16027         [POSIX] (ENODATA): Likewise.
16028         [POSIX] (ENOLINK): Likewise.
16029         [POSIX] (ENOMSG): Likewise.
16030         [POSIX] (ENOPROTOOPT): Likewise.
16031         [POSIX] (ENOSR): Likewise.
16032         [POSIX] (ENOSTR): Likewise.
16033         [POSIX] (ENOTCONN): Likewise.
16034         [POSIX] (ENOTSOCK): Likewise.
16035         [POSIX] (EOPNOTSUPP): Likewise.
16036         [POSIX] (EOVERFLOW): Likewise.
16037         [POSIX] (EPROTO): Likewise.
16038         [POSIX] (EPROTONOSUPPORT): Likewise.
16039         [POSIX] (EPROTOTYPE): Likewise.
16040         [POSIX] (ESTALE): Likewise.
16041         [POSIX] (ETIME): Likewise.
16042         [POSIX] (ETXTBSY): Likewise.
16043         [POSIX] (EWOULDBLOCK): Likewise.
16044         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
16045         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
16046         [POSIX] (SEEK_CUR): Likewise.
16047         [POSIX] (SEEK_END): Likewise.
16048         [POSIX || UNIX98] (mode_t): Do not require.
16049         [POSIX] (off_t): Likewise.
16050         [POSIX] (pid_t): Likewise.
16051         [POSIX] (sys/stat.h): Do not allow header.
16052         [POSIX] (unistd.h): Likewise.
16053         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
16054         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
16055         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
16056         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
16057         require.
16058         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
16059         sigevent): Specify elements.
16060         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
16061         entry.
16062         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
16063         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
16064
16065         * conform/data/cpio.h-data [POSIX]: Disable whole file.
16066         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
16067         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
16068         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
16069         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
16070         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
16071         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
16072         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
16073         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
16074         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
16075         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
16076         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
16077         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
16078         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
16079         Likewise.
16080         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
16081         Likewise.
16082         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
16083         Likewise.
16084         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
16085         Likewise.
16086         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
16087         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
16088         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
16089         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
16090         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
16091         Specify lower bound on value.
16092         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
16093         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
16094         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
16095         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
16096         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
16097         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
16098         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
16099         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
16100         value.
16101         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
16102         as optional.
16103         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
16104         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
16105         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
16106         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
16107         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
16108         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
16109         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
16110         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
16111         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
16112         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
16113         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
16114         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
16115         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
16116         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
16117         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
16118         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
16119         entry.
16120         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
16121         optional.
16122         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
16123         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
16124         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
16125         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
16126         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
16127         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
16128         Likewise.
16129         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
16130         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
16131         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
16132         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
16133         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
16134         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
16135         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
16136         as optional.
16137         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
16138         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
16139         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
16140         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
16141         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
16142         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
16143         specify as optional.
16144         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
16145         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
16146         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
16147         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
16148         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
16149         [XPG3] (NL_LANGMAX): Likewise.
16150         [POSIX || XPG3] (NL_MSGMAX): Likewise.
16151         [POSIX || XPG3] (NL_NMAX): Likewise.
16152         [POSIX || XPG3] (NL_SETMAX): Likewise.
16153         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
16154         [XPG3] (NZERO): Likewise.
16155         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
16156         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
16157         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
16158         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
16159         (REG_ERANGE): Expect.
16160         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
16161         optional-constant.
16162         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
16163         Use (void) in prototype.
16164         [POSIX] (*_t): Allow.
16165         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
16166         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
16167         (WRDE_BADVAL): Expect.
16168
16169         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
16170         expect.
16171         [XPG3 || XPG4] (O_RSYNC): Likewise.
16172         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
16173         Likewise.
16174         [XPG3 || XPG4] (pthread_sigmask): Likewise.
16175         [XPG3 || XPG4] (sigqueue): Likewise.
16176         [XPG3 || XPG4] (sigtimedwait): Likewise.
16177         [XPG3 || XPG4] (sigwaitinfo): Likewise.
16178         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
16179         [XPG3 || XPG4] (vsnprintf): Likewise.
16180         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
16181         Likewise.
16182         [XPG3 || XPG4] (blksize_t): Likewise.
16183         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
16184         Likewise.
16185         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
16186         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16187         [XPG3 || XPG4] (struct itimerspec): Likewise.
16188         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
16189         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
16190         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
16191         [XPG3 || XPG4] (clockid_t): Likewise.
16192         [XPG3 || XPG4] (timer_t): Likewise.
16193         [XPG3 || XPG4] (clock_getres): Likewise.
16194         [XPG3 || XPG4] (clock_gettime): Likewise.
16195         [XPG3 || XPG4] (clock_settime): Likewise.
16196         [XPG3 || XPG4] (nanosleep): Likewise.
16197         [XPG3 || XPG4] (timer_create): Likewise.
16198         [XPG3 || XPG4] (timer_delete): Likewise.
16199         [XPG3 || XPG4] (timer_gettime): Likewise.
16200         [XPG3 || XPG4] (timer_getoverrun): Likewise.
16201         [XPG3 || XPG4] (timer_settime): Likewise.
16202         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
16203         [XPG3 || XPG4] (getlogin_r): Likewise.
16204         [XPG3 || XPG4] (pread): Likewise.
16205         [XPG3 || XPG4] (pthread_atfork): Likewise.
16206         [XPG3 || XPG4] (pwrite): Likewise.
16207
16208         [BZ #14835]
16209         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
16210         <bits/siginfo.h>.
16211
16212 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
16213
16214         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
16215         finalizing MALLSTREAM.
16216
16217         * sysdeps/mach/hurd/syncfs.c: New file.
16218
16219 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16220
16221         [BZ #14719]
16222         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
16223         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
16224         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
16225         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
16226         (_nss_dns_gethostbyname4_r): Likewise.
16227         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
16228         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
16229
16230 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
16231
16232         [BZ #13763]
16233         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
16234
16235 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
16236
16237         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
16238         * elf/cache.c (print_entry): Print ",AArch64" for
16239         FLAG_AARCH64_LIB64
16240
16241         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
16242         * elf/cache.c (print_entry): Print ",hard-float" for
16243         FLAG_ARM_LIBHF.
16244
16245 2012-11-18  David S. Miller  <davem@davemloft.net>
16246
16247         With help from Joseph Myers.
16248         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
16249         cutoff to 2**-13.
16250         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
16251         cutoff to 2**-25.
16252         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
16253         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
16254         small.
16255         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
16256         * math/libm-test.inc (y0_test): New tests.
16257         (y1_test): New tests.
16258         * sysdeps/i386/fpu/libm-test-ulps: Update.
16259         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16260         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16261
16262 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
16263
16264         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
16265         64-bit targets.
16266         * configure: Regenerated.
16267
16268 2012-11-17  David S. Miller  <davem@davemloft.net>
16269
16270         [BZ #14811]
16271         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
16272         nonzero exponents with absolute value below 0x1p-128 to +/-
16273         0x1p-128.
16274
16275 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
16276
16277         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
16278
16279         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
16280
16281         * posix/getconf-speclist.c: New file.
16282         * posix/posix-envs.def: Likewise.
16283         * posix/confstr.c (START_ENV_GROUP): New macro.
16284         (END_ENV_GROUP): Likewise.
16285         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16286         (KNOWN_PRESENT_ENV_STRING): Likewise.
16287         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16288         (UNKNOWN_ENVIRONMENT): Likewise.
16289         (confstr): Include posix-envs.def instead of handling
16290         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
16291         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
16292         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
16293         (END_ENV_GROUP): Likewise.
16294         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
16295         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
16296         (UNKNOWN_ENVIRONMENT): Likewise.
16297         (__sysconf): Include posix-envs.def instead of handling associated
16298         cases directly here.
16299         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
16300         preprocessing getconf-speclist.c rather than running getconf or
16301         generating empty file.
16302
16303 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
16304
16305         * scripts/check-local-headers.sh: Ignore 'mach' headers.
16306
16307 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
16308
16309         [BZ #14672]
16310         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
16311
16312 2012-11-16  David S. Miller  <davem@davemloft.net>
16313
16314         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
16315         smaller than LDBL_EPSILON/2.0L, just return xm1.
16316
16317 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
16318
16319         * elf/tst-array1.c (init): Set constructor priority to 1000.
16320         (fini): Set destructor priority to 1000.
16321         * elf/tst-array2dep.c: Likewise.
16322
16323 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16324
16325         [BZ #11741]
16326         * libio/fileops.c (_IO_new_file_write): Correctly return error.
16327         (_IO_new_file_xsputn): Also return EOF if none of the input
16328         data was written when overflow failed.
16329         * libio/iopadn.c (_IO_padn): Likewise.
16330         * libio/iowpadn.c (_IO_wpadn): Likewise.
16331         * stdio-common/tst-put-error.c: Add copyright notice.
16332         (do_test): Add case for printing padded string.
16333         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
16334         _IO_padn returned error.
16335         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
16336         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
16337         return EOF.
16338
16339 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16340
16341         * libio/libioP.h: Add comment note that the references to C++
16342         bits are now obsolete.
16343
16344 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16345
16346         * math/libm-test.inc (check_complex): Use asprintf.
16347
16348 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
16349
16350         * debug/pcprofiledump.c (print_version): Update copyright year.
16351         * malloc/memusagestat.c (print_version): Likewise.
16352
16353 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
16354
16355         [BZ #14831]
16356         * elf/Makefile (tests): Add tst-audit8.
16357         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
16358         ($(objpfx)tst-audit8.out): New target.
16359         (tst-audit8-ENV): New variable.
16360         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
16361         audit if l_reloc_result is NULL.
16362         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
16363         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
16364         * elf/tst-audit8.c: New file.
16365
16366 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16367
16368         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
16369         * misc/Makefile (CFLAGS-select.c): Define.
16370         * posix/Makefile (CFLAGS-pause.c): Define.
16371
16372 2012-11-13  David S. Miller  <davem@davemloft.net>
16373
16374         * crypt/Makefile: Move test targets after toplevel Rules
16375         inclusion.  Grab any necessary sysdep routines when linking.
16376         * crypt/md5.c (md5_process_block): Remove define, we will always
16377         name it __md5_process_block.
16378         (md5_finish_ctx): Update md5_process_block call.
16379         (md5_stream): Likewise.
16380         (md5_process_bytes): Likewise.
16381         (md5_process_block): Rename to __md5_process_block and move to ...
16382         * crypt/md5-block.c: ... here.
16383         * crypt/sha256.c (sha256_process_block): Move to ...
16384         * crypt/sha256-block.c: ... here.
16385         * crypt/sha512.c (sha512_process_block): Move to ...
16386         * crypt/sha512-block.c: ... here.
16387         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
16388         path.
16389         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
16390         * sysdeps/sparc/sparc64/multiarch/Makefile
16391         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
16392         crypt subdir.
16393         (localedef-aux): Add md5 crypto assembler when in locale subdir.
16394         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
16395         multiarch changes.
16396         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
16397         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
16398         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
16399         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
16400         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
16401         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
16402         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
16403         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
16404         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
16405         file.
16406         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
16407         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
16408         file.
16409         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
16410
16411 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
16412
16413         * timezone/tzselect.ksh: Update from tzcode git revision
16414         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
16415         * timezone/zdump.c: Likewise.
16416         * timezone/zic.c: Likewise.
16417         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
16418         in TZVERSION setting, not $(PKGVERSION).
16419         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
16420         REPORT_BUGS_TO settings.
16421
16422         [BZ #14838]
16423         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
16424         macro.
16425
16426 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16427
16428         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
16429         detection to immediately after _FP_ROUND().
16430         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
16431         bits are 0.
16432
16433 2012-11-11  David S. Miller  <davem@davemloft.net>
16434
16435         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
16436         inttypes.h
16437         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
16438         __close rather than their public counterparts.
16439
16440 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
16441
16442         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
16443         file.
16444         [UNIX98] (sem_timedwait): Do not expect.
16445         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
16446         [XPG4 || UNIX98] (sockatmark): Do not expect.
16447         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
16448         (clock_getcpuclockid): Do not expect.
16449         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
16450         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
16451         Do not expect.
16452         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
16453         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
16454         [UNIX98] (vwscanf): Likewise.
16455         [UNIX98] (vswscanf): Likewise.
16456
16457 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
16458
16459         * timezone/version.h: Remove file.
16460         * timezone/README: Do not refer to version.h.
16461         * timezone/Makefile ($(objpfx)zic.o): New dependency on
16462         $(objpfx)version.h.
16463         ($(objpfx)zdump.o): Likewise.
16464         ($(objpfx)version.h): New target.
16465
16466         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
16467         2012i.
16468         * timezone/README: Don't mention modification to tzselect.ksh.
16469         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
16470         work on unmodified tzselect.ksh.  Substitute version numbers in
16471         tzselect.ksh.
16472
16473         * Makefile (format-me): Remove.
16474         (INSTALL): Adjust indentation.  Use commands directly instead of
16475         using $(format-me).
16476
16477         * aclocal.m4 (ACX_PKGVERSION): New macro.
16478         (ACX_BUGURL): Likewise.
16479         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
16480         (PKGVERSION): New AC_DEFINE_UNQUOTED.
16481         (REPORT_BUGS_TO): Likewise.
16482         * configure: Regenerated.
16483         * config.h.in (PKGVERSION): New macro.
16484         (REPORT_BUGS_TO): Likewise.
16485         * config.make.in (PKGVERSION): New variable.
16486         (PKGVERSION_TEXI): Likewise.
16487         (REPORT_BUGS_TO): Likewise.
16488         (REPORT_BUGS_TEXI): Likewise.
16489         * Makefile (format-me): Use -I$(common-objpfx)manual.
16490         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
16491         ($(common-objpfx)manual/%): New target.
16492         (manual/%): Remove target.
16493         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
16494         (print_version): Use PKGVERSION.
16495         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
16496         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
16497         and REPORT_BUGS_TO.
16498         ($(objpfx)xtrace): Likewise.
16499         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
16500         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
16501         (print_version): Use PKGVERSION.
16502         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
16503         (do_version): Use PKGVERSION.
16504         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
16505         REPORT_BUGS_TO.
16506         (common-ldd-rewrite): Likewise.
16507         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
16508         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
16509         (print_version): Use PKGVERSION.
16510         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
16511         * elf/pldd.c (argp_program_bug_address): Remove variable.
16512         (more_help): New function.
16513         (argp): Use more_help.
16514         (print_version): Use PKGVERSION.
16515         * elf/sln.c (main): Use PKGVERSION.
16516         (usage): Use REPORT_BUGS_TO.
16517         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
16518         (top level): Use PKGVERSION.
16519         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
16520         (print_version): Use PKGVERSION.
16521         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
16522         (print_version): Use PKGVERSION.
16523         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
16524         (print_version): Use PKGVERSION.
16525         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
16526         (print_version): Use PKGVERSION.
16527         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
16528         (print_version): Use PKGVERSION.
16529         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
16530         (print_version): Use PKGVERSION.
16531         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
16532         and BUGURL.
16533         ($(objpfx)memusage): Likewise.
16534         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
16535         (do_version): Use PKGVERSION.
16536         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
16537         (print_version): Use PKGVERSION.
16538         * malloc/mtrace.pl ($PACKAGE): Remove variable.
16539         ($PKGVERSION): New variable.
16540         ($REPORT_BUGS_TO): Likewise.
16541         (usage): Use $REPORT_BUGS_TO.
16542         (top level): Use $PKGVERSION.
16543         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
16544         ($(objpfx)pkgvers.texi): New rule.
16545         ($(objpfx)stamp-pkgvers): Likewise.
16546         * manual/install.texi: Include pkgvers.texi.
16547         (--with-pkgversion): Document new configure option.
16548         (--with-bugurl): Likewise.
16549         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
16550         than necessarily for this particular distribution.  Use
16551         REPORT_BUGS_TO for where to report bugs.
16552         * INSTALL: Regenerated.
16553         * manual/libc.texinfo: Include pkgvers.texi.
16554         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
16555         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
16556         (print_version): Use PKGVERSION.
16557         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
16558         (print_version): Use PKGVERSION.
16559         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
16560         (print_version): Use PKGVERSION.
16561         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
16562         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
16563         macro.
16564         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
16565         (print_version): Use PKGVERSION.
16566         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
16567         (print_version): Use PKGVERSION.
16568         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
16569         and PKGVERSION.
16570
16571         * timezone/checktab.awk: Update from tzcode 2012i.
16572         * timezone/ialloc.c: Likewise.
16573         * timezone/private.h: Likewise.
16574         * timezone/scheck.c: Likewise.
16575         * timezone/tzfile.h: Likewise.
16576         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
16577         (TZVERSION): Hardcode tzcode version number.
16578         * timezone/zdump.c: Update from tzcode 2012i.
16579         * timezone/zic.c: Likewise.
16580         * timezone/version.h: New file.
16581         * timezone/README: Describe version.h.  Update upstream location.
16582
16583         [BZ #14824]
16584         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
16585         (mktemp): Enable declaration.
16586         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
16587         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
16588         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
16589         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
16590         Likewise.
16591         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
16592         Likewise.
16593         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
16594         Likewise.
16595         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
16596         Likewise.
16597         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
16598         Likewise.
16599         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
16600         Likewise.
16601
16602         [BZ #14821]
16603         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
16604         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
16605         for copies of such integer values.
16606         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16607         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16608
16609 2012-11-09  Andreas Jaeger  <aj@suse.de>
16610
16611         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
16612         definitions and declarations that are provided by
16613         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16614
16615 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16616
16617         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
16618         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
16619         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
16620         definition.
16621
16622 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16623
16624         * elf/elf.h: Update comment before AArch64 relocations.
16625
16626 2012-11-07  David S. Miller  <davem@davemloft.net>
16627
16628         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
16629         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
16630         (__start_context): Declare.
16631         (__makecontext_ret): Delete.
16632         (__makecontext): Hook up __start_context instead of
16633         __makecontext_ret.
16634         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
16635         (sysdep_routines): Add __start_context when in stdlib.
16636
16637 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16638
16639         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
16640         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
16641         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
16642         hardcoded "nm".
16643         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
16644         (READELF): New variable.  Use it instead of hardcoded "readelf".
16645
16646 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
16647
16648         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
16649         * sysdeps/x86/Makefile: Here.
16650         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
16651         * sysdeps/x86/tst-xmmymm.sh: This.
16652
16653 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
16654
16655         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
16656         expectations.
16657         [UNIX98] (pthread_barrier_t): Do not expect.
16658         [UNIX98] (pthread_barrierattr_t): Likewise.
16659         [UNIX98] (pthread_spinlock_t): Likewise.
16660         [UNIX98] (pthread_barrier_destroy): Likewise.
16661         [UNIX98] (pthread_barrier_init): Likewise.
16662         [UNIX98] (pthread_barrier_wait): Likewise.
16663         [UNIX98] (pthread_barrierattr_destroy): Likewise.
16664         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
16665         [UNIX98] (pthread_barrierattr_init): Likewise.
16666         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
16667         [UNIX98] (pthread_getcpuclockid): Likewise.
16668         [UNIX98] (pthread_mutex_timedlock): Likewise.
16669         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
16670         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
16671         [UNIX98] (pthread_sigmask): Likewise.
16672         [UNIX98] (pthread_spin_destroy): Likewise.
16673         [UNIX98] (pthread_spin_init): Likewise.
16674         [UNIX98] (pthread_spin_lock): Likewise.
16675         [UNIX98] (pthread_spin_trylock): Likewise.
16676         [UNIX98] (pthread_spin_unlock): Likewise.
16677         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
16678         Do not expect.
16679         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
16680         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
16681         [XPG3 || XPG4] (pthread_cond_t): Likewise.
16682         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
16683         [XPG3 || XPG4] (pthread_key_t): Likewise.
16684         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
16685         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
16686         [XPG3 || XPG4] (pthread_once_t): Likewise.
16687         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
16688         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
16689         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
16690         [XPG3 || XPG4] (pthread_t): Likewise.
16691
16692         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
16693         not expect.
16694         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
16695
16696         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
16697         Change function return type to int.
16698
16699         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
16700         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
16701         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
16702         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
16703         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
16704         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
16705         [!POSIX] (posix_madvise): Likewise.
16706         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
16707         && !UNIX98].
16708         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
16709         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
16710         (mode_t): Likewise.
16711         (posix_mem_offset): Likewise.
16712         (posix_typed_mem_get_info): Likewise.
16713         (posix_typed_mem_open): Likewise.
16714
16715         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
16716         Change condition to [XOPEN2K8].
16717
16718         * conform/conformtest.pl: Preprocess allow-header data with -x c
16719         instead of from stdin.
16720         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
16721         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
16722         [C99-based standards] (cerfc): Likewise.
16723         [C99-based standards] (cexp2): Likewise.
16724         [C99-based standards] (cexpm1): Likewise.
16725         [C99-based standards] (clog10): Likewise.
16726         [C99-based standards] (clog1p): Likewise.
16727         [C99-based standards] (clog2): Likewise.
16728         [C99-based standards] (clgamma): Likewise.
16729         [C99-based standards] (ctgamma): Likewise.
16730         [C99-based standards] (cerff): Likewise.
16731         [C99-based standards] (cerfcf): Likewise.
16732         [C99-based standards] (cexp2f): Likewise.
16733         [C99-based standards] (cexpm1f): Likewise.
16734         [C99-based standards] (clog10f): Likewise.
16735         [C99-based standards] (clog1pf): Likewise.
16736         [C99-based standards] (clog2f): Likewise.
16737         [C99-based standards] (clgammaf): Likewise.
16738         [C99-based standards] (ctgammaf): Likewise.
16739         [C99-based standards] (cerfl): Likewise.
16740         [C99-based standards] (cerfcl): Likewise.
16741         [C99-based standards] (cexp2l): Likewise.
16742         [C99-based standards] (cexpm1l): Likewise.
16743         [C99-based standards] (clog10l): Likewise.
16744         [C99-based standards] (clog1pl): Likewise.
16745         [C99-based standards] (clog2l): Likewise.
16746         [C99-based standards] (clgammal): Likewise.
16747         [C99-based standards] (ctgammal): Likewise.
16748         * conform/data/inttypes.h-data [C99-based standards]: Include
16749         stdint.h-data.  Remove all expectations for stdint.h contents.
16750         [C99-based standards] (PRI*): Do not allow.
16751         [C99-based standards] (SCN*): Likewise.
16752         [C99-based standards] (*_t): Likewise.
16753         [C99-based-standards] (PRId8): Expect macro.
16754         [C99-based-standards] (PRIi8): Likewise.
16755         [C99-based-standards] (PRIo8): Likewise.
16756         [C99-based-standards] (PRIu8): Likewise.
16757         [C99-based-standards] (PRIx8): Likewise.
16758         [C99-based-standards] (PRIX8): Likewise.
16759         [C99-based-standards] (SCNd8): Likewise.
16760         [C99-based-standards] (SCNi8): Likewise.
16761         [C99-based-standards] (SCNo8): Likewise.
16762         [C99-based-standards] (SCNu8): Likewise.
16763         [C99-based-standards] (SCNx8): Likewise.
16764         [C99-based-standards] (PRIdLEAST8): Likewise.
16765         [C99-based-standards] (PRIiLEAST8): Likewise.
16766         [C99-based-standards] (PRIoLEAST8): Likewise.
16767         [C99-based-standards] (PRIuLEAST8): Likewise.
16768         [C99-based-standards] (PRIxLEAST8): Likewise.
16769         [C99-based-standards] (PRIXLEAST8): Likewise.
16770         [C99-based-standards] (SCNdLEAST8): Likewise.
16771         [C99-based-standards] (SCNiLEAST8): Likewise.
16772         [C99-based-standards] (SCNoLEAST8): Likewise.
16773         [C99-based-standards] (SCNuLEAST8): Likewise.
16774         [C99-based-standards] (SCNxLEAST8): Likewise.
16775         [C99-based-standards] (PRIdFAST8): Likewise.
16776         [C99-based-standards] (PRIiFAST8): Likewise.
16777         [C99-based-standards] (PRIoFAST8): Likewise.
16778         [C99-based-standards] (PRIuFAST8): Likewise.
16779         [C99-based-standards] (PRIxFAST8): Likewise.
16780         [C99-based-standards] (PRIXFAST8): Likewise.
16781         [C99-based-standards] (SCNdFAST8): Likewise.
16782         [C99-based-standards] (SCNiFAST8): Likewise.
16783         [C99-based-standards] (SCNoFAST8): Likewise.
16784         [C99-based-standards] (SCNuFAST8): Likewise.
16785         [C99-based-standards] (SCNxFAST8): Likewise.
16786         [C99-based-standards] (PRId16): Likewise.
16787         [C99-based-standards] (PRIi16): Likewise.
16788         [C99-based-standards] (PRIo16): Likewise.
16789         [C99-based-standards] (PRIu16): Likewise.
16790         [C99-based-standards] (PRIx16): Likewise.
16791         [C99-based-standards] (PRIX16): Likewise.
16792         [C99-based-standards] (SCNd16): Likewise.
16793         [C99-based-standards] (SCNi16): Likewise.
16794         [C99-based-standards] (SCNo16): Likewise.
16795         [C99-based-standards] (SCNu16): Likewise.
16796         [C99-based-standards] (SCNx16): Likewise.
16797         [C99-based-standards] (PRIdLEAST16): Likewise.
16798         [C99-based-standards] (PRIiLEAST16): Likewise.
16799         [C99-based-standards] (PRIoLEAST16): Likewise.
16800         [C99-based-standards] (PRIuLEAST16): Likewise.
16801         [C99-based-standards] (PRIxLEAST16): Likewise.
16802         [C99-based-standards] (PRIXLEAST16): Likewise.
16803         [C99-based-standards] (SCNdLEAST16): Likewise.
16804         [C99-based-standards] (SCNiLEAST16): Likewise.
16805         [C99-based-standards] (SCNoLEAST16): Likewise.
16806         [C99-based-standards] (SCNuLEAST16): Likewise.
16807         [C99-based-standards] (SCNxLEAST16): Likewise.
16808         [C99-based-standards] (PRIdFAST16): Likewise.
16809         [C99-based-standards] (PRIiFAST16): Likewise.
16810         [C99-based-standards] (PRIoFAST16): Likewise.
16811         [C99-based-standards] (PRIuFAST16): Likewise.
16812         [C99-based-standards] (PRIxFAST16): Likewise.
16813         [C99-based-standards] (PRIXFAST16): Likewise.
16814         [C99-based-standards] (SCNdFAST16): Likewise.
16815         [C99-based-standards] (SCNiFAST16): Likewise.
16816         [C99-based-standards] (SCNoFAST16): Likewise.
16817         [C99-based-standards] (SCNuFAST16): Likewise.
16818         [C99-based-standards] (SCNxFAST16): Likewise.
16819         [C99-based-standards] (PRId32): Likewise.
16820         [C99-based-standards] (PRIi32): Likewise.
16821         [C99-based-standards] (PRIo32): Likewise.
16822         [C99-based-standards] (PRIu32): Likewise.
16823         [C99-based-standards] (PRIx32): Likewise.
16824         [C99-based-standards] (PRIX32): Likewise.
16825         [C99-based-standards] (SCNd32): Likewise.
16826         [C99-based-standards] (SCNi32): Likewise.
16827         [C99-based-standards] (SCNo32): Likewise.
16828         [C99-based-standards] (SCNu32): Likewise.
16829         [C99-based-standards] (SCNx32): Likewise.
16830         [C99-based-standards] (PRIdLEAST32): Likewise.
16831         [C99-based-standards] (PRIiLEAST32): Likewise.
16832         [C99-based-standards] (PRIoLEAST32): Likewise.
16833         [C99-based-standards] (PRIuLEAST32): Likewise.
16834         [C99-based-standards] (PRIxLEAST32): Likewise.
16835         [C99-based-standards] (PRIXLEAST32): Likewise.
16836         [C99-based-standards] (SCNdLEAST32): Likewise.
16837         [C99-based-standards] (SCNiLEAST32): Likewise.
16838         [C99-based-standards] (SCNoLEAST32): Likewise.
16839         [C99-based-standards] (SCNuLEAST32): Likewise.
16840         [C99-based-standards] (SCNxLEAST32): Likewise.
16841         [C99-based-standards] (PRIdFAST32): Likewise.
16842         [C99-based-standards] (PRIiFAST32): Likewise.
16843         [C99-based-standards] (PRIoFAST32): Likewise.
16844         [C99-based-standards] (PRIuFAST32): Likewise.
16845         [C99-based-standards] (PRIxFAST32): Likewise.
16846         [C99-based-standards] (PRIXFAST32): Likewise.
16847         [C99-based-standards] (SCNdFAST32): Likewise.
16848         [C99-based-standards] (SCNiFAST32): Likewise.
16849         [C99-based-standards] (SCNoFAST32): Likewise.
16850         [C99-based-standards] (SCNuFAST32): Likewise.
16851         [C99-based-standards] (SCNxFAST32): Likewise.
16852         [C99-based-standards] (PRId64): Likewise.
16853         [C99-based-standards] (PRIi64): Likewise.
16854         [C99-based-standards] (PRIo64): Likewise.
16855         [C99-based-standards] (PRIu64): Likewise.
16856         [C99-based-standards] (PRIx64): Likewise.
16857         [C99-based-standards] (PRIX64): Likewise.
16858         [C99-based-standards] (SCNd64): Likewise.
16859         [C99-based-standards] (SCNi64): Likewise.
16860         [C99-based-standards] (SCNo64): Likewise.
16861         [C99-based-standards] (SCNu64): Likewise.
16862         [C99-based-standards] (SCNx64): Likewise.
16863         [C99-based-standards] (PRIdLEAST64): Likewise.
16864         [C99-based-standards] (PRIiLEAST64): Likewise.
16865         [C99-based-standards] (PRIoLEAST64): Likewise.
16866         [C99-based-standards] (PRIuLEAST64): Likewise.
16867         [C99-based-standards] (PRIxLEAST64): Likewise.
16868         [C99-based-standards] (PRIXLEAST64): Likewise.
16869         [C99-based-standards] (SCNdLEAST64): Likewise.
16870         [C99-based-standards] (SCNiLEAST64): Likewise.
16871         [C99-based-standards] (SCNoLEAST64): Likewise.
16872         [C99-based-standards] (SCNuLEAST64): Likewise.
16873         [C99-based-standards] (SCNxLEAST64): Likewise.
16874         [C99-based-standards] (PRIdFAST64): Likewise.
16875         [C99-based-standards] (PRIiFAST64): Likewise.
16876         [C99-based-standards] (PRIoFAST64): Likewise.
16877         [C99-based-standards] (PRIuFAST64): Likewise.
16878         [C99-based-standards] (PRIxFAST64): Likewise.
16879         [C99-based-standards] (PRIXFAST64): Likewise.
16880         [C99-based-standards] (SCNdFAST64): Likewise.
16881         [C99-based-standards] (SCNiFAST64): Likewise.
16882         [C99-based-standards] (SCNoFAST64): Likewise.
16883         [C99-based-standards] (SCNuFAST64): Likewise.
16884         [C99-based-standards] (SCNxFAST64): Likewise.
16885         [C99-based-standards] (PRIdMAX): Likewise.
16886         [C99-based-standards] (PRIiMAX): Likewise.
16887         [C99-based-standards] (PRIoMAX): Likewise.
16888         [C99-based-standards] (PRIuMAX): Likewise.
16889         [C99-based-standards] (PRIxMAX): Likewise.
16890         [C99-based-standards] (PRIXMAX): Likewise.
16891         [C99-based-standards] (SCNdMAX): Likewise.
16892         [C99-based-standards] (SCNiMAX): Likewise.
16893         [C99-based-standards] (SCNoMAX): Likewise.
16894         [C99-based-standards] (SCNuMAX): Likewise.
16895         [C99-based-standards] (SCNxMAX): Likewise.
16896         [C99-based-standards] (PRIdPTR): Likewise.
16897         [C99-based-standards] (PRIiPTR): Likewise.
16898         [C99-based-standards] (PRIoPTR): Likewise.
16899         [C99-based-standards] (PRIuPTR): Likewise.
16900         [C99-based-standards] (PRIxPTR): Likewise.
16901         [C99-based-standards] (PRIXPTR): Likewise.
16902         [C99-based-standards] (SCNdPTR): Likewise.
16903         [C99-based-standards] (SCNiPTR): Likewise.
16904         [C99-based-standards] (SCNoPTR): Likewise.
16905         [C99-based-standards] (SCNuPTR): Likewise.
16906         [C99-based-standards] (SCNxPTR): Likewise.
16907         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
16908         allow.
16909         * conform/data/stdint.h-data: Update comments to clarify
16910         requirements.
16911         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
16912         type.
16913         [C99-based standards] (INT8_MAX): Likewise.
16914         [C99-based standards] (INT16_MIN): Likewise.
16915         [C99-based standards] (INT16_MAX): Likewise.
16916         [C99-based standards] (INT32_MIN): Likewise.
16917         [C99-based standards] (INT32_MAX): Likewise.
16918         [C99-based standards] (INT64_MIN): Likewise.
16919         [C99-based standards] (INT64_MAX): Likewise.
16920         [C99-based standards] (UINT8_MAX): Likewise.
16921         [C99-based standards] (UINT16_MAX): Likewise.
16922         [C99-based standards] (UINT32_MAX): Likewise.
16923         [C99-based standards] (UINT64_MAX): Likewise.
16924         [C99-based standards] (INT_LEAST8_MIN): Likewise.
16925         [C99-based standards] (INT_LEAST8_MAX): Likewise.
16926         [C99-based standards] (INT_LEAST16_MIN): Likewise.
16927         [C99-based standards] (INT_LEAST16_MAX): Likewise.
16928         [C99-based standards] (INT_LEAST32_MIN): Likewise.
16929         [C99-based standards] (INT_LEAST32_MAX): Likewise.
16930         [C99-based standards] (INT_LEAST64_MIN): Likewise.
16931         [C99-based standards] (INT_LEAST64_MAX): Likewise.
16932         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
16933         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
16934         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
16935         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
16936         [C99-based standards] (INT_FAST8_MIN): Likewise.
16937         [C99-based standards] (INT_FAST8_MAX): Likewise.
16938         [C99-based standards] (INT_FAST16_MIN): Likewise.
16939         [C99-based standards] (INT_FAST16_MAX): Likewise.
16940         [C99-based standards] (INT_FAST32_MIN): Likewise.
16941         [C99-based standards] (INT_FAST32_MAX): Likewise.
16942         [C99-based standards] (INT_FAST64_MIN): Likewise.
16943         [C99-based standards] (INT_FAST64_MAX): Likewise.
16944         [C99-based standards] (UINT_FAST8_MAX): Likewise.
16945         [C99-based standards] (UINT_FAST16_MAX): Likewise.
16946         [C99-based standards] (UINT_FAST32_MAX): Likewise.
16947         [C99-based standards] (UINT_FAST64_MAX): Likewise.
16948         [C99-based standards] (INTPTR_MIN): Likewise.
16949         [C99-based standards] (INTPTR_MAX): Likewise.
16950         [C99-based standards] (UINTPTR_MAX): Likewise.
16951         [C99-based standards] (INTMAX_MIN): Likewise.
16952         [C99-based standards] (INTMAX_MAX): Likewise.
16953         [C99-based standards] (UINTMAX_MAX): Likewise.
16954         [C99-based standards] (PTRDIFF_MIN): Likewise.
16955         [C99-based standards] (PTRDIFF_MAX): Likewise.
16956         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
16957         [C99-based standards] (SIZE_MAX): Likewise.
16958         [C99-based standards] (WCHAR_MAX): Likewise.
16959         [C99-based standards] (WINT_MAX): Likewise.
16960         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
16961         constraint on value.
16962         [C99-based standards] (WCHAR_MIN): Likewise.
16963         [C99-based standards] (WINT_MIN): Likewise.
16964         [C99-based standards] (*_t): Allow.
16965         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
16966         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
16967         Include math.h-data and complex.h-data.  Remove all expectations
16968         of math.h and complex.h contents.
16969         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
16970         at end of line.
16971         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
16972         (struct tm): Expect tag.
16973         [C99-based-standards] (wcstof): Expect function.
16974         [C99-based-standards] (wcstold): Likewise.
16975         [C99-based-standards] (wcstoll): Likewise.
16976         [C99-based-standards] (wcstoull): Likewise.
16977         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
16978         macro-int-constant.  Specify type.
16979         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
16980         constraint on value.
16981         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16982         Specify type.
16983         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
16984         Specify value.
16985         [ISO C standards]: Do not allow headers.
16986         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
16987         wcs[abcdefghijklmnopqrstuvwxyz]*.
16988         [ISO C standards] (*_t): Do not allow.
16989         * conform/data/wctype.h-data [C99-based standards] (iswblank):
16990         Expect function.
16991         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
16992         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
16993         Specify type.
16994         [ISO C standards]: Do not allow headers.
16995         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
16996         is[abcdefghijklmnopqrstuvwxyz]*.
16997         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
16998         to[abcdefghijklmnopqrstuvwxyz]*.
16999         [ISO C standards] (*_t): Do not allow.
17000         * conform/data/stdalign.h-data: New file.
17001         * conform/data/stdbool.h-data: Likewise.
17002         * conform/data/stdnoreturn.h-data: Likewise.
17003
17004 2012-11-07  Roland McGrath  <roland@hack.frob.com>
17005
17006         [BZ #14815]
17007         * manual/filesys.texi (Directory Entries): Typo fix.
17008         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
17009
17010 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17011
17012         * elf/elf.h (EM_AARCH64): New macro.
17013         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
17014         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
17015         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
17016         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
17017         (R_AARCH64_TLSDESC): Likewise.
17018         (NT_ARM_TLS): Likewise.
17019         (NT_ARM_HW_BREAK): Likewise.
17020         (NT_ARM_HW_WATCH): Likewise.
17021
17022 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17023
17024         [BZ #14811]
17025         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
17026         (__ieee754_powl): Saturate nonzero exponents with absolute value
17027         below 0x1p-79 to +/- 0x1p-79.
17028         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
17029         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
17030         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
17031         nonzero exponents with absolute value below 0x1p-32 to +/-
17032         0x1p-32.
17033         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
17034         (__ieee754_powl): Saturate nonzero exponents with absolute value
17035         below 0x1p-79 to +/- 0x1p-79.
17036         * math/libm-test.inc (pow_test): Add more tests.
17037
17038 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17039
17040         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
17041         _dl_s390_cap_flags with kernel. Increase string length.
17042         (_dl_s390_platforms): Add z196 and zEC12.
17043
17044 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
17045
17046         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
17047         Change XOPEN21K to XOPEN2K.
17048
17049 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
17050
17051         * string/memmove.c: Use memcpy when possible.
17052
17053 2012-11-06  Andreas Jaeger  <aj@suse.de>
17054
17055         * po/eo.po: Update from translation team.
17056
17057 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
17058
17059         [BZ #14793]
17060         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
17061         exponent and small x and y exponents, scale x or y up.  Increase
17062         by 2 the exponent used in scaling up.
17063         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17064         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17065         * math/libm-test.inc (fma_test): Add more tests.
17066         (fma_test_towardzero): Likewise.
17067         (fma_test_downward): Likewise.
17068         (fma_test_upward): Likewise.
17069
17070 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
17071
17072         [BZ #14805]
17073         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
17074         fenv_t *.
17075
17076         [BZ #14801]
17077         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
17078         namespace for names of struct fields.
17079         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
17080         fenv_t fields.
17081         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
17082         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
17083
17084 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17085
17086         [BZ #3665]
17087         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
17088
17089 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
17090
17091         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
17092         PTR_DEMANGLE.
17093
17094         [BZ #5246]
17095         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
17096         PTR_DEMANGLE.
17097
17098 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
17099
17100         [BZ #14797]
17101         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
17102         definitely overflow as x * y not x * y + z.
17103         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17104         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17105         * math/libm-test.inc (fma_test): Add more tests.
17106         (fma_test_towardzero): Likewise.
17107         (fma_test_downward): Likewise.
17108         (fma_test_upward): Likewise.
17109
17110 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
17111
17112         [BZ #157]
17113
17114         * include/stub-tag.h: Remove file.
17115         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
17116         '#include' of it.
17117         * manual/maint.texi (Porting): Don't reference it.
17118         * Makerules ($(objpfx)stubs): Likewise.
17119         * dirent/closedir.c: Don't include <stub-tag.h>.
17120         * dirent/dirfd.c: Likewise.
17121         * dirent/fdopendir.c: Likewise.
17122         * dirent/getdents.c: Likewise.
17123         * dirent/getdents64.c: Likewise.
17124         * dirent/opendir.c: Likewise.
17125         * dirent/readdir.c: Likewise.
17126         * dirent/readdir64.c: Likewise.
17127         * dirent/readdir64_r.c: Likewise.
17128         * dirent/readdir_r.c: Likewise.
17129         * dirent/rewinddir.c: Likewise.
17130         * dirent/seekdir.c: Likewise.
17131         * dirent/telldir.c: Likewise.
17132         * gmon/profil.c: Likewise.
17133         * grp/setgroups.c: Likewise.
17134         * inet/if_index.c: Likewise.
17135         * io/access.c: Likewise.
17136         * io/chdir.c: Likewise.
17137         * io/chmod.c: Likewise.
17138         * io/chown.c: Likewise.
17139         * io/close.c: Likewise.
17140         * io/dup.c: Likewise.
17141         * io/dup2.c: Likewise.
17142         * io/dup3.c: Likewise.
17143         * io/euidaccess.c: Likewise.
17144         * io/faccessat.c: Likewise.
17145         * io/fchdir.c: Likewise.
17146         * io/fchmod.c: Likewise.
17147         * io/fchmodat.c: Likewise.
17148         * io/fchown.c: Likewise.
17149         * io/fchownat.c: Likewise.
17150         * io/fcntl.c: Likewise.
17151         * io/flock.c: Likewise.
17152         * io/fstatfs.c: Likewise.
17153         * io/fstatfs64.c: Likewise.
17154         * io/fstatvfs.c: Likewise.
17155         * io/fstatvfs64.c: Likewise.
17156         * io/futimens.c: Likewise.
17157         * io/fxstat.c: Likewise.
17158         * io/fxstat64.c: Likewise.
17159         * io/fxstatat.c: Likewise.
17160         * io/fxstatat64.c: Likewise.
17161         * io/getcwd.c: Likewise.
17162         * io/isatty.c: Likewise.
17163         * io/lchmod.c: Likewise.
17164         * io/lchown.c: Likewise.
17165         * io/link.c: Likewise.
17166         * io/linkat.c: Likewise.
17167         * io/lseek.c: Likewise.
17168         * io/lseek64.c: Likewise.
17169         * io/lxstat64.c: Likewise.
17170         * io/mkdir.c: Likewise.
17171         * io/mkdirat.c: Likewise.
17172         * io/mkfifo.c: Likewise.
17173         * io/mkfifoat.c: Likewise.
17174         * io/open.c: Likewise.
17175         * io/open64.c: Likewise.
17176         * io/openat.c: Likewise.
17177         * io/openat64.c: Likewise.
17178         * io/pipe.c: Likewise.
17179         * io/pipe2.c: Likewise.
17180         * io/poll.c: Likewise.
17181         * io/posix_fadvise.c: Likewise.
17182         * io/posix_fadvise64.c: Likewise.
17183         * io/posix_fallocate.c: Likewise.
17184         * io/posix_fallocate64.c: Likewise.
17185         * io/read.c: Likewise.
17186         * io/readlink.c: Likewise.
17187         * io/readlinkat.c: Likewise.
17188         * io/rmdir.c: Likewise.
17189         * io/sendfile.c: Likewise.
17190         * io/sendfile64.c: Likewise.
17191         * io/statfs.c: Likewise.
17192         * io/statfs64.c: Likewise.
17193         * io/statvfs.c: Likewise.
17194         * io/statvfs64.c: Likewise.
17195         * io/symlink.c: Likewise.
17196         * io/symlinkat.c: Likewise.
17197         * io/ttyname.c: Likewise.
17198         * io/ttyname_r.c: Likewise.
17199         * io/umask.c: Likewise.
17200         * io/unlink.c: Likewise.
17201         * io/unlinkat.c: Likewise.
17202         * io/utime.c: Likewise.
17203         * io/utimensat.c: Likewise.
17204         * io/write.c: Likewise.
17205         * io/xmknod.c: Likewise.
17206         * io/xmknodat.c: Likewise.
17207         * io/xstat.c: Likewise.
17208         * io/xstat64.c: Likewise.
17209         * login/getpt.c: Likewise.
17210         * login/grantpt.c: Likewise.
17211         * login/unlockpt.c: Likewise.
17212         * math/e_acoshl.c: Likewise.
17213         * math/e_acosl.c: Likewise.
17214         * math/e_asinl.c: Likewise.
17215         * math/e_atan2l.c: Likewise.
17216         * math/e_atanhl.c: Likewise.
17217         * math/e_coshl.c: Likewise.
17218         * math/e_expl.c: Likewise.
17219         * math/e_fmodl.c: Likewise.
17220         * math/e_gammal_r.c: Likewise.
17221         * math/e_hypotl.c: Likewise.
17222         * math/e_j0l.c: Likewise.
17223         * math/e_j1l.c: Likewise.
17224         * math/e_jnl.c: Likewise.
17225         * math/e_lgammal_r.c: Likewise.
17226         * math/e_log10l.c: Likewise.
17227         * math/e_log2l.c: Likewise.
17228         * math/e_logl.c: Likewise.
17229         * math/e_powl.c: Likewise.
17230         * math/e_rem_pio2l.c: Likewise.
17231         * math/e_sinhl.c: Likewise.
17232         * math/e_sqrtl.c: Likewise.
17233         * math/fclrexcpt.c: Likewise.
17234         * math/fedisblxcpt.c: Likewise.
17235         * math/feenablxcpt.c: Likewise.
17236         * math/fegetenv.c: Likewise.
17237         * math/fegetexcept.c: Likewise.
17238         * math/fegetround.c: Likewise.
17239         * math/feholdexcpt.c: Likewise.
17240         * math/fesetenv.c: Likewise.
17241         * math/fesetround.c: Likewise.
17242         * math/feupdateenv.c: Likewise.
17243         * math/fgetexcptflg.c: Likewise.
17244         * math/fraiseexcpt.c: Likewise.
17245         * math/fsetexcptflg.c: Likewise.
17246         * math/ftestexcept.c: Likewise.
17247         * math/k_cosl.c: Likewise.
17248         * math/k_rem_pio2l.c: Likewise.
17249         * math/k_sinl.c: Likewise.
17250         * math/k_tanl.c: Likewise.
17251         * math/s_asinhl.c: Likewise.
17252         * math/s_atanl.c: Likewise.
17253         * math/s_cbrtl.c: Likewise.
17254         * math/s_erfl.c: Likewise.
17255         * math/s_expm1l.c: Likewise.
17256         * math/s_log1pl.c: Likewise.
17257         * math/s_tanhl.c: Likewise.
17258         * misc/acct.c: Likewise.
17259         * misc/brk.c: Likewise.
17260         * misc/chflags.c: Likewise.
17261         * misc/chroot.c: Likewise.
17262         * misc/fchflags.c: Likewise.
17263         * misc/fgetxattr.c: Likewise.
17264         * misc/flistxattr.c: Likewise.
17265         * misc/fremovexattr.c: Likewise.
17266         * misc/fsetxattr.c: Likewise.
17267         * misc/fsync.c: Likewise.
17268         * misc/ftruncate.c: Likewise.
17269         * misc/futimes.c: Likewise.
17270         * misc/futimesat.c: Likewise.
17271         * misc/getdomain.c: Likewise.
17272         * misc/getdtsz.c: Likewise.
17273         * misc/gethostid.c: Likewise.
17274         * misc/gethostname.c: Likewise.
17275         * misc/getloadavg.c: Likewise.
17276         * misc/getpagesize.c: Likewise.
17277         * misc/getsysstats.c: Likewise.
17278         * misc/getxattr.c: Likewise.
17279         * misc/gtty.c: Likewise.
17280         * misc/ioctl.c: Likewise.
17281         * misc/lgetxattr.c: Likewise.
17282         * misc/listxattr.c: Likewise.
17283         * misc/llistxattr.c: Likewise.
17284         * misc/lremovexattr.c: Likewise.
17285         * misc/lsetxattr.c: Likewise.
17286         * misc/lutimes.c: Likewise.
17287         * misc/madvise.c: Likewise.
17288         * misc/mincore.c: Likewise.
17289         * misc/mlock.c: Likewise.
17290         * misc/mlockall.c: Likewise.
17291         * misc/mmap.c: Likewise.
17292         * misc/mprotect.c: Likewise.
17293         * misc/msync.c: Likewise.
17294         * misc/munlock.c: Likewise.
17295         * misc/munlockall.c: Likewise.
17296         * misc/munmap.c: Likewise.
17297         * misc/preadv.c: Likewise.
17298         * misc/preadv64.c: Likewise.
17299         * misc/ptrace.c: Likewise.
17300         * misc/pwritev.c: Likewise.
17301         * misc/pwritev64.c: Likewise.
17302         * misc/readv.c: Likewise.
17303         * misc/reboot.c: Likewise.
17304         * misc/remap_file_pages.c: Likewise.
17305         * misc/removexattr.c: Likewise.
17306         * misc/revoke.c: Likewise.
17307         * misc/select.c: Likewise.
17308         * misc/setdomain.c: Likewise.
17309         * misc/setegid.c: Likewise.
17310         * misc/seteuid.c: Likewise.
17311         * misc/sethostid.c: Likewise.
17312         * misc/sethostname.c: Likewise.
17313         * misc/setregid.c: Likewise.
17314         * misc/setreuid.c: Likewise.
17315         * misc/setxattr.c: Likewise.
17316         * misc/sstk.c: Likewise.
17317         * misc/stty.c: Likewise.
17318         * misc/swapoff.c: Likewise.
17319         * misc/swapon.c: Likewise.
17320         * misc/sync.c: Likewise.
17321         * misc/syncfs.c: Likewise.
17322         * misc/syscall.c: Likewise.
17323         * misc/truncate.c: Likewise.
17324         * misc/ualarm.c: Likewise.
17325         * misc/usleep.c: Likewise.
17326         * misc/ustat.c: Likewise.
17327         * misc/utimes.c: Likewise.
17328         * misc/vhangup.c: Likewise.
17329         * misc/writev.c: Likewise.
17330         * posix/_exit.c: Likewise.
17331         * posix/alarm.c: Likewise.
17332         * posix/execve.c: Likewise.
17333         * posix/fexecve.c: Likewise.
17334         * posix/fork.c: Likewise.
17335         * posix/fpathconf.c: Likewise.
17336         * posix/getaddrinfo.c: Likewise.
17337         * posix/getegid.c: Likewise.
17338         * posix/geteuid.c: Likewise.
17339         * posix/getgid.c: Likewise.
17340         * posix/getgroups.c: Likewise.
17341         * posix/getlogin.c: Likewise.
17342         * posix/getlogin_r.c: Likewise.
17343         * posix/getpgid.c: Likewise.
17344         * posix/getpid.c: Likewise.
17345         * posix/getppid.c: Likewise.
17346         * posix/getresgid.c: Likewise.
17347         * posix/getresuid.c: Likewise.
17348         * posix/getsid.c: Likewise.
17349         * posix/getuid.c: Likewise.
17350         * posix/glob64.c: Likewise.
17351         * posix/nanosleep.c: Likewise.
17352         * posix/pathconf.c: Likewise.
17353         * posix/pause.c: Likewise.
17354         * posix/posix_madvise.c: Likewise.
17355         * posix/pread.c: Likewise.
17356         * posix/pread64.c: Likewise.
17357         * posix/pwrite.c: Likewise.
17358         * posix/pwrite64.c: Likewise.
17359         * posix/sched_getaffinity.c: Likewise.
17360         * posix/sched_getp.c: Likewise.
17361         * posix/sched_gets.c: Likewise.
17362         * posix/sched_primax.c: Likewise.
17363         * posix/sched_primin.c: Likewise.
17364         * posix/sched_rr_gi.c: Likewise.
17365         * posix/sched_setaffinity.c: Likewise.
17366         * posix/sched_setp.c: Likewise.
17367         * posix/sched_sets.c: Likewise.
17368         * posix/sched_yield.c: Likewise.
17369         * posix/setgid.c: Likewise.
17370         * posix/setlogin.c: Likewise.
17371         * posix/setpgid.c: Likewise.
17372         * posix/setresgid.c: Likewise.
17373         * posix/setresuid.c: Likewise.
17374         * posix/setsid.c: Likewise.
17375         * posix/setuid.c: Likewise.
17376         * posix/sleep.c: Likewise.
17377         * posix/spawni.c: Likewise.
17378         * posix/sysconf.c: Likewise.
17379         * posix/times.c: Likewise.
17380         * posix/wait.c: Likewise.
17381         * posix/wait3.c: Likewise.
17382         * posix/wait4.c: Likewise.
17383         * posix/waitpid.c: Likewise.
17384         * resolv/gai_sigqueue.c: Likewise.
17385         * resource/getpriority.c: Likewise.
17386         * resource/getrlimit.c: Likewise.
17387         * resource/getrusage.c: Likewise.
17388         * resource/nice.c: Likewise.
17389         * resource/setpriority.c: Likewise.
17390         * resource/setrlimit.c: Likewise.
17391         * resource/ulimit.c: Likewise.
17392         * rt/aio_cancel.c: Likewise.
17393         * rt/aio_fsync.c: Likewise.
17394         * rt/aio_read.c: Likewise.
17395         * rt/aio_sigqueue.c: Likewise.
17396         * rt/aio_suspend.c: Likewise.
17397         * rt/aio_write.c: Likewise.
17398         * rt/clock_getres.c: Likewise.
17399         * rt/clock_gettime.c: Likewise.
17400         * rt/clock_nanosleep.c: Likewise.
17401         * rt/clock_settime.c: Likewise.
17402         * rt/lio_listio.c: Likewise.
17403         * rt/mq_close.c: Likewise.
17404         * rt/mq_getattr.c: Likewise.
17405         * rt/mq_notify.c: Likewise.
17406         * rt/mq_open.c: Likewise.
17407         * rt/mq_receive.c: Likewise.
17408         * rt/mq_send.c: Likewise.
17409         * rt/mq_setattr.c: Likewise.
17410         * rt/mq_timedreceive.c: Likewise.
17411         * rt/mq_timedsend.c: Likewise.
17412         * rt/mq_unlink.c: Likewise.
17413         * rt/shm_open.c: Likewise.
17414         * rt/shm_unlink.c: Likewise.
17415         * rt/timer_create.c: Likewise.
17416         * rt/timer_delete.c: Likewise.
17417         * rt/timer_getoverr.c: Likewise.
17418         * rt/timer_gettime.c: Likewise.
17419         * rt/timer_settime.c: Likewise.
17420         * setjmp/__longjmp.c: Likewise.
17421         * setjmp/setjmp.c: Likewise.
17422         * signal/kill.c: Likewise.
17423         * signal/killpg.c: Likewise.
17424         * signal/raise.c: Likewise.
17425         * signal/sigaction.c: Likewise.
17426         * signal/sigaltstack.c: Likewise.
17427         * signal/sigblock.c: Likewise.
17428         * signal/sigignore.c: Likewise.
17429         * signal/sigintr.c: Likewise.
17430         * signal/signal.c: Likewise.
17431         * signal/sigpause.c: Likewise.
17432         * signal/sigpending.c: Likewise.
17433         * signal/sigqueue.c: Likewise.
17434         * signal/sigreturn.c: Likewise.
17435         * signal/sigset.c: Likewise.
17436         * signal/sigsetmask.c: Likewise.
17437         * signal/sigstack.c: Likewise.
17438         * signal/sigsuspend.c: Likewise.
17439         * signal/sigtimedwait.c: Likewise.
17440         * signal/sigvec.c: Likewise.
17441         * signal/sigwait.c: Likewise.
17442         * signal/sigwaitinfo.c: Likewise.
17443         * signal/sysv_signal.c: Likewise.
17444         * socket/accept.c: Likewise.
17445         * socket/accept4.c: Likewise.
17446         * socket/bind.c: Likewise.
17447         * socket/connect.c: Likewise.
17448         * socket/getpeername.c: Likewise.
17449         * socket/getsockname.c: Likewise.
17450         * socket/getsockopt.c: Likewise.
17451         * socket/isfdtype.c: Likewise.
17452         * socket/listen.c: Likewise.
17453         * socket/recv.c: Likewise.
17454         * socket/recvfrom.c: Likewise.
17455         * socket/recvmsg.c: Likewise.
17456         * socket/send.c: Likewise.
17457         * socket/sendmsg.c: Likewise.
17458         * socket/sendto.c: Likewise.
17459         * socket/setsockopt.c: Likewise.
17460         * socket/shutdown.c: Likewise.
17461         * socket/sockatmark.c: Likewise.
17462         * socket/socket.c: Likewise.
17463         * socket/socketpair.c: Likewise.
17464         * stdio-common/ctermid.c: Likewise.
17465         * stdio-common/cuserid.c: Likewise.
17466         * stdio-common/remove.c: Likewise.
17467         * stdio-common/rename.c: Likewise.
17468         * stdio-common/renameat.c: Likewise.
17469         * stdio-common/tempname.c: Likewise.
17470         * stdlib/getcontext.c: Likewise.
17471         * stdlib/makecontext.c: Likewise.
17472         * stdlib/setcontext.c: Likewise.
17473         * stdlib/swapcontext.c: Likewise.
17474         * stdlib/system.c: Likewise.
17475         * streams/fattach.c: Likewise.
17476         * streams/fdetach.c: Likewise.
17477         * streams/getmsg.c: Likewise.
17478         * streams/getpmsg.c: Likewise.
17479         * streams/putmsg.c: Likewise.
17480         * streams/putpmsg.c: Likewise.
17481         * sysdeps/unix/bsd/getpt.c: Likewise.
17482         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
17483         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
17484         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17486         Likewise.
17487         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
17488         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17489         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17490         * sysvipc/msgctl.c: Likewise.
17491         * sysvipc/msgget.c: Likewise.
17492         * sysvipc/msgrcv.c: Likewise.
17493         * sysvipc/msgsnd.c: Likewise.
17494         * sysvipc/semctl.c: Likewise.
17495         * sysvipc/semget.c: Likewise.
17496         * sysvipc/semop.c: Likewise.
17497         * sysvipc/semtimedop.c: Likewise.
17498         * sysvipc/shmat.c: Likewise.
17499         * sysvipc/shmctl.c: Likewise.
17500         * sysvipc/shmdt.c: Likewise.
17501         * sysvipc/shmget.c: Likewise.
17502         * termios/tcdrain.c: Likewise.
17503         * termios/tcflow.c: Likewise.
17504         * termios/tcflush.c: Likewise.
17505         * termios/tcgetattr.c: Likewise.
17506         * termios/tcgetpgrp.c: Likewise.
17507         * termios/tcsendbrk.c: Likewise.
17508         * termios/tcsetattr.c: Likewise.
17509         * termios/tcsetpgrp.c: Likewise.
17510         * time/adjtime.c: Likewise.
17511         * time/clock.c: Likewise.
17512         * time/getitimer.c: Likewise.
17513         * time/gettimeofday.c: Likewise.
17514         * time/setitimer.c: Likewise.
17515         * time/settimeofday.c: Likewise.
17516         * time/stime.c: Likewise.
17517         * time/time.c: Likewise.
17518
17519 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
17520
17521         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
17522         /usr/old/bin.
17523
17524         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
17525         instead of spaces.
17526         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
17527
17528 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
17529
17530         [BZ #14796]
17531         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
17532         FE_TONEAREST before applying Dekker multiplication and Knuth
17533         addition.  Clear inexact exceptions and check for exact zero
17534         results afterwards.
17535         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17536         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17537         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17538         * math/libm-test.inc (fma_test): Add more tests.
17539         (fma_test_towardzero): Likewise.
17540         (fma_test_downward): Likewise.
17541         (fma_test_upward): Likewise.
17542         * sysdeps/generic/math_private.h (default_libc_fesetround): New
17543         function.
17544         (libc_fesetround): New macro.
17545         (libc_fesetroundf): Likewise.
17546         (libc_fesetroundl): Likewise.
17547         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
17548         function.
17549         (libc_fesetround_387): Likewise.
17550         (libc_fesetroundf): New macro.
17551         (libc_fesetround): Likewise.
17552         (libc_fesetroundl): Likewise.
17553         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
17554         function.
17555         (libc_fesetroundf): New macro.
17556         (libc_fesetround): Likewise.
17557         (libc_fesetroundl): Likewise.
17558         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
17559         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
17560         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
17561         libm_hidden_ver.
17562         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
17563         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
17564         libm_hidden_def.
17565         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
17566         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
17567         libm_hidden_ver.
17568         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
17569         libm_hidden_def.
17570
17571         [BZ #3439]
17572         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
17573         integer constant usable in #if and use that to give value to enum
17574         constant.
17575         (FE_DIVBYZERO): Likewise.
17576         (FE_UNDERFLOW): Likewise.
17577         (FE_OVERFLOW): Likewise.
17578         (FE_INVALID): Likewise.
17579         (FE_INVALID_SNAN): Likewise.
17580         (FE_INVALID_ISI): Likewise.
17581         (FE_INVALID_IDI): Likewise.
17582         (FE_INVALID_ZDZ): Likewise.
17583         (FE_INVALID_IMZ): Likewise.
17584         (FE_INVALID_COMPARE): Likewise.
17585         (FE_INVALID_SOFTWARE): Likewise.
17586         (FE_INVALID_SQRT): Likewise.
17587         (FE_INVALID_INTEGER_CONVERSION): Likewise.
17588         (FE_TONEAREST): Likewise.
17589         (FE_TOWARDZERO): Likewise.
17590         (FE_UPWARD): Likewise.
17591         (FE_DOWNWARD): Likewise.
17592         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
17593         (FE_DIVBYZERO): Likewise.
17594         (FE_OVERFLOW): Likewise.
17595         (FE_UNDERFLOW): Likewise.
17596         (FE_INEXACT): Likewise.
17597         (FE_TONEAREST): Likewise.
17598         (FE_DOWNWARD): Likewise.
17599         (FE_UPWARD): Likewise.
17600         (FE_TOWARDZERO): Likewise.
17601         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
17602         (FE_UNDERFLOW): Likewise.
17603         (FE_OVERFLOW): Likewise.
17604         (FE_DIVBYZERO): Likewise.
17605         (FE_INVALID): Likewise.
17606         (FE_TONEAREST): Likewise.
17607         (FE_TOWARDZERO): Likewise.
17608         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
17609         (FE_OVERFLOW): Likewise.
17610         (FE_UNDERFLOW): Likewise.
17611         (FE_DIVBYZERO): Likewise.
17612         (FE_INEXACT): Likewise.
17613         (FE_TONEAREST): Likewise.
17614         (FE_TOWARDZERO): Likewise.
17615         (FE_UPWARD): Likewise.
17616         (FE_DOWNWARD): Likewise.
17617         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
17618         (FE_DIVBYZERO): Likewise.
17619         (FE_OVERFLOW): Likewise.
17620         (FE_UNDERFLOW): Likewise.
17621         (FE_INEXACT): Likewise.
17622         (FE_TONEAREST): Likewise.
17623         (FE_DOWNWARD): Likewise.
17624         (FE_UPWARD): Likewise.
17625         (FE_TOWARDZERO): Likewise.
17626
17627 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
17628
17629         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
17630
17631 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
17632
17633         * scripts/cross-test-ssh.sh (command): Use newlines to separate
17634         commands.  Quote $PWD.
17635         (blacklist_exports): Don't use remove_newlines.  Replace "declare
17636         -x" by "export".
17637         (remove_newlines): Remove.
17638
17639 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
17640
17641         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
17642         * stdlib/stdlib.h (atof): Moved to ...
17643         * include/bits/stdlib-float.h: Here.  New file.
17644         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
17645         * stdlib/bits/stdlib-float.h: New file.
17646         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
17647         -mno-sse -mno-mmx.
17648         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
17649         <xmmintrin.h>.
17650
17651 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17652
17653         * conform/conformtest.pl (@headers): Add fenv.h.
17654         * conform/data/fenv.h-data: New file.
17655         * include/fenv.h [_ISOMAC]: Disable all contents of file except
17656         include of <math/fenv.h>.
17657
17658         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
17659         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
17660         && !UNIX98].  Enables tests for XOPEN2K8.
17661         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
17662         POSIX2008]: Likewise.
17663
17664         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
17665         (struct rusage): Do not expect type or its members.
17666
17667         [BZ #3439]
17668         * math/math.h (FP_NAN): Define macro to integer constant usable in
17669         #if and use that to give value to enum constant.
17670         (FP_INFINITE): Likewise.
17671         (FP_ZERO): Likewise.
17672         (FP_SUBNORMAL): Likewise.
17673         (FP_NORMAL): Likewise.
17674
17675 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
17676
17677         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
17678         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
17679         arguments.
17680
17681 2012-11-02  Roland McGrath  <roland@hack.frob.com>
17682
17683         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
17684         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
17685         autoconf-time if not.
17686         * configure.in: Remove AC_PREREQ.
17687
17688 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17689
17690         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
17691         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
17692         of the internal implementation.
17693
17694 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
17695
17696         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
17697         except include of <misc/sys/syslog.h>.
17698
17699 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17700
17701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
17702         function returns with a NULL context exit with zero.
17703
17704 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17705
17706         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
17707
17708 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
17709
17710         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
17711         (run_program_cmd): This.
17712         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
17713         (tst_langinfo): New variable.  Use it.
17714
17715 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
17716
17717         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
17718         floating point opcodes.
17719
17720 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17721
17722         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
17723         variable.
17724
17725         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
17726
17727         * sysdeps/mach/hurd/powerpc: Remove directory.
17728         * sysdeps/mach/powerpc: Likewise.
17729
17730 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
17731
17732         * scripts/check-local-headers.sh: Ignore c++ headers.
17733
17734 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17735
17736         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
17737         __libc_cleanup_region_start argument.
17738
17739 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
17740
17741         [BZ #14784]
17742         [BZ #14785]
17743         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
17744         x * y using scaling, not as x * y + z.
17745         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17746         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17747         * math/libm-test.inc (fma_test): Add more tests.
17748         (fma_test_towardzero): Likewise.
17749         (fma_test_downward): Likewise.
17750         (fma_test_upward): Likewise.
17751
17752 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
17753
17754         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
17755
17756 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17757
17758         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
17759         New variable.
17760
17761 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
17762
17763         * rt/tst-shm.c (worker): Correct checking for mmap failure.
17764
17765 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17766
17767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17768         Fix sort order.
17769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17770         Likewise.
17771
17772 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17773
17774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17775         Fix the order of the list for glibc 2.17.
17776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17777         Likewise.
17778
17779 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
17780
17781         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17782
17783 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
17784
17785         [BZ #14610]
17786         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
17787         for low part of x being zero before using __atanl (y).
17788         * math/libm-test.inc (atan2_test): Add another test.
17789
17790         * manual/install.texi (Configuring and compiling): Document
17791         general use of test-wrapper and test-wrapper-env.
17792         * INSTALL: Regenerated.
17793
17794         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
17795         (__fma): Do not extract and scale down low bits on after-rounding
17796         systems when result rounded to normal precision would have normal
17797         exponent.
17798         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
17799         (__fmal): Do not extract and scale down low bits on after-rounding
17800         systems when result rounded to normal precision would have normal
17801         exponent.
17802         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
17803         (__fmal): Do not extract and scale down low bits on after-rounding
17804         systems when result rounded to normal precision would have normal
17805         exponent.
17806         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
17807         macro.
17808         (fma_test): Add more tests.
17809         (fma_test_towardzero): Likewise.
17810         (fma_test_downward): Likewise.
17811         (fma_test_upward): Likewise.
17812
17813 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
17814
17815         * sysdeps/i386/tininess.h: Renamed to ...
17816         * sysdeps/x86/tininess.h: This.
17817         * sysdeps/x86_64/tininess.h: Removed.
17818
17819 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17820
17821         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
17822         input.  Use $(build-program-cmd).
17823         ($(objpfx)tst-array1-static.out): Likewise.
17824         ($(objpfx)tst-array2.out): Likewise.
17825         ($(objpfx)tst-array3.out): Likewise.
17826         ($(objpfx)tst-array4.out): Likewise.
17827         ($(objpfx)tst-array5.out): Likewise.
17828         ($(objpfx)tst-array5-static.out): Likewise.
17829
17830 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
17831
17832         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
17833         if defined.
17834
17835         * nss/nsswitch.h (nss_interface_function): Provide new
17836         macro for use with NSS functions.
17837         * grp/initgroups.c: Use new macro.
17838         * nss/getXXbyYY.c: Likewise.
17839         * nss/getXXbyYY_r.c: Likewise.
17840         * nss/getXXent.c: Likewise.
17841         * nss/getXXent_r.c: Likewise.
17842         * sysdeps/posix/getaddrinfo.c: Likewise.
17843
17844 2012-10-30  Andreas Jaeger  <aj@suse.de>
17845
17846         * po/ru.po: Update Russion translation from translation project.
17847
17848 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
17849
17850         [BZ #14152]
17851         [BZ #14783]
17852         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
17853         result and shift together with sticky bit instead of replicating
17854         round-to-nearest rounding.
17855         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17856         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17857         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
17858         missing underflow exceptions.
17859         (fma_test_towardzero): Add more tests.
17860         (fma_test_downward): Likewise.
17861         (fma_test_upward): Likewise.
17862
17863         [BZ #14047]
17864         * sysdeps/generic/tininess.h: New file.
17865         * sysdeps/i386/tininess.h: Likewise.
17866         * sysdeps/sh/tininess.h: Likewise.
17867         * sysdeps/x86_64/tininess.h: Likewise.
17868         * stdlib/tst-strtod-underflow.c: Likewise.
17869         * stdlib/tst-tininess.c: Likewise.
17870         * stdlib/strtod_l.c: Include <tininess.h>.
17871         (round_and_return): Do not set errno for exact underflow cases.
17872         Force an underflow exception when setting errno for underflow.
17873         Determine underflow based on rounding to normal precision if
17874         TININESS_AFTER_ROUNDING.
17875         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
17876         ERANGE for exact underflow cases.
17877         * stdlib/Makefile (tests): Add tst-tininess and
17878         tst-strtod-underflow.
17879         ($(objpfx)tst-tininess): Use $(link-libm).
17880         ($(objpfx)tst-strtod-underflow): Likewise.
17881
17882 2012-10-30  Andreas Jaeger  <aj@suse.de>
17883
17884         [BZ#14767]
17885         * elf/Makefile (tests): Remove conditional for have-initfini-array
17886         since this is now always required and the variable does not exist
17887         anymore.
17888         (tests-static): Likewise.
17889         (modules-names): Likewise.
17890
17891         * po/eo.po: Add Esperanto translation from translation project.
17892
17893         * elf/tst-array1.c (fini_array): Make writeable so that it can be
17894         merged with constructor/destructor.
17895         (init_array): Likewise.
17896         * elf/tst-array2dep.c (fini_array): Likewise.
17897         (init_array): Likewise.
17898
17899 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
17900
17901         * manual/message.texi: Delete @cartouche tags.
17902
17903 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
17904
17905         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
17906         EOPNOTSUPP.
17907         * sysdeps/mach/hurd/fsync.c: Likewise.
17908
17909         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
17910         [_POSIX_REALTIME_SIGNALS]: Change condition to
17911         [_POSIX_REALTIME_SIGNALS > 0].
17912
17913 2012-10-27  Andreas Jaeger  <aj@suse.de>
17914
17915         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
17916         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
17917         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
17918         [__WORDSIZE != 64]: Likewise.
17919
17920 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
17921
17922         *  iconvdata/tst-table.sh: Remove ${SHELL}.
17923         *  iconvdata/tst-tables.sh: Likewise.
17924
17925 2012-10-25  David S. Miller  <davem@davemloft.net>
17926
17927         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17928         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
17929         of strtoull.
17930
17931         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
17932         ifunc-impl-list.c
17933         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17934         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
17935         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
17936         file.
17937
17938 2012-10-25  Roland McGrath  <roland@hack.frob.com>
17939
17940         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17941         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
17942         __getdirentries.
17943
17944 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17945             Jim Blandy  <jimb@codesourcery.com>
17946
17947         * scripts/cross-test-ssh.sh: New file.
17948         * manual/install.texi (Configuring and compiling): Document use of
17949         cross-test-ssh.sh.
17950         * INSTALL: Regenerated.
17951
17952 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
17953
17954         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
17955         EOPNOTSUPP.
17956
17957 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
17958
17959         * Makeconfig (run-program-prefix): Fix comment.
17960
17961 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
17962             Jim Blandy  <jimb@codesourcery.com>
17963
17964         * Makeconfig (test-wrapper): New variable,
17965         (test-wrapper-env): Likewise.
17966         [$(cross-compiling) = yes && $(test-wrapper) != ""]
17967         (run-built-tests): Define to yes.
17968         (run-program-prefix): Use $(test-wrapper).
17969         (built-program-cmd): Likewise.
17970         * Rules (make-test-out): Use $(test-wrapper-env) and
17971         $(host-built-program-cmd).
17972         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
17973         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
17974         tst-pathopt.sh.
17975         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
17976         $(test-wrapper-env) to tst-rtld-load-self.sh.
17977         ($(objpfx)order2.out): Use $(test-wrapper).
17978         ($(objpfx)tst-initorder.out): Likewise.
17979         ($(objpfx)tst-initorder2.out): Likewise.
17980         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
17981         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
17982         (test_wrapper_env): New variable.  Use it to run ld.so.
17983         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
17984         Use it to run ld.so.
17985         (test_wrapper_env): Likewise.
17986         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
17987         $(test-wrapper) to run-iconv-test.sh.
17988         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
17989         (ICONV): Use $test_wrapper.
17990         * posix/Makefile ($(objpfx)globtest.out): Pass
17991         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
17992         globtest.sh, not $(run-program-prefix).
17993         * posix/globtest.sh (run_via_rtld_prefix): New variable.
17994         (test_wrapper): Likewise.
17995         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
17996         set together with run_via_rtld_prefix.
17997         (run_program_prefix): Define in terms of test_wrapper and
17998         run_via_rtld_prefix.
17999
18000 2012-10-24  Roland McGrath  <roland@hack.frob.com>
18001
18002         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
18003         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
18004         Targets removed.
18005
18006         [BZ #14743]
18007         * include/time.h: Remove librt_hidden_proto (clock_gettime).
18008         Declare __clock_getres, __clock_gettime, __clock_settime,
18009         __clock_nanosleep, and __clock_getcpuclockid.
18010         * rt/clock_gettime.c: Define __clock_gettime as an alias.
18011         Remove librt_hidden_def (clock_gettime).
18012         * sysdeps/unix/clock_gettime.c: Likewise.
18013         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
18014         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
18015         * rt/clock_getres.c: Define __clock_getres as an alias.
18016         * sysdeps/posix/clock_getres.c: Likewise.
18017         * rt/clock_settime.c: Define __clock_settime as an alias.
18018         * sysdeps/unix/clock_settime.c: Likewise.
18019         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
18020         * sysdeps/unix/clock_nanosleep.c: Likewise.
18021         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
18022         * rt/clock-compat.c: New file.
18023         * rt/Makefile (librt-routines): Add clock-compat and move
18024         $(clock-routines) to ...
18025         (routines): ... here, new variable.
18026         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
18027         Don't add get_clockfreq here.
18028         * rt/Versions (libc: GLIBC_2.17): New version set.
18029         Add clock_* symbols here.
18030         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
18031         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
18032         (GLIBC_2.17): Add clock_* symbols.
18033         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18034         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18035         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18037         Likewise.
18038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18039         Likewise.
18040         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18041         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18042         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18043         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18044         * NEWS: Mention the move.
18045
18046         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18047         Use __open, __read, __close rather than their public counterparts.
18048         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18049         (__get_clockfreq_via_cpuinfo): Likewise.
18050         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
18051         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
18052
18053         * config.h.in (HAVE_IFUNC): New #undef.
18054         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
18055         was successful.
18056         * configure: Regenerated.
18057
18058 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
18059
18060         * configure.in: Move READELF check to start of file.
18061         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
18062         libc_cv_asm_gnu_indirect_function in the process.
18063         * configure: Regenerated.
18064
18065 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
18066
18067         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
18068         send the output to /dev/null.
18069         (libc_cv_cc_with_libunwind): Likewise.
18070         (libc_cv_as_noexecstack): Likewise.
18071         * configure: Regenerate.
18072
18073 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
18074
18075         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
18076
18077         * posix/globtest.sh (TMPDIR): Do not set.
18078         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
18079         (testout): Likewise.
18080
18081 2012-10-24  Andreas Jaeger  <aj@suse.de>
18082
18083         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
18084         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
18085         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
18086         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
18087         posix_fadvise64, posix_fallocate64.
18088
18089         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
18090         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
18091         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
18092         Likewise.
18093         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
18094         Likewise.
18095         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
18096
18097         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
18098         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
18099         <bits/fcntl-linux.h>.
18100         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
18101
18102         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
18103         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
18104         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
18105         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
18106         [__WORDSIZE != 64]: Likewise.
18107
18108 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
18109
18110         * Makeconfig (run-built-tests): New variable.
18111         * Rules [$(cross-compiling) = yes]: Change condition to
18112         [$(run-built-tests) = no].
18113         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
18114         to [$(run-built-tests) = yes].
18115         * elf/Makefile [$(cross-compiling) = no]: Likewise
18116         * grp/Makefile [$(cross-compiling) = no]: Likewise.
18117         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
18118         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
18119         * intl/Makefile [$(cross-compiling) = no]: Likewise.
18120         * io/Makefile [$(cross-compiling) = no]: Likewise.
18121         * libio/Makefile [$(cross-compiling) = no]: Likewise.
18122         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
18123         * misc/Makefile [$(cross-compiling) = no]: Likewise.
18124         * posix/Makefile [$(cross-compiling) = no]: Likewise.
18125         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
18126         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
18127         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
18128         * string/Makefile [$(cross-compiling) = no]: Likewise.
18129
18130         * posix/Makefile ($(objpfx)globtest.out): Pass
18131         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
18132         $(rtld-installed-name).
18133         * posix/globtest.sh (elf_objpfx): Remove variable.
18134         (rtld_installed_name): Likewise.
18135         (library_path): Likewise.
18136         (run_program_prefix): New variable.  Use for running globtest
18137         binary.
18138
18139 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
18140             Joseph Myers  <joseph@codesourcery.com>
18141
18142         * Makeconfig (host-built-program-cmd): New variable.
18143         * elf/Makefile (tst-stackguard1-ARGS): Use
18144         $(host-built-program-cmd).
18145         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
18146         (tst-spawn-ARGS): Likewise.
18147         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
18148
18149 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
18150             Jim Blandy  <jimb@codesourcery.com>
18151
18152         * Makeconfig (run-via-rtld-prefix): New variable.
18153         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
18154         (built-program-cmd): Likewise.
18155
18156 2012-10-22  Andreas Jaeger  <aj@suse.de>
18157
18158         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
18159         __O_RSYNC if it exists, otherwise to O_SYNC.
18160
18161 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
18162             Joseph Myers  <joseph@codesourcery.com>
18163
18164         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
18165         /dev/null.
18166         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
18167         from /dev/null
18168         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
18169         /dev/null.
18170
18171 2012-10-22  Andreas Jaeger  <aj@suse.de>
18172
18173         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
18174         Define always.
18175         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
18176
18177         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18178         bits/fcntl-linux.h.
18179
18180         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
18181         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
18182
18183         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
18184         to __O_LARGEFILE.
18185         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
18186         to __O_LARGEFILE.
18187
18188 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
18189             Joseph Myers  <joseph@codesourcery.com>
18190
18191         * config.make.in (NM): New variable.
18192
18193 2012-10-21  Andreas Jaeger  <aj@suse.de>
18194
18195         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
18196         definitions and declarations that are provided by
18197         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18198
18199 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
18200
18201         [BZ #14683]
18202         * elf/Makefile (tests-static): Add tst-leaks1-static.
18203         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
18204         ($(objpfx)tst-leaks1-static): New rule.
18205         ($(objpfx)tst-leaks1-static-mem): Likewise.
18206         (tst-leaks1-static-ENV): New macro.
18207         * elf/dl-open.c (dl_open_worker): Check the main application
18208         only if SHARED is defined.
18209         * elf/tst-leaks1-static.c: New file.
18210
18211 2012-10-20  Andreas Jaeger  <aj@suse.de>
18212
18213         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
18214         generic values for Linux.
18215         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
18216         and declarations that are provided by <bits/fcntl-linux.h> and
18217         include <bits/fcntl-linux.h>.
18218         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18219         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18220
18221 2012-10-20  Roland McGrath  <roland@hack.frob.com>
18222
18223         * io/fcntl.h: Move include of <bits/types.h> to the top and
18224         include it unconditionally.
18225
18226 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
18227
18228         * wcsmbs/Makefile (tests-ifunc): New variable.
18229         (tests): Add $(tests-ifunc).
18230         * wcsmbs/test-wcschr-ifunc.c: New file.
18231         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
18232         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
18233         * wcsmbs/test-wcslen-ifunc.c: Likewise.
18234         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
18235         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
18236
18237         * string/Makefile (tests-ifunc): New variable.
18238         (tests): Add $(tests-ifunc).
18239         * string/test-memccpy.c (TEST_NAME): New macro.
18240         * string/test-memchr.c (TEST_NAME): Likewise.
18241         * string/test-memcmp.c (TEST_NAME): Likewise.
18242         * string/test-memcpy.c (TEST_NAME): Likewise.
18243         * string/test-memmem.c (TEST_NAME): Likewise.
18244         * string/test-memmove.c (TEST_NAME): Likewise.
18245         * string/test-memset.c (TEST_NAME): Likewise.
18246         * string/test-rawmemchr.c (TEST_NAME): Likewise.
18247         * string/test-stpcpy.c (TEST_NAME): Likewise.
18248         * string/test-stpncpy.c (TEST_NAME): Likewise.
18249         * string/test-strcasecmp.c (TEST_NAME): Likewise.
18250         * string/test-strcasestr.c (TEST_NAME): Likewise.
18251         * string/test-strcat.c (TEST_NAME): Likewise.
18252         * string/test-strchr.c (TEST_NAME): Likewise.
18253         * string/test-strcmp.c(TEST_NAME): Likewise.
18254         * string/test-strcpy.c (TEST_NAME): Likewise.
18255         * string/test-strcspn.c (TEST_NAME): Likewise.
18256         * string/test-strlen.c (TEST_NAME): Likewise.
18257         * string/test-strncasecmp.c (TEST_NAME): Likewise.
18258         * string/test-strncmp.c (TEST_NAME): Likewise.
18259         * string/test-strncpy.c (TEST_NAME): Likewise.
18260         * string/test-strnlen.c (TEST_NAME): Likewise.
18261         * string/test-strpbrk.c (TEST_NAME): Likewise.
18262         * string/test-strrchr.c (TEST_NAME): Likewise.
18263         * string/test-strspn.c (TEST_NAME): Likewise.
18264         * string/test-strstr.c (TEST_NAME): Likewise.
18265         * string/test-bcopy-ifunc.c: New file.
18266         * string/test-bzero-ifunc.c: Likewise.
18267         * string/test-memccpy-ifunc.c: Likewise.
18268         * string/test-memchr-ifunc.c: Likewise.
18269         * string/test-memcmp-ifunc.c: Likewise.
18270         * string/test-memcpy-ifunc.c: Likewise.
18271         * string/test-memmem-ifunc.c: Likewise.
18272         * string/test-memmove-ifunc.c: Likewise.
18273         * string/test-mempcpy-ifunc.c: Likewise.
18274         * string/test-memset-ifunc.c: Likewise.
18275         * string/test-rawmemchr-ifunc.c: Likewise.
18276         * string/test-stpcpy-ifunc.c: Likewise.
18277         * string/test-stpncpy-ifunc.c: Likewise.
18278         * string/test-strcasecmp-ifunc.c: Likewise.
18279         * string/test-strcasestr-ifunc.c: Likewise.
18280         * string/test-strcat-ifunc.c: Likewise.
18281         * string/test-strchr-ifunc.c: Likewise.
18282         * string/test-strchrnul-ifunc.c: Likewise.
18283         * string/test-strcmp-ifunc.c: Likewise.
18284         * string/test-strcpy-ifunc.c: Likewise.
18285         * string/test-strcspn-ifunc.c: Likewise.
18286         * string/test-strlen-ifunc.c: Likewise.
18287         * string/test-strncasecmp-ifunc.c: Likewise.
18288         * string/test-strncat-ifunc.c: Likewise.
18289         * string/test-strncmp-ifunc.c: Likewise.
18290         * string/test-strncpy-ifunc.c: Likewise.
18291         * string/test-strnlen-ifunc.c: Likewise.
18292         * string/test-strpbrk-ifunc.c: Likewise.
18293         * string/test-strrchr-ifunc.c: Likewise.
18294         * string/test-strspn-ifunc.c: Likewise.
18295         * string/test-strstr-ifunc.c: Likewise.
18296
18297         * debug/Makefile (tests-ifunc): New variable.
18298         (tests): Add $(tests-ifunc).
18299         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
18300         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
18301         * debug/test-stpcpy_chk-ifunc.c: New file.
18302         * debug/test-strcpy_chk-ifunc.c: Likewise.
18303
18304 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18305
18306         [BZ #13601]
18307         * elf/dl-load.c (open_verify): Retry read if the entire ELF
18308         header is not read in.
18309
18310 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
18311
18312         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
18313         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
18314         directly.  Pass built executable to script as
18315         $(built-program-cmd).
18316         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
18317         $testprogram without using LD_LIBRARY_PATH and $ldso.
18318
18319         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
18320         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
18321         $(rtld-installed-name).
18322         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
18323         (rtld_installed_name): Likewise.
18324         (library_path): Likewise.
18325         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
18326         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
18327         $(run-program-prefix) to tst-tables.sh.
18328         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
18329         it to run tst-table-from and tst-table-to.
18330         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
18331         Pass it to tst-table.sh.
18332         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
18333         $(run-program-prefix) to tst-gettext.sh.
18334         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
18335         tst-translit.sh.
18336         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
18337         tst-gettext2.sh.
18338         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
18339         to run tst-gettext.
18340         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
18341         to run tst-gettext2.
18342         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
18343         to run tst-translit.
18344         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
18345         $(run-program-prefix) to tst-mtrace.sh.
18346         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
18347         to run tst-mtrace.
18348         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
18349         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
18350         $(rtld-installed-name).
18351         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
18352         (rtld_installed_name): Likewise.
18353         (run_program_prefix): New variable.  Use it to run wordexp-test.
18354
18355         * Makeconfig (ARCH): Remove all definitions.
18356         (machine): Likewise.
18357         [ARCH]: Remove conditional code.
18358         [!objdir]: Give error.
18359         [!objdir] (objpfx): Remove.
18360         [!objdir] (common-objpfx): Likewise.
18361         [!objdir] (common-objdir): Likewise.
18362         * configure.in (config_makefile): Remove.  Hardcode Makefile in
18363         AC_CONFIG_FILES call.
18364         * configure: Regenerated.
18365
18366         [BZ #13888]
18367         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
18368         or TMPDIR.
18369         (testout): Likewise.
18370
18371         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
18372         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
18373         $(rtld-installed-name).
18374         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
18375         (rtld_installed_name): Likwise.
18376         (runit): Remove function.
18377         (run_getconf): New variable,  Use it for running getconf binary.
18378
18379 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
18380
18381         [BZ #14716]
18382         * string/test-memmem.c (check_result): New function.
18383         (do_one_test): Use it.
18384         (check1): New function.
18385         (test_main): Use it.
18386
18387 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
18388
18389         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
18390
18391 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
18392
18393         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
18394         (_G_LSEEK64): Likewise.
18395         (_G_MMAP64): Likewise.
18396         (_G_FSTAT64): Likewise.
18397         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
18398         (_G_LSEEK64): Likewise.
18399         (_G_MMAP64): Likewise.
18400         (_G_FSTAT64): Likewise.
18401         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
18402         unconditional.  Call __mmap64 directly.
18403         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
18404         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
18405         __lseek64 directly.
18406         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
18407         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
18408         __mmap64 directly.
18409         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
18410         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
18411         __lseek64 directly.
18412         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
18413         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
18414         __lseek64 directly.
18415         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
18416         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
18417         __lseek64 directly.
18418         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
18419         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
18420         __fxstat64 directly.
18421         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
18422         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
18423         unconditional.
18424         (freopen64) [!_G_OPEN64]: Remove conditional code.
18425         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
18426         unconditional.
18427         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
18428         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
18429         unconditional.
18430         (ftello64) [!_G_LSEEK64]: Remove conditional code.
18431         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
18432         unconditional.
18433         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18434         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
18435         unconditional.
18436         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
18437         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
18438         unconditional.
18439         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18440         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
18441         unconditional.
18442         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
18443         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
18444         unconditional.
18445         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
18446
18447 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18448
18449         [BZ #12140]
18450         * manual/memory.texi (Malloc Tunable Parameters): Add note
18451         about free list pointers overwriting some perturb bytes.
18452         Wording suggested by Roland McGrath.
18453
18454 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
18455
18456         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
18457         (lgamma_test): Likewise.
18458         (tgamma_test): Likewise.
18459
18460 2012-10-16  Florian Weimer  <fweimer@redhat.com>
18461
18462         [BZ #14700]
18463         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
18464         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
18465
18466 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
18467
18468         * NEWS: Mention BZ #14716.
18469         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
18470         when removing AVAILABLE1_USES_J macro.
18471
18472 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
18473
18474         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
18475         (__bswap_64): __uint64_t for unsigned 64-bit int.
18476
18477 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
18478
18479         * include/string.h (memmem): Declare libc hidden alias.
18480         * string/memmem.c (memmem): Define libc hidden alias.
18481         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
18482         __read, __close instead of open, read, close.
18483
18484 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
18485
18486         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
18487         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
18488         global and hidden.
18489         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
18490         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
18491         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
18492         Likewise.
18493         (__rawmemchr_sse2): Likewise.
18494         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
18495         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
18496         (__strchr_sse2): Likewise.
18497         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
18498         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
18499         (__strcasecmp_sse2): Likewise.
18500         (__strncasecmp_sse2): Likewise.
18501         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
18502         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
18503         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
18504         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
18505         (__strrchr_sse2): Likewise.
18506         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
18507         ifunc-impl-list.c.
18508         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18509         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18510         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18511         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18512         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18513         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18514         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18515         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18516         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
18517         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
18518         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
18519         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
18520         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
18521         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18522         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18523         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18524         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18525         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18526         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
18527         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
18528         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
18529         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
18530         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
18531         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
18532         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
18533         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18534         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18535         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18536         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18537         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18538
18539         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
18540         global and hidden.
18541         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
18542         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
18543         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
18544         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
18545         Likewise.
18546         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
18547         Likewise.
18548         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
18549         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
18550         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
18551         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
18552         ifunc-impl-list.c.
18553         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18554         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18555         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18556         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18557         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18558         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18559         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18560         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18561         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18562         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18563         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18564         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18565         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18566         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
18567         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
18568         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18569         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
18570         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
18571         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18572         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18573         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18574         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18575         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18576         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18577         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18578         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
18579         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
18580         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
18581         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
18582         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18583         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
18584         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18585         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18586         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
18587         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18588         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18589         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18590         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18591         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18592         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18593         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
18594
18595         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
18596         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
18597         * include/ifunc-impl-list.h: New file.
18598         * misc/ifunc-impl-list.c: Likewise.
18599         * misc/Makefile (routines): Add ifunc-impl-list.
18600         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
18601         * string/test-string.h: Include <ifunc-impl-list.h>.
18602         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
18603         impl_array): New variables.
18604         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
18605         are defined.
18606         (test_init): Call __libc_ifunc_impl_list to initialize
18607         func_list if TEST_IFUNC and TEST_NAME are defined.
18608
18609         * string/Makefile (strop-tests): Add bcopy and bzero.
18610         * string/test-bcopy.c: New file.
18611         * string/test-bzero.c: Likewise.
18612         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
18613         defined.
18614         * string/test-memset.c: Support bzero test if TEST_BZERO is
18615         defined.
18616         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
18617         __libc_memmove.
18618         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
18619         __libc_memset.
18620         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
18621         of memset.
18622
18623 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
18624
18625         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
18626         * configure: Regenerated.
18627
18628         * Makeconfig (+link-static-before-libc): Don't include
18629         $(link-static-libc).
18630
18631         * libio/libio.h (_IO_pos_t): Remove.
18632
18633 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18634
18635         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
18636         McGrath.
18637
18638 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18639
18640         * crypt/crypt-entry.c: Include fips-private.h.
18641         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
18642         * crypt/md5c-test.c (main): Tolerate disabled MD5.
18643         * sysdeps/unix/sysv/linux/fips-private.h: New file.
18644         * sysdeps/generic/fips-private.h: New file, dummy fallback.
18645
18646 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
18647
18648         * crypt/crypt-private.h: Include stdbool.h.
18649         (_ufc_setup_salt_r): Return bool.
18650         * crypt/crypt-entry.c: Include errno.h.
18651         (__crypt_r): Return NULL with EINVAL for bad salt.
18652         * crypt/crypt_util.c (bad_for_salt): New.
18653         (_ufc_setup_salt_r): Check that salt is long enough and within
18654         the specified alphabet.
18655         * crypt/badsalttest.c: New file.
18656         * crypt/Makefile (tests): Add it.
18657         ($(objpfx)badsalttest): New.
18658
18659 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
18660
18661         * NEWS: Add entry for BZ #14602.
18662
18663 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18664
18665         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
18666         type-generic.
18667         * math/libm-test.inc: Update comment listing what functions and
18668         macros are tested.
18669         (isgreater_test): New function.
18670         (isgreaterequal_test): Likewise.
18671         (isless_test): Likewise.
18672         (islessequal_test): Likewise.
18673         (islessgreater_test): Likewise.
18674         (isunordered_test): Likewise.
18675         (main): Call the new functions.
18676
18677 2012-10-09  Roland McGrath  <roland@hack.frob.com>
18678
18679         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
18680         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
18681         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
18682         * sysdeps/i386/configure: Regenerated.
18683         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
18684         * sysdeps/mach/configure: Regenerated.
18685         * sysdeps/mach/hurd/configure: Regenerated.
18686         * sysdeps/powerpc/configure: Regenerated.
18687         * sysdeps/powerpc/powerpc32/configure: Regenerated.
18688         * sysdeps/powerpc/powerpc64/configure: Regenerated.
18689         * sysdeps/s390/s390-32/configure: Regenerated.
18690         * sysdeps/s390/s390-64/configure: Regenerated.
18691         * sysdeps/sh/configure: Regenerated.
18692         * sysdeps/sparc/configure: Regenerated.
18693         * sysdeps/unix/sysv/linux/configure: Regenerated.
18694         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18695         * sysdeps/x86_64/configure: Regenerated.
18696
18697         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
18698         defined.  Don't check if MAP is NULL.
18699
18700 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
18701
18702         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
18703         (_G_stat64): Likewise.
18704         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
18705         (_G_stat64): Likewise.
18706         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
18707         instead of struct _G_stat64.
18708         * libio/fileops.c (mmap_remap_check): Likewise.
18709         (decide_maybe_mmap): Likewise.
18710         (_IO_new_file_seekoff): Likewise.
18711         (_IO_file_stat): Likewise.
18712         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
18713         _G_off64_t.
18714         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
18715         instead of struct _G_stat64.
18716         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
18717
18718 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
18719
18720         [BZ #14602]
18721         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18722         Replace with ...
18723         (CHECK_EOL): New macro.
18724         (two_way_short_needle): Check beginning of haystack for EOL.  Use
18725         CHECK_EOL.
18726         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18727         Replace with CHECK_EOL.
18728         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
18729         Replace with CHECK_EOL.
18730
18731 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
18732
18733         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
18734         type-generic.
18735         * math/libm-test.inc: Update comment listing what functions and
18736         macros are tested.
18737         (finite_test): New function.
18738         (isinf_test): Likewise.
18739         (isnan_test): Likewise.
18740         (fpclassify_test): Test subnormal input.
18741         (isfinite_test): Likewise.
18742         (isnormal_test): Likewise.
18743         (main): Call the new functions.
18744
18745 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
18746
18747         [BZ #14660]
18748         * Makerules (%.dynsym): Force C locale when running
18749         $(OBJDUMP) --dynamic-syms.
18750
18751 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
18752
18753         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
18754         <stdint.h>.
18755
18756 2012-10-06  David S. Miller  <davem@davemloft.net>
18757
18758         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
18759         upper 32-bits of the length value in %o2 since we use branch-on-register
18760         tests which consider the entire 64-bit register.
18761
18762 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
18763
18764         * string/test-strstr.c (check2): Add a test for page boundary.
18765
18766 2012-10-05  David S. Miller  <davem@davemloft.net>
18767
18768         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
18769         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
18770         file.
18771         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
18772         sysdep_routines.
18773         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
18774         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
18775         and bzero when HWCAP_SPARC_CRYPTO is present.
18776
18777 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
18778
18779         [BZ #14602]
18780         * string/test-strstr.c (check2): New function.
18781         (test_main): Call check2.
18782
18783         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
18784         and bug-strchr1.
18785         * string/bug-strcasestr1.c (do_test): Moved to ...
18786         * string/test-strcasestr.c (check1): Here.  New function.
18787         (do_one_test): Break out result checking code into ...
18788         (check_result): This.  New function.
18789         (do_one_test): Call check_result.
18790         (test_main): Call check1.
18791         * string/bug-strchr1.c (do_test): Moved to ...
18792         * string/test-strchr.c (check1): Here.  New function.
18793         (do_one_test): Break out result checking code into ...
18794         (check_result): This.  New function.
18795         (do_one_test): Call check_result.
18796         (test_main): Call check1.
18797         * string/bug-strstr1.c (main): Moved to ...
18798         * string/test-strstr.c (check1): Here.  New function.
18799         (do_one_test): Break out result checking code into ...
18800         (check_result): This.  New function.
18801         (do_one_test): Call check_result.
18802         (test_main): Call check1.
18803         * string/bug-strcasestr1.c: Removed.
18804         * string/bug-strchr1.c: Likewise.
18805         * string/bug-strstr1.c: Likewise.
18806
18807         * elf/Makefile (dl-routines): Add hwcaps.
18808         * elf/dl-support.c (_dl_important_hwcaps): Removed.
18809         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
18810         (_dl_important_hwcaps): Moved to ...
18811         * elf/dl-hwcaps.c: Here.  New file.
18812         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
18813
18814         [BZ #14557]
18815         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
18816         if IS_IN_rtld isn't defined.
18817
18818         * elf/dl-support.c (_dl_sysinfo_map): New.
18819         Include "get-dynamic-info.h" and "setup-vdso.h".
18820         (_dl_non_dynamic_init): Call setup_vdso.
18821         * elf/dynamic-link.h: Don't include <assert.h>.
18822         (elf_get_dynamic_info): Moved to ...
18823         * elf/get-dynamic-info.h: Here.  New file.
18824         * elf/dynamic-link.h: Include "get-dynamic-info.h".
18825         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
18826         * elf/setup-vdso.h: Here.  New file.
18827         * elf/rtld.c: Include "setup-vdso.h".
18828         (dl_main): Call setup_vdso.
18829
18830 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
18831
18832         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
18833         creal in comment listing functions tested.  List finite, isinf,
18834         isnan, isless, islessequal, isgreater, isgreaterequal,
18835         islessgreater, isunordered, lgamma_r and pow10 as functions and
18836         macros not tested.  Mention which functions not tested are aliases
18837         for other functions.  Fix typo.  Note that signs of NaNs are not
18838         tested.
18839
18840         * scripts/config.guess: Update from config.git.
18841         * scripts/config.sub: Likewise.
18842
18843 2012-10-04  Roland McGrath  <roland@hack.frob.com>
18844
18845         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
18846         * misc/madvise.c (madvise): Renamed to __madvise.
18847         Make madvise a weak alias.
18848         * include/sys/mman.h: Declare __madvise.
18849         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
18850         * sysdeps/unix/syscalls.list
18851         (madvise): Make __madvise the strong name, and madvise a weak alias.
18852         * sysdeps/unix/sysv/linux/syscalls.list
18853         (madvise, mmap): Remove redundant entries.
18854         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
18855         * malloc/malloc.c (mtrim): Likewise.
18856         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
18857
18858 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18859
18860         * sysdeps/mach/hurd/dl-cache.c: File removed.
18861         * config.h.in (USE_LDCONFIG): New #undef.
18862         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
18863         * configure: Regenerated.
18864         * elf/Makefile (dl-routines): Add dl-cache only under
18865         [$(use-ldconfig) = yes].
18866         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
18867         cache on [USE_LDCONFIG].
18868         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
18869         [USE_LDCONFIG].
18870         * elf/rtld.c (dl_main): Likewise.
18871
18872 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
18873
18874         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
18875         _SC_LEVEL4_CACHE_LINESIZE.
18876
18877 2012-10-03  Roland McGrath  <roland@hack.frob.com>
18878
18879         * sysdeps/unix/bsd/confstr.h: File removed.
18880
18881 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
18882
18883         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
18884         sys/sdt-config.h.
18885
18886 2012-10-02  Roland McGrath  <roland@hack.frob.com>
18887
18888         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
18889         Make 'mapoff' field ElfW(Off) rather than off_t.
18890
18891 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
18892
18893         * nscd/Makefile: Remove nscd-cflags and all its users.
18894         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
18895         (CFLAGS-nonlib): Add compiler flags for nscd modules.
18896
18897         [BZ #10631]
18898         * malloc.c (malloc_printerr): Clarify error message.
18899
18900 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
18901
18902         [BZ #14648]
18903         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18904         Set bit_FMA_Usable if FMA is supported.
18905         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
18906         macro.
18907         (bit_FMA4_Usable): Updated.
18908         (index_FMA_Usable): New macro.
18909         (CPUID_FMA): Likewise
18910         (HAS_FMA): Defined with bit_FMA_Usable.
18911
18912 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18913
18914         * bits/types.h (__swblk_t): Type removed.
18915         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
18916         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
18917         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18918         (__SWBLK_T_TYPE): Likewise.
18919         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18920         (__SWBLK_T_TYPE): Likewise.
18921         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18922         (__SWBLK_T_TYPE): Likewise.
18923         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18924         (__SWBLK_T_TYPE): Likewise.
18925
18926 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
18927             Honza Horak <hhorak@redhat.com>
18928
18929         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
18930         (xdr_mapname): Use YPMAXMAP as maxsize.
18931         (xdr_peername): Use YPMAXPEER as maxsize.
18932         (xdr_keydat): Use YPAXRECORD as maxsize.
18933         (xdr_valdat): Use YPMAXRECORD as maxsize.
18934
18935 2012-10-01  Roland McGrath  <roland@hack.frob.com>
18936
18937         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
18938
18939         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
18940         * csu/init-first.c: ... here.
18941         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
18942         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
18943         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
18944         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18945         * sysdeps/i386/init-first.c: File removed.
18946         * sysdeps/sh/init-first.c: File removed.
18947
18948 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
18949
18950         [BZ #14645]
18951         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
18952         if x * y might underflow to zero and z is zero.
18953         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18954         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18955         * math/libm-test.inc (min_subnorm_value): New variable.
18956         (fma_test): Add more tests.
18957         (fma_test_towardzero): Likewise.
18958         (fma_test_downward): Likewise
18959         (fma_test_upward): Likewise.
18960         (initialize): Set min_subnorm_value.
18961
18962 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
18963
18964         [BZ #14638]
18965         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
18966         0 + 0.
18967         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
18968         mode for addition resulting in exact zero.
18969         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
18970         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
18971         exact 0 + 0.
18972         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18973         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18974         * math/libm-test.inc (fma_test): Add more tests.
18975         (fma_test_towardzero): New function.
18976         (fma_test_downward): Likewise.
18977         (fma_test_upward): Likewise.
18978         (main): Call the new functions.
18979
18980 2012-09-28  David S. Miller  <davem@davemloft.net>
18981
18982         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
18983
18984 2012-09-28  Roland McGrath  <roland@hack.frob.com>
18985
18986         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
18987         instead of SIGALRM.
18988
18989         * sysdeps/gnu/_G_config.h: Moved to ...
18990         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
18991         * sysdeps/mach/hurd/_G_config.h: Moved to ...
18992         * sysdeps/generic/_G_config.h: ... here.
18993
18994         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
18995
18996         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
18997
18998         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
18999         Conditionalize target on [libnss_test1.so-version].
19000
19001         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
19002
19003         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
19004         (elfobjdir): Move out of conditionals.
19005
19006         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
19007         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
19008         (__nss_lookup_function): Conditionalize label remove_from_tree on
19009         [!DO_STATIC_NSS || SHARED], matching its only use.
19010
19011 2012-09-28  David S. Miller  <davem@davemloft.net>
19012
19013         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
19014         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
19015         file.
19016         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
19017         sysdep_routines.
19018         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
19019         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
19020         when HWCAP_SPARC_CRYPTO is present.
19021
19022 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19023
19024         * io/tst-mknodat.c: Create a FIFO instead of a socket.
19025
19026 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
19027
19028         [BZ #6530]
19029         * stdio-common/vfprintf.c (process_string_arg): Revert
19030         2000-07-22 change.
19031
19032 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
19033
19034         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
19035         for testcase.
19036         * stdio-common/tst-sprintf.c: Include <locale.h>
19037         (main): Test sprintf's handling of incomplete multibyte
19038         characters.
19039
19040 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
19041
19042         * elf/dl-runtime.c (VERSYMIDX): Removed.
19043         * elf/dl-version.c (VERSYMIDX): Likewise.
19044         * elf/do-rel.h (VERSYMIDX): Likewise.
19045         (VALIDX): Likewise.
19046         * elf/dynamic-link.h (VERSYMIDX): Likewise.
19047         * elf/rtld.c (VALIDX): Likewise.
19048         (ADDRIDX): Likewise.
19049         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
19050         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
19051         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
19052         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
19053         (VALIDX): Likewise.
19054         (ADDRIDX): Likewise.
19055
19056 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19057
19058         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
19059
19060 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
19061
19062         [BZ #11438]
19063         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
19064         to global scope.
19065         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
19066         addresses are in the same scope as 192.0.2/24.
19067         * posix/gai.conf: Document new scope table defaults.
19068
19069 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19070
19071         [BZ #5298]
19072         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
19073         for ftell.  Compute offsets from write pointers instead.
19074         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
19075
19076 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19077
19078         [BZ #14543]
19079         * libio/Makefile (tests): New test case tst-fseek.
19080         * libio/tst-fseek.c: New test case to verify that fseek/ftell
19081         combination works in wide mode.
19082         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
19083         state when the external buffer state changes.
19084
19085 2012-09-27  David S. Miller  <davem@davemloft.net>
19086
19087         [BZ #14376]
19088         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
19089         pass reloc->r_addend in as the 'high' argument to
19090         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
19091
19092         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19093
19094 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
19095
19096         * rt/tst-aio2.c: Include <pthread.h>.
19097         * rt/tst-aio3.c: Likewise.
19098
19099 2012-09-27  Steve Ellcey  <sellcey@mips.com>
19100
19101         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
19102
19103 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
19104
19105         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
19106         contents on [SHARED].
19107
19108 2012-09-26  Marek Polacek  <polacek@redhat.com>
19109
19110         [BZ #14530]
19111         [BZ #13741]
19112         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
19113         for C++ and GCC <4.3 as well as for non GCC compilers.
19114
19115 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
19116
19117         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19118
19119 2012-09-25  Roland McGrath  <roland@hack.frob.com>
19120
19121         * Makefile.in (all, install): Declare with .PHONY.
19122         Reported by Michael Hope <michael.hope@linaro.org>.
19123
19124 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19125
19126         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
19127         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
19128         system header.
19129         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
19130         Likewise.
19131         (sydep_routines): Add the new and the internal functions.
19132         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
19133         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
19134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
19135         (GLIBC_2.17): Add the new function.
19136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19137         (GLIBC_2.17): Likewise.
19138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19139         (GLIBC_2.17): Likewise.
19140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
19141         (GLIBC_2.17): Likewise.
19142         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
19143
19144 2012-09-25  Alan Modra  <amodra@gmail.com>
19145
19146         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
19147         Add release barrier before setting once_control to say
19148         initialisation is done.  Add hints on lwarx.  Use macro in
19149         place of isync.
19150         (clear_once_control): Add release barrier.
19151
19152 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
19153
19154         [BZ #13629]
19155         * math/s_clog.c (__clog): Handle more values close to |z| = 1
19156         specially.
19157         * math/s_clog10.c (__clog10): Likewise.
19158         * math/s_clog10f.c (__clog10f): Likewise.
19159         * math/s_clog10l.c (__clog10l): Likewise.
19160         * math/s_clogf.c (__clogf): Likewise.
19161         * math/s_clogl.c (__clogl): Likewise.
19162         * math/Makefile (libm-calls): Add x2y2m1.
19163         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
19164         (__x2y2m1): Likewise.
19165         (__x2y2m1l): Likewise.
19166         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
19167         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
19168         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
19169         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19170         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
19171         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
19172         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
19173         * sysdeps/i386/fpu/libm-test-ulps: Update.
19174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19175
19176         [BZ #14621]
19177         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
19178         int as type of variable DEPTH.
19179         (glob): Use size_t instead of int as type of variables NEWCOUNT
19180         and OLD_PATHC.
19181
19182 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19183
19184         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19185         Add s_sincosf-sse2.
19186         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
19187         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
19188         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
19189         macros for using routine as __sincosf_ia32.
19190         Use macro for function declaration and weak_alias.
19191         * sysdeps/i386/fpu/libm-test-ulps: Update.
19192
19193         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
19194         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19195
19196         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
19197         subnormal argument.
19198         * math/s_cexpf.c (__cexpf): Likewise.
19199         * math/s_csinf.c (__csinf): Likewise.
19200         * math/s_csinhf.c (__csinhf): Likewise.
19201         * math/s_ctanf.c (__ctanf): Likewise.
19202         * math/s_ctanhf.c (__ctanhf): Likewise.
19203         * math/s_ccosh.c (__ccoshf): Likewise.
19204         * math/s_cexp.c (__cexpl): Likewise.
19205         * math/s_csin.c (__csin): Likewise.
19206         * math/s_csinh.c (__csinh): Likewise.
19207         * math/s_ctan.c (__ctan): Likewise.
19208         * math/s_ctanh.c (ctanh): Likewise.
19209         * math/s_ccoshl.c (__ccoshl): Likewise.
19210         * math/s_cexpl.c (__cexpl): Likewise.
19211         * math/s_csinl.c (__csinl): Likewise.
19212         * math/s_csinhl.c (__csinhl): Likewise.
19213         * math/s_ctanl.c (__ctanl): Likewise.
19214         * math/s_ctanhl.c (__ctanhl): Likewise.
19215
19216 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
19217
19218         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
19219         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
19220         (_IO_off_t): Define to __off_t, not _G_off_t.
19221         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
19222         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
19223         (_IO_wint_t): Define to wint_t, not _G_wint_t.
19224         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
19225         type of __dummy and __dummy2 fields.
19226         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
19227         (_G_ssize_t): Likewise.
19228         (_G_off_t): Likewise.
19229         (_G_pid_t): Likewise.
19230         (_G_uid_t): Likewise.
19231         (_G_wchar_t): Likewise.
19232         (_G_wint_t): Likewise.
19233         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
19234         (_G_ssize_t): Likewise.
19235         (_G_off_t): Likewise.
19236         (_G_pid_t): Likewise.
19237         (_G_uid_t): Likewise.
19238         (_G_wchar_t): Likewise.
19239         (_G_wint_t): Likewise.
19240         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
19241         (_G_ssize_t): Likewise.
19242         (_G_off_t): Likewise.
19243         (_G_pid_t): Likewise.
19244         (_G_uid_t): Likewise.
19245         (_G_wchar_t): Likewise.
19246         (_G_wint_t): Likewise.
19247
19248 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19249
19250         * malloc/arena.c: Include malloc-sysdep.h.
19251         (shrink_heap): Use check_may_shrink_heap to decide if madvise
19252         is sufficient to shrink the heap or an unmap is needed.
19253         * sysdeps/generic/malloc-sysdep.h: New file.  Define
19254         new function check_may_shrink_heap.
19255         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
19256         new function check_may_shrink_heap.
19257
19258 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19259
19260         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
19261         comments.
19262
19263 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
19264
19265         * catgets/test-gencat.sh: Add "set -e".
19266         * elf/tst-pathopt.sh: Likewise.
19267         * grp/tst_fgetgrent.sh: Likewise.
19268         * iconvdata/run-iconv-test.sh: Likewise.
19269         * intl/tst-gettext.sh: Likewise.
19270         * intl/tst-gettext2.sh: Likewise.
19271         * intl/tst-gettext4.sh: Likewise.
19272         * intl/tst-gettext6.sh: Likewise.
19273         * intl/tst-translit.sh: Likewise.
19274         * io/ftwtest-sh: Likewise.
19275         * libio/test-freopen.sh: Likewise.
19276         * malloc/tst-mtrace.sh: Likewise.
19277         * posix/globtest.sh: Likewise.
19278         * posix/tst-getconf.sh: Likewise.
19279         * posix/wordexp-tst.sh: Likewise.
19280         * stdio-common/tst-printf.sh: Likewise.
19281         * stdio-common/tst-unbputc.sh: Likewise.
19282         * stdlib/tst-fmtmsg.sh: Likewise.
19283         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19284         * catgets/Makefile: Do not specify -e option when running
19285         testsuite shell scripts.
19286         * elf/Makefile: Likewise.
19287         * grp/Makefile: Likewise.
19288         * iconvdata/Makefile: Likewise.
19289         * intl/Makefile: Likewise.
19290         * io/Makefile: Likewise.
19291         * libio/Makefile: Likewise.
19292         * malloc/Makefile: Likewise.
19293         * posix/Makefile: Likewise.
19294         * stdio-common/Makefile: Likewise.
19295         * stdlib/Makefile: Likewise.
19296         * sysdeps/x86_64/Makefile: Likewise.
19297
19298         * io/ftwtest-sh: Add copyright header.
19299         * posix/globtest.sh: Likewise.
19300         * posix/tst-getconf.sh: Likewise.
19301         * posix/wordexp-tst.sh: Likewise.
19302         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
19303
19304 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
19305
19306         [BZ #13679]
19307         * Makeconfig (+link): Defined as $(+link-static) if
19308         $(build-shared) isn't yes.
19309         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
19310         isn't yes.
19311         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
19312
19313         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
19314
19315         [BZ #14562]
19316         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
19317         new chunk size with MALLOC_ALIGN_MASK.
19318
19319 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
19320
19321         [BZ #5044]
19322         * stdio-common/printf_fphex.c: Include <stdbool.h> and
19323         <rounding-mode.h>.
19324         (__printf_fphex): Determine rounding using get_rounding_mode and
19325         round_away.
19326         * stdio-common/tst-printf-round.c (struct hex_test): New
19327         structure.
19328         (hex_tests): New variable.
19329         (test_hex_in_one_mode): New function.
19330         (do_test): Also run tests for hex float output.
19331
19332 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
19333
19334         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19335         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19336         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
19337         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
19338         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
19339         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
19340         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19341         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
19342
19343 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
19344
19345         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
19346         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
19347         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
19348         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
19349
19350 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
19351
19352         [BZ #14579]
19353         * elf/rtld.c (dl_main): Limit the check for self loading to normal
19354         mode only.
19355         * elf/tst-rtld-load-self.sh: New test.
19356         * elf/Makefile: Run it.
19357
19358 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
19359
19360         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
19361         (tst-writev-ENV): Remove.
19362         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
19363
19364 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
19365
19366         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
19367
19368 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
19369
19370         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
19371         unconditional.
19372         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
19373         Likewise.
19374         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
19375         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
19376         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
19377         Likewise.
19378
19379 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
19380
19381         [BZ #14587]
19382         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
19383         * config.make.in (have-cpp-asm-debuginfo): Removed.
19384         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
19385         * configure: Regenerated.
19386
19387 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
19388
19389         [BZ #5044]
19390         * stdio-common/printf_fp.c: Include <stdbool.h> and
19391         <rounding-mode.h>.
19392         (___printf_fp): Determine rounding using get_rounding_mode and
19393         round_away.
19394         * stdio-common/tst-printf-round.c: New file.
19395         * stdio-common/Makefile (tests): Add tst-printf-round.
19396         (link-libm): New variable.
19397         ($(objpfx)tst-printf-round): Depend in $(link-libm).
19398
19399 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
19400
19401         [BZ #14576]
19402         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
19403         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
19404         Likewise.
19405         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
19406         Likewise.
19407
19408 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
19409
19410         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
19411         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19412         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19413         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
19414
19415 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
19416
19417         [BZ #14518]
19418         * include/rounding-mode.h: New file.
19419         * sysdeps/generic/get-rounding-mode.h: Likewise.
19420         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
19421         * stdlib/strtod_l.c: Include <rounding-mode.h>.
19422         (MAX_VALUE): New macro.
19423         (MIN_VALUE): Likewise.
19424         (overflow_value): New function.
19425         (underflow_value): Likewise.
19426         (round_and_return): Use overflow_value and underflow_value to
19427         determine return values in overflow and underflow cases.  Use
19428         round_away to determine rounding depending on rounding mode.
19429         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
19430         determine return values in overflow and underflow cases.
19431         * stdlib/tst-strtod-round.c: Include <fenv.h>.
19432         (struct test_results): New structure.
19433         (struct test): Use struct test_results to store expected results
19434         for all rounding modes.
19435         (TEST): Include expected results for all rounding modes.
19436         (test_in_one_mode): New function.
19437         (do_test): Use test_in_one_mode to compute and check results.
19438         Check results for all rounding modes.
19439         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
19440         $(link-libm).
19441
19442 2012-12-09  Allan McRae  <allan@archlinux.org>
19443
19444         * sysdeps/i386/fpu/libm-test-ulps: Update
19445
19446 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
19447
19448         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
19449         (_G_int32_t): Likewise.
19450         (_G_uint16_t): Likewise.
19451         (_G_uint32_t): Likewise.
19452         (_G_HAVE_BOOL): Likewise.
19453         (_G_HAVE_ATEXIT): Likewise.
19454         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19455         (_G_HAVE_IO_FILE_OPEN): Likewise.
19456         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
19457         (_G_int32_t): Likewise.
19458         (_G_uint16_t): Likewise.
19459         (_G_uint32_t): Likewise.
19460         (_G_HAVE_BOOL): Likewise.
19461         (_G_HAVE_ATEXIT): Likewise.
19462         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19463         (_G_HAVE_IO_FILE_OPEN): Likewise.
19464         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
19465         (_G_int32_t): Likewise.
19466         (_G_uint16_t): Likewise.
19467         (_G_uint32_t): Likewise.
19468         (_G_HAVE_BOOL): Likewise.
19469         (_G_HAVE_ATEXIT): Likewise.
19470         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
19471         (_G_HAVE_IO_FILE_OPEN): Likewise.
19472
19473 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
19474
19475         * csu/libc-tls.c: Update copyright years.
19476
19477 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
19478
19479         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
19480         [!_G_USING_THUNKS]: Remove conditional code.
19481         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
19482         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
19483
19484         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
19485         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
19486         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19487         (_G_VTABLE_LABEL_PREFIX): Likewise.
19488         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19489         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19490         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19491         (_G_VTABLE_LABEL_PREFIX): Likewise.
19492         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19493         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
19494         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
19495         (_G_VTABLE_LABEL_PREFIX): Likewise.
19496         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
19497
19498 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
19499
19500         * libio/Makefile: Include ../Makeconfig before tests.
19501         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
19502         only if $(build-shared) is yes.
19503
19504         * iconv/gconv_db.c: Update copyright years.
19505
19506 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19507
19508         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
19509         unwind info if defined PIC. Fix special cases description.
19510         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
19511
19512         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
19513         DP_HI_MASK entry.
19514         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
19515
19516 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
19517
19518         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
19519
19520         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
19521         is NULL.
19522
19523         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
19524         (LDLIBS-tst-chk4): This.
19525         (LDFLAGS-tst-chk5): Renamed to ...
19526         (LDLIBS-tst-chk5): This.
19527         (LDFLAGS-tst-chk6): Renamed to ...
19528         (LDLIBS-tst-chk6): This.
19529         (LDFLAGS-tst-lfschk4): Renamed to ...
19530         (LDLIBS-tst-lfschk4): This.
19531         (LDFLAGS-tst-lfschk5): Renamed to ...
19532         (LDLIBS-tst-lfschk5): This.
19533         (LDFLAGS-tst-lfschk6): Renamed to ...
19534         (LDLIBS-tst-lfschk6): This.
19535
19536         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
19537         on $(common-objpfx)soversions.mk.
19538
19539 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
19540
19541         [BZ #10014]
19542         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
19543         example host name.
19544
19545 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19546
19547         * malloc/arena.c (arena_get_retry): New function that gets
19548         another arena for the caller to try its request on.
19549         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
19550         current arena cannot fulfill the request.
19551         (__libc_memalign): Likewise.
19552         (__libc_memalign): Likewise.
19553         (__libc_pvalloc): Likewise.
19554         (__libc_calloc): Likewise.
19555
19556 2012-09-05  John Tobey  <john.tobey@gmail.com>
19557
19558         [BZ #13542]
19559         * manual/arith.texi (Operations on Complex): Fix description
19560         of carg branch cut.
19561
19562 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
19563
19564         [BZ #10014]
19565         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
19566         host name.
19567
19568         [BZ #10038]
19569         * manual/memory.texi (Memory): Make order of menu items match
19570         order of sections.
19571
19572 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19573
19574         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
19575         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
19576         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
19577
19578 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19579
19580         * csu/libc-tls.c (static_dtv): Renamed to ...
19581         (_dl_static_dtv): This.  Make it global.
19582         (_dl_initial_dtv): Removed.
19583         (__libc_setup_tls): Updated.
19584         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
19585         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
19586         DL_INITIAL_DTV.
19587
19588 2012-09-06  Petr Machata  <pmachata@redhat.com>
19589
19590         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
19591         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
19592         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
19593         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
19594
19595 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19596
19597         [BZ #14545]
19598         * csu/libc-tls.c (_dl_initial_dtv): New variable.
19599         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
19600         freeing dtv[-1].
19601
19602 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
19603
19604         [BZ #14544]
19605         * Makeconfig (link-static-before-libc): Replace $(+prector)
19606         with $(+prectorT).
19607         (link-static-after-libc): Replace $(+postctor) with
19608         $(+postctorT).
19609         (link-bounded): Replace $(+prector)/$(+postctor) with
19610         $(+prectorT)/$(+postctorT).
19611         (+prectorT): New macro.
19612         (+postctorT): Likewise.
19613
19614 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
19615
19616         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
19617         (round_str): Handle values above the maximum for IBM long double
19618         as inexact.
19619         * stdlib/tst-strtod-round.c (tests): Regenerated.
19620
19621 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19622
19623         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
19624         assembler flag.
19625         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
19626         zarch_nohighgprs around the zarch optimized routines.
19627         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
19628         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
19629         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
19630         for zarch.
19631
19632 2012-09-05  David S. Miller  <davem@davemloft.net>
19633
19634         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19635
19636         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
19637         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
19638         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
19639         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19640         entries.
19641
19642 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19643
19644         * malloc/arena.c: Fold copyright years.
19645         * malloc/mcheck.c, malloc/memusage.c: Likewise.
19646
19647 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19648
19649         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
19650
19651 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19652
19653         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
19654
19655 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19656
19657         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
19658         change internal state upon failure.
19659
19660 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
19661
19662         * malloc/mcheck.c (mcheck_check_all): Fix typo.
19663         * malloc/memusage.c (mmap): Likewise.
19664         (mmap64, mremap): Likewise.  Adjust name in comment.
19665
19666 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19667
19668         * libio/fileops.c: Fix typos in comments.
19669         * libio/oldfileops.c: Likewise.
19670         * libio/wfileops.c: Likewise.
19671
19672 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19673
19674         [BZ #1349]
19675         * malloc/Makefile (tests): Add tst-malloc-usable test case.
19676         (tst-malloc-usable-ENV): Set environment for test case.
19677         * malloc/hooks.c (malloc_check_get_size): New function to get
19678         requested size.
19679         * malloc/malloc.c (musable): Use malloc_check_get_size.
19680         * malloc/tst-malloc-usable.c: New test case.
19681
19682 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19683
19684         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
19685
19686 2012-09-05  Allan McRae  <allan@archlinux.org>
19687
19688         [BZ #13966]
19689         * configure.in (CXX_SYSINCLUDES): Use compiler output to
19690         determine header location.
19691         * configure: Regenerated.
19692
19693 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
19694
19695         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
19696         float format.
19697         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
19698         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
19699         format.
19700         (test): Regenerate.
19701
19702 2012-09-04  David S. Miller  <davem@davemloft.net>
19703
19704         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
19705         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
19706         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
19707
19708 2012-09-04  Florian Weimer  <fweimer@redhat.com>
19709
19710         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
19711         failures.
19712
19713         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
19714
19715 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
19716
19717         [BZ #9914]
19718         * libio/iogetdelim.c: Include <limits.h>.
19719         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
19720         + len + 1 would overflow.
19721
19722 2012-09-03  Andreas Jaeger  <aj@suse.de>
19723
19724         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19725         * sysdeps/i386/fpu/libm-test-ulps: Update.
19726
19727 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19728
19729         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
19730         Add s_sinf-sse2, s_conf-sse2.
19731
19732         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
19733         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
19734         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
19735         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
19736
19737         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
19738         for using routine as __sinf_ia32.
19739         Use macro for function declaration and weak_alias.
19740         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
19741         for using routine as __cosf_ia32.
19742         Use macro for function declaration and weak_alias.
19743
19744         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
19745         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
19746
19747         * sysdeps/x86_64/fpu/s_sinf.S: New file.
19748         * sysdeps/x86_64/fpu/s_cosf.S: New file.
19749         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19750
19751         * math/libm-test.inc (cos_test): Add more test cases.
19752         (sin_test): Likewise.
19753         (sincos_test): Likewise.
19754
19755 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19756
19757         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19758         (IFUNC_RESOLVE): Make pointers to the specialized implementations
19759         hidden.
19760         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
19761
19762 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
19763
19764         [BZ #14538]
19765         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
19766         first element of the GOT.
19767         (elf_machine_load_address): Return the difference between
19768         the runtime address of _DYNAMIC and elf_machine_dynamic ().
19769
19770 2012-09-01  Allan McRae  <allan@archlinux.org>
19771
19772         [BZ #13412]
19773         * configure.in (AWK): Require gawk version 3.0 or later.
19774         * configure: Regenerated.
19775
19776 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
19777
19778         * sysdeps/unix/sysv/linux/kernel-features.h
19779         (__ASSUME_POSIX_CPU_TIMERS): Remove.
19780         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
19781         [__NR_clock_getres]: Make code unconditional.
19782         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
19783         (clock_getcpuclockid): Remove code left unreachable by removal of
19784         conditionals.
19785         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
19786         code unconditional.
19787         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19788         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19789         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
19790         Make code unconditional.
19791         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
19792         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19793         * sysdeps/unix/sysv/linux/clock_settime.c
19794         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
19795         conditional code.
19796         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
19797         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
19798
19799 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
19800
19801         [BZ #14476]
19802         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
19803         scripts/test-installation.pl.
19804
19805         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
19806         and $ld_so_version if it is set.
19807
19808 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19809
19810         [BZ #14516]
19811         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
19812         failure if reading from procfs failed.
19813         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
19814
19815 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19816
19817         * sysdeps/unix/sysv/linux/kernel-features.h
19818         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
19819         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19820         Remove conditional code.
19821         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19822         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
19823         Remove conditional code.
19824         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19825         * sysdeps/unix/sysv/linux/i386/fxstat.c
19826         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19827         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19828         * sysdeps/unix/sysv/linux/i386/fxstatat.c
19829         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19830         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19831         * sysdeps/unix/sysv/linux/i386/lxstat.c
19832         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
19833         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19834         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
19835         Remove conditional code.
19836         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19837         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
19838         Remove conditional code.
19839         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19840         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
19841         <kernel-features.h>.
19842         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
19843         Remove.
19844         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
19845         Remove conditional code.
19846         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
19847         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
19848         Remove conditional.
19849
19850 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
19851
19852         [BZ #5400]
19853         * NEWS: Add fixed bug number.
19854
19855 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
19856
19857         [BZ #14519]
19858         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
19859         underflowing exponent in case of negative sign.
19860         * stdlib/tst-strtod-round-data: Add more tests.
19861         * stdlib/tst-strtod-round.c (tests): Regenerated.
19862
19863         [BZ #3479]
19864         * stdlib/strtod_l.c (NDIG): Remove.
19865         (HEXNDIG): Likewise.
19866         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
19867         smallest representable value.
19868         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
19869         lie within an exact representation of 1/2 ulp of the result.
19870         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
19871         unconditionally.
19872         (TENS_P9_IDX): Define unconditionally.
19873         (TENS_P9_SIZE): Likewise.
19874         (TENS_P10_IDX): Likewise.
19875         (TENS_P10_SIZE): Likewise.
19876         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
19877         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
19878         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
19879         entries for 10^2^13 and 10^2^14.
19880         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
19881         (TENS_P13_IDX): Define.
19882         (TENS_P13_SIZE): Likewise.
19883         (TENS_P14_IDX): Likewise.
19884         (TENS_P14_SIZE): Likewise.
19885         (_fpioconst_pow10): Change array size to
19886         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
19887         unconditional.
19888         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
19889         1024]: Add entries for 10^2^13 and 10^2^14.
19890         [LAST_POW10 > _LAST_POW10]: Remove #error.
19891         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
19892         (_fpioconst_pow10): Change array size to
19893         FPIOCONST_POW10_ARRAY_SIZE.
19894         * stdlib/gen-fpioconst.c: New file.
19895         * stdlib/gen-tst-strtod-round.c: Likewise.
19896         * stdlib/tst-strtod-round-data: Likewise.
19897         * stdlib/tst-strtod-round.c: Likewise.
19898         * stdlib/Makefile (tests): Add tst-strtod-round.
19899
19900         [BZ #14459]
19901         * stdlib/strtod_l.c: Include <stdint.h>.
19902         (NDEBUG): Do not define.
19903         (round_and_return): Change EXPONENT parameter to type intmax_t.
19904         Rearrange calculations to avoid internal overflow possibilities.
19905         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
19906         Rearrange calculations to avoid internal overflow possibilities.
19907         Assert that number fits inside MPNSIZE limbs.
19908         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
19909         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
19910         calculations and add assertions to avoid internal overflow
19911         possibilities.  Add casts to avoid signed/unsigned operations.
19912         * stdlib/tst-strtod-overflow.c: New file.
19913         * stdlib/Makefile (tests): Add tst-strtod-overflow.
19914
19915 2012-08-25  Marek Polacek  <polacek@redhat.com>
19916
19917         * time/time.h: Fix some typos in comments.
19918
19919 2012-08-23  Roland McGrath  <roland@hack.frob.com>
19920
19921         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
19922         * posix/tst-rfc3484-2.c: Likewise.
19923         * posix/tst-rfc3484-3.c: Likewise.
19924
19925 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
19926
19927         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
19928         (EF_ARM_ABI_FLOAT_HARD): Likewise.
19929
19930 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
19931
19932         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
19933         #include of fxstatat64.c.
19934
19935 2012-08-22  Roland McGrath  <roland@hack.frob.com>
19936
19937         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
19938         * shadow/getspent_r.c: Likewise.
19939         * shadow/getspnam.c: Likewise.
19940         * shadow/getspnam_r.c: Likewise.
19941         * gshadow/getsgent.c: Likewise.
19942         * gshadow/getsgent_r.c: Likewise.
19943         * gshadow/getsgnam.c: Likewise.
19944         * gshadow/getsgnam_r.c: Likewise.
19945         * inet/getnetbyad.c: Likewise.
19946         * inet/getnetbyad_r.c: Likewise.
19947         * inet/getnetbynm.c: Likewise.
19948         * inet/getnetbynm_r.c: Likewise.
19949         * inet/getnetent.c: Likewise.
19950         * inet/getnetent_r.c: Likewise.
19951         * inet/getproto.c: Likewise.
19952         * inet/getproto_r.c: Likewise.
19953         * inet/getprtent.c: Likewise.
19954         * inet/getprtent_r.c: Likewise.
19955         * inet/getprtname.c: Likewise.
19956         * inet/getprtname_r.c: Likewise.
19957         * inet/getrpcbyname.c: Likewise.
19958         * inet/getrpcbyname_r.c: Likewise.
19959         * inet/getrpcbynumber.c: Likewise.
19960         * inet/getrpcbynumber_r.c: Likewise.
19961         * inet/getrpcent.c: Likewise.
19962         * inet/getrpcent_r.c: Likewise.
19963         * inet/getaliasent.c: Likewise.
19964         * inet/getaliasent_r.c: Likewise.
19965         * inet/getaliasname.c: Likewise.
19966         * inet/getaliasname_r.c: Likewise.
19967         * nscd/getgrgid_r.c: Likewise.
19968         * nscd/getgrnam_r.c: Likewise.
19969         * nscd/gethstbyad_r.c: Likewise.
19970         * nscd/gethstbynm3_r.c: Likewise.
19971         * nscd/getpwnam_r.c: Likewise.
19972         * nscd/getpwuid_r.c: Likewise.
19973         * nscd/getsrvbynm_r.c: Likewise.
19974         * nscd/getsrvbypt_r.c: Likewise.
19975         * nscd/gai.c: Likewise.
19976
19977         * configure.in (build_nscd): New substituted variable, set
19978         by --disable-build-nscd and defaults to $use_nscd.
19979         * configure: Regenerated.
19980         * config.make.in (build-nscd): New substituted variable.
19981         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
19982         Change conditional to require [$(build-nscd) = yes] as well.
19983         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
19984
19985         [BZ# 13696]
19986         * configure.in (use_nscd): New substituted variable, set by
19987         --disable-nscd.  If enabled, define USE_NSCD.
19988         * configure: Regenerated.
19989         * config.h.in: Add USE_NSCD.
19990         * config.make.in (use-nscd): New substituted variable.
19991         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
19992         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
19993         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
19994         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
19995         (CFLAGS-getgrnam_r.c): Likewise.
19996         (CFLAGS-initgroups.c): Likewise.
19997         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
19998         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
19999         Variables removed.
20000         * inet/getnetgrent_r.c
20001         (nscd_setnetgrent): New function, broken out of ...
20002         (setnetgrent): ... here.  Call it.
20003         (innetgr): Conditionalize nscd bits on [USE_NSCD].
20004         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
20005         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
20006         * nscd/Makefile (routines, aux): Move definitions after include of
20007         Makeconfig.  Conditionalize on [$(use-nscd) != no].
20008         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
20009         Conditionalize on [USE_NSCD].
20010         (is_nscd, nscd_init_cb): Likewise.
20011         (nss_load_library): Conditionalize init callback on [USE_NSCD].
20012         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
20013         * nss/nss_db/db-init.c: Likewise.
20014         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
20015         [USE_NSCD].
20016         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
20017         (make_request): Use it.
20018         (cache_valid_p): New function.
20019         (__check_pf): Use it.
20020         * NEWS: Add item for --disable-nscd.
20021
20022 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
20023
20024         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
20025         to support sed >= 4.2.1-20-ga9bf076.
20026         * configure: Regenerated.
20027
20028 2012-08-22  Roland McGrath  <roland@hack.frob.com>
20029
20030         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
20031         Conditionalize whole body on [IREL].
20032
20033 2012-08-22  Jeff Law <law@redhat.com>
20034
20035         [BZ #14505]
20036         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
20037         if the family is PF_UNSPEC.
20038
20039 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
20040
20041         * Makerules (lib-version): Rename from V.
20042         (install-lib-nosubdir): Change V to lib-version.
20043
20044 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
20045
20046         [BZ #14252]
20047         * powerpc32/power6/wcschr.c: New file.
20048         * powerpc32/power6/wcscpy.c: New file.
20049         * powerpc32/power6/wcsrchr.c: New file.
20050         * powerpc64/power6/wcschr.c: New file.
20051         * powerpc64/power6/wcscpy.c: New file.
20052         * powerpc64/power6/wcsrchr.c: New file.
20053
20054 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
20055
20056         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
20057         (two_way_short_needle): Use it.
20058         * string/strstr.c (AVAILABLE1_USES_J): Define.
20059         * string/strcasestr.c: Likewise.
20060
20061         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
20062         array references.
20063         * string/strcasestr.c (TOLOWER): Make side-effect safe.
20064
20065         [BZ #11607]
20066         * NEWS: Add an entry.
20067         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
20068         define their defaults.
20069         (two_way_short_needle): Detect end-of-string on-the-fly.
20070         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
20071         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
20072         * string/bug-strcasestr1.c: New test.
20073         * string/Makefile: Run it.
20074
20075 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
20076
20077         [BZ #11607]
20078         * string/str-two-way.h (two_way_short_needle): Optimize matching of
20079         the first character.
20080
20081 2012-08-21  Roland McGrath  <roland@hack.frob.com>
20082
20083         * csu/elf-init.c (__libc_csu_irel): Function removed.
20084         * csu/libc-start.c (apply_irel): New function.
20085         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
20086
20087 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
20088
20089         * sysdeps/unix/sysv/linux/kernel-features.h
20090         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
20091         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20092         <kernel-features.h>.
20093         [__NR_fadvise64_64]: Make code unconditional.
20094         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
20095         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20096         !__NR_fadvise64_64)]: Likewise.
20097         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
20098         !__NR_fadvise64_64))]: Likewise.
20099         [__NR_fadvise64]: Make code unconditional.
20100         [!__NR_fadvise64]: Remove conditional code.
20101         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
20102         <kernel-features.h>.
20103         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20104         unconditional.
20105         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20106         conditional code.
20107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
20108         not include <kernel-features.h>.
20109         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20110         unconditional.
20111         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20112         conditional code.
20113         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
20114         include <kernel-features.h>.
20115         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
20116         unconditional.
20117         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
20118         conditional code.
20119
20120 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
20121
20122         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
20123         slight instruction rearrangements per scrollpipe analysis.
20124         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20125
20126 2012-08-20  Roland McGrath  <roland@hack.frob.com>
20127
20128         * manual/syslog.texi (syslog; vsyslog, closelog):
20129         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
20130         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
20131
20132         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
20133         DSOCAPS to match condition on defining it.
20134
20135 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
20136
20137         * sysdeps/unix/sysv/linux/kernel-features.h
20138         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
20139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
20140         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20141         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
20143         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20144         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
20146         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
20147         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
20148
20149         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
20150         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
20151
20152         * sysdeps/unix/sysv/linux/kernel-features.h
20153         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
20154         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
20155         unconditional.
20156         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20157         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
20158         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20159         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20160         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
20161         Make code unconditional.
20162         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20163         (__mmap64) [!__NR_mmap2]: Likewise.
20164         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
20165         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
20166         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20167         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
20168         [__NR_mmap2]: Make code unconditional.
20169         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
20170         (__mmap64) [!__NR_mmap2]: Likewise.
20171
20172 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20173
20174         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
20175
20176 2012-08-18  Andreas Jaeger  <aj@suse.de>
20177
20178         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
20179
20180 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
20181
20182         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
20183         * include/unistd.h (__have_sock_cloexec): Likewise.
20184         (__have_pipe2): Likewise.
20185         (__have_dup3): Likewise.
20186
20187 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
20188
20189         [BZ #9685]
20190         * include/unistd.h (__have_pipe2): Change define into an extern int.
20191         (__have_dup3): Likewise.
20192         * socket/have_sock_cloexec.c: Include fcntl.h.
20193         (__have_pipe2): New variable.
20194         (__have_dup3): Likewise.
20195
20196 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
20197
20198         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
20199
20200 2012-08-17  Marek Polacek  <polacek@redhat.com>
20201
20202         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
20203         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
20204
20205 2012-08-17  Roland McGrath  <roland@hack.frob.com>
20206
20207         * configure.in: Add AC_SUBST for sysheaders.
20208         * configure: Regenerated.
20209         * config.make.in (sysheaders): New substituted variable.
20210
20211         * sysdeps/unix/mkfifo.c: Moved ...
20212         * sysdeps/posix/mkfifo.c: ... here.
20213         * sysdeps/unix/mkfifoat.c: Moved ...
20214         * sysdeps/posix/mkfifoat.c: ... here.
20215
20216         * sysdeps/unix/utime.c: Moved ...
20217         * sysdeps/posix/utime.c: ... here.
20218
20219         * sysdeps/unix/time.c: Moved ...
20220         * sysdeps/posix/time.c: ... here.
20221         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
20222         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
20223
20224         * sysdeps/unix/nice.c: Moved ...
20225         * sysdeps/posix/nice.c: ... here.
20226
20227         * sysdeps/unix/alarm.c: Moved ...
20228         * sysdeps/posix/alarm.c: ... here.
20229
20230         * intl/Makefile ($(codeset_mo)): Depend on the input file.
20231
20232 2012-08-17  Jeff Law <law@redhat.com>
20233
20234         * intl/Makefile (codeset_mo): New variable.
20235         ($(codeset_mo)): New target.
20236         (tst-codeset.out): Depend on that.  Remove explicit rule.
20237         (tst-gettext3.out, tst-gettext5.out): Likewise.
20238         (LOCPATH-ENV, tst-codeset-ENV): New variables.
20239         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
20240         * intl/tst-codeset.sh: Remove.
20241         * intl/tst-gettext3.sh: Likewise.
20242         * intl/tst-gettext5.sh: Likewise.
20243
20244 2012-08-17  Roland McGrath  <roland@hack.frob.com>
20245
20246         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
20247         * sysdeps/unix/syscalls.list: ... here.
20248
20249         * sysdeps/posix/getaddrinfo.c
20250         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
20251         (gaiconf_init, gaiconf_reload): Use them.
20252         [!_STATBUF_ST_NSEC]
20253         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
20254         Define using time_t rather than struct timespec.
20255
20256         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
20257         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
20258         Macros removed.
20259         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
20260         [!NO_THREADS].
20261         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
20262         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
20263         Likewise.
20264
20265         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
20266         __libc_cleanup_push argument.
20267
20268         * bits/param.h: New file.
20269         * misc/sys/param.h: New file.
20270         * include/sys/param.h: New file.
20271         * misc/Makefile (headers): Add bits/param.h.
20272         * sysdeps/generic/sys/param.h: File removed.
20273         * sysdeps/unix/sysv/linux/bits/param.h: New file.
20274         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
20275         * sysdeps/mach/hurd/bits/param.h: New file.
20276         * sysdeps/mach/hurd/sys/param.h: File removed.
20277
20278         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
20279         last change.
20280
20281         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
20282         [_IO_MTSAFE_IO].
20283         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
20284         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
20285         New macros.
20286
20287         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
20288         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
20289         rather than -D_IO_MTSAFE_IO conditionally.
20290         * stdio-common/Makefile (CPPFLAGS): Likewise.
20291         * wcsmbs/Makefile (CPPFLAGS): Likewise.
20292         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
20293         Use $(libio-mtsafe).
20294         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
20295         of -D_IO_MTSAFE_IO.
20296         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
20297         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
20298         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
20299         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
20300         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
20301         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
20302         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
20303         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
20304         (CFLAGS-fread_u_chk.c): Likewise.
20305         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
20306         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
20307         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
20308         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
20309         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
20310         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
20311         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
20312         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
20313         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
20314
20315         * libio/Makefile: Test [$(libc-reentrant) = yes]
20316         instead of [$(filter %REENTRANT, $(defines)) nonempty].
20317
20318         * Makeconfig
20319         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
20320         * sysdeps/pthread/configure: File removed.
20321         * sysdeps/pthread/Makeconfig: New file.
20322         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
20323         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
20324
20325 2012-08-16  Gary Benson  <gbenson@redhat.com>
20326
20327         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
20328         unmapping the first object in a namespace.
20329
20330 2012-08-16  Roland McGrath  <roland@hack.frob.com>
20331
20332         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
20333         (__internal_setnetgrent): ... this.  Add internal_function to
20334         definition.  Add libc_hidden_def.
20335         (setnetgrent): Update caller.
20336         (internal_endnetgrent): Renamed to ...
20337         (__internal_endnetgrent): ... this.  Add internal_function to
20338         definition.  Add libc_hidden_def.
20339         (endnetgrent): Update caller.
20340         (internal_getnetgrent_r): Renamed to ...
20341         (__internal_getnetgrent_r): ... this.  Add internal_function to
20342         definition.  Add libc_hidden_def.
20343         (__getnetgrent_r): Update caller.
20344         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
20345
20346 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
20347
20348         * stdlib/longlong.h: Update from GCC.
20349
20350 2012-08-16  Roland McGrath  <roland@hack.frob.com>
20351
20352         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
20353         on _QL, which is set by umul_ppmm but never used.
20354         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
20355         variables, which are set by GMP macros but never used.
20356         * stdio-common/_itowa.c (_itowa): Likewise.
20357         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
20358         * stdlib/mod_1.c (mpn_mod_1): Likewise.
20359
20360 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
20361
20362         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
20363         struct La_sh_regs is not constant.
20364         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
20365         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
20366         and struct La_sparc64_regs are not constant.
20367
20368 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
20369
20370         * sysdeps/unix/sysv/linux/kernel-features.h
20371         (__ASSUME_POSIX_TIMERS): Remove.
20372         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
20373         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20374         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
20375         Make code unconditional.
20376         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20377         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
20378         Make code unconditional.
20379         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20380         * sysdeps/unix/sysv/linux/clock_nanosleep.c
20381         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
20382         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20383         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
20384         Make code unconditional.
20385         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
20386         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
20387         (__libc_missing_posix_timers): Remove.
20388
20389 2012-08-15  Roland McGrath  <roland@hack.frob.com>
20390
20391         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
20392         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
20393
20394         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
20395
20396         * elf/dl-sym.c: Include <stdlib.h>.
20397
20398         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
20399         constants, which avoids warnings in 32-bit builds.
20400
20401         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
20402         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
20403
20404         * misc/lseek.c: File moved to ...
20405         * io/lseek.c: ... here.
20406
20407         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
20408
20409         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
20410         shifting LEN more than 31 bits at once.
20411
20412 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20413
20414         [BZ #14195]
20415         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
20416         segmentation fault for a case of two empty input strings.
20417         * string/test-strncasecmp.c (check1): Renamed to...
20418         (bz12205): ...this.
20419         (bz14195): Add new testcase for two empty input strings and N > 0.
20420         (test_main): Call new testcase, adapt for renamed function.
20421
20422 2012-08-15  Andreas Jaeger  <aj@suse.de>
20423
20424         [BZ #14090]
20425         * crypt/md5test2.c: New test, based on test supplied by Serge
20426         Belyshev <belyshev@depni.sinp.msu.ru>.
20427         * crypt/Makefile (xtests): Add md5test-giant..
20428         * crypt/Makefile ($(objpfx)md5test-giant): Add.
20429
20430 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
20431
20432         [BZ #14090]
20433         * crypt/md5.c (md5_process_block): Don't assume the buffer
20434         length is less than 2**32.
20435         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
20436         length is less than 2**64.
20437
20438 2012-08-15  Roland McGrath  <roland@hack.frob.com>
20439
20440         * string/str-two-way.h: Include <sys/param.h>.
20441         (MAX): Macro removed.
20442
20443         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
20444         Move #define and #undef of memmove to just before and after
20445         including <string.h>.
20446
20447         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
20448         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
20449         and after including <string.h>.  Move declarations of
20450         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
20451         to before #include "string/memmove.c".
20452
20453         * include/dirent.h: Declare __getdirentries.
20454
20455         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
20456         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
20457
20458 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
20459
20460         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
20461         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
20462         * sysdeps/i386/configure: Regenerated.
20463         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
20464         STABS_CURRENT_FILE, and STABS_FUN.
20465         (END): Remove call to STABS_FUN_END.
20466         (STABS_CURRENT_FILE1): Delete.
20467         (STABS_CURRENT_FILE): Likewise.
20468         (STABS_FUN): Likewise.
20469         (STABS_FUN_END): Likewise.
20470         (STABS_FUN2): Likewise.
20471         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
20472         * sysdeps/x86_64/configure: Regenerated.
20473
20474 2012-08-14  Roland McGrath  <roland@hack.frob.com>
20475
20476         * elf/dl-open.c: Include <atomic.h>.
20477         * elf/dl-lookup.c: Likewise.
20478
20479 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
20480
20481         * sysdeps/unix/sysv/linux/kernel-features.h
20482         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
20483         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
20484         unconditionally.
20485         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
20486         unconditionally.
20487         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
20488         condition on __ASSUME_CLONE_THREAD_FLAGS.
20489
20490 2012-08-14  Andreas Jaeger  <aj@suse.de>
20491
20492         * sysdeps/i386/fpu/libm-test-ulps: Update.
20493
20494 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
20495
20496         * include/atomic.h (atomic_exchange_and_add): Split into ...
20497         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
20498         New atomic macros.
20499
20500 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
20501
20502         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20503
20504 2012-08-13  Jeff Law <law@redhat.com>
20505
20506         * manual/stdio.texi (snprintf): Clarify handling of the trailing
20507         null byte in the output string.
20508
20509 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
20510
20511         * sysdeps/unix/sysv/linux/kernel-features.h
20512         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
20513         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
20514         (__ASSUME_ARG_MAX_STACK_BASED): Define.
20515         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
20516         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
20517         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
20518         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
20519
20520 2012-08-09  Jeff Law <law@redhat.com>
20521
20522         [BZ #13939]
20523         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
20524         When avoid_arena is set, don't retry in the that arena.  Pick the
20525         next one, whatever it might be.
20526         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
20527         (arena_lock): Pass in new parameter to arena_get2.
20528         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
20529         arena_get2.
20530         (__libc_malloc): Unify retrying after main arena failure with
20531         __libc_memalign version.
20532         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
20533
20534 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
20535
20536         [BZ #14166]
20537         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
20538         to __redirect_strstr.
20539         (__strstr_sse42): Use typeof __redirect_strstr.
20540         (__strstr_ia32): Likewise.
20541         (__libc_strstr): New prototype.
20542         (strstr): Renamed to ...
20543         (__libc_strstr): This.
20544         (strstr): New strong alias of __libc_strstr.
20545         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20546         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
20547         __redirect_time.
20548         Include <time.h>.
20549         (__libc_time): New prototype.
20550         (time_ifunc): Replace time with __libc_time.
20551         (time): New strong alias and hidden definition of __libc_time.
20552         (__GI_time): Remove strong alias.
20553         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
20554         Include <stddef.h>.
20555         (memmove): Redefined to __redirect_memmove.
20556         (__memmove_sse2): Use typeof __redirect_memmove.
20557         (__memmove_ssse3): Likewise.
20558         (__memmove_ssse3_back): Likewise.
20559         (__libc_memmove): New prototype.
20560         (memmove): Renamed to ...
20561         (__libc_memmove): This.
20562         (memmove): New strong alias of __libc_memmove.
20563
20564 2012-08-08  Mark Salter  <msalter@redhat.com>
20565
20566         * elf/elf.h
20567         (R_MN10300_TLS_GD): Define.
20568         (R_MN10300_TLS_LD): Likewise.
20569         (R_MN10300_TLS_LDO): Likewise.
20570         (R_MN10300_TLS_GOTIE): Likewise.
20571         (R_MN10300_TLS_IE): Likewise.
20572         (R_MN10300_TLS_LE): Likewise.
20573         (R_MN10300_TLS_DTPMOD): Likewise.
20574         (R_MN10300_TLS_DTPOFF): Likewise.
20575         (R_MN10300_TLS_TPOFF): Likewise.
20576         (R_MN10300_SYM_DIFF): Likewise.
20577         (R_MN10300_ALIGN): Likewise.
20578         (R_MN10300_NUM): Update.
20579
20580 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
20581
20582         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
20583         Remove.
20584
20585 2012-08-08  Roland McGrath  <roland@hack.frob.com>
20586
20587         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
20588
20589         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
20590         sysdeps/unix -> sysdeps/posix move.
20591         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20592
20593 2012-08-07      Allan McRae     <allan@archlinux.org>
20594
20595         [BZ #14303]
20596         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
20597         (SUNOS_CPP): Likewise.
20598         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
20599         not found.
20600         (open_input): Call CPP using execvp.
20601
20602 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20603
20604         * sysdeps/unix/sysv/linux/kernel-features.h
20605         (__ASSUME_PROT_GROWSUPDOWN): Remove.
20606         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20607         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20608         (__ASSUME_WAITID_SYSCALL): Likewise.
20609         * sysdeps/unix/sysv/linux/dl-execstack.c
20610         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
20611         code unconditional.
20612         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
20613         conditional code.
20614         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
20615         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
20616         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
20617         code.
20618         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
20619         unconditional.
20620         [__ASSUME_WAITID_SYSCALL]: Likewise.
20621         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
20622
20623 2012-08-07  Roland McGrath  <roland@hack.frob.com>
20624
20625         * sysdeps/unix/closedir.c: Renamed to ...
20626         * sysdeps/posix/closedir.c: ... here.
20627         * sysdeps/unix/dirfd.c: Renamed to ...
20628         * sysdeps/posix/dirfd.c: ... here.
20629         * sysdeps/unix/dirstream.h: Renamed to ...
20630         * sysdeps/posix/dirstream.h: ... here.
20631         * sysdeps/unix/fdopendir.c: Renamed to ...
20632         * sysdeps/posix/fdopendir.c: ... here.
20633         * sysdeps/unix/opendir.c: Renamed to ...
20634         * sysdeps/posix/opendir.c: ... here.
20635         * sysdeps/unix/readdir.c: Renamed to ...
20636         * sysdeps/posix/readdir.c: ... here.
20637         * sysdeps/unix/readdir_r.c: Renamed to ...
20638         * sysdeps/posix/readdir_r.c: ... here.
20639         * sysdeps/unix/rewinddir.c: Renamed to ...
20640         * sysdeps/posix/rewinddir.c: ... here.
20641         * sysdeps/unix/seekdir.c: Renamed to ...
20642         * sysdeps/posix/seekdir.c: ... here.
20643         * sysdeps/unix/telldir.c: Renamed to ...
20644         * sysdeps/posix/telldir.c: ... here.
20645         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
20646         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
20647         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
20648         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
20649
20650         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
20651         * bits/fcntl.h: ... here.
20652
20653         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
20654         not 0.
20655         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
20656         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
20657         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
20658         (struct flock): Move l_start, l_len to the beginning.
20659         Use __pid_t for l_pid.
20660         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
20661         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
20662         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
20663         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
20664         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
20665         [__USE_LARGEFILE64] (struct flock64): New type.
20666         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
20667
20668         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
20669         * bits/dirent.h: ... here.
20670
20671         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
20672         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
20673
20674 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
20675
20676         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20677         Change from 2.6.0 to 2.6.16.
20678         * sysdeps/unix/sysv/linux/configure: Regenerated.
20679         * sysdeps/unix/sysv/linux/kernel-features.h
20680         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
20681         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
20682         version.
20683         (__ASSUME_UTIMES): Likewise.
20684         (__ASSUME_CLONE_STOPPED): Remove.
20685         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
20686         architectures, not kernel version.
20687         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
20688         (__ASSUME_NO_CLONE_DETACHED): Likewise.
20689         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
20690         (__ASSUME_WAITID_SYSCALL): Likewise.
20691         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
20692         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
20693         * README: State 2.6.16 as minimum Linux kernel version.  Do not
20694         refer to older versions.
20695
20696 2012-08-06  Roland McGrath  <roland@hack.frob.com>
20697
20698         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
20699         Define alphasort64 as an alias.
20700         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
20701         Define versionsort64 as an alias.
20702         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
20703         Define scandir64 as an alias.
20704         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
20705         Define scandirat64 as an alias.
20706         * dirent/alphasort64.c (alphasort64):
20707         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
20708         * dirent/versionsort64.c: Likewise.
20709         * dirent/scandir64.c: Likewise.
20710         * dirent/scandirat64.c: Likewise.
20711         * sysdeps/wordsize-64/alphasort.c: File removed.
20712         * sysdeps/wordsize-64/alphasort64.c: File removed.
20713         * sysdeps/wordsize-64/scandir.c: File removed.
20714         * sysdeps/wordsize-64/scandir64.c: File removed.
20715         * sysdeps/wordsize-64/scandirat.c: File removed.
20716         * sysdeps/wordsize-64/scandirat64.c: File removed.
20717         * sysdeps/wordsize-64/versionsort.c: File removed.
20718         * sysdeps/wordsize-64/versionsort64.c: File removed.
20719         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
20720         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
20721         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
20722         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
20723         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
20724         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
20725         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
20726         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
20727
20728         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
20729         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20730         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
20731         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20732         [defined __arch64__ || defined __sparcv9]
20733         (__INO_T_MATCHES_INO64_T): New macro.
20734         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20735         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
20736         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
20737         * sysdeps/unix/sysv/linux/bits/dirent.h
20738         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
20739         (_DIRENT_MATCHES_DIRENT64): New macro.
20740
20741         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
20742         Define lockf64 as an alias.
20743         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
20744         Define fseeko64 as an alias.
20745         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
20746         Define ftello64 as an alias.
20747         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
20748         Define _IO_fgetpos64 and fgetpos64 as aliases.
20749         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
20750         Define _IO_fsetpos64 and fsetpos64 as aliases.
20751         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
20752         Conditionalize body on this.
20753         * libio/fseeko64.c: Likewise.
20754         * libio/ftello64.c: Likewise.
20755         * libio/iofgetpos64.c: Likewise.
20756         * libio/iofsetpos64.c: Likewise.
20757         * sysdeps/wordsize-64/lockf.c: File removed.
20758         * sysdeps/wordsize-64/lockf64.c: File removed.
20759         * sysdeps/wordsize-64/fseeko.c: File removed.
20760         * sysdeps/wordsize-64/fseeko64.c: File removed.
20761         * sysdeps/wordsize-64/ftello.c: File removed.
20762         * sysdeps/wordsize-64/ftello64.c: File removed.
20763         * sysdeps/wordsize-64/iofgetpos.c: File removed.
20764         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
20765         * sysdeps/wordsize-64/iofsetpos.c: File removed.
20766         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
20767         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
20768         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
20769         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
20770         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
20771         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
20772         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
20773         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
20774         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
20775         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
20776         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
20777
20778         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20779         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
20780         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
20781         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20782         [defined __arch64__ || defined __sparcv9]
20783         (__OFF_T_MATCHES_OFF64_T): New macro.
20784         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20785         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
20786         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20787         (__OFF_T_MATCHES_OFF64_T): New macro.
20788
20789 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20790
20791         * stdlib/secure-getenv.c (__secure_getenv): Replace
20792         GLIBC_2_16 with GLIBC_2_17.
20793
20794 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
20795
20796         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
20797         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20798
20799 2012-08-03  David S. Miller  <davem@davemloft.net>
20800
20801         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20802
20803 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20804
20805         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
20806         Remove.
20807         (__ASSUME_CORRECT_SI_PID): Likewise.
20808         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
20809         (__ASSUME_TMPFS_NAME): Likewise.
20810         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
20811         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
20812         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
20813         (HAVE_AUX_SECURE): Make definition unconditional.
20814         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
20815         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
20816
20817 2012-08-03  Roland McGrath  <roland@hack.frob.com>
20818
20819         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
20820         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
20821         * sysdeps/mach/hurd/eloop-threshold.h: New file.
20822         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20823         __eloop_threshold instead of SYMLOOP_MAX.
20824
20825         * sysdeps/generic/eloop-threshold.h: New file.
20826         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
20827         of MAXSYMLINKS.
20828         * elf/chroot_canon.c (chroot_canon): Likewise.
20829
20830 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
20831
20832         [BZ #13717]
20833         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20834         Change to 2.6.0 everywhere.
20835         * sysdeps/unix/sysv/linux/configure: Regenerated.
20836         * sysdeps/unix/sysv/linux/kernel-features.h
20837         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
20838         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
20839         kernel versions.
20840         (__ASSUME_POSIX_TIMERS): Define unconditionally.
20841         (__ASSUME_FUTEX_REQUEUE): Remove.
20842         (__ASSUME_STATFS64): Define unconditionally.
20843         (__ASSUME_AT_SECURE): Likewise.
20844         (__ASSUME_CORRECT_SI_PID): Likewise.
20845         (__ASSUME_TGKILL): Define without depending on kernel version for
20846         i386.
20847         (__ASSUME_UTIMES): Likewise.
20848         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
20849         kernel version.
20850         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
20851         (__ASSUME_TMPFS_NAME): Likewise.
20852         * README: Update reference to Linux kernel versions.
20853
20854 2012-08-02  Marek Polacek  <polacek@redhat.com>
20855
20856         [BZ# 14150]
20857         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
20858         libc_cv_asm_type_prefix with %.
20859         * configure: Regenerated.
20860         * include/libc-symbols.h: Remove comment about
20861         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20862         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
20863         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
20864         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
20865         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
20866         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
20867         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
20868         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
20869         * elf/tst-unique2mod1.c: Likewise.
20870         * elf/tst-unique1mod2.c: Likewise.
20871         * elf/tst-unique1mod1.c: Likewise.
20872         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
20873         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
20874         Replace ASM_TYPE_DIRECTIVE with .type.
20875         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20876         * sysdeps/i386/sysdep.h: Likewise.
20877         * sysdeps/x86_64/sysdep.h: Likewise.
20878         * sysdeps/sh/sysdep.h: Likewise.
20879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
20880         Do not define ASM_TYPE_DIRECTIVE.
20881         * sysdeps/powerpc/sysdep.h: Likewise.
20882         * sysdeps/powerpc/powerpc32/sysdep.h:
20883         Replace ASM_TYPE_DIRECTIVE with .type.
20884         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20885         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20886         * sysdeps/i386/fpu/e_powf.S: Likewise.
20887         * sysdeps/i386/fpu/e_expl.S: Likewise.
20888         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20889         * sysdeps/i386/fpu/e_acosh.S: Likewise.
20890         * sysdeps/i386/fpu/e_pow.S: Likewise.
20891         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20892         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20893         * sysdeps/i386/fpu/s_expm1.S: Likewise.
20894         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20895         * sysdeps/i386/fpu/e_log2.S: Likewise.
20896         * sysdeps/i386/fpu/e_log2l.S: Likewise.
20897         * sysdeps/i386/fpu/e_scalb.S: Likewise.
20898         * sysdeps/i386/fpu/e_powl.S: Likewise.
20899         * sysdeps/i386/fpu/e_log10f.S: Likewise.
20900         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20901         * sysdeps/i386/fpu/e_logl.S: Likewise.
20902         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20903         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20904         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20905         * sysdeps/i386/fpu/e_log2f.S: Likewise.
20906         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20907         * sysdeps/i386/fpu/e_log.S: Likewise.
20908         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20909         * sysdeps/i386/fpu/e_logf.S: Likewise.
20910         * sysdeps/i386/fpu/e_log10l.S: Likewise.
20911         * sysdeps/i386/fpu/e_atanh.S: Likewise.
20912         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20913         * sysdeps/i386/fpu/e_log10.S: Likewise.
20914         * sysdeps/i386/fpu/s_frexp.S: Likewise.
20915         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20916         * sysdeps/i386/fpu/s_asinh.S: Likewise.
20917         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20918         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20919         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
20920         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20921         * sysdeps/i386/i686/strtok.S: Likewise.
20922         * sysdeps/i386/i386-mcount.S: Likewise.
20923         * sysdeps/i386/strtok.S: Likewise.
20924         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
20925         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20926         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20927         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20928         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
20929         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20930         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20931         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20932         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20933         * sysdeps/x86_64/_mcount.S: Likewise.
20934         * sysdeps/x86_64/strtok.S: Likewise.
20935         * sysdeps/sh/_mcount.S: Likewise.
20936
20937 2012-08-01  Roland McGrath  <roland@hack.frob.com>
20938
20939         * libio/iofopen.c: Include <fcntl.h>.
20940         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
20941         (_IO_fopen64, fopen64): Define as aliases.
20942         * libio/iofopen64.c: Include <fcntl.h>.
20943         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
20944         Conditionalize body on this.
20945         * sysdeps/wordsize-64/iofopen.c: File removed.
20946         * sysdeps/wordsize-64/iofopen64.c: File removed.
20947
20948 2012-08-01  Marek Polacek  <polacek@redhat.com>
20949
20950         * libc/Makeconfig: Use elf in place of binfmt-subdir.
20951         Use dlfcn directly instead of a variable.
20952         (binfmt-subdir): Do not define.
20953         (dlfcn): Likewise.
20954
20955 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
20956
20957         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
20958         Remove all definitions.
20959         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
20960         <kernel-features.h>.
20961         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20962         (miss_F_GETOWN_EX): Remove all definitions.
20963         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
20964         macro definition.
20965         [!__ASSUME_FCNTL64]: Remove conditional code.
20966         [__ASSUME_FCNTL64]: Make code unconditional.
20967         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
20968         <kernel-features.h>.
20969         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
20970         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
20971         (lockf64) [__NR_fcntl64]: Make code unconditional.
20972         (lockf64) [__ASSUME_FCNTL64]: Likewise.
20973
20974         * sysdeps/unix/sysv/linux/kernel-features.h
20975         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
20976         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
20977         Make code unconditional.
20978         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20979         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
20981         [__NR_vfork]: Make code unconditional.
20982         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20983         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
20985         [__NR_vfork]: Make code unconditional.
20986         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
20987         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
20988
20989 2012-08-01  Roland McGrath  <roland@hack.frob.com>
20990
20991         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
20992         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
20993
20994         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20995         Define mkstemp64 as an alias.
20996         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20997         Define mkstemps64 as an alias.
20998         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
20999         Define mkostemp64 as an alias.
21000         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
21001         Define mkostemps64 as an alias.
21002         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
21003         Conditionalize body on this.
21004         * misc/mkostemp64.c: Likewise.
21005         * misc/mkostemps64.c: Likewise.
21006         * misc/mkstemps64.c: Likewise.
21007         * sysdeps/wordsize-64/mkstemp64.c: File removed.
21008         * sysdeps/wordsize-64/mkostemp64.c: File removed.
21009         * sysdeps/wordsize-64/mkostemp.c: File removed.
21010         * sysdeps/wordsize-64/mkstemp.c: File removed.
21011         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
21012         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
21013         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
21014         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
21015
21016         [BZ #14138]
21017         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
21018         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
21019         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
21020         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
21021
21022         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
21023         compat_symbol macros from <shlib-compat.h> rather than the underlying
21024         default_symbol_version and symbol_version macros, so that DEFAULT
21025         lines in shlib-versions are respected.
21026         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
21027
21028 2012-08-01  Florian Weimer  <fweimer@redhat.com>
21029
21030         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
21031         Declare with warn_unused_result.
21032         (setgid, setregid, setegid, setresgid): Likewise.
21033         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
21034         Likewise.
21035         * WUR-REPORT: Remove set*id functions.
21036
21037 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
21038
21039         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
21040
21041 2012-07-31  Roland McGrath  <roland@hack.frob.com>
21042
21043         [BZ #10191]
21044         * include/sys/socket.h (__libc_accept, __libc_accept4):
21045         Add attribute_hidden.
21046         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
21047
21048         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
21049         use of PTR_MANGLE.
21050         * inet/getnetgrent_r.c (setup): Likewise.
21051
21052         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
21053
21054 2012-07-31  David S. Miller  <davem@davemloft.net>
21055
21056         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21057
21058 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
21059
21060         [BZ #13629]
21061         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
21062         value between 1.0 and 2.0 and smaller part has absolute value less
21063         than 1.0.
21064         * math/s_clog10.c (__clog10): Likewise.
21065         * math/s_clog10f.c (__clog10f): Likewise.
21066         * math/s_clog10l.c (__clog10l): Likewise.
21067         * math/s_clogf.c (__clogf): Likewise.
21068         * math/s_clogl.c (__clogl): Likewise.
21069         * math/libm-test.inc (clog_test): Add more tests.
21070         (clog10_test): Likewise.
21071         * sysdeps/i386/fpu/libm-test-ulps: Update.
21072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21073
21074 2012-07-31  Florian Weimer  <fweimer@redhat.com>
21075
21076         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
21077         Exit with zero in case no suitable GID is found, and write a
21078         message to standard error.
21079
21080 2012-07-30  Roland McGrath  <roland@hack.frob.com>
21081
21082         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
21083         rather than to 1.
21084         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
21085         (MAXPATHLEN): Removed.
21086         (NOGROUP, NODEV): New macros.
21087         (setbit, clrbit, isset, isclr): New macros.
21088         (howmany, roundup, powerof2): New macros.
21089         (DEV_BSIZE): New macro.
21090
21091         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
21092         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
21093
21094         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
21095         definition on [!__NO_LONG_DOUBLE_MATH].
21096
21097         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
21098         PTR_MANGLE and PTR_DEMANGLE.
21099
21100         * socket/accept4.c (accept4): Rename to __libc_accept4.
21101         Define accept4 as a weak alias.
21102
21103         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
21104         on [_DIRENT_HAVE_D_TYPE].
21105         * io/ftw.c (ftw_dir): Likewise.
21106
21107         * io/xmknod.c (__xmknod): Don't check PATH for being null.
21108
21109         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
21110
21111         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
21112         Use the BSD numbers rather than the arbitrary ones we had.
21113         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
21114         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
21115         (SIGXCPU, SIGXFSZ): New macros.
21116         (_NSIG): Now 32.
21117
21118         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
21119         initializer on [_LIBC_REENTRANT].
21120
21121         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
21122         definitions inside [_POSIX_MAPPED_FILES].
21123
21124         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
21125
21126         * dirent/opendir.c: Include <fcntl.h>.
21127
21128         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
21129         (__libc_getspecific): Likewise.
21130         (__libc_key_create): Likewise.
21131
21132         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
21133         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
21134         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
21135         (tmpfile64): Define as alias.
21136         * sysdeps/wordsize-64/tmpfile.c: File removed.
21137         * sysdeps/wordsize-64/tmpfile64.c: File removed.
21138         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
21139         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
21140
21141         * stdio-common/vfscanf.c: Include <stdbool.h>.
21142         * nss/makedb.c: Likewise.
21143         * stdio-common/_i18n_number.h: Likewise.
21144         * argp/argp-help.c: Likewise.
21145         * posix/wordexp.c: Likewise.
21146         * sysdeps/posix/spawni.c: Likewise.
21147         * nss/nss_files/files-initgroups.c: Likewise.
21148         * stdio-common/reg-modifier.c: Include <stdlib.h>.
21149         * nss/nss_files/files-initgroups.c: Likewise.
21150         * nss/nss_db/db-netgrp.c: Likewise.
21151         * nss/nss_db/db-initgroups.c: Likewise.
21152         * io/fchmodat.c: Include <sys/stat.h>.
21153
21154         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
21155         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
21156
21157         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
21158         [HAVE_MMAP].
21159
21160         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
21161         Add multiple inclusion protection.
21162
21163 2012-07-27  David S. Miller  <davem@davemloft.net>
21164
21165         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21166
21167 2012-07-27  Gary Benson  <gbenson@redhat.com>
21168
21169         [BZ #14298]
21170         * elf/rtld.c: Include <stap-probe.h>.
21171         (dl_main): Added static probes "init_start" and "init_complete".
21172         * elf/dl-load.c: Include <stap-probe.h>.
21173         (lose): Take new parameter "nsid".
21174         Added static probe "map_failed".
21175         (_dl_map_object_from_fd): Pass namespace id to lose.
21176         Added static probe "map_start".
21177         (open_verify): Pass namespace id to lose.
21178         * elf/dl-open.c: Include <stap-probe.h>.
21179         (dl_open_worker) Added static probes "map_complete", "reloc_start"
21180         and "reloc_complete".
21181         * elf/dl-close.c: Include <stap-probe.h>.
21182         (_dl_close_worker): Added static probes "unmap_start" and
21183         "unmap_complete".
21184         * elf/rtld-debugger-interface.txt: New file documenting the above.
21185
21186 2012-07-26  Roland McGrath  <roland@hack.frob.com>
21187
21188         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
21189         rather than a string variable.
21190         * sunrpc/rpc_main.c (h_output): Likewise.
21191         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
21192
21193 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
21194
21195         * inet/check_native.c: New file.
21196
21197 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
21198
21199         [BZ #13629]
21200         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
21201         if larger part has absolute value 1.0.
21202         * math/s_clog10.c (__clog10): Likewise.
21203         * math/s_clog10f.c (__clog10f): Likewise.
21204         * math/s_clog10l.c (__clog10l): Likewise.
21205         * math/s_clogf.c (__clogf): Likewise.
21206         * math/s_clogl.c (__clogl): Likewise.
21207         * math/libm-test.inc (clog_test): Add more tests.
21208         (clog10_test): Likewise.
21209         * sysdeps/i386/fpu/libm-test-ulps: Update.
21210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21211
21212         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
21213         (pltexit): Likewise.
21214         (La_regs): Likewise.
21215         (La_retval): Likewise.
21216         (int_retval): Likewise.
21217         Update #error for removed macros to refer only to definitions in
21218         tst-audit.h.
21219         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
21220         macro.
21221         (pltexit): Likewise.
21222         (La_regs): Likewise.
21223         (La_retval): Likewise.
21224         (int_retval): Likewise.
21225         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
21226         macro.
21227         (pltexit): Likewise.
21228         (La_regs): Likewise.
21229         (La_retval): Likewise.
21230         (int_retval): Likewise.
21231         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
21232         macro.
21233         (pltexit): Likewise.
21234         (La_regs): Likewise.
21235         (La_retval): Likewise.
21236         (int_retval): Likewise.
21237         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
21238         macro.
21239         (pltexit): Likewise.
21240         (La_regs): Likewise.
21241         (La_retval): Likewise.
21242         (int_retval): Likewise.
21243         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
21244         macro.
21245         (pltexit): Likewise.
21246         (La_regs): Likewise.
21247         (La_retval): Likewise.
21248         (int_retval): Likewise.
21249         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
21250         macro.
21251         (pltexit): Likewise.
21252         (La_regs): Likewise.
21253         (La_retval): Likewise.
21254         (int_retval): Likewise.
21255         * sysdeps/generic/tst-audit.h: Update comment to refer only to
21256         macro definitions in tst-audit.h.
21257         * sysdeps/i386/tst-audit.h: New file.
21258         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
21259         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
21260         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
21261         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
21262         * sysdeps/sh/tst-audit.h: Likewise.
21263         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
21264         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
21265         * sysdeps/x86_64/tst-audit.h: Likewise.
21266
21267 2012-07-26  Andreas Jaeger  <aj@suse.de>
21268
21269         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
21270         ptrace.
21271
21272         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
21273         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
21274         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
21275         PTRACE_O_MASK.
21276         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
21277         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
21278         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
21279
21280         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
21281         value.
21282
21283         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
21284         _sigsys.
21285         (si_call_addr, si_syscall, si_arch): Define new macro.
21286         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
21287         _sigsys.
21288         (si_call_addr, si_syscall, si_arch): Define new marcro.
21289         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
21290         _sigsys.
21291         (si_call_addr, si_syscall, si_arch): Define new macro.
21292         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
21293         _sigsys.
21294         (si_call_addr, si_syscall, si_arch): Define new macro.
21295
21296 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
21297
21298         [BZ #13717]
21299         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21300         Change to 2.4.21 where previously 2.4.1.
21301         * sysdeps/unix/sysv/linux/configure: Regenerated.
21302         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
21303         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
21304         Linux kernel version.
21305         (__ASSUME_STD_AUXV): Remove.
21306         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
21307         kernel version.
21308         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
21309         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
21310         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
21311         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
21312         (__ASSUME_NETLINK_SUPPORT): Likewise.
21313         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
21314         (__no_netlink_support): Remove conditional definition.
21315         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
21316         Remove.
21317         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21318         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
21319         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
21320         (if_nameindex_ioctl): Remove.
21321         (if_nameindex_netlink): Do not handle __no_netlink_support.
21322         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21323         code.
21324         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
21325         Remove conditional code.
21326         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
21327         code.
21328         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
21329         unconditional.
21330         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
21331         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
21332         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
21333         Remove.
21334         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
21335         [!__ASSUME_STD_AUXV]: Remove conditional code.
21336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
21337         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
21338         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
21339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
21340         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
21341         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21342         code.
21343         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21345         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
21346         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21347         conditional code.
21348         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
21349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21350         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
21351         code.
21352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21353         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
21354         conditional code.
21355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
21356         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21357         code unconditional.
21358         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21359         conditional code.
21360         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21361         unconditional.
21362         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21363         conditional code.
21364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21365         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21366         unconditional.
21367         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21368         conditional code.
21369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21370         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21371         code unconditional.
21372         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21373         conditional code.
21374         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21375         unconditional.
21376         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21377         conditional code.
21378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21379         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
21380         code unconditional.
21381         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21382         conditional code.
21383         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
21384         unconditional.
21385         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
21386         conditional code.
21387
21388 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
21389
21390         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
21391         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
21392         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21393         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
21394         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
21395         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
21396         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21397         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21398         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
21399         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21400         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
21401         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
21402         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
21403         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
21404         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
21405         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
21406         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
21407         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21408         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
21409         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
21410         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
21411         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
21412         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21413
21414 2012-07-25  Florian Weimer  <fweimer@redhat.com>
21415
21416         * Versions.def: Add GLIBC_2.17.
21417         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
21418         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
21419         Introduce __libc_secure_getenv.
21420         * stdlib/Versions (2.17): Add secure_getenv
21421         (GLIBC_PRIVATE): Add __libc_secure_getenv.
21422         * stdlib/secure-getenv.c: Rename __secure_getenv to
21423         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
21424         symbol __secure_getenv for GLIBC_2.0.
21425         * stdlib/tst-secure-getenv.c: New.
21426         * stdlib/Makefile (tests): Add testcase.
21427         * manual/startup.texi (Environment Access): Document
21428         secure_getenv.
21429         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
21430         __libc_secure_getenv.
21431         * inet/ruserpass.c (ruserpass): Likewise.
21432         * malloc/mtrace.c (mtrace): Likewise.
21433         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
21434         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21435         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
21436         * sysdeps/posix/tempname.c: Likewise.  Evaluate
21437         HAVE_SECURE_GETENV.
21438         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
21439         __secure_getenv to __libc_secure_getenv.
21440         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
21441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21442         Likewise.
21443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21444         Likewise.
21445         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21446         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21447         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21448         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21449         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21450         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21451         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21452
21453 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
21454
21455         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
21456         (struct La_i86_retval): Likewise.
21457         (struct La_x86_64_regs): Likewise.
21458         (struct La_x86_64_retval): Likewise.
21459         (struct La_x32_regs): Likewise.
21460         (struct La_x32_retval): Likewise.
21461         (struct La_ppc32_regs): Likewise.
21462         (struct La_ppc32_retval): Likewise.
21463         (struct La_ppc64_regs): Likewise.
21464         (struct La_ppc64_retval): Likewise.
21465         (struct La_sh_regs): Likewise.
21466         (struct La_sh_retval): Likewise.
21467         (struct La_s390_32_regs): Likewise.
21468         (struct La_s390_32_retval): Likewise.
21469         (struct La_s390_64_regs): Likewise.
21470         (struct La_s390_64_retval): Likewise.
21471         (struct La_sparc32_regs): Likewise.
21472         (struct La_sparc32_retval): Likewise.
21473         (struct La_sparc64_regs): Likewise.
21474         (struct La_sparc64_retval): Likewise.
21475         (struct audit_ifaces): Remove architecture-specific pltenter and
21476         pltexit members.
21477         * sysdeps/i386/ldsodefs.h: New file.
21478         * sysdeps/powerpc/ldsodefs.h: Likewise.
21479         * sysdeps/s390/ldsodefs.h: Likewise.
21480         * sysdeps/sh/ldsodefs.h: Likewise.
21481         * sysdeps/sparc/ldsodefs.h: Likewise.
21482         * sysdeps/x86_64/ldsodefs.h: Likewise.
21483
21484 2012-07-25  Marek Polacek  <polacek@redhat.com>
21485
21486         [BZ #6808]
21487         * math/libm-test.inc (yn_test): Add another test.
21488         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
21489         to ERANGE when the result is +-Inf.
21490         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21491         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
21492         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
21493         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
21494
21495 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
21496
21497         * conform/data/time.h-data (NULL): Use macro-constant.  Require
21498         equal to 0.
21499         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
21500         clock_t.
21501         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
21502
21503 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
21504
21505         * configure.in <sysdeps resolving>: Correct printing
21506         Implies_before.
21507         * configure: Regenerate.
21508
21509 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
21510
21511         * math/w_ilogb.c: Include <limits.h>.
21512         * math/w_ilogbl.c: Likewise.
21513
21514 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
21515
21516         * manual/lang.texi (__va_copy): Document primarily as ISO C99
21517         va_copy.  Document allowing for unavailable va_copy only as
21518         pre-C99 compatibility.
21519         * manual/string.texi (Copying and Concatenation): Use va_copy
21520         instead of __va_copy in concat example.
21521
21522 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
21523
21524         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
21525         (__sendto): Use create_address_port.  Initialize APORT and deallocate
21526         it if not null.
21527
21528         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
21529         with O_NOLINK passed to __file_name_lookup.
21530
21531         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
21532         with O_NOLINK passed to __file_name_lookup.
21533
21534         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
21535         negative N or less than NGIDS.
21536
21537         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
21538         type to string_t.  Set ERANGE as errno and return it if NAME is not big
21539         enough.  Use memcpy instead of strncpy.
21540
21541 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
21542
21543         * elf/Makefile (check-data): Remove.
21544         (localplt.data): New vpath directive.
21545         ($(objpfx)check-localplt.out): Use localplt.data from vpath
21546         instead of $(check-data).
21547         * scripts/data/localplt-generic.data: Move to ...
21548         * sysdeps/generic/localplt.data: ... here.
21549         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
21550         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
21551         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
21552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
21553         ... here.
21554         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
21555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
21556         ... here.
21557         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
21558         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
21559         ... here.
21560         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
21561         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
21562         ... here.
21563         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
21564         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
21565         ... here.
21566         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
21567         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
21568         ... here.
21569
21570 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21571
21572         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
21573         PPC32 and PPC64 files.
21574         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
21575         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
21576
21577 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21578
21579         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
21580         __makecontext_ret to ...
21581         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21582         ... here and call exit if uc_link is NULL.  New file.
21583         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
21584         __makecontext_ret.S.
21585         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
21586         __makecontext_ret to ...
21587         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21588         ... here and call exit if uc_link is NULL.  New file.
21589         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
21590         __makecontext_ret.S.
21591
21592 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21593
21594         * elf/elf.h (R_390_IRELATIVE): New definition.
21595         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
21596         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
21597         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
21598         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
21599         (elf_machine_lazy_rel): Likewise.
21600         * sysdeps/s390/dl-irel.h: New file.
21601         * sysdeps/s390/s390-64/memcpy.S: New asm code.
21602         * sysdeps/s390/s390-64/memset.S: New asm code.
21603         * sysdeps/s390/s390-64/memcmp.S: New asm code.
21604         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
21605         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
21606         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
21607         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
21608         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
21609         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
21610         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
21611         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
21612         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
21613         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
21614         * sysdeps/s390/s390-32/memcpy.S: New asm code.
21615         * sysdeps/s390/s390-32/memset.S: New asm code.
21616         * sysdeps/s390/s390-32/memcmp.S: New asm code.
21617
21618 2012-07-17  Marek Polacek  <polacek@redhat.com>
21619
21620         [BZ #14349]
21621         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
21622         * sysdeps/s390/s390-64/configure.in: Likewise.
21623         * sysdeps/sparc/configure.in: Likewise.
21624         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
21625         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
21626         * sysdeps/i386/configure.in: Likewise.
21627         * sysdeps/x86_64/configure.in: Likewise.
21628         * sysdeps/sh/configure.in: Likewise.
21629         * sysdeps/s390/s390-32/configure: Regenerated.
21630         * sysdeps/s390/s390-64/configure: Likewise.
21631         * sysdeps/x86_64/configure: Likewise.
21632         * sysdeps/sh/configure: Likewise.
21633         * sysdeps/powerpc/powerpc64/configure: Likewise.
21634         * sysdeps/powerpc/powerpc32/configure: Likewise.
21635         * sysdeps/sparc/configure: Likwise.
21636         * sysdeps/i386/configure: Likewise.
21637
21638         * elf/dl-open.c: Comment fixes.
21639
21640 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
21641
21642         * Makefile [CXX] (check-data): Remove.
21643         [CXX] (c++-types.data): New vpath directive.
21644         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
21645         vpath.  Do not allow for C++ type data being missing.
21646         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
21647         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
21648         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
21649         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
21650         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
21651         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
21652         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
21653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
21654         ... here.
21655         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
21656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
21657         ... here.
21658         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
21659         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
21660         ... here.
21661         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
21662         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
21663         ... here.
21664         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
21665         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
21666         ... here.
21667         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
21668         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
21669         ... here.
21670         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
21671         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
21672         ... here.
21673         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
21674         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
21675
21676         * elf/tls-macros.h (TLS_LE): Move architecture-specific
21677         definitions to architecture-specific files.
21678         (TLS_IE): Likewise.
21679         (TLS_LD): Likewise.
21680         (TLS_GD): Likewise.
21681         * sysdeps/i386/tls-macros.h: New file.
21682         * sysdeps/powerpc/tls-macros.h: Likewise.
21683         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
21684         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
21685         * sysdeps/sh/tls-macros.h: Likewise.
21686         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
21687         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
21688         * sysdeps/x86_64/tls-macros.h: Likewise.
21689
21690 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21691
21692         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
21693         zero value for regular exit case.
21694
21695         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21696         (__start_context): Preserve zero value for regular exit case.
21697
21698 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
21699             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21700
21701         * manual/setjmp.texi (setcontext): Clarify normal process
21702         termination when uc_link is the null pointer.
21703         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
21704         exit call.
21705
21706 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
21707
21708         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
21709         preprocessor.  Test for each exception mask separately.
21710
21711 2012-07-16  Andreas Jaeger  <aj@suse.de>
21712
21713         * po/ru.po: Update from translation team.
21714
21715 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
21716
21717         * conform/data/string.h-data (NULL): Use macro-constant.  Require
21718         equal to 0.
21719         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21720         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21721         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
21722         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
21723         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21724
21725 2012-07-13  Andreas Jaeger  <aj@suse.de>
21726
21727         * po/fr.po: Update from translation team.
21728
21729 2012-07-12  Marek Polacek  <polacek@redhat.com>
21730
21731         [BZ #14173]
21732         * math/libm-test.inc (yn_test): Add test for BZ #14173.
21733         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
21734         loop condition.
21735
21736 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
21737
21738         [BZ #13717]
21739         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
21740         Change to 2.4.1 where previously 2.4.0.
21741         * sysdeps/unix/sysv/linux/configure: Regenerated.
21742         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
21743         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
21744         version.
21745         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
21746         (__ASSUME_AT_CLKTCK): Remove.
21747         (__ASSUME_AT_PAGESIZE): Likewise.
21748         (__ASSUME_AT_XID): Likewise.
21749         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
21750         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
21751         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
21752         unconditionally.
21753         (HAVE_AUX_PAGESIZE): Likewise.
21754         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
21755         [__ASSUME_AT_CLKTCK]: Make code unconditional.
21756         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
21757
21758 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
21759
21760         [BZ #14307]
21761         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
21762         the temporary buffer used to invoke __gethostbyname2_r,
21763         __gethostbyaddr_r and gethostbyname4_r to make room for struct
21764         host_data / struct gaih_addrtuple.
21765         * resolv/nss_dns/dns-host.c (global scope): Move definition of
21766         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
21767         header file nss/nsswitch.h.
21768         * nss/nsswitch.h (global scope): Add definition of implementation
21769         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
21770         resolv/nss_dns/dns-host.c).
21771
21772 2012-07-11  Andreas Jaeger  <aj@suse.de>
21773
21774         * po/fr.po: Update from translation team.
21775
21776         * po/sv.po: Update from translation team
21777         * po/fr.po: Another update from translation team.
21778
21779 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21780
21781         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
21782         for subnormals or multiply small sinh result by itself.
21783         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21784         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21785
21786 2012-07-11  David S. Miller  <davem@davemloft.net>
21787
21788         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21789
21790 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
21791
21792         [BZ #14347]
21793         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
21794         (INTERNAL_MARK): Shift it here.
21795
21796 2012-07-10  Marek Polacek  <polacek@redhat.com>
21797
21798         [BZ #14151]
21799         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
21800         libc_cv_asm_global_directive with .globl.
21801         * configure: Regenerated.
21802         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
21803         with .globl.
21804         * sysdeps/i386/configure: Regenerated.
21805         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
21806         with .globl.
21807         * sysdeps/x86_64/configure: Regenerated.
21808         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
21809         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
21810         * elf/tst-unique2mod2.c: Likewise.
21811         * elf/tst-unique2mod1.c: Likewise.
21812         * elf/tst-unique1mod2.c: Likewise.
21813         * elf/tst-unique1mod1.c: Likewise.
21814         * sysdeps/s390/s390-32/sysdep.h: Likewise.
21815         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
21816         * sysdeps/s390/s390-64/sysdep.h: Likewise.
21817         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21818         * sysdeps/mach/sysdep.h: Likewise.
21819         * sysdeps/i386/sysdep.h: Likewise.
21820         * sysdeps/i386/i386-mcount.S: Likewise.
21821         * sysdeps/x86_64/_mcount.S: Likewise.
21822         * sysdeps/x86_64/sysdep.h: Likewise.
21823         * sysdeps/sh/_mcount.S: Likewise.
21824         * sysdeps/sh/sysdep.h: Likewise.
21825         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
21826         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
21827         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
21828         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21829         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
21830         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
21831         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
21832         * locale/localeinfo.h: Likewise.
21833         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
21834         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
21835
21836 2012-07-09  Roland McGrath  <roland@hack.frob.com>
21837
21838         [BZ #14336]
21839         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
21840         system".
21841         * manual/message.texi (The Uniforum approach): Likewise.
21842         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
21843         (glibc iconv Implementation): Likewise.
21844
21845 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
21846
21847         [BZ #14337]
21848         * math/s_clog.c (__clog): Avoid scaling a value down where that
21849         could result in underflow.
21850         * math/s_clog10.c (__clog10): Likewise.
21851         * math/s_clog10f.c (__clog10f): Likewise.
21852         * math/s_clog10l.c (__clog10l): Likewise.
21853         * math/s_clogf.c (__clogf): Likewise.
21854         * math/s_clogl.c (__clogl): Likewise.
21855         * math/libm-test.inc (clog_test): Add more tests.
21856         (clog10_test): Likewise.
21857         * sysdeps/i386/fpu/libm-test-ulps: Update.
21858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21859
21860 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
21861
21862         [BZ #14283]
21863         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
21864         by 7 not 8 to examine high bit of fractional part.
21865
21866         [BZ #14042]
21867         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
21868         for call to __mcount_internal.
21869         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
21870         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
21871         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
21872
21873 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
21874
21875         [BZ #14154]
21876         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
21877         approximation for values within 0x1p-13f of an odd multiple of
21878         pi/4.
21879         * math/libm-test.inc (tan_test): Do not allow spurious underflow
21880         exception.  Add more tests.
21881         * sysdeps/i386/fpu/libm-test-ulps: Update.
21882
21883         [BZ #6778]
21884         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
21885         inputs and return -1 for them.  Do not check for +Inf in case not
21886         reachable for +Inf.
21887         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
21888         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
21889         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21890         and return -1 for them.  Do not check for +Inf in case not
21891         reachable for +Inf.
21892         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
21893         define.
21894         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
21895         and return -1 for them.  Do not check for +Inf in case not
21896         reachable for +Inf.
21897         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
21898         spurious underflow.
21899         * sysdeps/i386/fpu/libm-test-ulps: Update.
21900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21901
21902 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
21903
21904         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
21905
21906 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
21907
21908         [BZ #14157]
21909         [BZ #14331]
21910         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
21911         could result in spurious underflow.  Scale down values above
21912         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
21913         * math/s_csqrtf.c (__csqrtf): Likewise.
21914         * math/s_csqrtl.c (__csqrtl): Likewise.
21915         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
21916         spurious underflow.
21917         * sysdeps/i386/fpu/libm-test-ulps: Update.
21918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21919
21920 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
21921
21922         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
21923         xopen-msg.sed.
21924         * catgets/xopen-msg.awk: New file.
21925         * catgets/xopen-msg.sed: Removed.
21926
21927         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
21928         po2text.sed.
21929         * intl/po2test.awk: New file.
21930         * intl/po2test.sed: Removed.
21931
21932 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
21933
21934         [BZ #14328]
21935         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
21936         or multiply small sinh result by itself.
21937         * math/s_ctanf.c (__ctanf): Likewise.
21938         * math/s_ctanh.c (__ctanh): Likewise.
21939         * math/s_ctanhf.c (__ctanhf): Likewise.
21940         * math/s_ctanhl.c (__ctanhl): Likewise.
21941         * math/s_ctanl.c (__ctanl): Likewise.
21942         * math/libm-test.inc (ctan_test_tonearest): New function.
21943         (ctan_test_towardzero): Likewise.
21944         (ctan_test_downward): Likewise.
21945         (ctan_test_upward): Likewise.
21946         (ctanh_test_tonearest): Likewise.
21947         (ctanh_test_towardzero): Likewise.
21948         (ctanh_test_downward): Likewise.
21949         (ctanh_test_upward): Likewise.
21950         (main): Call these new functions.
21951         * sysdeps/i386/fpu/libm-test-ulps: Update.
21952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21953
21954 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
21955
21956         * .gitignore: Delete /ports entry.
21957
21958 2012-07-03  Andreas Jaeger  <aj@suse.de>
21959
21960         * po/bg.po: Update from translation team.
21961         * po/cs.po: Likewise.
21962         * po/de.po: Likewise.
21963         * po/hr.po: Likewise.
21964         * po/nl.pl: Likewise.
21965         * po/pl.po: Likewise.
21966         * po/vi.po: Likewise.
21967
21968 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
21969
21970         * Makeconfig [!+link] (+link-before-libc): New variable.
21971         [!+link] (+link-after-libc): Likewise.
21972         [!+link] (+link-tests): Likewise.
21973         [!+link] (+link): Define in terms of $(+link-before-libc) and
21974         $(+link-after-libc).
21975         [!+link-static] (+link-static-before-libc): New variable.
21976         [!+link-static] (+link-static-after-libc): Likewise.
21977         [!+link-static] (+link-static-tests): Likewise.
21978         [!+link-static] (+link-static): Define in terms of
21979         $(+link-static-before-libc) and $(+link-static-after-libc).
21980         [build-shared] (link-libc-before-gnulib): New variable.
21981         [build-shared] (link-libc-tests): Likewise.
21982         [build-shared] (link-libc): Define in terms of
21983         $(link-libc-before-gnulib).
21984         [!build-shared] (link-libc-tests): New variable.
21985         (link-libc-static-tests): New variable.
21986         [!gnulib] (gnulib-arch): New variable.
21987         [!gnulib] (gnulib-tests): Likewise.
21988         [!gnulib] (static-gnulib-arch): Likewise.
21989         [!gnulib] (static-gnulib-tests): Likewise.
21990         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
21991         Define with "=" instead of ":=".
21992         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
21993         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
21994         * Rules (binaries-all-notests): New variable.
21995         (binaries-all-tests): Likewise.
21996         (binaries-static-notests): Likewise.
21997         (binaries-static-tests): Likewise.
21998         (binaries-all): Define using $(binaries-all-notests) and
21999         $(binaries-all-tests).
22000         (binaries-static): Define using $(binaries-static-notests) and
22001         $(binaries-static-tests).
22002         (binaries-shared-tests): New variable.
22003         (binaries-shared-notests): Likewise.
22004         (binaries-shared): Remove variable.
22005         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
22006         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
22007         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
22008         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
22009         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
22010         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
22011         * elf/Makefile (sln-modules): New variable.
22012         (extra-objs): Add $(sln-modules:=.o).
22013         (ldconfig-modules): Add static-stubs.
22014         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
22015         * elf/static-stubs.c: New file.
22016
22017         [BZ #14283]
22018         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
22019         by 7 not 8 to examine high bit of fractional part.  Use volatile
22020         variables when splitting into final array of floats if
22021         __FLT_EVAL_METHOD__ != 0.
22022         * math/libm-test.inc (cos_test): Add another test.
22023         (sin_test): Likewise.
22024         * sysdeps/i386/fpu/libm-test-ulps: Update.
22025
22026         [BZ #14273]
22027         * math/libm-test.inc (cosh_test): Add more tests.
22028
22029         * version.h (RELEASE): Set to "development".
22030         (VERSION): Set to "2.16.90".
22031
22032 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
22033
22034         * NEWS: Update copyright. Remove last-updated date.
22035         Mention math library bug fixes and timezone data changes.
22036         * README: Mention GNU/Hurd, x32, and HPPA support status.
22037
22038 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
22039
22040         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
22041
22042 2012-06-27  Andreas Jaeger  <aj@suse.de>
22043
22044         * manual/contrib.texi (Contributors): Add Samuel Thibault.
22045
22046 2012-06-25  Andreas Jaeger  <aj@suse.de>
22047
22048         * sysdeps/s390/fpu/libm-test-ulps: Update.
22049
22050 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
22051             Thomas Schwinge  <thomas@codesourcery.com>
22052
22053         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
22054         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
22055         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
22056         fanotify_mark.
22057
22058 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
22059
22060         * sysdeps/mach/start.c: Remove file.
22061         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
22062         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
22063         * sysdeps/sh/init-first.c: Likewise.
22064
22065         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
22066         registers for frame unwinding purposes, add CFI directives.
22067         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22068         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
22069         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
22070         Likewise.
22071
22072         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
22073         __fortify_fail returning.
22074         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
22075
22076         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
22077         sysdeps/sh/____longjmp_chk.S.
22078         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
22079         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
22080         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
22081         (gen-as-const-headers): Append sigaltstack-offsets.sym.
22082
22083         * sysdeps/sh/abort-instr.h: New file.
22084         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
22085         process in case exit returns.
22086
22087         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
22088         initialize the GOT register before use.
22089
22090         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
22091         calculation of ARGC > 4.
22092
22093         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
22094         meaningful names to some local labels.
22095
22096 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22097             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22098
22099         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
22100         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
22101         (__arch_compare_and_exchange_val_16_acq): Likewise.
22102         (__arch_compare_and_exchange_val_32_acq): Likewise.
22103         (atomic_exchange_and_add): Fix gUSA sequence.
22104         (atomic_add): Likewise.
22105         (atomic_add_negative): Likewise.
22106         (atomic_add_zero): Likewise.
22107         (atomic_bit_test_set): Likewise.
22108
22109 2012-06-22  Andreas Schwab  <schwab@redhat.com>
22110
22111         [BZ #13579]
22112         * include/link.h (struct link_map): Add l_free_initfini.
22113         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
22114         l_initfini.
22115         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
22116         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
22117         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
22118         set.
22119
22120 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
22121
22122         * configure.in: Use AC_LANG_SOURCE.
22123         * configure: Regenerate.
22124
22125 2012-06-22  Roland McGrath  <roland@hack.frob.com>
22126
22127         * configure.in (libc_cv_localstatedir): New substituted variable.
22128         * configure: Regenerated.
22129         * config.make.in (localstatedir): New variable, substituted from
22130         libc_cv_localstatedir.
22131         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
22132         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
22133         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
22134         * sysdeps/gnu/configure: Regenerated.
22135
22136 2012-06-21  Jeff Law  <law@redhat.com>
22137
22138         [BZ #14277]
22139         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
22140         free.  Simplify list management for _LIBC case.
22141
22142 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
22143
22144         [BZ #14273]
22145         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
22146         Clear sign bit of 64-bit integer value before comparing against
22147         overflow value.
22148
22149         * sysdeps/mach/configure: Regenerated.
22150
22151 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
22152
22153         [BZ #14278]
22154         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
22155
22156 2012-06-21  Jeff Law  <law@redhat.com>
22157
22158         [BZ #13882]
22159         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
22160         uint16_t for elements in the "seen" array to avoid char overflows.
22161         * elf/dl-fini.c (_dl_sort_fini): Likewise.
22162         * elf/dl-open.c (dl_open_worker): Likewise.
22163
22164 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
22165
22166         * scripts/list-sources.sh: Scan PORTS for translations.
22167         * po/libc.pot: Regenerated.
22168
22169 2012-06-21  Andreas Jaeger  <aj@suse.de>
22170
22171         [BZ #12194]
22172         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
22173         warning.
22174         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
22175         * bits/byteswap-16.h (__bswap_16): Likewise.
22176         * bits/byteswap.h (__bswap_constant_16): Likewise.
22177
22178 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
22179
22180         [BZ #14117]
22181         * sysdeps/i386/fpu_control.h: Removed.
22182         * sysdeps/x86_64/fpu_control.h: Moved to ...
22183         * sysdeps/x86/fpu_control.h: Here.
22184
22185         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
22186         (_FPU_SETCW): Likewise.
22187
22188 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
22189
22190         [BZ #14117]
22191         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
22192         * sysdeps/x86/fpu/bits/mathinline.h: This.
22193         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
22194
22195         [BZ #14050]
22196         [BZ #14117]
22197         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
22198         functions if __x86_64__ is defined.
22199
22200 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
22201
22202         * string/endian.h: Add !__ASSEMBLER__ condition for including
22203         conversion interfaces.
22204
22205 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
22206
22207         [BZ #14241]
22208         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
22209         of ABS(x) in calculating zero to negative powers other than odd
22210         integers.
22211         * math/libm-test.inc (pow_test): Add more tests.
22212
22213 2012-06-15  Andreas Jaeger  <aj@suse.de>
22214
22215         * manual/contrib.texi (Contributors): Update entry of Liubov
22216         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
22217         Machado Filho.
22218
22219 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
22220
22221         * string/string.h: Add __wur to GNU version of strerror_r.
22222
22223 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
22224
22225         [BZ #14229]
22226         * string/Makefile (tests): Add tst-strtok_r.
22227         * string/tst-strtok_r.c: New file.
22228         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
22229         RAX_LP/RDX_LP on SAVE_PTR.
22230
22231 2012-06-14  Roland McGrath  <roland@hack.frob.com>
22232
22233         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
22234
22235 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
22236
22237         * libm_test.inc (csqrt_test): Allow more spurious underflow
22238         exceptions.
22239         (j0_test): Likewise.
22240         (j1_test): Likewise.
22241         (y0_test): Likewise.
22242         (y1_test): Likewise.
22243
22244 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
22245
22246         * po/Makefile (libc.pot): Use UTF-8 charset.
22247
22248 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
22249
22250         [BZ #14210]
22251         Suppress sign-conversion warning from FD_SET.
22252         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
22253         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
22254         not unsigned long int.
22255         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
22256
22257 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
22258
22259         [BZ #14050]
22260         [BZ #14117]
22261         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
22262         __extern_always_inline instead of __extern_inline.
22263         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
22264         (__signbit): Likewise.
22265         (__signbitl): Support C++ namespace.
22266         (lrintf): New inline function.
22267         (lrint): Likewise.
22268         (llrintf): Likewise.
22269         (llrint): Likewise.
22270         (fmaxf): Likewise.
22271         (fmax): Likewise.
22272         (fminf): Likewise.
22273         (fmin): Likewise.
22274         (rint): Likewise.
22275         (rintf): Likewise.
22276         (ceil): Likewise.
22277         (ceilf): Likewise.
22278         (floor): Likewise.
22279         (floorf): Likewise.
22280         (nearbyint): Likewise.
22281         (nearbyintf): Likewise.
22282
22283 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
22284
22285         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
22286         non-default versions.
22287
22288 2012-06-11  Roland McGrath  <roland@hack.frob.com>
22289
22290         [BZ #14218]
22291         * manual/argp.texi (Argp): Reword argp_parse description slightly.
22292
22293 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
22294
22295         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
22296         (FE_UPWARD, FE_DOWNWARD): Don't define.
22297         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
22298         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22299
22300         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
22301         reading it.
22302         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22303         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22304
22305 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22306
22307         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22308         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
22309         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
22310         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
22311
22312 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
22313
22314         [BZ #14117]
22315         * sysdeps/i386/fpu/bits/fenv.h: Removed.
22316         * sysdeps/i386/fpu/Implies: New file.
22317         * sysdeps/x86_64/fpu/Implies: Likewise.
22318         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
22319         * sysdeps/x86/fpu/bits/fenv.h: This.
22320
22321         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
22322         __SSE_MATH__.
22323
22324 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
22325
22326         [BZ #14134]
22327         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
22328         character 0xffff that matches the last element of the
22329         conversion table.
22330
22331 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22332
22333         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
22334         fmodl commit.
22335
22336 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22337
22338         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
22339         values higher than 25.6283.
22340
22341 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22342
22343         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
22344         subnormal exponent extraction and add some __builtin_expect.
22345         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
22346         Fix for subnormal mantissa calculation.
22347
22348 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
22349
22350         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
22351         cpu2 is -1 and errno is not ENOSYS.
22352
22353 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
22354
22355         [BZ #14117]
22356         * sysdeps/i386/i486/bits/string.h: Renamed to ...
22357         * sysdeps/x86/bits/string.h: This.
22358         * sysdeps/x86_64/bits/string.h: Removed.
22359
22360         * sysdeps/i386/i486/bits/string.h: Define inline functions only
22361         if not compiling for x86-64, but compiling for >= i486.
22362
22363         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
22364         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
22365
22366         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
22367         New macro from Linux kernel 3.4.0.
22368         (FP_XSTATE_MAGIC2): Likewise.
22369         (FP_XSTATE_MAGIC2_SIZE): Likewise.
22370         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
22371         (struct _fpx_sw_bytes): New struct.
22372         (struct _xsave_hdr): Likewise.
22373         (struct _ymmh_state): Likewise.
22374         (struct _xstate): Likewise.
22375
22376         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
22377         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
22378         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
22379         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
22380         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
22381         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
22382
22383         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
22384         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
22385         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
22386         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
22387         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
22388         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
22389
22390 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22391
22392         [BZ #13743]
22393         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
22394         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
22395         (sysdep_headers): Include sys/platform/ppc.h.
22396         * sysdeps/powerpc/test-gettimebase.c: Test for
22397         __ppc_get_timebase() to catch future ISA opcode/insn changes.
22398         * manual/Makefile (appendices): Include platform.texi.
22399         * manual/contrib.texi (Contributors): Update @node pointers.
22400         * manual/maint.texi (Maintenance): Likewise.
22401         (Platform): New node.
22402         * manual/platform.texi: New file.  Document the new features.
22403
22404 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22405             Jakub Jelinek  <jakub@redhat.com>
22406
22407         [BZ #14188]
22408         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
22409         where __builtin_expect is unavailable.
22410
22411 2012-06-03  David S. Miller  <davem@davemloft.net>
22412
22413         * stdlib/longlong.h: Updated from GCC.
22414
22415 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
22416
22417         [BZ #14042]
22418         * sysdeps/powerpc/powerpc32/mcount.c: New file.
22419         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
22420         __mcount_internal.
22421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22422         (GLIBC_2.16): Likewise.
22423
22424 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22425
22426         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
22427
22428 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
22429
22430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
22431         (default-abi): New variable.
22432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
22433         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
22434         variable.
22435         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
22436         Likewise.
22437         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
22438         Likewise.
22439         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
22440         Likewise.
22441
22442         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
22443         definition.  Document in comment.
22444
22445 2012-06-01  David S. Miller  <davem@davemloft.net>
22446
22447         * stdlib/longlong.h: Updated from GCC.
22448
22449 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22450
22451         [BZ #14117]
22452         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
22453         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
22454         sys/debugreg.h sys/io.h here.
22455         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
22456         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
22457         sys/io.h.
22458         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
22459         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
22460         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
22461         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
22462         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
22463         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
22464
22465         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
22466         Define only if __x86_64__ is defined.
22467
22468 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
22469
22470         [BZ #14048]
22471         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
22472         Use int64_t for variable i.
22473         * math/libm-test.inc (fmod_test): Add more tests.
22474
22475         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
22476         z computation is not scheduled after fetestexcept.
22477         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
22478         Use math_force_eval instead of asm to ensure calculation scheduled
22479         before exception test.
22480         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
22481         Ensure a1 + u.d computation is not scheduled after fetestexcept.
22482
22483 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
22484
22485         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
22486         computation is not scheduled after fetestexcept.
22487
22488 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
22489
22490         [BZ #14117]
22491         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
22492         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
22493
22494 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22495
22496         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
22497         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22498
22499 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
22500
22501         [BZ #14117]
22502         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
22503         <bits/wordsize.h>.
22504         (__WCHAR_MIN): Support __WORDSIZE == 64.
22505         (__WCHAR_MAX): Likewise.
22506
22507         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
22508         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
22509
22510         [BZ #14183]
22511         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
22512         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
22513
22514         [BZ #14117]
22515         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
22516         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
22517
22518         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
22519         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
22520
22521         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
22522         Defined to 1 if __x86_64__ isn't defined.
22523         (_STAT_VER_LINUX_OLD): New.
22524         (st_atime): Remove duplicate.
22525         (st_mtime): Likewise.
22526         (st_ctime): Likewise.
22527
22528 2012-05-31  David S. Miller  <davem@davemloft.net>
22529
22530         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
22531         entries.
22532
22533 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
22534
22535         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
22536         gen-libm-test.pl.
22537
22538         [BZ #14132]
22539         * elf/dl-reloc.c: Include <_itoa.h>.
22540         (_dl_reloc_bad_type): Remove use of INTUSE.
22541         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
22542         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
22543         * stdio-common/psiginfo.c (psiginfo): Likewise.
22544         * stdio-common/psignal.c (psignal): Likewise.
22545         * string/strsignal.c (strsignal): Likewise.
22546         * include/signal.h (_sys_siglist): Declare hidden proto.
22547         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
22548         INTVARDEF with libc_hidden_data_def.
22549         * stdio-common/itoa-udigits.c: Likewise.
22550         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
22551         (_itoa_lower_digits_internal): Remove declaration.
22552         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
22553         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
22554         (_sys_sigabbrev_internal): Remove aliases.
22555         (_sys_siglist): Define hidden alias.
22556
22557 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
22558
22559         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22560         bits/sysctl.h.
22561
22562 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
22563
22564         [BZ #14117]
22565         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
22566         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
22567
22568         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
22569         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
22570         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
22571         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
22572         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
22573         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
22574
22575         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
22576         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
22577         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22578
22579         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
22580         with __addr.
22581         (insw): Likewise.
22582         (insl): Likewise.
22583         (outsb): Likewise.
22584         (outsw): Likewise.
22585         (outsl): Likewise.
22586
22587         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
22588         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
22589         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
22590
22591         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
22592         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
22593         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
22594         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
22595         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
22596         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
22597
22598         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
22599         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
22600
22601         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
22602         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
22603
22604         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
22605         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
22606         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
22607
22608         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
22609         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
22610         to ...
22611         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
22612
22613         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
22614         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
22615         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
22616
22617         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
22618         for x86-64.
22619         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
22620
22621 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
22622
22623         * math/math.h (M_El): Use two more decimal places.
22624         (M_LOG2El): Likewise.
22625         (M_LOG10El): Likewise.
22626         (M_LN2l): Likewise.
22627         (M_LN10l): Likewise.
22628         (M_PIl): Likewise.
22629         (M_PI_2l): Likewise.
22630         (M_PI_4l): Likewise.
22631         (M_1_PIl): Likewise.
22632         (M_2_PIl): Likewise.
22633         (M_2_SQRTPIl): Likewise.
22634         (M_SQRT2l): Likewise.
22635         (M_SQRT1_2l): Likewise.
22636
22637 2012-05-31  David S. Miller  <davem@davemloft.net>
22638
22639         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
22640         values between float registers.
22641         * sysdeps/sparc/sparc64/memset.S: Likewise.
22642         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22643
22644 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
22645
22646         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
22647         -D_FORTIFY_SOURCE=1.
22648         (CPPFLAGS-tst-longjmp_chk.c): Define.
22649         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
22650         (CPPFLAGS-tst-longjmp_chk2.c): Define.
22651         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
22652         CFLAGS-tst-wchar-h.c.
22653
22654 2012-05-31  Marek Polacek  <polacek@redhat.com>
22655
22656         [BZ #14132]
22657         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
22658         __endmntent_internal): Remove declaration.
22659         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
22660         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
22661         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
22662
22663 2012-05-30  David S. Miller  <davem@davemloft.net>
22664
22665         * sysdeps/sparc/sparc32/soft-fp/q_util.c
22666         (___Q_simulate_exceptions): Use real FP ops rather than writing
22667         into the %fsr.
22668         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
22669         Likewise.
22670
22671 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22672
22673         [BZ #14117]
22674         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
22675         * sysdeps/x86/bits/xtitypes.h: This.
22676
22677         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
22678         * sysdeps/x86/bits/wordsize.h: This.
22679
22680         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
22681         * sysdeps/x86/bits/huge_vall.h: This.
22682
22683         * sysdeps/i386/bits/select.h: Removed.
22684         * sysdeps/x86_64/bits/select.h: Renamed to ...
22685         * sysdeps/x86/bits/select.h: This.
22686
22687         * sysdeps/i386/bits/setjmp.h: Removed.
22688         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
22689         * sysdeps/x86/bits/setjmp.h: This.
22690
22691         * sysdeps/i386/bits/mathdef.h: Removed.
22692         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
22693         * sysdeps/x86/bits/mathdef.h: This.
22694
22695 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
22696
22697         [BZ #14132]
22698         * include/sys/socket.h (__connect_internal)
22699         (__libc_sa_len_internal): Remove declaration.
22700         (__connect, __libc_sa_len): Declare hidden_proto.
22701         (SA_LEN): Remove use of INTUSE.
22702         * socket/connect.c: Add libc_hidden_def.
22703         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
22704         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22705         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
22706         alias.
22707         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
22708         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
22709         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
22710         of adding _internal alias.
22711
22712 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22713
22714         [BZ #14117]
22715         * sysdeps/i386/bits/link.h: Removed.
22716         * sysdeps/i386/bits/linkmap.h: Likewise.
22717         * sysdeps/x86_64/bits/link.h: Renamed to ...
22718         * sysdeps/x86/bits/link.h: This.
22719         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
22720         * sysdeps/x86/bits/linkmap.h: This.
22721
22722         * sysdeps/i386/bits/endian.h: Removed.
22723         * sysdeps/x86_64/bits/endian.h: Renamed to ...
22724         * sysdeps/x86/bits/endian.h: This.
22725
22726         * sysdeps/i386/bits/byteswap.h: Removed.
22727         * sysdeps/i386/bits/byteswap-16.h: Likewise.
22728         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
22729         * sysdeps/x86/bits/byteswap.h: This.
22730         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
22731         * sysdeps/x86/bits/byteswap-16.h: This.
22732         * sysdeps/i386/Implies: Add x86.
22733         * sysdeps/x86_64/Implies: Likewise.
22734
22735 2012-05-30  David S. Miller  <davem@davemloft.net>
22736
22737         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
22738         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
22739         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22740         (FP_TRAPPING_EXCEPTIONS): Define.
22741         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22742         (FP_TRAPPING_EXCEPTIONS): Define.
22743         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
22744         subnormals only when inexact has been signalled or underflow
22745         exceptions are enabled.
22746         (_FP_PACK_CANONICAL): Likewise.
22747
22748 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22749
22750         [BZ #14183]
22751         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
22752         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
22753
22754 2012-05-30  Richard Henderson  <rth@twiddle.net>
22755
22756         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
22757         with #ifndef NOT_IN_libc.
22758
22759         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
22760         marked to avoid plt entry.
22761
22762 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
22763
22764         [BZ #14112]
22765         * Makeconfig (default-abi): New macro.
22766         (abi-includes): Likewise.
22767         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
22768         $(abi-$(default-abi)-lib-soname) for soname if defined.
22769         ($(common-objpfx)gnu/lib-names.stmp): Generate from
22770         abi-variants.
22771         * Makefile (installed-stubs): Likewise.
22772         * include/stubs-biarch.h: Removed.
22773         * scripts/lib-names.awk: Only handle one library at a time.
22774         * scripts/soversions.awk: Remove WORDSIZE support.
22775         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
22776         entries.
22777         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
22778         Removed.
22779         (syscall-list-default-condition): Likewise.
22780         (syscall-list-default-condition): Likewise.
22781         (syscall-list-includes): Likewise.
22782         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
22783         syscall-list-* with abi-*.  Handle undefined abi-variants.
22784         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
22785         * sysdeps/unix/sysv/linux/i386/Implies: New file.
22786         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
22787         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
22788         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
22789         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
22790         Removed.
22791         (syscall-list-32-options): Likewise.
22792         (syscall-list-32-condition): Likewise.
22793         (syscall-list-64-options): Likewise.
22794         (syscall-list-64-condition): Likewise.
22795         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
22796         macro.
22797         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
22798         Renamed to ...
22799         (abi-*): This.
22800         (abi-64-ld-soname): New macro.
22801         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
22802         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
22803         Renamed to ...
22804         (abi-*): This.
22805         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
22806         * sysdeps/x86_64/x32/shlib-versions: Likewise.
22807
22808 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
22809
22810         * sysdeps/unix/sysv/linux/kernel-features.h
22811         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
22812         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
22813         include <kernel-features.h>.
22814         [!__NR_ftruncate64]: Remove conditional code.
22815         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22816         [__NR_ftruncate64]: Make code unconditional.
22817         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22818         * sysdeps/unix/sysv/linux/truncate64.c: Do not
22819         include <kernel-features.h>.
22820         [!__NR_ftruncate64]: Remove conditional code.
22821         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22822         [__NR_ftruncate64]: Make code unconditional.
22823         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
22825         include <kernel-features.h>.
22826         [!__NR_ftruncate64]: Remove conditional code.
22827         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22828         [__NR_ftruncate64]: Make code unconditional.
22829         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22831         include <kernel-features.h>.
22832         [!__NR_ftruncate64]: Remove conditional code.
22833         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22834         [__NR_ftruncate64]: Make code unconditional.
22835         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
22836
22837         * configure.in (libc_cv_fpie): Weaken to a compile test using
22838         LIBC_TRY_CC_OPTION.
22839         * configure: Regenerated.
22840
22841 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22842
22843         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
22844         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
22845         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
22846         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22847         Refreshed.
22848         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
22849         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
22850         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
22851         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
22852         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
22853         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22854         Refreshed.
22855
22856 2012-05-27  David S. Miller  <davem@davemloft.net>
22857
22858         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
22859         (___Q_zero): New.
22860         (__Q_simulate_exceptions): Return void.  Change to simulate
22861         exceptions by writing into the %fsr.
22862         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
22863         (__Qp_handle_exceptions): Likewise.
22864         (numbers): Delete.
22865         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
22866         __Qp_handle_exceptions.
22867         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
22868         __Qp_handle_exceptions.
22869         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22870         as unused and give dummy FP_RND_NEAREST initializer.
22871         (FP_INHIBIT_RESULTS): Define.
22872         (___Q_simulate_exceptions): Update declaration.
22873         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
22874         formatting.
22875         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
22876         as unused and give dummy FP_RND_NEAREST initializer.
22877         (__Qp_handle_exceptions): Update declaration.
22878         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
22879         formatting.
22880
22881 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
22882
22883         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
22884         the temporary FPU control word.
22885         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22886         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
22887         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
22888         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
22889         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22890         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
22891         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
22892         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
22893         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
22894         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22895         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22896
22897 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22898
22899         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
22900         fields.
22901
22902 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
22903
22904         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
22905         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
22906         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
22907         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
22908         Likewise.
22909         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
22910         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
22911         Likewise.
22912
22913 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
22914
22915         * po/h.po: Update from translation team.
22916
22917 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
22918
22919         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
22920
22921         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
22922         handling of denormals.
22923         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22924         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22925         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22926         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22927         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22928         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
22929         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
22930         Likewise.
22931
22932 2012-05-26  Marek Polacek  <polacek@redhat.com>
22933
22934         [BZ #14152]
22935         * math/libm-test.inc (fma_test): Don't always expect underflow
22936         exception.
22937
22938 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22939
22940         [BZ #12416]
22941         * elf/tst-execstack.c: Include stackinfo.h.
22942         (do_test): Adjust test case to ensure that pthread_getattr_np
22943         behaviour remains the same after marking stack executable.
22944
22945 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
22946
22947         * sysdeps/unix/sysv/linux/kernel-features.h
22948         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
22949         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
22950         kernel-features.h.
22951         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22952         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22953         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
22954         kernel-features.h.
22955         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
22956         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
22957
22958 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
22959
22960         * configure.in: Define the default includes to being none.
22961         * configure: Regenerated.
22962
22963 2012-05-25  Roland McGrath  <roland@hack.frob.com>
22964
22965         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
22966         * sysdeps/x86_64/setjmp.S: Likewise.
22967         * sysdeps/i386/bsd-setjmp.S: Likewise.
22968         * sysdeps/i386/bsd-_setjmp.S: Likewise.
22969         * sysdeps/i386/setjmp.S: Likewise.
22970         * sysdeps/i386/__longjmp.S: Likewise.
22971         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22972         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
22973
22974         * include/stap-probe.h: New file.
22975         * configure.in: Handle --enable-systemtap.
22976         * configure: Regenerated.
22977         * config.h.in (USE_STAP_PROBE): New #undef.
22978         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
22979         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
22980         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22981
22982 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
22983
22984         [BZ #13717]
22985         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22986         to 2.4.0 where earlier.
22987         * sysdeps/unix/sysv/linux/configure: Regenerated.
22988         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
22997         [__ASSUME_32BITUIDS]: Make code unconditional.
22998         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
22999         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
23000         <kernel-features.h>.
23001         [__ASSUME_32BITUIDS]: Make code unconditional.
23002         [!__ASSUME_32BITUIDS]: Remove conditional code.
23003         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
23004         <kernel-features.h>.
23005         [__ASSUME_32BITUIDS]: Make code unconditional.
23006         [!__ASSUME_32BITUIDS]: Remove conditional code.
23007         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
23008         <kernel-features.h>.
23009         [__ASSUME_32BITUIDS]: Make code unconditional.
23010         [!__ASSUME_32BITUIDS]: Remove conditional code.
23011         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
23012         <kernel-features.h>.
23013         [__ASSUME_32BITUIDS]: Make code unconditional.
23014         [!__ASSUME_32BITUIDS]: Remove conditional code.
23015         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23016         <kernel-features.h>.
23017         [__ASSUME_32BITUIDS]: Make code unconditional.
23018         [!__ASSUME_32BITUIDS]: Remove conditional code.
23019         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23020         <kernel-features.h>.
23021         [__ASSUME_32BITUIDS]: Make code unconditional.
23022         [!__ASSUME_32BITUIDS]: Remove conditional code.
23023         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
23024         <kernel-features.h>.
23025         [__ASSUME_32BITUIDS]: Make code unconditional.
23026         [!__ASSUME_32BITUIDS]: Remove conditional code.
23027         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23028         <kernel-features.h>.
23029         [__ASSUME_32BITUIDS]: Make code unconditional.
23030         [!__ASSUME_32BITUIDS]: Remove conditional code.
23031         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23032         <kernel-features.h>.
23033         [__ASSUME_32BITUIDS]: Make code unconditional.
23034         [!__ASSUME_32BITUIDS]: Remove conditional code.
23035         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
23036         <kernel-features.h>.
23037         [__ASSUME_32BITUIDS]: Make code unconditional.
23038         [!__ASSUME_32BITUIDS]: Remove conditional code.
23039         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
23040         <kernel-features.h>.
23041         [__NR_setresgid] (__setresgid): Do not declare.
23042         [__ASSUME_32BITUIDS]: Make code unconditional.
23043         [!__ASSUME_32BITUIDS]: Remove conditional code.
23044         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
23045         <kernel-features.h>.
23046         [__NR_setresuid] (__setresuid): Do not declare.
23047         [__ASSUME_32BITUIDS]: Make code unconditional.
23048         [!__ASSUME_32BITUIDS]: Remove conditional code.
23049         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
23050         <kernel-features.h>.
23051         [__ASSUME_32BITUIDS]: Make code unconditional.
23052         [!__ASSUME_32BITUIDS]: Remove conditional code.
23053         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
23054         <kernel-features.h>.
23055         [__ASSUME_32BITUIDS]: Make code unconditional.
23056         [!__ASSUME_32BITUIDS]: Remove conditional code.
23057         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
23058         <kernel-features.h>.
23059         [__ASSUME_32BITUIDS]: Make code unconditional.
23060         [!__ASSUME_32BITUIDS]: Remove conditional code.
23061         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
23062         <kernel-features.h>.
23063         [__ASSUME_32BITUIDS]: Make code unconditional.
23064         [!__ASSUME_32BITUIDS]: Remove conditional code.
23065         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
23066         <kernel-features.h>.
23067         [__ASSUME_32BITUIDS]: Make code unconditional.
23068         [!__ASSUME_32BITUIDS]: Remove conditional code.
23069         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
23070         <kernel-features.h>.
23071         [__ASSUME_32BITUIDS]: Make code unconditional.
23072         [!__ASSUME_32BITUIDS]: Remove conditional code.
23073         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
23074         <kernel-features.h>.
23075         [__ASSUME_32BITUIDS]: Make code unconditional.
23076         [!__ASSUME_32BITUIDS]: Remove conditional code.
23077         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
23078         <kernel-features.h>.
23079         [__ASSUME_32BITUIDS]: Make code unconditional.
23080         [!__ASSUME_32BITUIDS]: Remove conditional code.
23081         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
23082         <kernel-features.h>.
23083         [__ASSUME_32BITUIDS]: Make code unconditional.
23084         [!__ASSUME_32BITUIDS]: Remove conditional code.
23085         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23086         <kernel-features.h>.
23087         [__ASSUME_32BITUIDS]: Make code unconditional.
23088         [!__ASSUME_32BITUIDS]: Remove conditional code.
23089         * sysdeps/unix/sysv/linux/kernel-features.h
23090         (__ASSUME_SETRESUID_SYSCALL): Remove.
23091         (__ASSUME_SETRESGID_SYSCALL): Likewise.
23092         (__ASSUME_32BITUIDS): Likewise.
23093         (__ASSUME_LDT_WORKS): Likewise.
23094         (__ASSUME_O_DIRECTORY): Likewise.
23095         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
23096         architecture but not kernel version.
23097         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23098         (__ASSUME_MMAP2_SYSCALL): Likewise.
23099         (__ASSUME_STAT64_SYSCALL): Likewise.
23100         (__ASSUME_IPC64): Likewise.
23101         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
23102         <kernel-features.h>.
23103         [__ASSUME_32BITUIDS]: Make code unconditional.
23104         [!__ASSUME_32BITUIDS]: Remove conditional code.
23105         * sysdeps/unix/sysv/linux/opendir.c: Do not include
23106         <kernel-features.h>.
23107         [__ASSUME_O_DIRECTORY]: Make code unconditional.
23108         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
23109         132096]: Remove conditional code.
23110         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
23111         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23112         <kernel-features.h>.
23113         [__ASSUME_32BITUIDS]: Make code unconditional.
23114         [!__ASSUME_32BITUIDS]: Remove conditional code.
23115         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23116         <kernel-features.h>.
23117         [__ASSUME_32BITUIDS]: Make code unconditional.
23118         [!__ASSUME_32BITUIDS]: Remove conditional code.
23119         * sysdeps/unix/sysv/linux/setegid.c: Do not include
23120         <kernel-features.h>.
23121         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
23122         unconditional.
23123         (__setresgid): Do not declare.
23124         [__ASSUME_32BITUIDS]: Make code unconditional.
23125         [!__ASSUME_32BITUIDS]: Remove conditional code.
23126         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
23127         <kernel-features.h>.
23128         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
23129         unconditional.
23130         (__setresuid): Do not declare.
23131         [__ASSUME_32BITUIDS]: Make code unconditional.
23132         [!__ASSUME_32BITUIDS]: Remove conditional code.
23133         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23134         <kernel-features.h>.
23135         [__ASSUME_32BITUIDS]: Make code unconditional.
23136         [!__ASSUME_32BITUIDS]: Remove conditional code.
23137         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
23138         <kernel-features.h>.
23139         [__ASSUME_32BITUIDS]: Make code unconditional.
23140         [!__ASSUME_32BITUIDS]: Remove conditional code.
23141
23142 2012-05-25  Richard Henderson  <rth@twiddle.net>
23143
23144         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
23145         dl_hwcap to ifunc resolver.
23146         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
23147         elf_ifunc_invoke.
23148         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
23149         dl_hwcap to ifunc resolver.
23150         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
23151
23152 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23153
23154         [BZ #14153]
23155         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
23156         for |x| <= 2**-26, not 2**-57.
23157         * math/libm-test.inc (acos_test): Do not allow spurious underflow
23158         exception.
23159
23160 2012-05-24  Jeff Law  <law@redhat.com>
23161
23162         * stdio-common/Makefile (tests): Add bug25.
23163         * stdio-common/bug25.c: New test.
23164
23165 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
23166
23167         [BZ #13576]
23168         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
23169         multiple of MALLOC_ALIGNMENT in size.
23170         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
23171
23172 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23173
23174         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
23175         Require >= 256.
23176         (FILENAME_MAX): Use macro-int-constant.
23177         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
23178         (_IOFBF): Use macro-int-constant.
23179         (_IOLBF): Likewise.
23180         (_IONBF): Likewise.
23181         (SEEK_CUR): Likewise.
23182         (SEEK_END): Likewise.
23183         (SEEK_SET): Likewise.
23184         (TMP_MAX): Likewise.
23185         (EOF): Use macro-int-constant.  Require < 0.
23186         (NULL): Use macro-constant.  Require == 0.
23187         (stdin): Require type to be FILE *.
23188         (stdout): Likewise.
23189         (stderr): Likewise.
23190         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
23191         macro-int-constant.
23192         (EXIT_SUCCESS): Likewise.
23193         (NULL): Use macro-constant.  Require == 0.
23194         (RAND_MAX): Use macro-int-constant.
23195         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
23196         [C99-based standards] (strtof): Require function.
23197         [C99-based standards] (strtold): Likewise.
23198         [C99-based standards] (strtoll): Likewise.
23199         [C99-based standards] (strtoull): Likewise.
23200         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23201         [ISO || ISO99 || ISO11] (limits.h): Likewise.
23202         [ISO || ISO99 || ISO11] (math.h): Likewise.
23203         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
23204         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23205         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23206
23207 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
23208
23209         [BZ #14132]
23210         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
23211         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
23212         * intl/dgettext.c (DCGETTEXT): Likewise.
23213         * intl/gettext.c (DCGETTEXT): Likewise.
23214         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
23215         * posix/regex_internal.h (gettext): Likewise.
23216         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
23217         Remove declaration.
23218         * include/argz.h (__argz_count_internal)
23219         (__argz_stringify_internal): Remove declaration.
23220         (__argz_count, __argz_stringify): Declare hidden proto.
23221         * intl/dcgettext.c: Remove use of INTDEF.
23222         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
23223         * string/argz-stringify.c: Likewise.
23224         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23225         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23226         Declare hidden proto.
23227         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
23228         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
23229         Declare hidden proto.
23230         * include/stdio.h (__asprintf_internal): Don't declare.
23231         (__asprintf): Don't define as macro.  Declare hidden proto.
23232         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
23233         (__fsetlocking): Declare hidden proto.
23234         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
23235         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
23236         hidden proto.
23237         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
23238         (_IO_setlinebuf): Remove use of INTUSE.
23239         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
23240         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
23241         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
23242         Remove declaration.
23243         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
23244         (_IO_do_flush): Remove use of INTUSE.
23245         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
23246         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
23247         (_IO_adjust_column, _IO_least_wmarker)
23248         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
23249         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
23250         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
23251         (_IO_default_doallocate, _IO_wdefault_doallocate)
23252         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
23253         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
23254         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
23255         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
23256         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
23257         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
23258         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
23259         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
23260         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
23261         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
23262         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
23263         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
23264         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
23265         proto.
23266         (_IO_flush_all_internal, _IO_adjust_column_internal)
23267         (_IO_default_uflow_internal, _IO_default_finish_internal)
23268         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
23269         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
23270         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
23271         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
23272         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
23273         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
23274         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
23275         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
23276         (_IO_file_close_internal, _IO_file_close_it_internal)
23277         (_IO_file_underflow_internal, _IO_file_overflow_internal)
23278         (_IO_file_init_internal, _IO_file_attach_internal)
23279         (_IO_file_fopen_internal, _IO_file_read_internal)
23280         (_IO_file_sync_internal, _IO_file_seek_internal)
23281         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
23282         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
23283         (_IO_str_underflow_internal, _IO_str_overflow_internal)
23284         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
23285         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
23286         (_IO_list_all_internal, _IO_link_in_internal)
23287         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
23288         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
23289         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
23290         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
23291         (_IO_do_write_internal, _IO_padn_internal)
23292         (_IO_getline_info_internal, _IO_getline_internal)
23293         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
23294         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
23295         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
23296         (_IO_vfscanf_internal, _IO_vfprintf_internal)
23297         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
23298         (_IO_init_internal, _IO_un_link_internal): Don't declare.
23299         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
23300         with libc_hidden_ver, remove use of INTUSE.
23301         * libio/genops.c: Likewise.
23302         * libio/freopen.c: Likewise.
23303         * libio/freopen64.c: Likewise.
23304         * libio/iofclose.c: Likewise.
23305         * libio/iofdopen.c: Likewise.
23306         * libio/iofflush.c: Likewise.
23307         * libio/iofflush_u.c: Likewise.
23308         * libio/iofgets.c: Likewise.
23309         * libio/iofgets_u.c: Likewise.
23310         * libio/iofopen.c: Likewise.
23311         * libio/iofopncook.c: Likewise.
23312         * libio/iofread.c: Likewise.
23313         * libio/iofread_u.c: Likewise.
23314         * libio/ioftell.c: Likewise.
23315         * libio/iofwrite.c: Likewise.
23316         * libio/iogetline.c: Likewise.
23317         * libio/iogets.c: Likewise.
23318         * libio/iogetwline.c: Likewise.
23319         * libio/iopadn.c: Likewise.
23320         * libio/iopopen.c: Likewise.
23321         * libio/ioseekoff.c: Likewise.
23322         * libio/ioseekpos.c: Likewise.
23323         * libio/iosetbuffer.c: Likewise.
23324         * libio/iosetvbuf.c: Likewise.
23325         * libio/ioungetc.c: Likewise.
23326         * libio/ioungetwc.c: Likewise.
23327         * libio/iovdprintf.c: Likewise.
23328         * libio/iovsprintf.c: Likewise.
23329         * libio/iovsscanf.c: Likewise.
23330         * libio/memstream.c: Likewise.
23331         * libio/obprintf.c: Likewise.
23332         * libio/oldfileops.c: Likewise.
23333         * libio/oldiofclose.c: Likewise.
23334         * libio/oldiofdopen.c: Likewise.
23335         * libio/oldiofopen.c: Likewise.
23336         * libio/oldiopopen.c: Likewise.
23337         * libio/oldstdfiles.c: Likewise.
23338         * libio/putc.c: Likewise.
23339         * libio/setbuf.c: Likewise.
23340         * libio/setlinebuf.c: Likewise.
23341         * libio/stdfiles.c: Likewise.
23342         * libio/strops.c: Likewise.
23343         * libio/vasprintf.c: Likewise.
23344         * libio/vscanf.c: Likewise.
23345         * libio/vsnprintf.c: Likewise.
23346         * libio/vswprintf.c: Likewise.
23347         * libio/wfiledoalloc.c: Likewise.
23348         * libio/wfileops.c: Likewise.
23349         * libio/wgenops.c: Likewise.
23350         * libio/wmemstream.c: Likewise.
23351         * libio/wstrops.c: Likewise.
23352         * libio/__fpurge.c: Likewise.
23353         * libio/__fsetlocking.c: Likewise.
23354         * assert/assert.c: Likewise.
23355         * debug/fgets_chk.c: Likewise.
23356         * debug/fgets_u_chk.c: Likewise.
23357         * debug/fread_chk.c: Likewise.
23358         * debug/fread_u_chk.c: Likewise.
23359         * debug/gets_chk.c: Likewise.
23360         * debug/obprintf_chk.c: Likewise.
23361         * debug/vasprintf_chk.c: Likewise.
23362         * debug/vdprintf_chk.c: Likewise.
23363         * debug/vsnprintf_chk.c: Likewise.
23364         * debug/vsprintf_chk.c: Likewise.
23365         * malloc/mtrace.c: Likewise.
23366         * misc/error.c: Likewise.
23367         * misc/syslog.c: Likewise.
23368         * stdio-common/asprintf.c: Likewise.
23369         * stdio-common/fxprintf.c: Likewise.
23370         * stdio-common/getw.c: Likewise.
23371         * stdio-common/isoc99_fscanf.c: Likewise.
23372         * stdio-common/isoc99_scanf.c: Likewise.
23373         * stdio-common/isoc99_vfscanf.c: Likewise.
23374         * stdio-common/isoc99_vscanf.c: Likewise.
23375         * stdio-common/isoc99_vsscanf.c: Likewise.
23376         * stdio-common/printf-prs.c: Likewise.
23377         * stdio-common/printf_fp.c: Likewise.
23378         * stdio-common/printf_fphex.c: Likewise.
23379         * stdio-common/printf_size.c: Likewise.
23380         * stdio-common/putw.c: Likewise.
23381         * stdio-common/scanf.c: Likewise.
23382         * stdio-common/sprintf.c: Likewise.
23383         * stdio-common/tmpfile.c: Likewise.
23384         * stdio-common/vfprintf.c: Likewise.
23385         * stdio-common/vfscanf.c: Likewise.
23386         * stdlib/strfmon_l.c: Likewise.
23387         * sunrpc/openchild.c: Likewise.
23388         * sunrpc/xdr_stdio.c: Likewise.
23389         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
23390         * sysdeps/mach/hurd/tmpfile.c: Likewise.
23391
23392 2012-05-24  Roland McGrath  <roland@hack.frob.com>
23393
23394         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23395
23396         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
23397         in the third column, to generate for the shared library an IFUNC
23398         that uses _dl_vdso_vsym.
23399         * Makerules (COMPILE.c, compile-stdin.c): New variables.
23400         * Makeconfig (object-suffixes-noshared): New variable.
23401
23402         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
23403         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
23404         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
23405         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
23406
23407         [BZ #14132]
23408         * include/sys/time.h (__gettimeofday): Remove macro.
23409         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
23410         * time/gettimeofday.c (__gettimeofday): Remove #undef.
23411         Remove INTDEF.
23412         (__gettimeofday): Add libc_hidden_def.
23413         (gettimeofday): Add libc_hidden_weak.
23414         * sysdeps/mach/gettimeofday.c: Likewise.
23415         * sysdeps/posix/gettimeofday.c: Likewise.
23416         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23417         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23418         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
23419         (__gettimeofday_internal): Remove strong_alias.
23420         (__gettimeofday): Add libc_hidden_def.
23421         (gettimeofday): Add libc_hidden_weak.
23422         * sysdeps/unix/syscalls.list (gettimeofday):
23423         Remove __gettimeofday_internal alias.
23424
23425 2012-05-24  Daniel Jacobowitz  <drow@false.org>
23426             H.J. Lu  <hongjiu.lu@intel.com>
23427
23428         [BZ #12495]
23429         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
23430         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
23431         (largebin_index_32_big): New.
23432         (largebin_index): Use it for 16-byte alignment.
23433         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
23434         correction with front_misalign.
23435
23436 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
23437
23438         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
23439         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
23440         Likewise.
23441         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
23442         Likewise.
23443         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
23444         Likewise.
23445         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
23446         Likewise.
23447         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
23448         Likewise.
23449         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
23450         Likewise.
23451         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
23452         Likewise.
23453         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23454         Likewise.
23455         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
23456         Likewise.
23457         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
23458         Likewise.
23459         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
23460         Likewise.
23461         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
23462         Likewise.
23463
23464         * scripts/data/c++-types-x32-linux-gnu.data: New file.
23465         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
23466
23467 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
23468
23469         [BZ #10846]
23470         [BZ #14036]
23471         * math/libm-test.inc (exp_test): Add test from bug 14036.
23472         (pow_test): Add test from bug 10846.
23473
23474         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
23475         and other flags.
23476         (special_function): Do not include flags in test name.
23477         (parse_args): Likewise.
23478         * sysdeps/i386/fpu/libm-test-ulps: Update.
23479         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23480         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23481         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23483
23484         * math/gen-libm-test.pl (%beautify): Add entries for underflow
23485         exceptions.
23486         * math/libm-test.inc ("Philosophy"): Update comment about
23487         exception testing.
23488         (UNDERFLOW_EXCEPTION): New macro.
23489         (UNDERFLOW_EXCEPTION_OK): Likewise.
23490         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
23491         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
23492         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
23493         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
23494         (INVALID_EXCEPTION_OK): Update value.
23495         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23496         (OVERFLOW_EXCEPTION_OK): Likewise.
23497         (IGNORE_ZERO_INF_SIGN): Likewise.
23498         (test_exceptions): Handle underflow exceptions.
23499         (acos_test): Update for underflow exception expectations.
23500         (cexp_test): Likewise.
23501         (clog_test): Likewise.
23502         (clog10_test): Likewise.
23503         (csqrt_test): Likewise.
23504         (ctan_test): Likewise.
23505         (ctanh_test): Likewise.
23506         (exp_test): Likewise.
23507         (exp10_test): Likewise.
23508         (exp2_test): Likewise.
23509         (expm1_test): Likewise.
23510         (fma_test): Likewise.
23511         (j0_test): Likewise.
23512         (jn_test): Likewise.
23513         (nexttoward_test): Likewise.
23514         (pow_test): Likewise.
23515         (scalbn_test): Likewise.
23516         (scalbln_test): Likewise.
23517         (tan_test): Likewise.
23518         (y1_test): Likewise.
23519         * sysdeps/i386/fpu/libm-test-ulps: Update.
23520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23521
23522 2012-05-23  David S. Miller  <davem@davemloft.net>
23523
23524         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23525         (__libc_sigaction): Remove unused local variables.
23526
23527 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23528
23529         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
23530
23531 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
23532
23533         mktime: avoid signed integer overflow
23534         * time/mktime.c (__mktime_internal): Do not mishandle the case
23535         where diff == INT_MIN.
23536
23537         mktime: simplify computation of average
23538         * time/mktime.c (ranged_convert): Use new time_t_avg function
23539         instead of rolling our own (probably-slower) code.
23540
23541         mktime: do not assume signed right shift propagates sign bit
23542         * time/mktime.c (isdst_differ): New static function.
23543         (__mktime_internal): No need to normalize tm_isdst now.
23544         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
23545         tm_isdst values.
23546
23547         mktime: merge another wrapv change from gnulib
23548         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
23549         from some compilers.
23550
23551         mktime: remove incorrect attempt at unusual arithmetics
23552         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
23553         The code didn't really work on such machines anyway.
23554         (TYPE_MINIMUM): Assume two's complement.
23555         (twos_complement_arithmetic): Verify that long_int and time_t
23556         are two's complement (or unsigned, in the latter case).
23557
23558         mktime: check signed shifts on long_int and time_t, too
23559         * time/mktime.c (SHR): Check that shifts work as desired
23560         on the types long_int and time_t too, as SHR is used on
23561         such types.
23562
23563         mktime: do not assume 'long' is wide enough
23564         * time/mktime.c (verify): Move decl up.
23565         (long_int): New type.
23566         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
23567         to remove assumption in the code that 'long' is wide enough to
23568         store year values.  This assumption is not true on x32 and on
23569         some non-glibc platforms.
23570
23571         mktime: merge wrapv change from gnulib
23572         * time/mktime.c (WRAPV): New macro.
23573         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
23574         (guess_time_tm, __mktime_internal): Do not assume that signed
23575         integer overflow wraps around; modern compilers generate code
23576         where this assumption is no longer valid.
23577
23578 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23579
23580         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23581         Replace "jmp L(pseudo_end)" with "ret".
23582         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
23583         Likewise.
23584
23585 2012-05-23  Andreas Jaeger  <aj@suse.de>
23586
23587         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
23588         * sysdeps/unix/sysv/linux/poll.c: Remove file.
23589
23590 2012-05-23  Andreas Jaeger  <aj@suse.de>
23591             Maximilian Attems  <max@stro.at>
23592
23593         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
23594         New macros.
23595
23596 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
23597
23598         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
23599         code so that pseudo_end is just ret and the stack pointer is
23600         correct also for static library in error case.
23601
23602 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
23603
23604         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
23605         move to syscalls.list.
23606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
23607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
23608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
23609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
23610
23611         * manual/install.texi (Running make install): Do not mention Linux
23612         kernel version for which pt_chown is not needed.
23613         (Linux): Do not mention problems with nscd with 2.0 kernels.
23614         * INSTALL: Regenerated.
23615
23616 2012-05-23  Andreas Jaeger  <aj@suse.de>
23617
23618         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
23619         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
23620         macro.
23621         * sysdeps/unix/sysv/linux/s390/bits/mman.h
23622         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23623         * sysdeps/unix/sysv/linux/sh/bits/mman.h
23624         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23625         * sysdeps/unix/sysv/linux/i386/bits/mman.h
23626         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23627         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
23628         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23629         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
23630         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
23631         * sysdeps/unix/sysv/linux/bits/in.h
23632         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
23633
23634 2012-05-22  Roland McGrath  <roland@hack.frob.com>
23635
23636         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
23637         (PREPARE_VERSION): Just use assert instead, it will be elided
23638         under [NDEBUG] anyway.
23639
23640 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23641
23642         * sysdeps/unix/sysv/linux/Makefile: Include
23643         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
23644         (sysdep_routines): Remove sysctl.
23645         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
23646         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
23647         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
23648         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
23649         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
23650
23651 2012-05-22  Andreas Jaeger  <aj@suse.de>
23652
23653         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
23654         that pseudo_end is just ret and the stack pointer is correct also
23655         for static library in error case.
23656
23657 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
23658
23659         [BZ #14122]
23660         * nss/nsswitch.c (defconfig_entries): New variable.
23661         (__nss_database_lookup): Don't leak defconfig entries.
23662         (nss_parse_service_list): Don't leak on error paths.
23663         (free_database_entries): New function.
23664         (free_defconfig): New function.
23665         (free_mem): Move common code to free_database_entries.
23666
23667 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23668
23669         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
23670         Add arch_prctl.
23671         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
23672
23673         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23674         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
23675         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
23676         New macro.
23677         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
23678         (INTERNAL_SYSCALL_TYPES): Likewise.
23679         (LOAD_ARGS_TYPES_[1-6]): Likewise.
23680         (LOAD_REGS_TYPES_[1-6]): Likewise.
23681         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
23682         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
23683
23684 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23685
23686         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
23687         copysignl for GLIBC_2_0.
23688         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
23689         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
23690         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
23691         logbl for GLIBC_2_0.
23692         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
23693         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
23694
23695 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23696
23697         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
23698         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
23699
23700         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
23701         Use "neg %eax".
23702
23703         * time/mktime.c: Update copyright years.
23704
23705 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
23706
23707         mktime: merge comment-quoting-style change from gnulib
23708         * time/mktime.c: Quote 'like this' in comments.
23709         The GNU coding standards suggest that we no longer quote `like this',
23710         as "`" and "'" are typically rendered asymmetrically nowadays.
23711         The typical gnulib style is to quote 'like this' when quoting
23712         code, and "like this" when quoting English.
23713
23714         * time/mktime.c (compile-command): Add "-I.".
23715
23716         mktime: merge mktime-internal.h change from gnulib
23717         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
23718
23719         mktime: merge time_r change from gnulib
23720         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
23721
23722         mktime: merge DEBUG change from gnulib
23723         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
23724         case system <time.h> has a #define.
23725
23726         mktime: merge <sys/types.h> change from gnulib
23727         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
23728         since <time.t> is now guaranteed to define time_t.
23729
23730         mktime: merge HAVE_CONFIG_H change from gnulib
23731         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
23732
23733 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23734
23735         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23736         Use "neg %eax".
23737
23738         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
23739         __rlim_t cast.
23740         (struct rusage): Use anonymous union to pad each field to
23741         __syscall_slong_t.
23742
23743 2012-05-21  David S. Miller  <davem@davemloft.net>
23744
23745         * Makefules (o-iterator): Remove .s cases.
23746         (compile-command.s): Delete.
23747         (COMPILE.s): Delete.
23748         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
23749
23750 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
23751
23752         * configure.in (libc_cv_predef_stack_protector): Only consider
23753         "foobar" and "__stack_chk_fail" lines in libc_undefs.
23754         * configure: Regenerated.
23755
23756 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23757
23758         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
23759         New macro.  Use R*LP on int and pointer.
23760         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
23761         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
23762         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
23763         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
23764
23765         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
23766         [__WORDSIZE_TIME64_COMPAT32] instead of
23767         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
23768         (struct utmp): Likewise.
23769         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
23770         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
23771         Renamed to ...
23772         (__WORDSIZE_TIME64_COMPAT32): This.
23773         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
23774         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
23775         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
23776         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
23777         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
23778         (__WORDSIZE_TIME64_COMPAT32): New macro.
23779
23780 2012-05-21  Andreas Jaeger  <aj@suse.de>
23781
23782         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
23783         only if [SHARED]. Add prototype for __wcschr_ia32.
23784
23785 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23786
23787         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
23788         of %rbp unmolested in the jmp_buf while mangling the low bits.
23789         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
23790         unmolested high bits of %rbp while demangling the low bits.
23791         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
23792
23793 2012-05-21  Andreas Jaeger  <aj@suse.de>
23794
23795         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
23796         * sunrpc/svc_simple.c: Use it for registerrpc.
23797         * sunrpc/xcrypt.c: Use it for passwd2des.
23798
23799         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
23800
23801 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23802
23803         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
23804         Don't define if [__SYSCALL_WORDSIZE != 32].
23805         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
23806         New macro.
23807
23808 2012-05-21  Bruno Haible  <bruno@clisp.org>
23809             Andreas Jaeger  <aj@suse.de>
23810
23811         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
23812         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
23813         inptr and inend for must_buffer_ch.
23814         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
23815         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
23816         * stdio-common/Makefile (tests): Remove bug15.
23817         (bug15-ENV): Remove macro.
23818         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
23819         anymore.
23820
23821 2012-05-19  Andreas Jaeger  <aj@suse.de>
23822             Roland McGrath  <roland@hack.frob.com>
23823
23824         * manual/contrib.texi: Completely rewritten. It contains now an
23825         alphabetical list of contributors and their contributions.
23826
23827 2012-05-21  Richard Henderson  <rth@twiddle.net>
23828
23829         * misc/getauxval.c (__getauxval): Use unsigned long int.
23830         * misc/sys/auxv.h: Include <sys/cdefs.h>.
23831         (getauxval): Use unsigned long int.
23832
23833 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
23834
23835         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
23836
23837 2012-05-21  Roland McGrath  <roland@hack.frob.com>
23838
23839         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
23840         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
23841         __alignof__ (long double).
23842
23843 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23844
23845         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23846
23847 2012-05-20  Richard Henderson  <rth@twiddle.net>
23848
23849         * misc/getauxval.c: New file.
23850         * misc/sys/auxv.h: New file.
23851         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
23852         (routines): Add getauxval.
23853         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
23854         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
23855         * elf/dl-sysdep.c (_dl_auxv): Remove.
23856         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
23857         * elf/dl-support.c (_dl_auxv): New variable.
23858         (_dl_aux_init): Initialize it.
23859         * manual/startup.texi (Auxiliary Vector): New node.
23860         * sysdeps/generic/bits/hwcap.h: New file.
23861         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
23862         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
23863         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
23864         * sysdeps/sparc/sysdep.h: ... here.  Include it.
23865         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
23866         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
23867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23868         Update.
23869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
23870         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
23871         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
23872         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
23873         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23874         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
23875         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
23876         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
23877
23878 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23879
23880         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23881
23882 2012-05-19  David S. Miller  <davem@davemloft.net>
23883
23884         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23885
23886 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23887
23888         [BZ #14123]
23889         * math/s_ccosh.c: Include <float.h>
23890         (__ccosh): Avoid internal overflow calculating sinh and cosh
23891         values before multiplying by sin and cos values.
23892         * math/s_ccoshf.c: Likewise.
23893         * math/s_ccoshl.c: Likewise.
23894         * math/s_csin.c: Likewise.
23895         * math/s_csinf.c: Likewise.
23896         * math/s_csinl.c: Likewise.
23897         * math/s_csinh.c: Likewise.
23898         * math/s_csinhf.c: Likewise.
23899         * math/s_csinhl.c: Likewise.
23900         * math/libm-test.inc (ccos_test): Add more tests.
23901         (ccosh_test): Likewise.
23902         (csin_test): Likewise.
23903         (csinh_test): Likewise.
23904         * sysdeps/i386/fpu/libm-test-ulps: Update.
23905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23906
23907 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
23908
23909         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
23910         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
23911
23912         * sysdeps/x86_64/x32/_itoa.h: Add comment.
23913
23914 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
23915
23916         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
23917         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
23918         * sysdeps/powerpc/soft-fp/Versions: Likewise.
23919         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
23920         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
23921         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
23922         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
23923         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
23924         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
23925         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
23926         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
23927         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
23928         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
23929         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
23930         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
23931         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
23932         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
23933         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
23934         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
23935         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
23936         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
23937         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
23938         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
23939         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
23940         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
23941         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
23942         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
23943         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
23944         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
23945         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
23946         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
23947
23948 2012-05-18  Andreas Jaeger  <aj@suse.de>
23949
23950         * csu/.gitignore: Delete.
23951
23952 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23953
23954         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
23955         (timex): Use __syscall_slong_t.
23956
23957 2012-05-18  Andreas Jaeger  <aj@suse.de>
23958             Carlos O'Donell  <carlos_odonell@mentor.com>
23959
23960         * manual/install.texi (Configuring and compiling): Update
23961         description about files modified in the source directory.
23962         * INSTALL: Regenerated.
23963
23964 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23965
23966         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
23967         value.  Use "or" to set return value to -1.
23968         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
23969         negate return value.
23970
23971 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23972
23973         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
23974         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
23975         failure if the compiler has Graphite support disabled.
23976         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
23977         Likewise.
23978         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
23979         CFLAGS-memmove.c): Likewise.
23980         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
23981         Likewise.
23982
23983 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
23984
23985         * sysdeps/x86_64/x32/_itoa.h: New file.
23986
23987         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
23988         getdents system call only if kernel and user dirents have the
23989         same d_ino and d_off.
23990
23991         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23992         LLONG_MAX != LONG_MAX.
23993         (_itoa_word): Use _ITOA_WORD_TYPE on value.
23994         (_fitoa_word): Likewise.
23995
23996         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
23997         years.
23998         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
23999         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
24000         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
24001
24002         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
24003         include <bits/wordsize.h>.  Check __x86_64__ instead of
24004         __WORDSIZE.
24005         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
24006         if __x86_64__ is defined.  Use anonymous union on fpstate.
24007
24008         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
24009         anonymous union.
24010
24011 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
24012
24013         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24014         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
24015         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
24016         Refer to _rtld_local_ro instead of _rtld_global_ro.
24017         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
24018         Likewise.
24019         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
24020         Likewise.
24021         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
24022         Likewise.
24023         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
24024         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
24025         of _rtld_global, and rtld_progname instead of _dl_argv[0].
24026
24027         * sysdeps/powerpc/powerpc32/dl-machine.c
24028         (__elf_machine_runtime_setup) [PROF]: Don't reference
24029         _dl_prof_resolve.
24030
24031 2012-05-18  Andreas Jaeger  <aj@suse.de>
24032
24033         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
24034         function only available for GCCs before 3.4 since GCC 3.4
24035         introduced a builtin.
24036         (lrint): Likewise.
24037         (llrintf): Likewise.
24038         (llrint): Likewise.
24039         (fmaxf): Likewise.
24040         (fmax): Likewise.
24041         (fminf): Likewise.
24042         (fmin): Likewise.
24043         (rint): Likewise.
24044         (rintf): Likewise.
24045         (nearbyint): Likewise.
24046         (nearbyintf): Likewise.
24047         (ceil): Likewise.
24048         (ceilf): Likewise.
24049         (floor): Likewise.
24050         (floorf): Likewise.
24051
24052 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24053
24054         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
24055         on both fields and cast pointer to __syscall_ulong_t.
24056
24057         * bits/types.h (__fsword_t): New type.
24058         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
24059         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
24060         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24061         (__FSWORD_T_TYPE): Likewise.
24062         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24063         (__FSWORD_T_TYPE): Likewise.
24064         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24065         (__FSWORD_T_TYPE): Likewise.
24066         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
24067         (__FSWORD_T_TYPE): Likewise.
24068         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
24069         __SWORD_TYPE with __fsword_t.
24070         (statfs64): Likewise.
24071
24072 2012-05-17  David S. Miller  <davem@davemloft.net>
24073
24074         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
24075
24076 2012-05-17  Andreas Jaeger  <aj@suse.de>
24077
24078         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
24079         warning.
24080
24081 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24082
24083         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
24084
24085 2012-05-17  Andreas Jaeger  <aj@suse.de>
24086
24087         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
24088         when it is used.
24089
24090 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
24091
24092         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
24093
24094 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
24095
24096         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
24097         * sysdeps/x86_64/tst-mallocalign1.c: New file.
24098
24099 2012-05-17  Andreas Jaeger  <aj@suse.de>
24100             Carlos O'Donell  <carlos_odonell@mentor.com>
24101
24102         [BZ #14059]
24103         * sysdeps/x86_64/multiarch/init-arch.h
24104         (bit_YMM_Usable): Rename to...
24105         (bit_AVX_Usable): ... this.
24106         (bit_FMA4_Usable): New macro.
24107         (bit_XMM_state): New macro.
24108         (bit_YMM_state): New macro.
24109         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
24110         [__ASSEMBLER__] (index_AVX_Usable): ... this.
24111         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
24112         (CPUID_OSXSAVE): New macro.
24113         (CPUID_AVX): New macro.
24114         (CPUID_FMA4): New macro.
24115         (index_YMM_Usable): Rename to...
24116         (index_AVX_Usable): ... this.
24117         (HAS_AVX): Use HAS_ARCH_FEATURE.
24118         (HAS_FMA4): Likewise.
24119         (HAS_YMM_USABLE): Remove.
24120         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24121         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
24122         are present.
24123         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
24124         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
24125         * sysdeps/x86_64/multiarch/Makefile: Likewise.
24126         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
24127         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
24128
24129 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
24130
24131         * math/libm-test.c: Support platforms without multiple rounding modes.
24132         * math/bug-nextafter.c: Support platforms without FP exceptions.
24133         * math/bug-nexttoward.c: Likewise.
24134         * math/test-fenv.c: Likewise.
24135         * math/test-misc.c: Likewise.
24136         * stdlib/bug-getcontext.c: Likewise.
24137
24138 2012-05-17  Andreas Jaeger  <aj@suse.de>
24139
24140         * manual/examples/search.c (critter_cmp): Change signature to
24141         avoid warnings.
24142         * manual/string.texi (Collation Functions): Likewise.
24143
24144 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24145
24146         * bits/types.h: Fold copyright years.
24147         * bits/typesizes.h: Likewise.
24148         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
24149         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24150         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
24151         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
24152         * time/time.h: Likewise.
24153
24154 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
24155
24156         [BZ #208]
24157         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
24158         in instead of returning them.  Return void.
24159         (__libc_mallinfo): Accumulate over all arenas.
24160         (__malloc_stats): Adjust for change in int_mallinfo interface.
24161
24162 2012-05-16  Roland McGrath  <roland@hack.frob.com>
24163
24164         [BZ #10375]
24165         * configure.in (NM): Add AC_CHECK_TOOL for it.
24166         (libc_extra_cflags): New substituted variable.
24167         Check for -fstack-protector being used implicitly.
24168         * configure: Regenerated.
24169         * config.make.in (config-extra-cflags): New variable,
24170         gets @libc_extra_cflags@.
24171         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
24172
24173         [BZ #10375]
24174         * configure.in: Check for _FORTIFY_SOURCE being predefined.
24175         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
24176         * configure: Regenerated.
24177         * config.make.in (CPPUNDEFS): New substituted variable.
24178         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
24179         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
24180         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
24181
24182 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24183
24184         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
24185         (mq_attr): Use __syscall_slong_t.
24186
24187 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24188
24189         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
24190         Check __x86_64__ instead of __WORDSIZE.
24191         (_STAT_VER_LINUX): Likewise.
24192         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
24193         __syscall_ulong_t and __syscall_slong_t.
24194         (stat64): Likewise.
24195
24196 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24197
24198         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
24199
24200 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24201
24202         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
24203
24204 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24205
24206         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
24207         __syscall_ulong_t.
24208
24209         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
24210         include <bits/wordsize.h>.  Check __x86_64__ instead of
24211         __WORDSIZE.
24212         (greg_t): Use "__extension__ long long int" if __x86_64__ is
24213         defined.
24214         (mcontext_t): Replace "unsigned long" with "unsigned long long".
24215
24216         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
24217         include <bits/wordsize.h>.  Check __x86_64__ instead of
24218         __WORDSIZE.
24219         (user_regs_struct): Use "__extension__ unsigned long long"
24220         instead of "unsigned long" if __x86_64__ is defined.
24221         (user): Likewise.  Pad after pointer field if __ILP32__ is
24222         defined.
24223
24224 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
24225
24226         * configure.in (makeinfo): Require version 4.5 or later.  Allow
24227         versions 5 to 9.
24228         * configure: Regenerated.
24229         * manual/install.texi (texinfo): Increase version requirement to
24230         4.5 or later.
24231         * INSTALL: Regenerated.
24232
24233         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
24234
24235 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
24236
24237         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
24238
24239         * sysdeps/x86_64/x32/ffs.c: New file.
24240
24241         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
24242         __syscall_ulong_t.
24243         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
24244         defined.  Use __syscall_ulong_t.
24245         (shminfo): Use __syscall_ulong_t.
24246         (shm_info): Likewise.
24247
24248         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
24249         __syscall_ulong_t.
24250
24251         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
24252         <bits/wordsize.h>.
24253         (msgqnum_t): Use __syscall_ulong_t.
24254         (msglen_t): Likewise.
24255         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
24256         __syscall_ulong_t.
24257
24258         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
24259         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24260
24261         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
24262
24263         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
24264         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
24265
24266         * sysvipc/sys/msg.h (msgbuf): Replace long int with
24267         __syscall_slong_t.
24268
24269         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
24270         include <bits/wordsize.h>.  Check __x86_64__ instead of
24271         __WORDSIZE.
24272
24273         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
24274         "unsigned long long int" if __x86_64__ is defined.
24275         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
24276
24277         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
24278         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
24279         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
24280
24281         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
24282         <stdint.h>.
24283         (GET_PC): Cast to uintptr_t first.
24284         (GET_FRAME): Likewise.
24285         (GET_STACK): Likewise.
24286
24287         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
24288         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
24289         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
24290         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
24291         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
24292         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
24293         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
24294         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
24295         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
24296         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
24297         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
24298         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
24299         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24300         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
24301         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
24302         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
24303         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
24304         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
24305         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
24306         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
24307         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
24308         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
24309         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
24310         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
24311         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
24312         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
24313         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
24314         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
24315         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
24316
24317 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
24318
24319         * Makerules (+depfiles): Also collect depfiles from .oS in
24320         $(extra-objs).
24321         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
24322         .oS, $(libnldbl-routines)).
24323
24324         * Makerules (native-compile-mkdep-flags): Define.
24325         * sunrpc/Makefile (extra-objs): Add $(addprefix
24326         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
24327         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
24328         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
24329         calling $(make-target-directory).
24330
24331 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24332
24333         * bits/types.h (__snseconds_t): Removed.
24334         * time/time.h (struct timespec): Replace __snseconds_t with
24335         __syscall_slong_t.
24336         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
24337         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
24338         Likewise.
24339         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24340         (__SNSECONDS_T_TYPE): Likewise.
24341         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24342         (__SNSECONDS_T_TYPE): Likewise.
24343         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24344         (__SNSECONDS_T_TYPE): Likewise.
24345
24346 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24347
24348         * sysdeps/mach/hurd/bits/typesizes.h
24349         (__SYSCALL_SLONG_TYPE): New macro.
24350         (__SYSCALL_ULONG_TYPE): Likewise.
24351
24352 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24353
24354         * bits/types.h (__syscall_slong_t): New type.
24355         (__syscall_ulong_t): Likewise.
24356
24357         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
24358         (__SYSCALL_ULONG_TYPE): Likewise.
24359         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24360         (__SYSCALL_SLONG_TYPE): Likewise.
24361         (__SYSCALL_ULONG_TYPE): Likewise.
24362         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24363         (__SYSCALL_SLONG_TYPE): Likewise.
24364         (__SYSCALL_ULONG_TYPE): Likewise.
24365         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24366         (__SYSCALL_SLONG_TYPE): Likewise.
24367         (__SYSCALL_ULONG_TYPE): Likewise.
24368
24369 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24370
24371         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
24372         Add sigaltstack-offsets.sym.
24373         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
24374         <sigaltstack-offsets.h>.
24375         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
24376         longjmp_msg pointer.
24377         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
24378         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
24379         signal stack.
24380         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
24381
24382 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
24383
24384         * elf/stackguard-macros.h: Remove file.
24385         * sysdeps/generic/stackguard-macros.h: New file.
24386         * sysdeps/i386/stackguard-macros.h: Likewise.
24387         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24388         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24389         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24390         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24391         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24392         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24393         * sysdeps/x86_64/stackguard-macros.h: Likewise.
24394         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
24395         <elf/stackguard-macros.h>.
24396
24397         [BZ #14109]
24398         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
24399         __aligned__ in attribute.
24400         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
24401         (gregset_t): Likewise.
24402
24403 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24404
24405         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
24406         * sysdeps/x86_64/64/Implies-after: Here.  New file.
24407         * sysdeps/x86_64/x32/Implies-after: New file.
24408
24409 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24410
24411         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
24412         and access return value for _dl_profile_fixup.  Use R10_LP to
24413         load frame size.
24414
24415 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24416
24417         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
24418
24419 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24420
24421         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
24422         * sysdeps/x86_64/x32/sysdep.h: New file.
24423
24424 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24425
24426         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
24427         * sysdeps/x86_64/setjmp.S: Likewise.
24428
24429 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24430
24431         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
24432         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
24433         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
24434         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
24435         remove unused global constant.
24436
24437 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
24438
24439         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
24440         include of <not-cancel.h>.
24441
24442 2012-05-15  Roland McGrath  <roland@hack.frob.com>
24443
24444         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
24445
24446 2012-05-15  Jeff Law  <law@redhat.com>
24447             Andreas Jaeger  <aj@suse.de>
24448
24449         [BZ #13594]
24450         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
24451         out from...
24452         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
24453         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
24454         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
24455         code changing __hst_map_handle.map.
24456
24457 2012-05-15  Roland McGrath  <roland@hack.frob.com>
24458
24459         * configure.in (sysnames): Look for Implies-before and Implies-after
24460         files.
24461         * configure: Regenerated.
24462
24463 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24464
24465         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
24466         8-byte data alignment with LP_SIZE alignment.
24467
24468 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24469
24470         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
24471         into R10_LP.
24472
24473 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24474
24475         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
24476
24477 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24478
24479         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
24480         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
24481         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
24482         Likewise.
24483         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24484
24485 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24486
24487         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
24488         (stackinfo_sub_sp): Likewise.
24489
24490 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24491
24492         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
24493         RAX_LP.
24494
24495 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24496
24497         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
24498         into R*_LP.
24499
24500 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24501
24502         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
24503         sizes into R*_LP.
24504
24505 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24506
24507         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
24508
24509 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24510
24511         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
24512         into R11_LP and load __x86_64_shared_cache_size_half into
24513         R8_LP.
24514
24515 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
24516
24517         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
24518         R8_LP.
24519
24520 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24521
24522         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
24523         logb for POWER7.
24524         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
24525         logbf for POWER7.
24526         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
24527         logbl for POWER7.
24528         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
24529         powerpc32/power7/fpu/s_logb.c via #include.
24530         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
24531         powerpc32/power7/fpu/s_logbf.c via #include.
24532         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
24533         powerpc32/power7/fpu/s_logbl.c via #include.
24534
24535 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
24536
24537         * README.libm: Remove file.
24538
24539 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24540
24541         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
24542         count for x32.  Use R*_LP and omit operand-size suffix.
24543
24544 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24545
24546         * shlib-versions: Move x86_64-.*-linux.* entries to ...
24547         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
24548         * sysdeps/x86_64/x32/shlib-versions: New file.
24549
24550 2012-05-14  Roland McGrath  <roland@hack.frob.com>
24551
24552         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
24553         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
24554         Use _dl_fatal_printf instead.
24555
24556 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
24557
24558         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
24559         set if not set by the user.  Do not allow for being unset.
24560         * sysdeps/unix/sysv/linux/configure: Regenerated.
24561
24562 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24563
24564         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
24565         the `q' suffix from lea and replace .quad with ASM_ADDR.
24566
24567 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24568
24569         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
24570         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
24571         instead of $17.
24572         (PTR_DEMANGLE): Likewise.
24573
24574 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24575
24576         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
24577         (LP_OP): Likewise.
24578         (ASM_ADDR): Likewise.
24579         (RAX_LP): Likewise.
24580         (RBP_LP): Likewise.
24581         (RBX_LP): Likewise.
24582         (RCX_LP): Likewise.
24583         (RDI_LP): Likewise.
24584         (RSI_LP): Likewise.
24585         (RSP_LP): Likewise.
24586         (R8_LP): Likewise.
24587         (R9_LP): Likewise.
24588         (R10_LP): Likewise.
24589         (R10_LP): Likewise.
24590         (R11_LP): Likewise.
24591         (R12_LP): Likewise.
24592         (R13_LP): Likewise.
24593         (R14_LP): Likewise.
24594         (R15_LP): Likewise.
24595
24596 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24597
24598         * sysdeps/x86_64/x32/dl-machine.h: New file.
24599
24600 2012-05-14  Andreas Jaeger  <aj@suse.de>
24601
24602         * manual/Makefile (subdir): Remove export of subdir.
24603         (all): Remove target.
24604         (.PHONY): Remove all from list.
24605         (mkinstalldirs): Remove.
24606         (.PHONY): Remove installdirs from list.
24607         ($(inst_infodir)/libc.info): Use make-target-directory.
24608         (installdirs): Remove.
24609         (subdir_%): Remove.
24610         (glibc-targets): Remove.
24611         (lib): Remove.
24612         (stubs): Remove.
24613         ($(objpfx)stubs ../po/manual.pot): Remove.
24614         ($(objpfx)stamp%): Remove.
24615         (make-target-directory): Remove.
24616         (subdir_install): Remove.
24617         (routines): Remove.
24618         (aux): Remove.
24619         (sources): Remove.
24620         (objects): Remove.
24621         (headers): Remove.
24622
24623         [BZ #13750]
24624         * manual/.gitignore: Remove, it's not needed anymore.
24625         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
24626         all files in it.
24627         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
24628         directory.
24629         (texis): Renamed to $(objpfx)texis.
24630         (texis-path): New, contains path to generated files.
24631         (chapters.%): Use texis-path for complete path, add extra argument
24632         libc-texinfo.sh.
24633         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
24634         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
24635         (summary,texi, stamp-summary): Use complete path of
24636         files. Generate files in build dir.
24637         (dir-add.texi): Build in build dir.
24638         (libm-err.texi,stamp-libm-err): Likewise.
24639         (version.texi, stamp-version): Likewise.
24640         (.%c.texi): Likewise.
24641         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
24642         (mostlyclean): Remove target.
24643         (realclean): Remove target.
24644         (generated): Add new variable with contents from mostlyclean and
24645         realclean, remove entries duplicated in common-mostlyclean, add
24646         stamp-libm-err and stamp-version.
24647         (generated-dirs): Add libc directory.
24648         ($(inst_infodir)/libc.info): Install files from build dir.
24649
24650         * manual/install.texi (Configuring and compiling): Adjust since
24651         the info files are not part of the tar ball anymore.
24652
24653 2012-05-14  Andreas Jaeger  <aj@suse.de>
24654
24655         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
24656         variable.
24657
24658 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
24659
24660         [BZ #13717]
24661         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24662         to 2.2.0 where earlier.
24663         * sysdeps/unix/sysv/linux/configure: Regenerated.
24664         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
24665         Remove conditional code.
24666         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
24667         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
24668         Remove conditional code.
24669         [!__NR_lchown]: Likewise.
24670         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24671         [__NR_lchown]: Likewise.
24672         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
24673         comment referencing __ASSUME_LCHOWN_SYSCALL.
24674         * sysdeps/unix/sysv/linux/i386/sigaction.c
24675         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24676         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24677         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
24678         Remove conditional code.
24679         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
24680         (__protocol_available): Remove #if 0 code.
24681         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
24682         conditional code.
24683         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
24684         * sysdeps/unix/sysv/linux/kernel-features.h
24685         (__ASSUME_GETCWD_SYSCALL): Don't define.
24686         (__ASSUME_REALTIME_SIGNALS): Likewise.
24687         (__ASSUME_PREAD_SYSCALL): Likewise.
24688         (__ASSUME_PWRITE_SYSCALL): Likewise.
24689         (__ASSUME_POLL_SYSCALL): Likewise.
24690         (__ASSUME_LCHOWN_SYSCALL): Likewise.
24691         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
24692         non-SPARC.
24693         (__ASSUME_SIOCGIFNAME): Don't define.
24694         (__ASSUME_MSG_NOSIGNAL): Likewise.
24695         (__ASSUME_SENDFILE): Define unconditionally.
24696         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
24697         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
24698         conditional code.
24699         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
24700         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
24701         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24702         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24703         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
24704         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
24705         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
24706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
24707         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24708         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24710         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24711         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
24713         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24714         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24716         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24717         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
24719         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24720         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
24722         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
24723         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
24725         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24726         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
24728         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24729         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24730         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
24731         Remove conditional code.
24732         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24733         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24734         Remove conditional code.
24735         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24736         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
24737         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
24738         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24739         Remove conditional code.
24740         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24741         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
24742         Remove conditional code.
24743         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24744         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
24745         Remove conditional code.
24746         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24747         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
24748         Remove conditional code.
24749         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
24750         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
24751         Remove conditional code.
24752         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24753         * sysdeps/unix/sysv/linux/sh/pwrite64.c
24754         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
24755         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
24756         * sysdeps/unix/sysv/linux/sigaction.c
24757         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24758         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24759         * sysdeps/unix/sysv/linux/sigpending.c
24760         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24761         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24762         * sysdeps/unix/sysv/linux/sigprocmask.c
24763         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24764         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24765         * sysdeps/unix/sysv/linux/sigsuspend.c
24766         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
24767         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
24768         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
24769         (__libc_missing_rt_sigs): Remove.
24770         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
24771         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
24772         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
24773         Remove conditional code.
24774         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
24775         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
24776         return 1.
24777         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
24778         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
24779         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
24780         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
24781
24782 2012-05-14  Andreas Jaeger  <aj@suse.de>
24783
24784         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
24785         it's not used in glibc.
24786         (__coshm1): Likewise.
24787         (__acosh1p): Likewise.
24788         (__sgn): Likewise.
24789
24790         * manual/string.texi (Copying and Concatenation): Add missing
24791         variable in concat example.
24792         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24793
24794 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24795
24796         [BZ #14103]
24797         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
24798         __builtin_clzl with __builtin_clzll.
24799
24800 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
24801
24802         [BZ #14104]
24803         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
24804         libc_freeres_ptr.
24805
24806 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
24807
24808         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
24809         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
24810         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
24811         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
24812
24813 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
24814
24815         * NEWS: Update ia64 info.
24816
24817 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
24818
24819         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
24820         used as bcopy.
24821
24822 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
24823
24824         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
24825         * sysdeps/unix/syscalls.list (dup3): Likewise.
24826         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
24827         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
24828
24829 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24830
24831         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
24832         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
24833
24834 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
24835
24836         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
24837         thread pointer.
24838         (TLS_IE): Use mov/add instead of movq/addq to load thread
24839         pointer.
24840         (TLS_GD_PREFIX): New.
24841         (TLS_GD): Use it.
24842
24843 2012-05-11  David S. Miller  <davem@davemloft.net>
24844
24845         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
24846         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
24847         (_FPU_SETCW): Likewise.
24848
24849 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24850
24851         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
24852         is 32-byte aligned.
24853
24854 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
24855
24856         [BZ #11837]
24857         * iconvdata/gb18030.c: Update tables.
24858         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
24859         characters specially.
24860         (BODY for TO_LOOP): Add encoding of missing ranges.
24861
24862 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
24863
24864         [BZ #13673]
24865         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
24866         * sysdeps/mach/hurd/dup3.c: Likewise.
24867         * sysdeps/mach/hurd/readlinkat.c: Likewise.
24868         * sysdeps/powerpc/memmove.c:: Likewise.
24869
24870 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24871
24872         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
24873         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
24874
24875 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
24876
24877         * elf/elf.h (R_X86_64_RELATIVE64): New.
24878         (R_X86_64_NUM): Updated.
24879         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
24880         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
24881         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
24882         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
24883         tst-quad1pie tst-quad2pie
24884         (modules-names): Add tst-quadmod1 tst-quadmod2.
24885         ($(objpfx)tst-quad1): New dependency.
24886         ($(objpfx)tst-quad2): Likewise.
24887         ($(objpfx)tst-quad1pie): Likewise.
24888         ($(objpfx)tst-quad2pie): Likewise.
24889         * sysdeps/x86_64/tst-quad1.c: New file.
24890         * sysdeps/x86_64/tst-quad1pie.c: New file.
24891         * sysdeps/x86_64/tst-quad2.c: Likewise.
24892         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
24893         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
24894         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
24895         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
24896         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
24897
24898 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24899
24900         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
24901         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
24902         * streams/stropts.h (t_scalar_t): Define type.
24903
24904         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
24905         (_PATH_PRESERVE): Set to "/var/lib".
24906         (_PATH_RWHODIR): Set to "/var/spool/rwho".
24907
24908         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
24909         instead of int.
24910
24911         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
24912         if __dir_mkfile succeeded.
24913
24914         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
24915         checking for _hurd_dtablesize.  Unlock it right after having
24916         finished _hurd_dtable allocation.
24917
24918 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24919
24920         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
24921         * sysdeps/mach/hurd/configure: Regenerated.
24922         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
24923         special-casing to...
24924         * sysdeps/gnu/configure.in: ... this new file.
24925         * sysdeps/unix/sysv/linux/configure: Regenerated.
24926         * sysdeps/gnu/configure: New generated file.
24927
24928         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
24929         for Linux: use nsec instead of usec, as well as:
24930         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
24931         members of type struct timespec.
24932         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
24933         New macros.
24934         (struct stat64): Likewise.
24935         (_STATBUF_ST_NSEC): New macro.
24936         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
24937
24938         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24939         __strtoul_internal rather than strtoul.
24940
24941 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24942
24943         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
24944         and reject them.
24945
24946 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24947
24948         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
24949         which preserves existing values.
24950         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
24951
24952 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24953
24954         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
24955         TIMEOUT values.  Return EINVAL for NFDS values either negative or
24956         greater than FD_SETSIZE.
24957
24958 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24959
24960         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
24961         allocated, call __vm_protect to finish enabling the existing space, and
24962         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
24963         allocate the remainder.
24964
24965 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24966
24967         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
24968         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
24969
24970 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24971
24972         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
24973         sysdeps/mach/hurd/readlink.c.
24974
24975         * posix/tst-sysconf.c (posix_options): Only use
24976         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
24977         _POSIX_SYNCHRONIZED_IO when they are defined
24978         * sysdeps/mach/hurd/bits/posix_opt.h:
24979         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
24980         (_XOPEN_REALTIME): Undefine macro.
24981         (_XOPEN_REALTIME_THREADS): Undefine macro.
24982         (_XOPEN_SHM): Undefine macro.
24983         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
24984         macro to -1.
24985         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
24986         macro to -1.
24987         (_POSIX_ASYNC_IO): Undefine macro.
24988         (_POSIX_PRIORITIZED_IO): Undefine macro.
24989         (_POSIX_SPIN_LOCKS): Define macro to -1.
24990
24991         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
24992         SA_NODEFER, SA_RESETHAND.
24993         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
24994         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
24995         F_DUPFD_CLOEXEC.
24996
24997 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
24998
24999         * elf/Makefile (pldd-modules): Define unconditionally.
25000
25001 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25002
25003         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
25004
25005 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25006
25007         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
25008         Return ENOENT when name is empty.
25009         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
25010
25011 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25012
25013         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
25014
25015         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
25016
25017 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25018
25019         Fix mlock in all cases except non-readable pages.
25020         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
25021         instead of VM_PROT_ALL as parameter to __vm_wire function.
25022
25023         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
25024         (__mkdir): When path is `/', just fail with EEXIST.
25025         * sysdeps/mach/hurd/mkdirat.c: Likewise.
25026
25027 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25028
25029         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
25030         <sys/uio.h> (for writev).
25031         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
25032         and <sys/param.h> (for MIN).
25033
25034 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25035
25036         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
25037         REQUESTED_TIME.  Properly set the remaining time and return EINTR
25038         if interrupted.
25039
25040 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25041
25042         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
25043         Depend on against $(link-rpcuserlibs).
25044
25045 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25046
25047         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
25048         (__libc_stack_end): Do not use attribute_relro.
25049         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
25050         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
25051         to libthread-provided value.
25052         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
25053         attribute_relro.
25054
25055 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25056
25057         [BZ #3748]
25058         * bits/libc-lock.h (__libc_once_get): New macro.
25059         * sysdeps/mach/bits/libc-lock.h: Likewise.
25060         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
25061         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
25062         instead of using implementation details.
25063
25064         * libio/fileops.c: Unconditionally include <kernel-features.h>.
25065         * libio/freopen.c: Likewise.
25066         * libio/freopen64.c: Likewise.
25067         * misc/syslog.c: Likewise.
25068         * nscd/connections.c: Likewise.
25069         * nscd/netgroupcache.c: Likewise.
25070         * sysdeps/posix/getcwd.c: Likewise.
25071
25072 2012-05-10  Roland McGrath  <roland@hack.frob.com>
25073
25074         * math/w_ilogbf.c: Add #include <limits.h>.
25075
25076 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25077
25078         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
25079         path instead of returning without unlocking.
25080
25081         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
25082         immediate-write ioctls.
25083         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
25084
25085 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25086
25087         * sysdeps/mach/hurd/i386/init-first.c (init): Use
25088         __builtin_frame_address instead of making assumptions about the
25089         location of the return address relative to DATA.  Force early load of
25090         the return address.
25091         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
25092         __builtin_frame_address.
25093
25094         dup3 for GNU Hurd.
25095         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
25096         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
25097         implement dup3 and do some further code clean-ups.
25098         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
25099         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
25100
25101 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25102
25103         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
25104
25105         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
25106         HURD_CRITICAL_END around holding _hurd_dtable_lock.
25107         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
25108         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
25109         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
25110         d->port.lock.
25111
25112         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
25113         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
25114         when handler == SIG_ERR, not when handler != SIG_ERR.
25115
25116 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25117
25118         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
25119         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
25120         definitions.
25121
25122         accept4 for GNU Hurd.
25123         * include/sys/socket.h (__libc_accept4): New prototype.
25124         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
25125         to implement __libc_accept4.
25126         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
25127         __libc_accept4.
25128         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
25129
25130         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
25131         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
25132         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
25133         signal-defines.sym.
25134
25135 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25136
25137         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
25138
25139 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
25140
25141         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
25142         assertion on O_CLOEXEC flag.
25143         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
25144         * hurd/intern-fd.c: Likewise.
25145         * hurd/port2fd.c: Likewise.
25146
25147 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25148
25149         [BZ #3906]
25150         * bits/in.h (IPV6_PKTINFO): Define new macro.
25151         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
25152
25153 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25154
25155         [BZ #13954]
25156         [BZ #13955]
25157         [BZ #13956]
25158         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
25159         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
25160         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
25161         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
25162         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25163         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
25164         * math/libm-test.inc (logb_test) : Additional logb tests.
25165
25166 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
25167             Andreas Jaeger  <aj@suse.de>
25168
25169         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
25170         * configure: Regenerated.
25171         * config.h.in (LINK_OBSOLETE_RPC): New macro.
25172         * config.make.in (link-obsolete-rpc): New substituted variable.
25173         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
25174         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
25175         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25176         (shared-only-routines): Don't set it under [link-obsolete-rpc],
25177         so that libc.a contains the symbols.
25178         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
25179         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
25180         * sunrpc/auth_none.c: Likewise.
25181         * sunrpc/auth_unix.c: Likewise.
25182         * sunrpc/authdes_prot.c: Likewise.
25183         * sunrpc/authuxprot.c: Likewise.
25184         * sunrpc/clnt_gen.c: Likewise.
25185         * sunrpc/clnt_perr.c: Likewise.
25186         * sunrpc/clnt_raw.c: Likewise.
25187         * sunrpc/clnt_simp.c: Likewise.
25188         * sunrpc/clnt_tcp.c: Likewise.
25189         * sunrpc/clnt_udp.c: Likewise.
25190         * sunrpc/clnt_unix.c: Likewise.
25191         * sunrpc/des_crypt.c: Likewise.
25192         * sunrpc/des_soft.c: Likewise.
25193         * sunrpc/get_myaddr.c: Likewise.
25194         * sunrpc/key_call.c: Likewise.
25195         * sunrpc/key_prot.c: Likewise.
25196         * sunrpc/netname.c: Likewise.
25197         * sunrpc/pm_getmaps.c: Likewise.
25198         * sunrpc/pm_getport.c: Likewise.
25199         * sunrpc/pmap_clnt.c: Likewise.
25200         * sunrpc/pmap_prot.c: Likewise.
25201         * sunrpc/pmap_prot2.c: Likewise.
25202         * sunrpc/pmap_rmt.c: Likewise.
25203         * sunrpc/publickey.c: Likewise.
25204         * sunrpc/rpc_cmsg.c: Likewise.
25205         * sunrpc/rpc_common.c: Likewise.
25206         * sunrpc/rpc_dtable.c: Likewise.
25207         * sunrpc/rpc_prot.c: Likewise.
25208         * sunrpc/rpc_thread.c: Likewise.
25209         * sunrpc/rtime.c: Likewise.
25210         * sunrpc/svc.c: Likewise.
25211         * sunrpc/svc_auth.c: Likewise.
25212         * sunrpc/svc_raw.c: Likewise.
25213         * sunrpc/svc_run.c: Likewise.
25214         * sunrpc/svc_tcp.c: Likewise.
25215         * sunrpc/svc_udp.c: Likewise.
25216         * sunrpc/svc_unix.c: Likewise.
25217         * sunrpc/svcauth_des.c: Likewise.
25218         * sunrpc/xcrypt.c: Likewise.
25219         * sunrpc/xdr.c: Likewise.
25220         * sunrpc/xdr_array.c: Likewise.
25221         * sunrpc/xdr_float.c: Likewise.
25222         * sunrpc/xdr_intXX_t.c: Likewise.
25223         * sunrpc/xdr_mem.c: Likewise.
25224         * sunrpc/xdr_rec.c: Likewise.
25225         * sunrpc/xdr_ref.c: Likewise.
25226         * sunrpc/xdr_sizeof.c: Likewise.
25227         * sunrpc/xdr_stdio.c: Likewise.
25228
25229 2012-05-10  Roland McGrath  <roland@hack.frob.com>
25230
25231         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
25232         change.  Update copyright years.
25233
25234 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
25235
25236         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
25237
25238 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
25239             Joseph Myers  <joseph@codesourcery.com>
25240             Paul Pluzhnikov  <ppluzhnikov@google.com>
25241
25242         [BZ #14012]
25243         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
25244         requiring rpcgen.
25245         [cross-compiling] (extra-libs): Likewise.
25246         [cross-compiling] (extra-libs-others): Likewise.
25247         [cross-compiling] (librpcsvc-routines): Likewise.
25248         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
25249         [cross-compiling] (omit-deps): Likewise.
25250         (sunrpc-CPPFLAGS): New variable.
25251         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
25252         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
25253         (cross-rpcgen-objs): New variable.
25254         (extra-objs): Append $(cross-rpcgen-objs).
25255         ($(cross-rpcgen-objs)): New rule.
25256         ($(objpfx)cross-rpcgen): Likewise.
25257         (rpcgen-cmd): Define to use $(built-program-file).  Expand
25258         comment.
25259         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
25260         ($(objpfx)x%.stmp): Likewise.
25261         * sunrpc/proto.h [IS_IN_build] (_): Define.
25262         [IS_IN_build] (_libc_intl_domainname): Likewise.
25263
25264 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
25265
25266         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
25267         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
25268         and R_X86_64_TPOFF64.
25269
25270 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
25271
25272         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
25273         sysdeps/unix/sysv/syscalls.list.
25274         (stime): Likewise.
25275         (utime): Likewise.
25276         * sysdeps/unix/sysv/syscalls.list: Remove file.
25277
25278 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
25279
25280         [BZ #3440]
25281         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
25282         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
25283         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
25284         (__LC_IDENTIFICATION): Make these macros useful in #if
25285         expressions, as required by C99.
25286
25287 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
25288
25289         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
25290         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
25291         after this.
25292
25293 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
25294
25295         * stdlib/longlong.h: Updated from GCC.
25296
25297 2012-05-09  Andreas Jaeger  <aj@suse.de>
25298
25299         * nscd/nscd.c (run_modes): Make named enum, reorder so that
25300         default is first entry.
25301         (run_mode): Set type.
25302         (main): Remove informal message about syslog.
25303         (options): Fix typo.
25304
25305         [BZ #14053]
25306         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
25307         to asm.
25308         (lrint): Likewise.
25309         (llrintf): Likewise.
25310         (llrint): Likewise.
25311         (rint): Likewise.
25312         (rintf): Likewise.
25313         (nearbyint): Likewise.
25314         (nearbyintf): Likewise.
25315
25316 2012-05-09  Andreas Jaeger  <aj@suse.de>
25317             Pedro Alves  <palves@redhat.com>
25318
25319         * nscd/nscd.c (run_mode): Use enum.
25320         (main): Cleanup coding style issue.
25321
25322 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
25323             Andreas Jaeger  <aj@suse.de>
25324
25325         * nscd/nscd.c (go_background): Replaced with...
25326         (run_mode): ... this.
25327         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
25328         (options): Add -F --foreground.
25329         (main): Implement it.
25330         (parse_opt): Parse it.
25331
25332 2012-05-09  Andreas Jaeger  <aj@suse.de>
25333
25334         [BZ #14083]
25335         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
25336         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
25337         -Wconversion warning.
25338         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
25339         Likewise.
25340
25341 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
25342
25343         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
25344         == 0.
25345         (LC_ALL): Use macro-int-constant.
25346         (LC_COLLATE): Likewise.
25347         (LC_CTYPE): Likewise.
25348         (LC_MESSAGES): Likewise.
25349         (LC_MONETARY): Likewise.
25350         (LC_NUMERIC): Likewise.
25351         (LC_TIME): Likewise.
25352         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
25353         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25354         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25355         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
25356         Specify type.
25357         [C99-based standards] (float_t): Expect type.
25358         [C99-based standards] (double_t): Expect type.
25359         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
25360         type.
25361         [C99-based standards] (HUGE_VALL): Likewise.
25362         [C99-based standards] (INFINITY): Likewise.
25363         [C99-based standards] (NAN): Likewise.
25364         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
25365         [C99-based standards] (FP_NAN): Likewise.
25366         [C99-based standards] (FP_NORMAL): Likewise.
25367         [C99-based standards] (FP_SUBNORMAL): Likewise.
25368         [C99-based standards] (FP_ZERO): Likewise.
25369         [C99-based standards] (FP_FAST_FMA): Use
25370         optional-macro-int-constant.  Specify type.  Require == 1.
25371         [C99-based standards] (FP_FAST_FMAF): Likewise.
25372         [C99-based standards] (FP_FAST_FMAL): Likewise.
25373         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
25374         [C99-based standards] (FP_ILOGBNAN): Likewise.
25375         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
25376         Specify type.
25377         [C99-based standards] (MATH_ERREXCEPT): Likewise.
25378         [C99-based standards] (math_errhandling): Specify type.
25379         [ISO99 || ISO11] (signgam): Do not allow.
25380         [non-C99-based standards] (copysignf): Do not allow.
25381         [non-C99-based standards] (exp2f): Likewise.
25382         [non-C99-based standards] (log2f): Likewise.
25383         [non-C99-based standards] (modff): Allow.
25384         [non-C99-based standards] (erff): Do not allow.
25385         [non-C99-based standards] (erfcf): Likewise.
25386         [non-C99-based standards] (gammaf): Likewise.
25387         [non-C99-based standards] (hypotf): Likewise.
25388         [non-C99-based standards] (j0f): Likewise.
25389         [non-C99-based standards] (j1f): Likewise.
25390         [non-C99-based standards] (jnf): Likewise.
25391         [non-C99-based standards] (lgammaf): Likewise.
25392         [non-C99-based standards] (tgammaf): Likewise.
25393         [non-C99-based standards] (y0f): Likewise.
25394         [non-C99-based standards] (y1f): Likewise.
25395         [non-C99-based standards] (ynf): Likewise.
25396         [non-C99-based standards] (isnanf): Likewise.
25397         [non-C99-based standards] (acoshf): Likewise.
25398         [non-C99-based standards] (asinhf): Likewise.
25399         [non-C99-based standards] (atanhf): Likewise.
25400         [non-C99-based standards] (cbrtf): Likewise.
25401         [non-C99-based standards] (expm1f): Likewise.
25402         [non-C99-based standards] (ilogbf): Likewise.
25403         [non-C99-based standards] (log1pf): Likewise.
25404         [non-C99-based standards] (logbf): Likewise.
25405         [non-C99-based standards] (nextafterf): Likewise.
25406         [non-C99-based standards] (remainderf): Likewise.
25407         [non-C99-based standards] (rintf): Likewise.
25408         [non-C99-based standards] (scalbf): Likewise.
25409         [non-C99-based standards] (copysignl): Likewise.
25410         [non-C99-based standards] (exp2l): Likewise.
25411         [non-C99-based standards] (log2l): Likewise.
25412         [non-C99-based standards] (modfl): Allow.
25413         [non-C99-based standards] (erfl): Do not allow.
25414         [non-C99-based standards] (erfcl): Likewise.
25415         [non-C99-based standards] (gammal): Likewise.
25416         [non-C99-based standards] (hypotl): Likewise.
25417         [non-C99-based standards] (j0l): Likewise.
25418         [non-C99-based standards] (j1l): Likewise.
25419         [non-C99-based standards] (jnl): Likewise.
25420         [non-C99-based standards] (lgammal): Likewise.
25421         [non-C99-based standards] (tgammal): Likewise.
25422         [non-C99-based standards] (y0l): Likewise.
25423         [non-C99-based standards] (y1l): Likewise.
25424         [non-C99-based standards] (ynl): Likewise.
25425         [non-C99-based standards] (isnanl): Likewise.
25426         [non-C99-based standards] (acoshl): Likewise.
25427         [non-C99-based standards] (asinhl): Likewise.
25428         [non-C99-based standards] (atanhl): Likewise.
25429         [non-C99-based standards] (cbrtl): Likewise.
25430         [non-C99-based standards] (expm1l): Likewise.
25431         [non-C99-based standards] (ilogbl): Likewise.
25432         [non-C99-based standards] (log1pl): Likewise.
25433         [non-C99-based standards] (logbl): Likewise.
25434         [non-C99-based standards] (nextafterl): Likewise.
25435         [non-C99-based standards] (remainderl): Likewise.
25436         [non-C99-based standards] (rintl): Likewise.
25437         [non-C99-based standards] (scalbl): Likewise.
25438         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25439         [non-C99-based standards] (FP_*): Do not allow.
25440         [C99-based standards] (FP_*): Change to
25441         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
25442         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25443         allow.
25444         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
25445         (SIG_ERR): Likewise.
25446         [X/Open-based standards] (SIG_HOLD): Likewise.
25447         (SIG_IGN): Likewise.
25448         (SIGABRT): Use macro-int-constant.  Specify type.  Require
25449         positive value.
25450         (SIGFPE): Likewise.
25451         (SIGILL): Likewise.
25452         (SIGINT): Likewise.
25453         (SIGSEGV): Likewise.
25454         (SIGTER): Likewise.
25455         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
25456         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
25457         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
25458         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
25459         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
25460         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
25461         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
25462         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
25463         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
25464         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
25465         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
25466         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
25467         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
25468         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
25469         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
25470         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
25471         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
25472         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
25473         [X/Open-based standards] (SIGTRAP): Likewise.
25474         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
25475         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
25476         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
25477         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
25478         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25479         allow.
25480
25481 2012-05-08  Ian Wienand  <ianw@vmware.com>
25482
25483         [BZ #14080]
25484         * time/tzset.c (__tzset_parse_tz): Update default rules for
25485         daylight time changes in the Energy Policy Act of 2005.
25486
25487 2012-05-09  Andreas Jaeger  <aj@suse.de>
25488
25489         [BZ #13983]
25490         * elf/ldconfig.c (parse_conf): Change string to make clear that
25491         ldconfig only issued a warning if ld.so.conf does not exist.
25492
25493 2012-05-08  David S. Miller  <davem@davemloft.net>
25494
25495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
25496         movxtod instead of popping the value on the stack.
25497
25498         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25499
25500 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
25501
25502         * config.h.in: Add HAVE_ARM_PCS_VFP.
25503
25504 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
25505
25506         [BZ #13979]
25507         * include/features.h: Warn if user requests __FORTIFY_SOURCE
25508         checking but the checks are disabled for any reason.
25509
25510 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
25511
25512         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
25513         and ELF64_R_TYPE with ELFW(R_TYPE).
25514
25515 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
25516
25517         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
25518         (ulimit): Likewise.
25519
25520         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
25521         (settimeofday): Likewise.
25522
25523 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
25524
25525         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
25526         a struct th_u2 inside the union, and move tu_block/tu_code into
25527         a new th_u3 union of tu_block/tu_code inside of that.  Move
25528         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
25529         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
25530         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
25531         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
25532         (th_stuff): Change to th_u1.tu_stuff.
25533         (th_data): Define.
25534         (th_msg): Change to th_u1.th_u2.tu_data.
25535
25536 2012-05-07  David S. Miller  <davem@davemloft.net>
25537
25538         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25539
25540         [BZ #14074]
25541         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
25542         (SETUP_PIC_REG): Use it.
25543         (SETUP_PIC_REG_LEAF): Use it.
25544
25545 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
25546
25547         [BZ #13885]
25548         [BZ #13923]
25549         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25550         USE_AS_EXPM1L.
25551         (EXPL_FINITE): Likewise.
25552         (FLDLOG): Likewise.
25553         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25554         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25555         e_expl.S.
25556         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25557         USE_AS_EXPM1L.
25558         (EXPL_FINITE): Likewise.
25559         (FLDLOG): Likewise.
25560         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
25561         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
25562         e_expl.S.
25563         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
25564         test of -max_value argument for long double.
25565         * sysdeps/i386/fpu/libm-test-ulps: Update.
25566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25567
25568 2012-05-06  David S. Miller  <davem@davemloft.net>
25569
25570         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
25571         quad soft-float symbols whose references which are compiler
25572         generated.
25573         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
25574
25575 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
25576
25577         [BZ #13884]
25578         [BZ #13914]
25579         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25580         USE_AS_EXP10L.
25581         (EXPL_FINITE): Likewise.
25582         (FLDLOG): Likewise.
25583         (c0): Likewise.
25584         (c1): Likewise.
25585         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
25586         Adjust comments for base varying.
25587         (__expl_finite): Change alias to EXPL_FINITE.
25588         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
25589         e_expl.S.
25590         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
25591         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25592         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25593         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
25594         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
25595         USE_AS_EXP10L.
25596         (EXPL_FINITE): Likewise.
25597         (FLDLOG): Likewise.
25598         (c0): Likewise.
25599         (c1): Likewise.
25600         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
25601         Adjust comments for base varying.
25602         (__expl_finite): Change alias to EXPL_FINITE.
25603         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
25604         tests for bugs.
25605         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25606
25607         [BZ #14064]
25608         * math/libm-test.inc (check_float_internal): Correct ulp
25609         calculation for subnormal expected results.
25610
25611 2012-05-06  Andreas Jaeger  <aj@suse.de>
25612
25613         * Makeconfig (+math-flags): New, set to -frounding-math.
25614         (+cflags): Add +math-flags so that all of glibc gets compiled with
25615         it.
25616
25617         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
25618
25619 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
25620
25621         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
25622         Disable one test.
25623
25624         [BZ #13787]
25625         [BZ #13922]
25626         [BZ #14036]
25627         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
25628         (__ieee754_expl): Allow for and saturate large arguments.
25629         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
25630         (u_threshold): Likewise.
25631         (__exp): Call __ieee754_exp before checking for overflow and
25632         underflow.
25633         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
25634         (u_threshold): Likewise.
25635         (__expf): Call __ieee754_expf before checking for overflow and
25636         underflow.
25637         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
25638         (u_threshold): Likewise.
25639         (__expl): Call __ieee754_expl before checking for overflow and
25640         underflow.
25641         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
25642         (__ieee754_expl): Allow for and saturate large arguments.
25643         * math/libm-test.inc (exp_test): Add another test.  Do not allow
25644         missing overflow exception on overflow.
25645         (expm1_test): Do not allow missing overflow exception on overflow.
25646
25647         * sysdeps/i386/fpu/e_expl.c: Move to ...
25648         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
25649         rather than using inline asm.
25650         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
25651         * sysdeps/x86_64/fpu/e_expl.S: Copy from
25652         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
25653
25654         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
25655         (nice): Likewise.
25656         (poll): Likewise.
25657         (signal): Likewise.
25658         (time): Likewise.
25659         (times): Likewise.
25660
25661 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25662
25663         * sysdeps/unix/syscalls.list (adjtime): Add entry from
25664         sysdeps/unix/common/syscalls.list.
25665         (fchmod): Likewise.
25666         (fchown): Likewise.
25667         (ftruncate): Likewise.
25668         (getrusage): Likewise.
25669         (gettimeofday): Likewise.
25670         (setpgid): Likewise.
25671         (setregid): Likewise.
25672         (setreuid): Likewise.
25673         (sigaction): Likewise.
25674         (truncate): Likewise.
25675         (vhangup): Likewise.
25676         * sysdeps/unix/common/syscalls.list: Remove file.
25677         * sysdeps/unix/bsd/Implies: Don't include unix/common.
25678         * sysdeps/unix/sysv/linux/Implies: Likewise.
25679
25680 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
25681
25682         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
25683         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
25684         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
25685         Moved to ...
25686         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
25687         Here.
25688         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
25689         to ...
25690         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
25691         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
25692         to ...
25693         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
25694         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
25695         to ...
25696         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
25697         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
25698         to ...
25699         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
25700         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
25701         to ...
25702         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
25703         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
25704         to ...
25705         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
25706         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
25707         to ...
25708         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25709         Here.
25710         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
25711         to ...
25712         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
25713         Here.
25714         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
25715         to ...
25716         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
25717         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
25718         Moved to ...
25719         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
25720         Here.
25721         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
25722         to ...
25723         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
25724
25725 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25726
25727         * sysdeps/unix/common/bits/dirent.h: Remove file.
25728         * sysdeps/unix/common/bits/fcntl.h: Likewise.
25729
25730         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
25731         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
25732         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
25733         * sysdeps/unix/bsd/isatty.c: Likewise.
25734         * sysdeps/unix/bsd/tcdrain.c: Likewise.
25735         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
25736         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
25737
25738 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25739
25740         [BZ #13563]
25741         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
25742         long double comparison inaccuracies.
25743         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25744         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25745
25746 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
25747
25748         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
25749         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
25750
25751 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
25752
25753         [BZ #14049]
25754         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
25755         nonzero digits before rounding a hex value.
25756         * stdlib/tst-strtod.c (tests): Add another test.
25757
25758 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25759
25760         * sysdeps/s390/fpu/libm-test-ulps: Update.
25761
25762 2012-05-03  Andreas Jaeger  <aj@suse.de>
25763
25764         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
25765         does not get optimized out.
25766         (malloc_opt_barrier): New.
25767
25768 2012-05-03  Andreas Jaeger  <aj@suse.de>
25769             Roland McGrath  <roland@hack.frob.com>
25770
25771         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
25772         intermediate file deletion.
25773         (generated): Add .symlist files.
25774
25775 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
25776
25777         [BZ #13775]
25778         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
25779         Redirect under this condition.
25780         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25781         [__USE_GNU] (__dprintf_chk): Not under this condition.
25782         [__USE_GNU] (__vdprintf_chk): Likewise.
25783         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
25784         under this condition.
25785         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
25786         [__USE_XOPEN2K8] (dprintf): Define under this condition.
25787         [__USE_XOPEN2K8] (vdprintf): Likewise.
25788         [__USE_GNU] (__dprintf_chk): Not under this condition.
25789         [__USE_GNU] (__vdprintf_chk): Likewise.
25790         [__USE_GNU] (dprintf): Likewise.
25791         [__USE_GNU] (vdprintf): Likewise.
25792
25793 2012-05-03  Roland McGrath  <roland@hack.frob.com>
25794
25795         * elf/Makefile (common-generated): Set this instead of generated for
25796         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
25797         $(all-built-dso)-derived lists.
25798
25799 2012-05-03  Andreas Jaeger  <aj@suse.de>
25800
25801         * sysdeps/i386/fpu/libm-test-ulps: Update.
25802
25803         * FAQ: Removed.
25804         * FAQ.in: Likewise.
25805         * scripts/gen-FAQ.pl: Likewise.
25806         * manual/install.texi (Installation): Point to online location of
25807         FAQ.
25808         * Makefile (files-for-dist): Remove FAQ.
25809         (FAQ): Remove.
25810
25811 2012-05-02  Allan McRae  <allan@archlinux.org>
25812
25813         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
25814         (LDFLAGS-reldepmod5.so): Likewise.
25815         (LDFLAGS-reldep6mod1.so): Likewise.
25816         (LDFLAGS-reldep6mod4.so): Likewise.
25817         (LDFLAGS-reldep8mod3.so): Likewise.
25818         (LDFLAGS-unload4mod1.so): Likewise.
25819         (LDFLAGS-unload4mod2.so): Likewise.
25820         (LDFLAGS-tst-initorder): Likewise.
25821         (LDFLAGS-tst-initordera2.so): Likewise.
25822         (LDFLAGS-tst-initordera3.so): Likewise.
25823         (LDFLAGS-tst-initordera4.so): Likewise.
25824         (LDFLAGS-tst-initorderb2.so): Likewise.
25825         (LDFLAGS-noload): Likewise.
25826         (LDFLAGS-next): Likewise.
25827         (LDFLAGS-order2mod1.so): Likewise.
25828         (LDFLAGS-order2mod2.so): Likewise.
25829         (LDFLAGS-tst-initorder2): Likewise.
25830         (LDFLAGS-tst-initorder2a.so): Likewise.
25831         (LDFLAGS-tst-initorder2b.so): Likewise.
25832         (LDFLAGS-tst-initorder2c.so): Likewise.
25833         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
25834
25835 2012-05-02  David S. Miller  <davem@davemloft.net>
25836
25837         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25838
25839 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
25840
25841         [BZ #14055]
25842         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
25843
25844 2012-05-02  Andreas Jaeger  <aj@suse.de>
25845
25846         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
25847         since we manipulate rounding mode.
25848         (CPPFLAGS-test-idouble.c): Likewise.
25849         (CPPFLAGS-test-ifloat.c): Likewise.
25850         (CFLAGS-test-ldouble.c): Likewise.
25851         (CFLAGS-test-double.c): Likewise.
25852         (CFLAGS-test-float.c): Likewise.
25853         (CFLAGS-test-misc.c): Likewise.
25854         (CFLAGS-test-test-fenv.c): Likewise.
25855
25856 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25857
25858         [BZ #2550]
25859         [BZ #2570]
25860         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
25861         comparisons to determine direction to adjust input.
25862
25863 2012-05-01  Roland McGrath  <roland@hack.frob.com>
25864
25865         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
25866         output to the target.
25867
25868         * scripts/localplt.awk: New file.
25869         * elf/Makefile ($(objpfx)check-localplt): Target removed.
25870         (check-localplt-CFLAGS): Variable removed.
25871         ($(all-built-dso:=.jmprel)): New static pattern rule.
25872         (generated): Add those targets.
25873         (localplt-built-dso): New variable.
25874         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
25875
25876         * elf/check-localplt.c: File removed.
25877
25878         * scripts/check-execstack.awk: New file.
25879         * elf/Makefile ($(objpfx)check-execstack): Target removed.
25880         (check-execstack-CFLAGS): Variable removed.
25881         ($(objpfx)check-execstack.h): Target removed.
25882         ($(objpfx)execstack-default): New target.
25883         (generated): Add that instead of check-execstack.h.
25884         ($(all-built-dso:=.phdr)): New static pattern rule.
25885         (generated): Add those targets.
25886         * elf/check-execstack.c: File removed.
25887
25888         * scripts/check-textrel.awk: New file.
25889         * elf/Makefile ($(objpfx)check-textrel): Target removed.
25890         (check-textrel-CFLAGS): Variable removed.
25891         (all-built-dso): Use := to define.o
25892         ($(all-built-dso:=.dyn)): New static pattern rule.
25893         (generated): Add those targets.
25894         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
25895         * config.make.in (READELF): New substituted variable.
25896         * elf/check-textrel.c: File removed.
25897
25898 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
25899
25900         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
25901         allow.
25902         * conform/data/ctype.h-data [C99-based standards] (isblank):
25903         Expect function.
25904         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
25905         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
25906         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25907         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
25908         Specify type.  Require positive value.
25909         (EILSEQ): Likewise.
25910         (ERANGE): Likewise.
25911         [ISO || POSIX] (EILSEQ): Do not expect.
25912         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
25913         Specify type.  Require positive value.
25914         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
25915         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
25916         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
25917         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
25918         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
25919         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
25920         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
25921         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
25922         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
25923         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
25924         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
25925         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
25926         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
25927         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
25928         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
25929         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
25930         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
25931         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
25932         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
25933         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
25934         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
25935         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
25936         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
25937         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
25938         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
25939         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
25940         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
25941         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
25942         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
25943         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
25944         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
25945         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
25946         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
25947         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
25948         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
25949         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
25950         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
25951         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
25952         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
25953         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
25954         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
25955         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
25956         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
25957         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
25958         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
25959         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
25960         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
25961         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
25962         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
25963         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
25964         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
25965         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
25966         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
25967         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
25968         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
25969         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
25970         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
25971         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
25972         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
25973         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
25974         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
25975         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
25976         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
25977         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
25978         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
25979         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
25980         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
25981         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
25982         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
25983         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
25984         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
25985         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
25986         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
25987         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
25988         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
25989         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
25990         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
25991         Require >= 2.
25992         (FLT_ROUNDS): Expect as macro, not constant.
25993         (FLT_MANT_DIG): Use macro-int-constant.
25994         (DBL_MANT_DIG): Likewise.
25995         (LDBL_MANT_DIG): Likewise.
25996         (FLT_DIG): Likewise.
25997         (DBL_DIG): Likewise.
25998         (LDBL_DIG): Likewise.
25999         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
26000         (DBL_MIN_EXP): Likewise.
26001         (LDBL_MIN_EXP): Likewise.
26002         (FLT_MAX_EXP): Use macro-int-constant.
26003         (DBL_MAX_EXP): Likewise.
26004         (LDBL_MAX_EXP): Likewise.
26005         (FLT_MAX_10_EXP): Likewise.
26006         (DBL_MAX_10_EXP): Likewise.
26007         (LDBL_MAX_10_EXP): Likewise.
26008         (FLT_MAX): Use macro-constant.
26009         (DBL_MAX): Likewise.
26010         (LDBL_MAX): Likewise.
26011         (FLT_EPSILON): Use macro-constant.  Give upper bound.
26012         (DBL_EPSILON): Likewise.
26013         (LDBL_EPSILON): Likewise.
26014         (FLT_MIN): Likewise.
26015         (DBL_MIN): Likewise.
26016         (LDBL_MIN): Likewise.
26017         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
26018         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
26019         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
26020         [ISO11] (FLT_HAS_SUBNORM): Likewise.
26021         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
26022         [ISO11] (DBL_DECIMAL_DIG): Likewise.
26023         [ISO11] (FLT_DECIMAL_DIG): Likewise.
26024         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
26025         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
26026         [ISO11] (FLT_TRUE_MIN): Likewise.
26027         [ISO11] (LDBL_TRUE_MIN): Likewise.
26028         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26029         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
26030         (SCHAR_MIN): Use macro-int-constant.  Specify type.
26031         (SCHAR_MAX): Likewise.
26032         (UCHAR_MAX): Likewise.
26033         (CHAR_MIN): Likewise.
26034         (CHAR_MAX): Likewise.
26035         (MB_LEN_MAX): Use macro-int-constant.
26036         (SHRT_MIN): Use macro-int-constant.  Specify type.
26037         (SHRT_MAX): Likewise.
26038         (USHRT_MAX): Likewise.
26039         (INT_MAX): Likewise.
26040         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
26041         bound negative.
26042         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26043         bound with "U".
26044         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26045         bound with "L".
26046         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
26047         bound negative.  Suffix upper bound with "L".
26048         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
26049         bound with "UL".
26050         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
26051         Specify type.
26052         [C99-based standards] (LLONG_MAX): Likewise.
26053         [C99-based standards] (ULLONG_MAX): Likewise.
26054         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
26055         == 0.
26056         [ISO11] (max_align_t): Require type.
26057         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26058
26059         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
26060         from $CFLAGS, without defining away __attribute__ calls.
26061         (checknamespace): Use $CFLAGS_namespace.
26062
26063         * conform/conformtest.pl (@keywords): Only include C99 keywords
26064         for standards based on C99 or C11.
26065
26066         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
26067         Disable tests.
26068         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
26069         UNIX98]: Likewise.
26070
26071         * conform/conformtest.pl: Handle "macro-int-constant" and test for
26072         usability of symbols in #if.
26073
26074         * conform/conformtest.pl: If macro or constant types start
26075         "promoted:", expect the symbol to be of the following type
26076         promoted by the integer promotions.
26077
26078         * conform/conformtest.pl: Parse all "constant" and "macro" lines
26079         in one place.  Also handle "macro-constant".
26080
26081         * conform/conformtest.pl: Only accept expected macro values with
26082         "==".  Parse all "macro" lines in one place.
26083         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
26084
26085         * conform/conformtest.pl: Handle braced types on "constant" lines
26086         instead of handling "typed-constant".
26087         * conform/data/signal.h-data: Use "constant" instead of
26088         "typed-constant".
26089
26090         * conform/conformtest.pl: Handle "optional-" at start of lines in
26091         one place rather than duplicating several cases.  Handle each
26092         format of "macro" line with initial "optional-".
26093
26094         * conform/conformtest.pl: Only accept expected constant or
26095         optional-constant values with "==".  Parse all "constant" lines in
26096         one place.  Parse all "optional-constant" lines in one place.
26097         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
26098         * conform/data/fmtmsg.h-data: Likewise.
26099         * conform/data/netinet/in.h-data: Likewise.
26100         * conform/data/tar.h-data: Likewise.
26101         * conform/data/limits.h-data: Use "==" form on "constant" and
26102         "optional-constant" lines.
26103
26104         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
26105         Use -std=c99 for XOPEN2K.
26106         (@knownproblems): Remove.
26107         (newtoken): Don't check %isknown.
26108
26109         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
26110         Do not expect macro.
26111         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
26112         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
26113         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
26114         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
26115         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
26116         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
26117         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
26118         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
26119         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
26120         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
26121         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
26122         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
26123         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
26124         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
26125         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
26126         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
26127         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
26128         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
26129         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
26130         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
26131         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
26132         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
26133         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
26134         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
26135         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
26136         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
26137         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
26138         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
26139         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
26140         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
26141         [XPG3] (acosh): Likewise.
26142         [XPG3] (asinh): Likewise.
26143         [XPG3] (atanh): Likewise.
26144         [XPG3] (cbrt): Likewise.
26145         [XPG3] (expm1): Likewise.
26146         [XPG3] (ilogb): Likewise.
26147         [XPG3] (log1p): Likewise.
26148         [XPG3] (logb): Likewise.
26149         [XPG3] (nextafter): Likewise.
26150         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
26151         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
26152         [XPG3] (remainder): Likewise.
26153         [XPG3] (rint): Likewise.
26154         [XPG3 || XPG4 || UNIX98] (round): Likewise.
26155         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
26156         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
26157         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
26158         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
26159         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
26160         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
26161         [UNIX98 || XOPEN2K] (scalb): Expect.
26162         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
26163         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
26164         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
26165         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
26166         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
26167         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
26168         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
26169         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
26170         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
26171         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
26172         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
26173         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
26174         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
26175         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
26176         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
26177         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
26178         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
26179         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
26180         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
26181         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
26182         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
26183         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
26184         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
26185         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
26186         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
26187         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
26188         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
26189         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
26190         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
26191         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
26192         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
26193         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
26194         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
26195         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
26196         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
26197         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
26198         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
26199         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
26200         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
26201         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
26202         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
26203         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
26204         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
26205         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
26206         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
26207         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
26208         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
26209         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
26210         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
26211         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
26212         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
26213         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
26214         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
26215         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
26216         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
26217         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
26218         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
26219         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
26220         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
26221         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
26222         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
26223         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
26224         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
26225         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
26226         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
26227         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
26228         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
26229         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
26230         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
26231         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
26232         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
26233         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
26234         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
26235         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
26236         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
26237         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
26238         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
26239         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
26240         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
26241         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
26242         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
26243         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
26244         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
26245         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
26246         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
26247         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
26248         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
26249         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
26250         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
26251         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
26252         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
26253         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
26254         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
26255         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
26256         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
26257         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
26258         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
26259         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
26260         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
26261         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
26262         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
26263         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
26264         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
26265         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
26266         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
26267         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
26268         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
26269         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
26270         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
26271         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
26272         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
26273         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
26274         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
26275         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
26276         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
26277         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
26278         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
26279         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
26280         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
26281         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
26282         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
26283         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
26284         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
26285         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
26286         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
26287         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
26288         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
26289         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
26290         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
26291         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
26292         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
26293         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
26294         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
26295         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
26296         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
26297         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
26298         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
26299
26300         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
26301         _XOPEN_SOURCE_EXTENDED for XPG4.
26302
26303         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
26304
26305         * Makeconfig (localtime): Remove variable.
26306         (inst_localtime-file): Likewise.
26307
26308 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26309
26310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26311         Update.
26312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26313         Update.
26314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26315         Update.
26316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26317         Update.
26318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26319         Update.
26320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
26321         Update.
26322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26323         Update.
26324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
26325         Update.
26326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26327         Update.
26328
26329 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
26330
26331         [BZ #2550]
26332         [BZ #2570]
26333         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
26334         comparisons to determine direction to adjust input.
26335         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
26336         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
26337         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
26338         Likewise.
26339         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
26340         Likewise.
26341         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26342         Likewise.
26343         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
26344         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
26345         Likewise.
26346         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
26347         Likewise.
26348         * math/libm-test.inc (nexttoward_test): Add more tests.
26349
26350 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
26351
26352         [BZ #14040]
26353         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
26354         in version GLIBC_2.1, not GLIBC_2.0.
26355         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
26356         Likewise.
26357
26358 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
26359
26360         [BZ #13942]
26361         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
26362         (1 - x) * (1 + x).
26363         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26364         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
26365         * math/libm-test.inc (acos_test): Add more tests.
26366         (asin_test): Likewise.
26367         * sysdeps/i386/fpu/libm-test-ulps: Update.
26368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26369
26370         [BZ #14034]
26371         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
26372         of square root.
26373         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
26374         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
26375         * math/libm-test.inc (acos_test_tonearest): New function.
26376         (acos_test_towardzero): Likewise.
26377         (acos_test_downward): Likewise.
26378         (acos_test_upward): Likewise.
26379         (asin_test_tonearest): Likewise.
26380         (asin_test_towardzero): Likewise.
26381         (asin_test_downward): Likewise.
26382         (asin_test_upward): Likewise.
26383         (main): Call the new functions.
26384         * sysdeps/i386/fpu/libm-test-ulps: Update.
26385         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26386
26387         [BZ #13884]
26388         [BZ #13924]
26389         * math/e_exp10.c: Include <float.h>.
26390         (__ieee754_exp10): Handle underflow here rather than multiplying
26391         large negative argument by M_LN10.
26392         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
26393         of __ieee754_expf.
26394         * math/e_exp10l.c: Include <float.h>.
26395         (__ieee754_exp10l): Handle underflow here rather than multiplying
26396         large negative argument by M_LN10l.
26397         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
26398         spurious overflow exception on underflow.
26399
26400 2012-04-29  Marek Polacek  <polacek@redhat.com>
26401
26402         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
26403         (__fortify_function): New macro.
26404         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
26405         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
26406         __extern_always_inline.
26407         * libio/bits/stdio2.h: Likewise.
26408         * libio/bits/stdio.h: Likewise.
26409         * string/string.h: Likewise.
26410         * string/bits/string3.h: Likewise.
26411         * include/stdio.h: Likewise.
26412         * stdlib/bits/stdlib.h: Likewise.
26413         * stdlib/stdlib.h: Likewise.
26414         * rt/bits/mqueue2.h: Likewise.
26415         * rt/mqueue.h: Likewise.
26416         * posix/bits/unistd.h: Likewise.
26417         * posix/unistd.h: Likewise.
26418         * io/bits/poll2.h: Likewise.
26419         * io/bits/fcntl2.h: Likewise.
26420         * io/fcntl.h: Likewise.
26421         * io/sys/poll.h: Likewise.
26422         * misc/bits/syslog.h: Likewise.
26423         * misc/bits/syslog-ldbl.h: Likewise.
26424         * misc/sys/syslog.h: Likewise.
26425         * socket/bits/socket2.h: Likewise.
26426         * socket/sys/socket.h: Likewise.
26427         * debug/tst-chk1.c: Likewise.
26428         * wcsmbs/bits/wchar2.h: Likewise.
26429         * wcsmbs/bits/wchar-ldbl.h: Likewise.
26430         * wcsmbs/wchar.h: Likewise.
26431
26432 2012-04-29  Andreas Jaeger  <aj@suse.de>
26433
26434         * Makerules (tests): Remove enable-check-abi protection.
26435         (check-abi-warn): Remove.
26436         (check-abi-%): Remove check-abi-warn usage.
26437
26438         * configure.in: Remove check-abi configure option.
26439         * configure: Regenerated.
26440         * config.make.in (enable-check-abi): Remove.
26441
26442 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
26443
26444         [BZ #14033]
26445         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
26446         double functions to double *_finite functions.
26447
26448         [BZ #13941]
26449         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
26450         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
26451         LDBL_MIN_EXP.
26452         * stdio-common/Makefile (tests): Add tst-sprintf3.
26453         * stdio-common/tst-sprintf3.c: New file.
26454
26455         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
26456         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
26457
26458 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26459
26460         * conform/conformtest.pl: Remove duplicate typed-constant
26461         handling.
26462
26463 2012-04-28  David S. Miller  <davem@davemloft.net>
26464
26465         * Makerules (%.abilist): Add vpath on sysdep_dirs.
26466         (check-abi-%): Remove AWK script prerequisite and explicit
26467         abilist directory.
26468         (check-abi): Rewrite to just diff the symlist with the abilist.
26469         (config-tls, config-abi-config): Delete, no longer used.
26470         (update-abi-%): Remove AWK script and explicit abilist directory.
26471         (update-abi): Rewrite to simply compare and conditionally copy the
26472         symlist and the sysdep abilist file.  Remove update-abi-config
26473         checks.
26474         * abilist/ld.abilist: Remove.
26475         * abilist/libBrokenLocale.abilist: Remove.
26476         * abilist/libanl.abilist: Remove.
26477         * abilist/libcrypt.abilist: Remove.
26478         * abilist/libdl.abilist: Remove.
26479         * abilist/librt.abilist: Remove.
26480         * abilist/libthread_db.abilist: Remove.
26481         * abilist/libutil.abilist: Remove.
26482         * scripts/extract-abilist.awk: Remove.
26483         * scripts/merge-abilist.awk: Remove.
26484         * sysdeps/generic/libcidn.abilist: New file.
26485         * sysdeps/generic/libnss_compat.abilist: New file.
26486         * sysdeps/generic/libnss_db.abilist: New file.
26487         * sysdeps/generic/libnss_dns.abilist: New file.
26488         * sysdeps/generic/libnss_files.abilist: New file.
26489         * sysdeps/generic/libnss_hesiod.abilist: New file.
26490         * sysdeps/generic/libnss_nis.abilist: New file.
26491         * sysdeps/generic/libnss_nisplus.abilist: New file.
26492         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
26493         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
26494         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
26495         file.
26496         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
26497         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
26498         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
26499         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
26500         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
26501         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
26502         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
26503         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
26504         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
26505         file.
26506         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
26507         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
26508         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
26509         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
26510         file.
26511         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
26512         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
26513         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
26514         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
26515         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
26516         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
26517         file.
26518         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
26519         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
26520         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
26521         file.
26522         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
26523         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
26524         New file.
26525         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
26526         New file.
26527         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
26528         New file.
26529         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
26530         New file.
26531         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
26532         New file.
26533         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
26534         New file.
26535         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
26536         New file.
26537         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
26538         New file.
26539         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
26540         New file.
26541         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
26542         New file.
26543         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
26544         New file.
26545         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
26546         New file.
26547         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
26548         New file.
26549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
26550         file.
26551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26552         New file.
26553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26554         New file.
26555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
26556         file.
26557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26558         New file.
26559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26560         New file.
26561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
26562         file.
26563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26564         New file.
26565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26566         New file.
26567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26568         New file.
26569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26570         New file.
26571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26572         New file.
26573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26574         New file.
26575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
26576         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
26577         file.
26578         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
26579         New file.
26580         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
26581         file.
26582         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
26583         file.
26584         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
26585         file.
26586         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
26587         file.
26588         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
26589         file.
26590         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26591         New file.
26592         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
26593         file.
26594         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
26595         file.
26596         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
26597         New file.
26598         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
26599         file.
26600         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
26601         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
26602         file.
26603         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
26604         New file.
26605         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
26606         file.
26607         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
26608         file.
26609         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
26610         file.
26611         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
26612         file.
26613         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
26614         file.
26615         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26616         New file.
26617         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
26618         file.
26619         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
26620         file.
26621         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
26622         New file.
26623         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
26624         file.
26625         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26626         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
26627         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
26628         file.
26629         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
26630         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
26631         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
26632         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
26633         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
26634         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
26635         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
26636         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
26637         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
26638         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
26639         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
26640         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
26641         file.
26642         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
26643         New file.
26644         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
26645         file.
26646         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
26647         file.
26648         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
26649         file.
26650         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
26651         file.
26652         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
26653         file.
26654         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26655         New file.
26656         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
26657         New file.
26658         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
26659         file.
26660         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
26661         New file.
26662         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
26663         file.
26664         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
26665         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
26666         file.
26667         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
26668         New file.
26669         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
26670         file.
26671         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
26672         file.
26673         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
26674         file.
26675         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
26676         file.
26677         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
26678         file.
26679         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26680         New file.
26681         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
26682         New file.
26683         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
26684         file.
26685         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
26686         New file.
26687         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
26688         file.
26689
26690 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
26691
26692         * conform/conformtest.pl: Fix typo in handling typed-constant from
26693         allow-header.
26694
26695 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26696
26697         * README: Cut down references to pre-2.6 Linux kernels and
26698         Linuxthreads.  Update lists of configurations in libc and ports
26699         and sort alphabetically.  Say "or newer" with Linux kernel version
26700         requirements.
26701
26702         * config.h.in [IS_IN_build]: Allow compiling without optimization.
26703
26704 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26705
26706         [BZ #887]
26707         * math/libm-test.inc (logb_test_downward): New test to expose
26708         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
26709         rounding mode.
26710
26711 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
26712
26713         [BZ #14027]
26714         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
26715         to be done.
26716         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
26717         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
26718
26719 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
26720
26721         * sysdeps/unix/i386/brk.S: Remove file.
26722         * sysdeps/unix/i386/dl-brk.S: Likewise.
26723         * sysdeps/unix/i386/pipe.S: Likewise.
26724         * sysdeps/unix/i386/sigreturn.S: Likewise.
26725         * sysdeps/unix/i386/syscall.S: Likewise.
26726         * sysdeps/unix/i386/vfork.S: Likewise.
26727         * sysdeps/unix/i386/wait.S: Likewise.
26728
26729         * sysdeps/unix/common/tcsendbrk.c: Move to ...
26730         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
26731
26732         * configure.in (arm*-none*): Do not allow without
26733         --enable-hacker-mode.
26734         (netbsd*): Remove case setting base_os.
26735         (386bsd*): Likewise.
26736         (freebsd*): Likewise.
26737         (bsdi*): Likewise.
26738         (osf*): Likewise.
26739         (sunos*): Likewise.
26740         (ultrix*): Likewise.
26741         (newsos*): Likewise.
26742         (dynix*): Likewise.
26743         (*bsd*): Likewise.
26744         (sysv*): Likewise.
26745         (isc*): Likewise.
26746         (esix*): Likewise.
26747         (sco*): Likewise.
26748         (minix*): Likewise.
26749         (irix4*): Likewise.
26750         (irix6*): Likewise.
26751         (solaris[2-9]*): Likewise.
26752         (none): Likewise.
26753         * configure: Regenerated.
26754
26755 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26756
26757         [BZ #11521]
26758         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
26759         overflow or cancellation in calculating denominator.
26760         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
26761         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
26762         down expression to avoid unexpected rounding in newer GCCs.
26763         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
26764
26765 2012-04-26  David S. Miller  <davem@davemloft.net>
26766
26767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
26768         long-double compat symbols.
26769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
26773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26774         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
26775         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
26776         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
26777         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
26778         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26779         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26780         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
26781         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26782
26783 2012-04-25  David S. Miller  <davem@davemloft.net>
26784
26785         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
26786         HWCAP_* values only after the memory barriers have been defined.
26787         (atomic_full_barrier): Define.
26788         (atomic_read_barrier): Define.
26789         (atomic_write_barrier): Define.
26790
26791 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26792
26793         * shlib-versions: Add libgcc_s version information.
26794         * sysdeps/generic/libgcc_s.h: Remove.
26795         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
26796         libgcc_s.h.
26797         * sysdeps/gnu/unwind-resume.c: Likewise.
26798         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
26799
26800 2012-04-25  David S. Miller  <davem@davemloft.net>
26801
26802         * sysdeps/unix/sparc/brk.S: Delete.
26803         * sysdeps/unix/sparc/dl-brk.S: Delete.
26804         * sysdeps/unix/sparc/pipe.S: Delete.
26805         * sysdeps/unix/sparc/sysdep.S: Delete.
26806         * sysdeps/unix/sparc/sysdep.h: Delete.
26807         * sysdeps/unix/sparc/vfork.S: Delete.
26808         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
26809         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
26810         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
26811         ret_ERRVAL, r0, r1, MOVE): Define.
26812         (JUMPTARGET): Remove.
26813         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
26814         sysdeps/unix/sparc/sysdep.h
26815         (ENTRY, END): Remove.
26816         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26817
26818 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
26819
26820         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
26821         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
26822         -DIS_IN_build.
26823
26824         * timezone/README: Update upstream location and email address for
26825         tzcode and tzdata.
26826         * timezone/zdump.c: Update from tzcode 2012b.
26827         * timezone/zic.c: Likewise.
26828
26829         * configure.in (libc_cv_as_needed): Remove test.
26830         * configure: Regenerated.
26831         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
26832         conditional definition.
26833         [$(have-as-needed) != yes] (no-as-needed): Likewise.
26834         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
26835         * config.make.in (have-as-needed): Remove variable.
26836
26837 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26838             Paul Pluzhnikov  <ppluzhnikov@google.com>
26839
26840         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
26841         strings correctly.
26842
26843 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
26844
26845         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
26846         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
26847         * sysdeps/sh/strlen.S: Likewise.
26848
26849 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26850
26851         * sysdeps/unix/fork.S: Remove file.
26852         * sysdeps/unix/i386/fork.S: Likewise.
26853         * sysdeps/unix/sparc/fork.S: Likewise.
26854
26855         * sysdeps/unix/system.c: Remove file.
26856         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
26857
26858         * sysdeps/unix/getegid.S: Remove file.
26859         * sysdeps/unix/geteuid.S: Likewise.
26860
26861 2012-04-24  Roland McGrath  <roland@hack.frob.com>
26862
26863         * scripts/check-localplt.awk: New file.
26864         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
26865         of diff.
26866         * scripts/data/localplt-generic.data: Add a comment.
26867
26868         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
26869         NODE when __dir_mkfile failed.
26870         * sysdeps/mach/hurd/symlinkat.c: Likewise.
26871         Reported by Ludovic Courtès <ludo@gnu.org>.
26872
26873 2012-04-24  Andreas Jaeger  <aj@suse.de>
26874
26875         * Makerules (common-clean): Also remove gen-as-const-headers
26876         files.
26877
26878 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26879
26880         * Makerules (native-compile): Do not change working directory for
26881         build.  Use $(OUTPUT_OPTION) in command.
26882         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
26883
26884 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26885
26886         [BZ #13886]
26887         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
26888         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
26889         * math/libm-test.inc (floor_test): Add more tests.
26890         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26891
26892 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
26893
26894         * sysdeps/unix/getdents.c: Remove file.
26895         * sysdeps/unix/sysv/getdents.c: Likewise.
26896         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
26897
26898         * sysdeps/unix/syscalls.list (madvise): Add syscall from
26899         sysdeps/unix/mman/syscalls.list.
26900         (mmap): Likewise.
26901         (mprotect): Likewise.
26902         (msync): Likewise.
26903         (munmap): Likewise.
26904         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
26905         * sysdeps/unix/mman/syscalls.list: Remove.
26906         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
26907
26908         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
26909         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
26910         * configure: Regenerated.
26911         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
26912         $(libgcc_s_suffix).
26913         * config.make.in (libgcc_s_suffix): Remove variable.
26914
26915 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
26916
26917         * sysdeps/unix/sysv/gethostname.c: Move to ...
26918         * sysdeps/posix/gethostname.c: ... here.
26919
26920         * sysdeps/unix/execve.S: Remove file.
26921
26922         * sysdeps/unix/_exit.S: Remove file.
26923
26924 2012-04-23  Andreas Jaeger  <aj@suse.de>
26925
26926         [BZ #13739]
26927         * manual/Makefile: Remove make dist support, there's no
26928         need for a stand-alone documentation tar ball.
26929         (TEXI2DVI): Define always, it's not in Makeconfig.
26930         (dist): Removed.
26931         (tar-it): Removed.
26932         (edition): Removed.
26933         (glibc-doc-$(edition).tar): Removed
26934         (%.Z): Removed.
26935         (%.gz): Removed.
26936         (%.uu): Removed.
26937         (ETAGS): Remove, it's in Makeconfig.
26938         (move-if-change): Remove, it's in Makeconfig.
26939
26940 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
26941
26942         [BZ #13970]
26943         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
26944         (strtod, strtof, strtold, strtol, strtoul, strtoq)
26945         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
26946         (strtod_l, strtof_l, strtold_l): Remove __wur.
26947         It is not necessarily an error to ignore strtol's return value.
26948         One can reliably look at the stored endptr to decide whether
26949         the number had valid syntax.
26950
26951 2012-04-21  Andreas Jaeger  <aj@suse.de>
26952
26953         [BZ #13739]
26954         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
26955
26956 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
26957
26958         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
26959         * sysdeps/unix/sysv/Versions: Remove file.
26960
26961 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
26962
26963         [BZ #13927]
26964         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26965
26966 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
26967
26968         [BZ #7064]
26969         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
26970         version from __vm86.
26971
26972 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
26973
26974         * sysdeps/unix/common/lxstat.c: Remove file.
26975         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
26976
26977         * sysdeps/unix/sysv/Makefile: Remove file.
26978
26979         * sysdeps/unix/sysv/direct.h: Remove file.
26980
26981         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
26982         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
26983         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
26984         * sysdeps/unix/sysv/bits/signum.h: Likewise.
26985         * sysdeps/unix/sysv/bits/stat.h: Likewise.
26986         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
26987         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
26988
26989         * sysdeps/unix/sysv/setrlimit.c: Remove file.
26990
26991         * sysdeps/unix/xmknod.c: Remove file.
26992         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
26993
26994         * sysdeps/unix/sysv/settimeofday.c: Remove file.
26995
26996         * sysdeps/unix/sysv/i386/time.S: Remove file.
26997
26998         * sysdeps/unix/fxstat.c: Remove file.
26999         * sysdeps/unix/xstat.c: Likewise.
27000         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
27001
27002         * sysdeps/unix/sysv/sigaction.c: Remove file.
27003
27004         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
27005         (sysdep_headers): Remove variable.
27006         [termio.h not in sysdep_headers] (generated): Likewise.
27007         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
27008         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
27009         * sysdeps/unix/sysv/tcdrain.c: Likewise.
27010         * sysdeps/unix/sysv/tcflow.c: Likewise.
27011         * sysdeps/unix/sysv/tcflush.c: Likewise.
27012         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
27013         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
27014         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
27015         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
27016         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
27017
27018         * sysdeps/unix/siglist.c: Remove file.
27019
27020         * sysdeps/unix/getppid.S: Remove file.
27021
27022         * sysdeps/unix/mkdir.c: Remove file.
27023         * sysdeps/unix/rmdir.c: Likewise.
27024
27025 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
27026
27027         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
27028         ERR_MAX value.
27029         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
27030         errlist-compat value.
27031
27032 2012-04-18  David S. Miller  <davem@davemloft.net>
27033
27034         * sysdeps/generic/memcopy.h (reg_char): Delete.
27035         * debug/strcat_chk.c: Use char, not reg_char.
27036         * debug/strcpy_chk.c: Likewise.
27037         * debug/strncat_chk.c: Likewise.
27038         * debug/strncpy_chk.c: Likewise.
27039         * string/memchr.c: Likewise.
27040         * string/memrchr.c: Likewise.
27041         * string/rawmemchr.c: Likewise.
27042         * string/strcat.c: Likewise.
27043         * string/strchr.c: Likewise.
27044         * string/strchrnul.c: Likewise.
27045         * string/strcmp.c: Likewise.
27046         * string/strcpy.c: Likewise.
27047         * string/strncat.c: Likewise.
27048         * string/strncmp.c: Likewise.
27049         * string/strncpy.c: Likewise.
27050
27051 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27052
27053         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
27054         __builtin_memcopy is called when src and dest ranges are known to not
27055         overlap.
27056
27057 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27058
27059         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
27060         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
27061         fwd_align_merge macro call.
27062         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
27063         bwd_align_merge macro call.
27064         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27065
27066 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
27067
27068         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
27069         bwd_align_merge macros.
27070         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
27071         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
27072         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27073
27074 2012-04-18  David S. Miller  <davem@davemloft.net>
27075
27076         * sysdeps/sparc/sparc64/memcopy.h: Delete.
27077
27078 2012-04-18  Andreas Jaeger  <aj@suse.de>
27079
27080         [BZ# 6794]
27081         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
27082         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
27083         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27084
27085         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
27086         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
27087         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27088
27089         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
27090         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
27091         Adjust for changed ldbl-128 files.
27092
27093         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
27094         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
27095         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
27096
27097 2012-04-17  David S. Miller  <davem@davemloft.net>
27098
27099         * sysdeps/sparc/sparc32/memcopy.h: Delete.
27100
27101 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
27102
27103         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
27104         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
27105         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
27106         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
27107         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27108         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
27109
27110 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27111
27112         [BZ #6794]
27113         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
27114         * math/libm-test.inc: Add ilogb errno and exception tests.
27115         * math/w_ilogb.c: New file: ilogb wrapper.
27116         * math/w_ilogbf.c: New file: ilogbf wrapper.
27117         * math/w_ilogbl.c: New file: ilogbl wrapper.
27118         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
27119         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
27120         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
27121         exception being thrown with 0.0 as argument.
27122         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
27123         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
27124         exception being thrown with 0.0 as argument.
27125         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
27126         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27127         exception being thrown with 0.0 as argument.
27128         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
27129         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
27130         exception being thrown with 0.0 as argument.
27131         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
27132         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
27133         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
27134         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
27135         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
27136         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
27137         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
27138         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
27139         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
27140
27141 2012-04-17  Petr Baudis  <pasky@ucw.cz>
27142
27143         * include/sys/uio.h: Change __vector to __iovec to avoid clash
27144         with altivec.
27145
27146 2012-04-16  Marek Polacek  <polacek@redhat.com>
27147
27148         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
27149
27150 2012-04-16  Marek Polacek  <polacek@redhat.com>
27151
27152         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
27153         operands of fdivp instruction.
27154
27155 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
27156
27157         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
27158         * elf/tst-auditmod3b.c: Likewise.
27159         * elf/tst-auditmod4b.c: Likewise.
27160         * elf/tst-auditmod5b.c: Likewise.
27161         * elf/tst-auditmod6b.c: Likewise.
27162         * elf/tst-auditmod6c.c: Likewise.
27163         * elf/tst-auditmod7b.c: Likewise.
27164         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
27165         * sysdeps/x86_64/preconfigure.in: Likewise.
27166         * sysdeps/x86_64/preconfigure: Regenerated.
27167
27168 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
27169
27170         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
27171         __ILP32__.
27172
27173 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
27174
27175         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27176         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
27177
27178 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
27179
27180         [BZ #13973]
27181         * locale/iso-639.def: Fix gl language name. Spotted by
27182         Yaron Shahrabani.
27183
27184 2012-04-12  Roland McGrath  <roland@hack.frob.com>
27185
27186         [BZ #2074]
27187         * libio/libio.h (__io_write_fn): Update comment.
27188
27189 2012-04-12  Petr Baudis  <pasky@ucw.cz>
27190
27191         [BZ #2074]
27192         * stdio.texi (Hook Functions): The user provided writer function
27193         is not allowed to return -1.
27194
27195 2012-04-11  David S. Miller  <davem@davemloft.net>
27196
27197         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27198
27199 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
27200
27201         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
27202         Add a leading slash to rtkaio.
27203
27204 2012-04-11  Jim Meyering  <meyering@redhat.com>
27205
27206         [BZ #11959]
27207         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
27208         It is not necessarily an error to ignore fwrite's return
27209         value.  One can reliably use ferror to test for errors after
27210         the fact.
27211
27212 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
27213
27214         * bits/types.h (__snseconds_t): New type.
27215         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
27216
27217         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
27218         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27219         (__SNSECONDS_T_TYPE): Likewise.
27220         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27221         (__SNSECONDS_T_TYPE): Likewise.
27222         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27223         (__SNSECONDS_T_TYPE): Likewise.
27224
27225 2012-04-10  Andreas Jaeger  <aj@suse.de>
27226
27227         [BZ #2636]
27228         * manual/time.texi (Processor Time): Return type of times is
27229         elapsed real time since an arbitrary point in the past.
27230         (CPU Time): Move CLK_TCK from here...
27231         (Processor Time): ...to here.  Correct description.
27232         * manual/conf.texi (Constants for Sysconf): Correct description of
27233         _SC_CLK_TCK.
27234
27235 2012-04-10  David S. Miller  <davem@davemloft.net>
27236
27237         [BZ #13967]
27238         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
27239         where the is a gap between DT_REL(A) and DT_JMPREL.
27240
27241 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
27242
27243         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
27244         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27245         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27246
27247 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27248
27249         * elf/dl-support.c (_dl_inhibit_cache): New variable.
27250         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
27251         (dl_main): Handle --inhibit-cache.
27252         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
27253         _dl_inhibit_cache.
27254         * elf/dl-load.c (_dl_map_object): Use it.
27255         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
27256
27257 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
27258
27259         [BZ #13872]
27260         * sysdeps/i386/fpu/e_powl.S (p78): New object.
27261         (__ieee754_powl): Saturate large exponents rather than testing for
27262         overflow of y*log2(x).
27263         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27264         * math/libm-test.inc (pow_test): Do not permit spurious overflow
27265         exceptions.
27266
27267         [BZ #11521]
27268         * math/s_ctan.c: Include <float.h>.
27269         (__ctan): Avoid internal overflow or cancellation in calculating
27270         denominator.
27271         * math/s_ctanf.c: Likewise.
27272         * math/s_ctanl.c: Likewise.
27273         * math/s_ctanh.c: Likewise.
27274         * math/s_ctanhf.c: Likewise.
27275         * math/s_ctanhl.c: Likewise.
27276         * math/libm-test.inc (ctan_test): Add more tests.
27277         (ctanh_test): Likewise.
27278         * sysdeps/i386/fpu/libm-test-ulps: Update.
27279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27280
27281 2012-04-09  Andreas Jaeger  <aj@suse.de>
27282
27283         [BZ #6894]
27284         * manual/filesys.texi (Directory Entries): Mention that d_namlen
27285         is an optional BSD extension.
27286
27287         [BZ #10254]
27288         * manual/stdio.texi (Opening Streams): Document additional fopen
27289         parameters.
27290
27291 2012-04-09  Roland McGrath  <roland@hack.frob.com>
27292
27293         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
27294         %eax without telling the compiler.
27295
27296 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
27297
27298         [BZ # 13963]
27299         * manual/install.texi: Use sourceware.org.
27300
27301 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
27302
27303         [BZ #13873]
27304         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
27305         (__ieee754_pow): Generate overflow and underflow using huge*huge
27306         and tiny*tiny rather than just returning constant infinity or zero
27307         for large exponents.
27308         * math/libm-test.inc (pow_test): Require overflow exceptions for
27309         applicable cases of large exponents.
27310
27311         [BZ #706]
27312         * sysdeps/i386/fpu/e_pow.S (p10): New object.
27313         (__ieee754_pow): Use iterative multiplication algorithm only for
27314         integer exponents with absolute value below 1024.  Check for odd
27315         integer exponents when using algorithm for real exponents.
27316         * math/libm-test.inc (pow_test): Add more tests.
27317         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27318
27319 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
27320
27321         [BZ #13705]
27322         * math/libm-test.inc (exp_test): Do not allow overflow exception
27323         on underflow test.
27324
27325 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
27326
27327         [BZ #13705]
27328         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
27329         instead of __kernel_standard_f.
27330
27331 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
27332
27333         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
27334         * sysdeps/x86_64/memset_chk.S: Likewise.
27335
27336 2012-04-08  Andreas Jaeger  <aj@suse.de>
27337
27338         [BZ #10153]
27339         * manual/startup.texi (Environment Access): Describe return value
27340         for putenv and setenv.
27341
27342         [BZ #6895]
27343         * manual/filesys.texi (Directory Entries): Add description for
27344         DT_LNK.
27345
27346         [BZ #6890]
27347         * manual/filesys.texi (Directory Entries): Clarify that it's file
27348         system not operating system in the description of DT_UNKNOWN.
27349
27350         [BZ #6578]
27351         * manual/syslog.texi (closelog): Fix reference, it's openlog.
27352
27353 2012-04-08  Stephen Compall  <s11@member.fsf.org>
27354
27355         [BZ #6649]
27356         * manual/llio.texi (Opening and Closing Files): Add cross
27357         reference to explain mode argument.
27358
27359 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
27360
27361         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
27362         * sysdeps/x86_64/memset_chk.S: Likewise.
27363
27364 2012-04-07  David S. Miller  <davem@davemloft.net>
27365
27366         * elf/elf.h (R_SPARC_WDISP10): Define.
27367         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
27368         R_SPARC_SIZE32.
27369         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
27370         R_SPARC_SIZE64 and R_SPARC_H34.
27371
27372 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
27373
27374         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
27375         conditions and remove no longer applicable assertion.
27376
27377 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
27378
27379         * bits/byteswap.h: Include <features.h>.
27380         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
27381         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
27382
27383 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
27384
27385         * bits/byteswap.h (__bswap_16): Removed.
27386         Include <bits/byteswap-16.h> to get __bswap_16.
27387         * sysdeps/i386/bits/byteswap.h: Likewise.
27388         * sysdeps/s390/bits/byteswap.h: Likewise.
27389         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27390         * bits/byteswap-16.h: New file.
27391         * sysdeps/i386/bits/byteswap-16.h: Likewise.
27392         * sysdeps/s390/bits/byteswap-16.h: Likewise.
27393         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
27394         * string/Makefile (headers): Add bits/byteswap-16.h.
27395
27396 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27397
27398         [BZ #13895]
27399         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
27400         extra indirection.
27401         * nss/Makefile (tests-static, tests): Add tst-nss-static.
27402         * nss/tst-nss-static.c: New.
27403
27404 2012-04-06  Robert Millan  <rmh@gnu.org>
27405
27406         [BZ #6486]
27407         * manual/llio.texi (File Position Primitive): lseek
27408         refers to WHENCE when it really means OFFSET.
27409
27410 2012-04-06  Andreas Jaeger  <aj@suse.de>
27411
27412         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
27413         strncmp declarations.
27414
27415         * abilist/libc.abilist: Add __poll and __ppoll.
27416
27417 2012-04-05  David S. Miller  <davem@davemloft.net>
27418
27419         * scripts/check-local-headers.sh: Accept a host triplet in the
27420         path matched by the exclude regexp.
27421
27422         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
27423         definition.
27424         * sysdeps/powerpc/powerpc32/dl-machine.h
27425         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
27426         * sysdeps/s390/s390-32/dl-machine.h
27427         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27428         * sysdeps/sparc/sparc32/dl-machine.h
27429         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27430         * sysdeps/sparc/sparc64/dl-machine.h
27431         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
27432
27433         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
27434         lazy binding.
27435         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
27436         undefined symbol errors.
27437
27438         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
27439         DT_NEEDED entries.
27440
27441 2012-04-05  Michael Matz  <matz@suse.de>
27442
27443         [BZ #13592]
27444         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
27445
27446 2012-04-05  Andreas Jaeger  <aj@suse.de>
27447
27448         [BZ #13908]
27449         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
27450         comment.
27451
27452 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27453
27454         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
27455         which ROUND is no valid rounding mode.
27456
27457 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27458
27459         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
27460         read again.
27461         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
27462
27463 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27464
27465         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
27466         an exception using FPU order intentionally.
27467
27468 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27469
27470         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
27471         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
27472         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
27473         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
27474
27475 2012-04-05  Simon Josefsson  <simon@josefsson.org>
27476
27477         [BZ #12340]
27478         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
27479         EINVAL when BUFLEN is too smal.
27480
27481 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
27482
27483         [BZ #13553]
27484         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
27485         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
27486
27487 2012-04-03  Andreas Jaeger  <aj@suse.de>
27488
27489         [BZ #13938]
27490         * manual/setjmp.texi (System V contexts): Fix sentence.
27491
27492         [BZ #13926]
27493         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
27494         New macro for this case.
27495         [!__GNUC__] (__bswap_64): New inline function for this case.
27496         * sysdeps/x86_64/bits/byteswap.h: Likewise.
27497         * bits/byteswap.h: Likewise.
27498         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
27499         ull, guard with __GLIBC_HAVE_LONG_LONG.
27500
27501         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
27502         __GLIBC_HAVE_LONG_LONG.
27503
27504         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
27505         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
27506
27507 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27508
27509         [BZ #13691]
27510         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
27511         inptr and inend, rather than using last_ch.
27512
27513 2012-04-02  David S. Miller  <davem@davemloft.net>
27514
27515         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
27516         * stdio-common/printf-parse.h (read_int): Change return type to
27517         'int', return -1 on INT_MAX overflow.
27518         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
27519         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
27520         overflows INT_MAX.  Check for overflow of in-format-string precision
27521         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
27522         SIZE_MAX not INT_MAX for integer overflow test.
27523         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
27524         skip the construct in the format string but do not record anything.
27525         * stdio-common/bug22.c: Adjust to test both width/prevision
27526         INT_MAX overflow as well as total length INT_MAX overflow.  Check
27527         explicitly for proper errno values.
27528
27529 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
27530
27531         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
27532         CHAR_MAX.
27533         * string/test-strcmp.c [! WIDE]: Likewise.
27534         * time/tst-mktime2.c: Likewise for INT_MAX.
27535         * string/test-string.h: #include <sys/param.h> for MIN.
27536
27537         * csu/init-first.c (__libc_init_first): Call __ctype_init.
27538         * sysdeps/i386/init-first.c (init): Likewise.
27539         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
27540         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
27541         * sysdeps/sh/init-first.c (init): Likewise.
27542
27543 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
27544
27545         * po/ru.po: Update from translation team.
27546         * po/vi.po: Likewise.
27547
27548 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27549
27550         * resolv/nss_dns/dns-host.c: Merge copyright years.
27551
27552 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27553
27554         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27555         Optimize memcpy with prefetch if
27556         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
27557         src, dst pointers have unequal 16 byte alignments.
27558
27559 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27560
27561         [BZ #13928]
27562         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
27563         from a CNAME entry and return the minimum ttl for the query.
27564         (gaih_getanswer_slice): Likewise.
27565
27566 2012-03-30  Jeff Law  <law@redhat.com>
27567
27568         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
27569         due to long keys.
27570         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27571         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27572
27573         * resolv/nss_dns/dns-host.c: Update copyright year.
27574
27575 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
27576
27577         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
27578         requests to save a system call.  Fix check that all bytes are sent.
27579
27580         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
27581         comments for sendmmsg.
27582
27583 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27584
27585         [BZ #13691]
27586         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
27587         with only 1 character between 0x0041 and 0x01b0.
27588         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
27589         * wcsmbs/tst-mbsnrtowcs.c: New file.
27590
27591 2012-03-29  David S. Miller  <davem@davemloft.net>
27592
27593         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
27594         small copies by hand.
27595
27596 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27597
27598         [BZ #13761]
27599         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
27600         _nss_compat_initgroups_dyn): Fall back to malloc/free
27601         for large group memberships.
27602
27603 2012-03-28  David S. Miller  <davem@davemloft.net>
27604
27605         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
27606         that branches into memcpy.
27607         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27608         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
27609         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27610         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
27611         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
27612         bits.
27613         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
27614         implementation too.
27615         * sysdeps/sparc/mempcpy.S: New file.
27616
27617         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
27618         the IFUNC routine in the libc case.
27619         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27620
27621         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
27622         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
27623         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
27624         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
27625         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
27626         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
27627         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
27628         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
27629
27630         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
27631         loop to 256 bytes instead of 64 bytes and fix test signedness.
27632
27633         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
27634         * sysdeps/sparc/sparc32/Makefile: rather than here...
27635         * sysdeps/sparc/sparc64/Makefile: and here.
27636
27637 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
27638
27639         * malloc/mallocbug.c: Avoid warnings about unused variables.
27640
27641 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27642
27643         [BZ #13760]
27644         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
27645         in the right place. Discard and retry query if response is
27646         larger than input buffer size.
27647
27648 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
27649
27650         [BZ #369]
27651         [BZ #2678]
27652         [BZ #3866]
27653         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
27654         x for large integer exponent.
27655         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27656         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
27657         sign of result as needed afterwards.
27658         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27659         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
27660         result for underflowing pow the same as for overflow.
27661         (__kernel_standard_l): Handle powl overflow and underflow here
27662         rather than calling __kernel_standard.
27663         * math/libm-test.inc (pow_test): Add more tests.
27664
27665         [BZ #3868]
27666         [BZ #13879]
27667         [BZ #13910]
27668         [BZ #13911]
27669         [BZ #13912]
27670         [BZ #13913]
27671         [BZ #13915]
27672         [BZ #13916]
27673         [BZ #13917]
27674         [BZ #13918]
27675         [BZ #13919]
27676         [BZ #13920]
27677         [BZ #13921]
27678         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
27679         * sysdeps/ieee754/k_standard.c: Include <float.h>.
27680         (__kernel_standard_l): New function.
27681         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
27682         __kernel_standard.
27683         * math/w_acosl.c (__acosl): Likewise.
27684         * math/w_asinl.c (__asinl): Likewise.
27685         * math/w_atan2l.c (__atan2l): Likewise.
27686         * math/w_atanhl.c (__atanhl): Likewise.
27687         * math/w_coshl.c (__coshl): Likewise.
27688         * math/w_exp10l.c (__exp10l): Likewise.
27689         * math/w_exp2l.c (__exp2l): Likewise.
27690         * math/w_fmodl.c (__fmodl): Likewise.
27691         * math/w_hypotl.c (__hypotl): Likewise.
27692         * math/w_j0l.c (__j0l, __y0l): Likewise.
27693         * math/w_j1l.c (__j1l, __y1l): Likewise.
27694         * math/w_jnl.c (__jnl, __ynl): Likewise.
27695         * math/w_lgammal.c (__lgammal): Likewise.
27696         * math/w_log10l.c (__log10l): Likewise.
27697         * math/w_log2l.c (__log2l): Likewise.
27698         * math/w_logl.c (__logl): Likewise.
27699         * math/w_powl.c (__powl): Likewise.
27700         * math/w_remainderl.c (__remainderl): Likewise.
27701         * math/w_scalbl.c (sysv_scalbl): Likewise.
27702         * math/w_sinhl.c (__sinhl): Likewise.
27703         * math/w_sqrtl.c (__sqrtl): Likewise.
27704         * math/w_tgammal.c (__tgammal): Likewise.
27705         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
27706         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
27707         * math/libm-test.inc (acos_test): Add more tests.
27708         (acosh_test): Likewise.
27709         (asin_test): Likewise.
27710         (atanh_test): Likewise.
27711         (exp_test): Likewise.
27712         (exp10_test): Likewise.
27713         (exp2_test): Likewise.
27714         (expm1_test): Likewise.
27715         (lgamma_test): Likewise.
27716         (log_test): Likewise.
27717         (log10_test): Likewise.
27718         (log1p_test): Likewise.
27719         (log2_test): Likewise.
27720         (pow_test): Do not allow some spurious overflow exceptions.
27721         (sqrt_test): Add more tests.
27722         (tgamma_test): Likewise.
27723         (y0_test): Likewise.
27724         (y1_test): Likewise.
27725         (yn_test): Likewise.
27726
27727 2012-03-27  Anton Blanchard  <anton@samba.org>
27728
27729         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
27730         MAP_HUGETLB.
27731         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27732         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
27733         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27734
27735 2012-03-27  David S. Miller  <davem@davemloft.net>
27736
27737         * conform/Makefile: Run run-conformtest.sh using $(BASH).
27738
27739         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
27740         have-as-vis3 check.
27741
27742 2012-03-27  Andreas Jaeger  <aj@suse.de>
27743
27744         * sysdeps/x86_64/elf/configure.in: Moved to ...
27745         * sysdeps/x86_64/configure.in: ... here.
27746         * sysdeps/x86_64/elf/start.S: Moved to ...
27747         * sysdeps/x86_64/start.S: ... here.
27748         * sysdeps/x86_64/elf/configure: Delete.
27749
27750         * sysdeps/x86_64/configure.in: Merge contents from
27751         sysdeps/i386/configure.in (without i686 check).
27752
27753         * sysdeps/i386/elf/Versions: Merge into ...
27754         * sysdeps/i386/Versions: ... this.
27755         * sysdeps/i386/elf/Versions: Delete file.
27756         * sysdeps/i386/elf/start.S: Moved to ...
27757         * sysdeps/i386/start.S: ...here.
27758         * sysdeps/i386/elf/configure.in: Merge into...
27759         * sysdeps/i386/configure.in: ...here.
27760         * sysdeps/i386/elf/configure.in: Delete file.
27761         * sysdeps/i386/elf/configure: Delete file.
27762
27763         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
27764         * debug/backtracesyms.c: ... here.
27765         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
27766         * debug/backtracesymsfd.c: ... here.
27767         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
27768         * sysdeps/generic/ifunc-sel.h: ... here.
27769
27770         * sysdeps/unix/i386/start.c: Delete file.
27771         * sysdeps/unix/sparc/start.c: Delete file.
27772         * sysdeps/unix/start.c: Delete file.
27773
27774         * sysdeps/sh/elf/configure.in: Moved to ...
27775         * sysdeps/sh/configure.in: ... here.
27776         * sysdeps/sh/elf/start.S: Moved to ...
27777         * sysdeps/sh/start.S: ... here.
27778         * sysdeps/sh/elf/configure: Delete file.
27779
27780         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
27781         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
27782         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
27783         * sysdeps/powerpc/powerpc64/entry.h: ... here.
27784         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
27785         * sysdeps/powerpc/powerpc64/start.S: here.
27786         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
27787         * sysdeps/powerpc/powerpc64/Makefile: ... this.
27788         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
27789         * sysdeps/powerpc/powerpc64/configure.in: ... this.
27790         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
27791
27792         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
27793         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
27794         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
27795         * sysdeps/powerpc/powerpc32/start.S: ... here.
27796         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
27797         * sysdeps/powerpc/powerpc32/configure.in: ... this.
27798         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
27799
27800         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
27801         * sysdeps/powerpc/ifunc-sel.h: ... here.
27802         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
27803         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
27804
27805         * sysdeps/sparc/elf/configure.in: Moved to ...
27806         * sysdeps/sparc/configure.in: ... here.
27807         * sysdeps/sparc/elf/configure: Delete file.
27808         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
27809         * sysdeps/sparc/sparc32/start.S: ... here.
27810         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
27811         * sysdeps/sparc/sparc64/start.S: ... here.
27812         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
27813         * sysdeps/sparc/sparc32/Makefile: ... this.
27814         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
27815         * sysdeps/sparc/sparc64/Makefile: ... this.
27816
27817         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
27818         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
27819         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
27820         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
27821         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
27822         * sysdeps/s390/s390-32/setjmp.S: ... here.
27823         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
27824         * sysdeps/s390/s390-32/configure.in: ... here.
27825         * sysdeps/s390/s390-32/elf/configure: Delete file.
27826         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
27827         * sysdeps/s390/s390-32/start.S: ... here.
27828
27829         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
27830         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
27831         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
27832         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
27833         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
27834         * sysdeps/s390/s390-64/setjmp.S: ... here.
27835         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
27836         * sysdeps/s390/s390-64/configure.in: ... here
27837         * sysdeps/s390/s390-64/elf/configure: Delete file.
27838         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
27839         * sysdeps/s390/s390-64/start.S: ... here.
27840         * sysdeps/s390/s390-64/elf/configure: Delete.
27841
27842         * configure.in: Remove support for elf directories in sysdeps.
27843
27844         * configure: Regenerated.
27845         * sysdeps/i386/configure: Regenerated.
27846         * sysdeps/powerpc/powerpc32/configure: Regenerated.
27847         * sysdeps/powerpc/powerpc64/configure: Regenerated.
27848         * sysdeps/s390/s390-32/configure: Regenerated.
27849         * sysdeps/s390/s390-64/configure: Regenerated.
27850         * sysdeps/sh/configure: Regenerated.
27851         * sysdeps/sparc/configure: Regenerated.
27852         * sysdeps/x86_64/configure: Regenerated.
27853
27854 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
27855
27856         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27857
27858         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
27859         denormal result into account.
27860
27861 2012-03-25  Roland McGrath  <roland@hack.frob.com>
27862
27863         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
27864         Reported by Allan McRae <allan@archlinux.org>.
27865
27866 2012-03-23  Jeff Law  <law@redhat.com>
27867
27868         * nss/getnssent.c (__nss_getent): Fix typo.
27869
27870 2012-03-23  David S. Miller  <davem@davemloft.net>
27871
27872         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27873
27874 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
27875
27876         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
27877         to pad to uint64_t for each field.
27878         (dl_tls_index): Replace unsigned long with uint64_t.
27879
27880 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
27881         Paul Pluzhnikov  <ppluzhnikov@google.com>
27882
27883         [BZ #6528]
27884         * grp/Makefile (otherlibs): Don't set it.
27885         * inet/Makefile (otherlibs): Likewise.
27886         * login/Makefile (otherlibs): Likewise.
27887         * nscd/Makefile (otherlibs): Likewise.
27888         * posix/Makefile (otherlibs): Likewise.
27889         * pwd/Makefile (otherlibs): Likewise.
27890         * rt/Makefile (otherlibs): Likewise.
27891         * sunrpc/Makefile (otherlibs): Likewise.
27892         * nss/Makefile (otherlibs): Likewise.
27893         Add libnss_files to routines and static-only-routines.
27894         ($(objpfx)getent): Remove rule.
27895         * resolv/Makefile: Add libnss_dns and libresolv to routines and
27896         static-only-routines.
27897
27898 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27899
27900         [BZ #13892]
27901         * math/s_cexp.c: Include <float.h>.
27902         (__cexp): Handle exp result overflowing not necessarily
27903         overflowing both real and imaginary parts of result.
27904         * math/s_cexpf.c: Likewise.
27905         * math/s_cexpl.c: Likewise.
27906         * math/libm-test.inc (cexp_test): Add more tests.
27907         * sysdeps/i386/fpu/libm-test-ulps: Update.
27908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27909
27910 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27911
27912         * include/link.h (ELFW): New macro.
27913         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
27914         Replace ELF64_R_TYPE with ELFW(R_TYPE).
27915
27916 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27917
27918         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
27919         with uint64_t.
27920
27921 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27922
27923         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
27924         declaration.
27925         (struct La_x32_retval): Likewise.
27926
27927 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
27928
27929         * sysdeps/x86_64/preconfigure.in: New file.
27930         * sysdeps/x86_64/preconfigure: New generated file.
27931
27932 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
27933
27934         [BZ #13824]
27935         * math/e_exp2l.c: Include <float.h>.
27936         (__ieee754_exp2l): Handle overflow and underflow cases
27937         separately.  Only pass fractional part of argument to
27938         __ieee754_expl.
27939         * math/libm-test.inc (exp2_test): Add more tests.
27940
27941         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
27942         negating x to take absolute value.
27943         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27944         Likewise.
27945         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27946         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27947         Likewise.
27948         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
27949         computing low part if x was negated.
27950         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27951
27952 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27953
27954         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
27955         la_x32_gnu_pltexit.
27956         (pltexit): Cast int_retval to ptrdiff_t.
27957         * elf/tst-auditmod3b.c: Likewise.
27958         * elf/tst-auditmod4b.c: Likewise.
27959         * elf/tst-auditmod5b.c: Likewise.
27960         * elf/tst-auditmod6b.c: Likewise.
27961         * elf/tst-auditmod6c.c: Likewise.
27962         * elf/tst-auditmod7b.c: Likewise.
27963
27964         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
27965         and x32_gnu_pltexit.
27966
27967         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
27968         __ELF_NATIVE_CLASS.
27969         (La_x32_regs): New macro.
27970         (La_x32_retval): Likewise.
27971         (la_x32_gnu_pltenter): New function prototype.
27972         (la_x32_gnu_pltexit): Likewise.
27973
27974 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
27975
27976         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
27977         exponent.
27978
27979         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27980
27981         * configure.in (libc_cv_cc_nofma): Check for option to disable
27982         generation of FMA instructions.
27983         * configure: Regenerate.
27984         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
27985         * sysdeps/ieee754/dbl-64/Makefile: New file.
27986         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27987         Remove brandred-fma4.
27988         (CFLAGS-brandred-fma4.c): Remove.
27989         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
27990         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
27991         define.
27992         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
27993         define.
27994
27995 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
27996
27997         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27998         LLONG_MAX != LONG_MAX.
27999         (_itoa_word): Use _ITOA_WORD_TYPE on value.
28000         (_fitoa_word): Likewise.
28001         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
28002         LLONG_MAX != LONG_MAX.
28003         * stdio-common/_itowa.h: Include <_itoa.h>.
28004         (_itowa_word): Use _ITOA_WORD_TYPE on value.
28005         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
28006         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
28007         only if not defined.
28008         (_ITOA_WORD_TYPE): Likewise.
28009         (_itoa_word): Use _ITOA_WORD_TYPE on value.
28010         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
28011
28012 2012-03-21  David S. Miller  <davem@davemloft.net>
28013
28014         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28015
28016 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
28017
28018         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
28019         of x86_64 when setting libc_cv_slibdir, libdir and
28020         libc_cv_localedir.
28021         * sysdeps/unix/sysv/linux/configure: Regenerated.
28022
28023 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28024
28025         * manual/lang.texi (Old Varargs): Remove section.
28026         (How Variadic): Update menu.
28027         (va_start): Do not mention varargs.h.
28028
28029 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28030             Joseph Myers  <joseph@codesourcery.com>
28031
28032         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
28033         link test.
28034         * configure: Regenerated.
28035
28036 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
28037
28038         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
28039         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
28040         conformtest.pl
28041
28042 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28043
28044         * NOTES: Remove.
28045         * Makefile (files-for-dist): Remove NOTES.
28046         (NOTES): Remove rule.
28047         * README: Don't refer to NOTES.
28048         * manual/creature.texi: Don't include macros.texi.
28049         * manual/intro.texi (creature.texi): Remove comment referring to
28050         NOTES.
28051
28052         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
28053         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
28054         * configure: Regenerated.
28055         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
28056         LIBC_TRY_CC_OPTION.
28057         (libc_cv_as_i686): Likewise.
28058         (libc_cv_cc_avx): Likewise.
28059         (libc_cv_cc_sse2avx): Likewise.
28060         (libc_cv_cc_fma4): Likewise.
28061         (libc_cv_cc_novzeroupper): Likewise.
28062         * sysdeps/i386/configure: Regenerated.
28063
28064         [BZ #13883]
28065         * sysdeps/i386/fpu/s_cexp.S: Remove.
28066         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28067         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28068         * math/libm-test.inc (cexp_test): Add more tests.
28069         * sysdeps/i386/fpu/libm-test-ulps: Update.
28070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28071
28072 2012-03-21  Allan McRae  <allan@archlinux.org>
28073
28074         * timezone/Makefile: Do not install iso3166.tab and zone.tab
28075
28076 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
28077
28078         [BZ #13871]
28079         * math/w_exp2.c: Do not include <float.h>.
28080         (o_threshold, u_threshold): Remove.
28081         (__exp2): Calculate result before checking finiteness and calling
28082         __kernel_standard.
28083         * math/w_exp2f.c: Likewise.
28084         * math/w_exp2l.c: Likewise.
28085         * math/libm-test.inc (exp2_test): Require overflow exception for
28086         1e6 input.
28087
28088         [BZ #3866]
28089         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
28090         range of signed 64-bit integers before using fistpll.  Remove
28091         checks for whether integers fit in mantissa bits.
28092         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
28093         the range of signed 32-bit integers before using fistpl.  Remove
28094         checks for whether integers fit in mantissa bits.
28095         * sysdeps/i386/fpu/e_powl.S (p64): New object.
28096         (__ieee754_powl): Test for y outside the range of signed 64-bit
28097         integers before using fistpll.  Reduce 64-bit values to 63-bit
28098         ones as needed.
28099         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
28100         divide-by-zero is raised for zero to large negative powers.
28101         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
28102         (__ieee754_powl): Test for y outside the range of signed 64-bit
28103         integers before using fistpll.  Reduce 64-bit values to 63-bit
28104         ones as needed.
28105         * math/libm-test.inc (pow_test): Add more tests.
28106
28107 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28108
28109         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
28110         <stdio-common/_itoa.h>.
28111         * debug/segfault.c: Likewise.
28112         * elf/dl-cache.c: Likewise.
28113         * elf/dl-minimal.c: Likewise.
28114         * elf/dl-misc.c: Likewise.
28115         * elf/dl-sysdep.c: Likewise.
28116         * elf/dl-version.c: Likewise.
28117         * elf/rtld.c: Likewise.
28118         * hurd/hurdsock.c: Likewise.
28119         * hurd/lookup-retry.c: Likewise.
28120         * malloc/malloc.c: Likewise.
28121         * malloc/mtrace.c: Likewise.
28122         * nscd/nscd_getgr_r.c: Likewise.
28123         * nscd/nscd_getpw_r.c: Likewise.
28124         * nscd/nscd_getserv_r.c: Likewise.
28125         * posix/getopt_init.c: Likewise.
28126         * posix/wordexp.c: Likewise.
28127         * stdio-common/_itoa.c: Likewise.
28128         * stdio-common/printf_fphex.c: Likewise.
28129         * stdio-common/vfprintf.c: Likewise.
28130         * string/_strerror.c: Likewise.
28131         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
28132         * sysdeps/i386/i686/hp-timing.h: Likewise.
28133         * sysdeps/mach/_strerror.c: Likewise.
28134         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
28135         * sysdeps/mach/hurd/sethostid.c: Likewise.
28136         * sysdeps/mach/hurd/xmknodat.c: Likewise.
28137         * sysdeps/mach/xpg-strerror.c: Likewise.
28138         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28139         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28140         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
28141         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
28142         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28143         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
28144         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
28145         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
28146         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
28147         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
28148         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
28149         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28150         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
28151         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
28152         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
28153         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
28154         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
28155         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
28156         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28157         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28158         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
28159
28160         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
28161
28162         * stdio-common/_itoa.h: Moved to ...
28163         * sysdeps/generic/_itoa.h: Here.
28164
28165         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
28166
28167         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
28168         instead of "_itoa.h" and "_itowa.h".
28169         * stdio-common/vfprintf.: Likewise.
28170
28171 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28172
28173         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
28174         <bits/wordsize.h>.
28175         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
28176         (__signbit): Likwise.
28177         (llrintf): Likwise.
28178         (llrint): Likwise.
28179
28180 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
28181
28182         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
28183         __WORDSIZE != 64.
28184
28185 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
28186
28187         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
28188         OVERFLOW_EXCEPTION_OK.
28189         * math/libm-test.inc ("Philosophy"): Update comment about
28190         exception testing.
28191         (OVERFLOW_EXCEPTION): Define.
28192         (OVERFLOW_EXCEPTION_OK): Likewise.
28193         (INVALID_EXCEPTION_OK): Renumber.
28194         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28195         (IGNORE_ZERO_INF_SIGN): Likewise.
28196         (test_exceptions): Handle FE_OVERFLOW.
28197         (exp10_test): Expect overflow exceptions.
28198         (exp2_test): Likewise.
28199         (expm1_test): Likewise.
28200         (nextafter_test): Likewise.
28201         (pow_test): Likewise.
28202         (scalbn_test): Likewise.
28203         (scalbln_test): Likewise.
28204
28205 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28206
28207         * sysdeps/x86_64/bits/atomic.h
28208         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
28209         64bit integer.
28210         (atomic_exchange_acq): Likewise.
28211         (__arch_exchange_and_add_body): Likewise.
28212         (__arch_add_body): Likewise.
28213         (atomic_add_negative): Likewise.
28214         (atomic_add_zero): Likewise.
28215
28216 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28217
28218         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
28219         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
28220
28221 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28222
28223         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
28224         Check __x86_64__ instead of __WORDSIZE.
28225
28226 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28227
28228         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
28229
28230 2012-03-19  David S. Miller  <davem@davemloft.net>
28231
28232         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28233
28234         * sysdeps/sparc/fpu/fenv_private.h: New file.
28235         * sysdeps/sparc/fpu/math_private.h: Use it.
28236         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
28237         Remove.
28238         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
28239         (libc_feholdexcept_setroundl): Remove.
28240         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
28241         Remove.
28242         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
28243         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
28244
28245 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28246
28247         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
28248         int64_t instead of long int.
28249         (INSERT_WORDS64): Likwise.
28250
28251 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
28252
28253         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
28254         _Unwind_GetCFA return to _Unwind_Ptr first.
28255
28256 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
28257
28258         [BZ #13629]
28259         * math/s_clog.c: Include <float.h>.
28260         (__clog): Scale large or subnormal inputs.
28261         * math/s_clogf.c: Likewise.
28262         * math/s_clogl.c: Likewise.
28263         * math/s_clog10.c: Include <float.h>.
28264         (M_LOG10_2): Define.
28265         (__clog10): Scale large or subnormal inputs.
28266         * math/s_clog10f.c: Likewise.
28267         * math/s_clog10l.c: Likewise.
28268         * math/libm-test.inc (clog_test): Add more tests.
28269         (clog10_test): Likewise.
28270         * sysdeps/i386/fpu/libm-test-ulps: Update.
28271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28272
28273         [BZ #11451]
28274         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
28275         x and y.
28276         * math/libm-test.inc (atan2_test): Add another test.
28277
28278         * Makerules (common-objdir-compile): Remove.
28279         * sysdeps/unix/Makefile (config-generated): Do not add
28280         $(unix-generated) to variable.
28281         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
28282         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
28283         Remove rule.
28284         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
28285         Likewise.
28286         [generic bits/local_lim.h] (before-compile): Do not append to
28287         variable.
28288         [generic bits/local_lim.h] (common-generated): Likewise.
28289         [generic sys/param.h] (before-compile): Do not append to variable.
28290         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
28291         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
28292         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
28293         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
28294         include.
28295         [generic sys/param.h] (sys/param.h-includes): Remove variable.
28296         [generic sys/param.h] (sys/param.h-includes): Remove rule.
28297         [generic sys/param.h] ($(addprefix
28298         $(common-objpfx),$(sys/param.h-includes))): Likewise.
28299         [generic sys/param.h] (common-generated): Do not append to
28300         variable.
28301         [generic sys/param.h] (sysdep_headers): Likewise.
28302         [generic bits/errno.h] (before-compile): Do not append to
28303         variable.
28304         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
28305         rule.
28306         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
28307         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
28308         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
28309         [generic bits/errno.h] (common-generated): Do not append to
28310         variable.
28311         [generic bits/ioctls.h] (before-compile): Do not append to
28312         variable.
28313         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
28314         rule.
28315         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
28316         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
28317         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
28318         rule.
28319         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
28320         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
28321         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
28322         [generic bits/ioctls.h] (common-generated): Do not append to
28323         variable.
28324         [generic sys/syscall.h] (syscall.h): Remove variable.
28325         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
28326         rule.
28327         [generic sys/syscall.h] (before-compile): Do not append to
28328         variable.
28329         [generic sys/syscall.h] (common-generated): Likewise.
28330         * sysdeps/unix/errnos-tmpl.c: Remove file.
28331         * sysdeps/unix/errnos.awk: Likewise.
28332         * sysdeps/unix/ioctls-tmpl.c: Likewise.
28333         * sysdeps/unix/ioctls.awk: Likewise.
28334         * sysdeps/unix/mk-local_lim.c: Likewise.
28335         * sysdeps/unix/snarf-ioctls: Likewise.
28336
28337 2012-03-19  Richard Henderson  <rth@twiddle.net>
28338
28339         * sysdeps/i386/fpu/fenv_private.h: New file.
28340         * sysdeps/i386/fpu/math_private.h: Use it.
28341         (math_opt_barrier, math_force_eval): Remove.
28342         (libc_feholdexcept_setround_53bit): Remove.
28343         (libc_feupdateenv_53bit): Remove.
28344         * sysdeps/x86_64/fpu/math_private.h: Likewise.
28345         (math_opt_barrier, math_force_eval): Remove.
28346         (libc_feholdexcept): Remove.
28347         (libc_feholdexcept_setround): Remove.
28348         (libc_fetestexcept, libc_fesetenv): Remove.
28349         (libc_feupdateenv_test): Remove.
28350         (libc_feupdateenv, libc_feholdsetround): Remove.
28351         (libc_feresetround): Remove.
28352
28353         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
28354         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28355
28356         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
28357         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
28358         (libc_feupdateenv_testl): New.
28359         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
28360         (libc_feupdateenv_testf): New.
28361         (libc_feupdateenv): Use libc_feupdateenv_test.
28362         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
28363         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
28364
28365         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
28366         (libc_feholdsetroundf, libc_feholdsetroundl): New.
28367         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
28368         (libc_feresetround_noex): New.
28369         (libc_feresetround_noexf): New.
28370         (libc_feresetround_noexl): New.
28371         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
28372         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
28373         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
28374         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
28375         SET_RESTORE_ROUND.
28376         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28377         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
28378         (__cos): Likewise.
28379         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
28380         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
28381         SET_RESTORE_ROUND_NOEX.
28382         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
28383         SET_RESTORE_ROUND_NOEXF.
28384         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
28385         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
28386         (libc_feholdsetroundf): New.
28387         (libc_feresetround, libc_feresetroundf): New.
28388
28389         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
28390         (libc_feholdexcept_setround_53bit): Convert from macro to function.
28391         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
28392
28393         * sysdeps/generic/math_private.h: Include <fenv.h>.
28394         (default_libc_feholdexcept): New.
28395         (default_libc_feholdexcept_setround): New.
28396         (default_libc_fesetenv, default_libc_feupdateenv): New.
28397         (libc_feholdexcept): Only define if undefined.
28398         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
28399         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
28400         (libc_feholdexcept_setroundl): Likewise.
28401         (libc_feholdexcept_setround_53bit): Likewise.
28402         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
28403         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
28404         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
28405         (libc_feupdateenv_53bit): Likewise.
28406         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
28407         (libc_feholdexcept): Convert from macro to inline function.
28408         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
28409         (libc_fesetenv, libc_feupdateenv): Likewise.
28410
28411         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
28412         not previously defined.
28413         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
28414         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
28415         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
28416         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
28417         * sysdeps/ieee754/flt-32/math_private.h: New file.
28418         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
28419         math_private.h below SET_FLOAT_WORD.
28420         (__isnan, __isinf_ns, __finite): Remove.
28421         (__isnanf, __isinf_nsf, __finitef): Remove.
28422
28423 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
28424
28425         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28426
28427 2012-03-17  David S. Miller  <davem@davemloft.net>
28428
28429         [BZ #6471]
28430         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
28431         for 2.16.
28432
28433 2012-03-16  David S. Miller  <davem@davemloft.net>
28434
28435         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
28436         warnings.
28437
28438         [BZ #6471]
28439         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
28440         properly.
28441         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
28442         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
28443         sysdep_routines when subdir is sysvipc.
28444         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
28445         __getshmlba helper.
28446
28447         * sysdeps/sparc/fpu/libm-test/ulps: Update.
28448
28449 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28450
28451         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
28452         [__LP64__].
28453
28454 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28455
28456         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
28457         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
28458         (__lround): Renamed to ...
28459         (__llround): This.  Replace long int with long long int.
28460         Define lround functions as aliases of llround functions.
28461         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
28462
28463 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28464
28465         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
28466         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
28467         adresses to uintptr_t.  Replace "long int" and "unsigned long
28468         int" with "greg_t" on va_arg.
28469
28470 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28471
28472         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
28473         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
28474
28475         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
28476         Move e_machine check before EI_CLASS check.  Handle x32
28477         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
28478         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
28479         SKIP_EM_IA_64 and include
28480         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
28481
28482         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
28483         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
28484         (add_system_dir): New macro.
28485
28486         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
28487         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
28488
28489 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
28490
28491         [BZ #2551]
28492         [BZ #2552]
28493         [BZ #2553]
28494         [BZ #2554]
28495         [BZ #2562]
28496         [BZ #2563]
28497         [BZ #2565]
28498         [BZ #2566]
28499         [BZ #2576]
28500         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
28501         (y0): Likewise.
28502         * math/w_j0f.c (j0f): Likewise.
28503         (y0f): Likewise.
28504         * math/w_j0l.c (__j0l): Likewise.
28505         (__y0l): Likewise.
28506         * math/w_j1.c (j1): Likewise.
28507         (y1): Likewise.
28508         * math/w_j1f.c (j1f): Likewise.
28509         (y1f): Likewise.
28510         * math/w_j1l.c (__j1l): Likewise.
28511         (__y1l): Likewise.
28512         * math/w_jn.c (jn): Likewise.
28513         (yn): Likewise.
28514         * math/w_jnf.c (jnf): Likewise.
28515         (ynf): Likewise.
28516         * math/w_jnl.c (__jnl): Likewise.
28517         (__ynl): Likewise.
28518         * math/libm-test.inc (j0_test): Add more tests.
28519         (j1_test): Likewise.
28520         (jn_test): Likewise.  Add trailing semicolon to existing test.
28521         (y0_test): Likewise.
28522         (y1_test): Likewise.
28523         * sysdeps/i386/fpu/libm-test-ulps: Update.
28524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28525
28526         [BZ #13851]
28527         [BZ #13854]
28528         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
28529         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
28530         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
28531         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
28532         (__tanl): Set errno for infinite argument.
28533         * sysdeps/i386/fpu/mptan.c: Remove.
28534         * sysdeps/i386/fpu/s_tan.S: Likewise.
28535         * sysdeps/i386/fpu/s_tanl.S: Likewise.
28536         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
28537         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
28538         * math/libm-test.inc (tan_test): Add more tests and enable more
28539         tests for double and long double.
28540         * sysdeps/i386/fpu/libm-test-ulps: Update.
28541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28542
28543 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
28544
28545         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
28546         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
28547
28548 2012-03-16  Roland McGrath  <roland@hack.frob.com>
28549
28550         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
28551         * configure.in: Use it for both main tree and add-ons.
28552         * configure: Regenerated.
28553
28554 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28555
28556         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
28557
28558 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
28559
28560         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
28561         in comment.
28562
28563         [BZ #13851]
28564         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
28565         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
28566         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
28567         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
28568         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
28569         infinite argument.
28570         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
28571         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
28572         != 0 for prec == 2.
28573         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
28574         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
28575         * sysdeps/i386/fpu/s_cosl.S: Likewise.
28576         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
28577         * sysdeps/i386/fpu/s_sinl.S: Likewise.
28578         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
28579         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
28580         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
28581         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
28582         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
28583         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
28584         * math/libm-test.inc (cos_test): Add more tests and enable more
28585         tests for long double.
28586         (sin_test): Likewise.
28587         (sincos_test): Likewise.
28588         * sysdeps/i386/fpu/libm-test-ulps: Update.
28589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28590
28591 2012-03-16  David S. Miller  <davem@davemloft.net>
28592
28593         * sysdeps/sparc/fpu/math_private.h: New file.
28594
28595 2012-03-15  David S. Miller  <davem@davemloft.net>
28596
28597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
28598         file.
28599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
28600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
28601         file.
28602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
28603         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
28604         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
28605         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
28606         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
28607         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
28608         sysdep routines.
28609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28610
28611         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
28612         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
28613
28614         * sysdeps/sparc/sparc-ifunc.h: New file.
28615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
28616         sparc-ifunc.h
28617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28619         Likewise.
28620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
28621         Likewise.
28622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
28623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
28624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28626         Likewise.
28627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
28629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
28631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
28632         Likewise.
28633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
28634         Likewise.
28635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
28637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
28638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
28639         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28640         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28641         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
28642         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
28643         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28644         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28645         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
28646         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
28647         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
28648         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
28649         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
28650         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
28651         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
28652         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
28653         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
28654         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
28655         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
28656         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
28657         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
28658         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
28659
28660 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28661
28662         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
28663         scaling.
28664         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28665
28666 2012-03-15  Andreas Jaeger  <aj@suse.de>
28667
28668         [BZ #13852]
28669         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
28670         ieee754/flt-32 implementation for sin, cos and sincos.
28671         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
28672         * sysdeps/i386/fpu/s_cosf.S: Likewise.
28673         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
28674         * sysdeps/i386/fpu/s_sinf.S: Likewise.
28675         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
28676         ieee754/flt-32 implementation for tan.
28677
28678         * math/libm-test.inc (cos_test): Enable some large input tests for
28679         float as well
28680         (sin_test): Likewise.
28681         (sincos_test): Likewise.
28682         (tan_test): Add tests for large input.
28683
28684         * sysdeps/i386/fpu/libm-test-ulps: Update.
28685
28686 2012-03-15  Andreas Jaeger  <aj@suse.de>
28687
28688         [BZ #13658]
28689         * math/libm-test.inc (cos_test): Add more test cases.
28690         (sin_test): Likewise.
28691         (sincos_test): Likewise.
28692
28693 2012-03-15  Andreas Jaeger  <aj@suse.de>
28694
28695         [BZ #13837]
28696         * math/libm-test.inc (cos_test): Add a test case for large input
28697         value.
28698         (sin_test): Likewise.
28699         (sincos_test): Likewise.
28700
28701 2012-03-15  Andreas Jaeger  <aj@suse.de>,
28702         Joseph Myers  <joseph@codesourcery.com>
28703
28704         [BZ #13658]
28705         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
28706         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
28707         * sysdeps/i386/fpu/branred.c: Likewise.
28708         * sysdeps/i386/fpu/dosincos.c: Likewise.
28709         * sysdeps/i386/fpu/mpa.c: Likewise.
28710         * sysdeps/i386/fpu/s_cos.S: Likewise.
28711         * sysdeps/i386/fpu/s_sin.S: Likewise.
28712         * sysdeps/i386/fpu/s_sincos.S: Likewise.
28713         * sysdeps/i386/fpu/sincos32.c: Likewise.
28714
28715         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
28716         Define.
28717         (libc_feupdateenv_53bit): Define.
28718         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
28719         Define.
28720         (libc_feupdateenv_53bit): Define.
28721
28722         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
28723         53 bit (without extend i386 double precision).
28724
28725         * math/libm-test.inc (sincos_test): Add tests for large input.
28726         (sin): Likewise.
28727         (cos): Likewise.
28728
28729         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28730
28731 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
28732
28733         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28734
28735 2012-03-15  David S. Miller  <davem@davemloft.net>
28736
28737         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
28738         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
28739         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
28740         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
28741         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
28742         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
28743         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
28744         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
28745         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
28746         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
28747         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
28748         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
28749         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
28750         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
28751         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
28752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
28753         file.
28754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
28755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
28756         file.
28757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
28758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
28759         file.
28760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
28761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
28762         file.
28763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
28764         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
28765         fmin/fmax sysdep routines.
28766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
28767
28768 2012-03-14  David S. Miller  <davem@davemloft.net>
28769
28770         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
28771         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
28772         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
28773         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
28774         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
28775         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
28776         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
28777         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
28778         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
28779         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
28780         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
28781         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
28782         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
28783         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
28784         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
28785         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
28786         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
28787         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
28788         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
28789         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
28790         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
28791         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
28792         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
28793         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
28794         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
28795         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
28796         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
28797         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
28798         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
28799         routines.
28800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
28801         file.
28802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
28803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
28804         file.
28805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
28806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
28807         file.
28808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
28809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
28810         file.
28811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
28812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
28813         file.
28814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
28815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
28816         file.
28817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
28818         file.
28819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
28820         file.
28821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
28822         file.
28823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
28824         New file.
28825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
28826         file.
28827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
28828         file.
28829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
28830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
28831         file.
28832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
28833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
28834         file.
28835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
28836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
28837         file.
28838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
28839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
28840         VIS3 routines.
28841
28842         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28843         New file.
28844
28845         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28846
28847         * sysdeps/sparc/configure.in: New file.
28848         * sysdeps/sparc/configure: Generate.
28849         * configure.in (libc_cv_sparc_as_vis3): Substitute.
28850         * configure: Regenerate.
28851         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
28852         * config.make.in (have-as-vis3): New.
28853         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
28854         available use -Av9d instead of -Av9a.
28855         * sysdeps/sparc/sparc64/Makefile: Likewise.
28856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
28857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
28858         New file.
28859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
28860         file.
28861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
28862         New file.
28863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
28864         file.
28865         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
28866         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
28867         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
28868         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
28869         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
28870
28871         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
28872         fzeros/fnegs to load 0x80000000 into a float register instead of
28873         using the stack.
28874         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
28875
28876 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28877
28878         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28879         bits/syscall.h.
28880         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
28881         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
28882         ($(inst_includedir)/bits/syscall.h): Remove rule.
28883         ($(objpfx)bits/syscall.d): Include instead of
28884         $(objpfx)syscall-list.d.
28885         (generated): Change syscall-list.h and syscall-list.d to
28886         bits/syscall.h and bits/syscall.d.
28887
28888 2012-03-14  Roland McGrath  <roland@hack.frob.com>
28889
28890         [BZ #13846]
28891         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
28892
28893 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
28894
28895         [BZ #13841]
28896         * math/s_csqrt.c: Include <float.h>.
28897         (__csqrt): Scale large or subnormal inputs.
28898         * math/s_csqrtf.c: Likewise.
28899         * math/s_csqrtl.c: Likewise.
28900         * math/libm-test.inc (csqrt_test): Add more tests.
28901         * sysdeps/i386/fpu/libm-test-ulps: Update.
28902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28903
28904         [BZ #13840]
28905         * math/libm-test.inc (hypot_test): Add more tests.
28906
28907 2012-03-13  David S. Miller  <davem@davemloft.net>
28908
28909         [BZ #13840]
28910         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
28911         double-precision for the calculation instead of scaling.
28912
28913 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
28914
28915         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
28916         manipulate bits before adding and subtracting TWO52[sx].
28917         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
28918         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
28919         Likewise.
28920         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
28921
28922 2012-03-13  David S. Miller  <davem@davemloft.net>
28923
28924         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
28925         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
28926         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
28927         rtld-global-offsets.h
28928         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28929
28930         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
28931         large parameters.
28932
28933         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
28934
28935         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
28936         'err' in the ifdef scope in which it is actually used.
28937
28938         * nss/nss_db/db-init.c: Include string.h
28939
28940 2012-03-12  David S. Miller  <davem@davemloft.net>
28941
28942         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28943         masking out of the most significant byte of random value used.
28944         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28945         Fix coding style in previous change.
28946
28947         * sysdeps/unix/sysv/linux/kernel-features.h
28948         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
28949         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
28950         expression.
28951         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
28952         later.
28953
28954 2012-03-11  David S. Miller  <davem@davemloft.net>
28955
28956         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
28957         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
28958         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
28959         for 'resultvar' otherwise things get truncated on 64-bit.
28960
28961         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28962         Fix masking out of the most significant byte of random value used.
28963
28964         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28965
28966 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
28967
28968         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28969
28970 2012-03-09  David S. Miller  <davem@davemloft.net>
28971
28972         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
28973         variables with appropriate CPP guards.
28974         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
28975         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
28976         on resulting framesize and the management of the outregs buffer for pltexit.
28977         Preserve floating point return values across _dl_call_pltexit call.
28978         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
28979         framesize and the management of the outregs buffer for pltexit.
28980         Preserve floating point return values across _dl_call_pltexit
28981         call.
28982         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
28983         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
28984         (print_exit): Fix format string for return register value.
28985
28986 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
28987
28988         * sunrpc/Makefile (others): Add rpcgen.
28989         ($(objpfx)rpcgen): Remove special build rule and dependency on
28990         libc.
28991         * sunrpc/rpcgen.c: New file.
28992
28993 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
28994
28995         [BZ #13673]
28996         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
28997         * stdio-common/bug-vfprintf-nargs.c: Likewise.
28998         * sysdeps/i386/crti.S: Likewise.
28999         * sysdeps/i386/crtn.S: Likewise.
29000         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
29001         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
29002         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
29003         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
29004         * sysdeps/sh/crti.S: Likewise.
29005         * sysdeps/sh/crtn.S: Likewise.
29006         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29007
29008         [BZ #13673]
29009         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
29010         with URL.
29011         * locale/programs/locfile-kw.gperf: Likewise.
29012         * locale/programs/charmap-kw.h: Regenerated.
29013         * locale/programs/locfile-kw.h: Likewise.
29014
29015         [BZ #13673]
29016         * intl/plural.y: Replace FSF snail mail address with URL.
29017         * intl/plural.c: Regenerated.
29018
29019 2012-03-09  Richard Henderson  <rth@twiddle.net>
29020
29021         * include/math_private.h: Remove file.
29022         * math/math_private.h: Move file ...
29023         * sysdeps/generic/math_private.h: ... here.
29024
29025         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
29026         * sysdeps/powerpc/fpu/math_private.h: Likewise.
29027         * sysdeps/x86_64/fpu/math_private.h: Likewise.
29028
29029         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
29030         and <math_private.h>.
29031         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29032         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29033         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29034         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29035         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29036         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
29037         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29038         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29039         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29040         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29041         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29042         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29043         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29044         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29045         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29046         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29047         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29048         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29049         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29050         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29051         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29052         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29053         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29054         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29055         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
29056         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29057         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29058         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29059         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29060         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29061         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29062         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29063         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
29064         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29065         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29066         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29067         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29068         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29069         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29070         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29071         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
29072         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29073         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29074         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
29075         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
29076         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29077         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
29078         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
29079         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29080         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29081         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
29082         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
29083         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
29084         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29085         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
29086         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29087         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29088         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29089         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
29090         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
29091         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29092         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
29093         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29094         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29095         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
29096         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29097         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29098         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29099         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
29100         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
29101         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29102         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29103         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29104         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29105         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
29106         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
29107         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
29108         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29109         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
29110         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
29111         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29112         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
29113         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29114         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29115         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29116         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29117         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
29118         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
29119         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29120         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29121         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29122         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29123         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29124         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29125         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29126         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29127         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29128         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29129         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29130         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29131         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29132         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29133         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29134         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29135         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29136         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29137         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29138         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29139         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29140         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29141         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29142         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29143         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29144         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29145         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
29146         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29147         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29148         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29149         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29150         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29151         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29152         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29153         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29154         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
29155         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29156         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29157         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29158         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
29159         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29160         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
29161         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
29162         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29163         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29164         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
29165         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
29166         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29167         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29168         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29169         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
29170         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29171         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29172         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29173         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29174         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
29175         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
29176         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29177         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29178         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29179         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
29180         * sysdeps/ieee754/k_standard.c: Likewise.
29181         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29182         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29183         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29184         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29185         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29186         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29187         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29188         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29189         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29190         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29191         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29192         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29193         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29194         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29195         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29196         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29197         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29198         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29199         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29200         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
29201         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
29202         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
29203         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29204         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29205         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29206         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29207         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29208         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29209         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29210         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29211         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29212         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29213         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29214         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29215         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29216         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29217         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29218         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
29219         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
29220         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29221         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29222         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29223         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29224         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29225         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29226         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29227         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29228         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29229         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29230         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29231         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29232         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29233         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29234         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
29235         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29236         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29237         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
29238         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
29239         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29240         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29241         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29242         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29243         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29244         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29245         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29246         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29247         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29248         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29249         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29250         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29251         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29252         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29253         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29254         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29255         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29256         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29257         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
29258         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29259         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29260         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29261         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29262         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29263         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29264         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29265         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
29266         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29267         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29268         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29269         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29270         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29271         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
29272         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29273         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
29274         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29275         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29276         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29277         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
29278         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
29279         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
29280         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
29281         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29282         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29283         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29284         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29285         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
29286         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29287         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29288         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
29289         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
29290         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29291         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29292         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29293         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29294         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29295         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29296         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29297         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29298         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29299         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29300         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29301         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29302         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29303         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29304         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29305         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29306         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
29307         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29308         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29309         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29310         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29311         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29312         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29313         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29314         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29315         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29316         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29317         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
29318         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29319         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29320         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
29321         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
29322         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29323         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
29324         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
29325         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29326         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29327         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29328         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29329         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29330         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
29331         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29332         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29333         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29334         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29335         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
29336         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
29337         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29338         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29339         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29340         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29341         * sysdeps/ieee754/s_lib_version.c: Likewise.
29342         * sysdeps/ieee754/s_matherr.c: Likewise.
29343         * sysdeps/ieee754/s_signgam.c: Likewise.
29344         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29345         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29346         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
29347         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
29348         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
29349         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
29350         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
29351         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
29352         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
29353         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
29354         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29355         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
29356         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29357         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29358         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
29359         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29360         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29361         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29362         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29363         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29364         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29365
29366 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
29367
29368         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
29369         * sunrpc/rpc_main.c: Likewise.
29370         * sunrpc/rpc_svcout.c: Likewise.
29371
29372 2012-03-09  David S. Miller  <davem@davemloft.net>
29373
29374         * include/math_private.h: New file.
29375
29376 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
29377
29378         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
29379         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
29380         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
29381         from <bits/socket_type.h>.
29382         (enum __socket_type): Don't define here.
29383         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
29384         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29385         bits/socket_type.h.
29386
29387         [BZ #13566]
29388         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
29389         checking __USE_GNU.
29390
29391         * Makerules ($(inst_includedir)/%.h): New rule.
29392         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
29393         (install-others): Remove variable setting.
29394         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
29395
29396 2012-03-08  Richard Henderson  <rth@twiddle.net>
29397
29398         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
29399         from macro to inline function; merge with the
29400         !__LIBC_INTERNAL_MATH_INLINES version.
29401         (__ieee754_sqrtf): Likewise.
29402
29403         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
29404         to inline function.
29405         (__rintf, __floor, __floorf): Likewise.
29406
29407         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
29408         macro to inline function.
29409         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
29410
29411         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
29412         not <math/math_private.h>.
29413
29414 2012-03-08  David S. Miller  <davem@davemloft.net>
29415
29416         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
29417         copyright year.
29418         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29419
29420 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
29421
29422         * resolv/gai_misc.c (handle_requests): Fix struct timespec
29423         normalization.
29424         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
29425         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29426
29427 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
29428
29429         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
29430         be defined individually, they must be defined as a block.  Define
29431         S for printing a string instead of hidint the different by using a
29432         macro for adding the 'l'.
29433         * stdio-common/tst-fphex-wide.c: Adjust.
29434
29435 2012-03-07  Marek Polacek  <polacek@redhat.com>
29436
29437         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
29438
29439 2012-03-08  Marek Polacek  <polacek@redhat.com>
29440
29441         [BZ #13806]
29442         * stdio-common/Makefile (tests): Add tst-fphex-wide.
29443         * stdio-common/tst-fphex.c: Define a few macros to make the
29444         test reusable.  Use them.
29445         * stdio-common/tst-fphex-wide.c: New file.
29446
29447 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
29448
29449         [BZ #6911]
29450         * manual/macros.texi (gnusystems): New macro.
29451         (nongnusystems): Likewise.
29452         (gnulinuxhurdsystems): Likewise.
29453         (gnuhurdsystems): Likewise..
29454         (gnulinuxsystems): Likewise.
29455         * manual/charset.texi: Use new macros or @theglibc{} to refer to
29456         variants of the GNU system, not "GNU system".
29457         * manual/conf.texi: Likewise.
29458         * manual/errno.texi: Likewise.  Update example of errno macro
29459         expansion.
29460         * manual/filesys.texi: Likewise.
29461         (getumask): Document as specific to GNU/Hurd.
29462         * manual/install.texi: Likewise.  Reword some references to
29463         GNU/Linux.
29464         * manual/intro.texi: Likewise.
29465         * manual/io.texi: Likewise.
29466         (File Name Portability): Detail which constraints are inapplicable
29467         to all GNU systems and which are only inapplicable to GNU/Hurd.
29468         * manual/job.texi: Likewise.
29469         * manual/llio.texi: Likewise.
29470         (O_NOCTTY): Document as present on GNU/Linux.
29471         * manual/maint.texi: Likewise.
29472         * manual/memory.texi: Likewise.
29473         * manual/pattern.texi: Likewise.
29474         * manual/pipe.texi: Likewise.
29475         * manual/process.texi: Likewise.
29476         * manual/resource.texi: Likewise.
29477         (RUSAGE_CHILDREN): Remove statement about specifying a particular
29478         child on GNU/Hurd.
29479         * manual/setjmp.texi: Likewise.
29480         * manual/signal.texi: Likewise.
29481         * manual/startup.texi: Likewise.
29482         * manual/stdio.texi: Likewise.
29483         * manual/terminal.texi: Likewise.
29484         (ONLCR): Document as POSIX.
29485         (OXTABS): Document availability on GNU/Linux as XTABS.
29486         (ONOEOT): Document availability separately from other bits.
29487         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
29488         * manual/time.texi: Likewise.
29489         * manual/users.texi: Likewise.
29490         * INSTALL: Regenerated.
29491         * sysdeps/gnu/errlist.c: Regenerated.
29492
29493         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
29494         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
29495         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
29496         puts.
29497         * configure: Regenerated.
29498
29499 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
29500
29501         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
29502         default includes instead of AC_HEADER_CHECK.
29503         * sysdeps/i386/configure: Regenerated.
29504
29505         [BZ #10716]
29506         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
29507         * math/s_cacoshf.c (__cacoshf): Likewise.
29508         * math/s_cacoshl.c (__cacoshl): Likewise.
29509         * math/s_casinh.c (__casinh): Set signs of result from argument.
29510         * math/s_casinhf.c (__casinhf): Likewise.
29511         * math/s_casinhl.c (__casinhl): Likewise.
29512         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
29513         (casinh_test): Add more tests.
29514         * sysdeps/i386/fpu/libm-test-ulps: Update.
29515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29516
29517 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
29518
29519         * po/zh_TW.po: Update from translation team.
29520
29521         * login/Makefile (distribute): Remove variable.
29522         * catgets/Makefile: Likewise.
29523         * mach/Makefile: Likewise.
29524         * malloc/Makefile: Likewise.
29525         * misc/Makefile: Likewise.
29526         * iconv/Makefile: Likewise.
29527         * nscd/Makefile: Likewise.
29528         * hurd/Makefile: Likewise.
29529         * manual/Makefile: Likewise.
29530         * locale/Makefile: Likewise.
29531         * intl/Makefile: Likewise.
29532         * conform/Makefile: Likewise.
29533         * nss/Makefile: Likewise.
29534         * time/Makefile: Likewise.
29535         * soft-fp/Makefile: Likewise.
29536         * dirent/Makefile: Likewise.
29537         * gmon/Makefile: Likewise.
29538         * po/Makefile: Likewise.
29539         * rt/Makefile: Likewise.
29540         * socket/Makefile: Likewise.
29541         * math/Makefile: Likewise.
29542         * signal/Makefile: Likewise.
29543         * debug/Makefile: Likewise.
29544         * elf/Makefile: Likewise.
29545         * timezone/Makefile: Likewise.
29546         * stdlib/Makefile: Likewise.
29547         * iconvdata/Makefile: Likewise.
29548         * sunrpc/Makefile: Likewise.
29549         * io/Makefile: Likewise.
29550         * argp/Makefile: Likewise.
29551         * inet/Makefile: Likewise.
29552         * hesiod/Makefile: Likewise.
29553         * grp/Makefile: Likewise.
29554         * csu/Makefile: Likewise.
29555         * wctype/Makefile: Likewise.
29556         * crypt/Makefile: Likewise.
29557         * libio/Makefile: Likewise.
29558         * string/Makefile: Likewise.
29559         * nis/Makefile: Likewise.
29560         * resolv/Makefile: Likewise.
29561         * stdio-common/Makefile: Likewise.
29562         * wcsmbs/Makefile: Likewise.
29563         * dlfcn/Makefile: Likewise.
29564         * posix/Makefile: Likewise.
29565
29566         [BZ #6959]
29567         * timezone/Makefile: Don't install timezone files, just the programs
29568         and scripts.
29569
29570 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
29571
29572         * nss/databases.def: Add missing gshadow entry.
29573
29574         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
29575
29576 2012-03-06  Marek Polacek  <polacek@redhat.com>
29577
29578         [BZ #13726]
29579         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
29580         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
29581         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
29582         * stdio-common/tst-long-dbl-fphex.c: New file.
29583
29584 2012-03-06  David S. Miller  <davem@davemloft.net>
29585
29586         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29587         (set_obp_int): New function.
29588         (get_obp_int): New function.
29589         (__get_clockfreq_via_dev_openprom): Likewise.
29590         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
29591         Avoid unused variable warnings on 'val' and use builtin_expect.
29592         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
29593         __builtin_expect.
29594         (INLINE_CLONE_SYSCALL): Likewise.
29595
29596 2012-03-05  David S. Miller  <davem@davemloft.net>
29597
29598         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29599
29600 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
29601
29602         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29603
29604         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
29605         only for |x| >= 40.
29606         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29607
29608 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
29609
29610         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
29611         Replace gettimeofday with __vdso_gettimeofday.
29612
29613         * sysdeps/unix/sysv/linux/x86_64/init-first.c
29614         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
29615         __vdso_clock_gettime and __vdso_getcpu.
29616
29617         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
29618         time with __vdso_time.
29619
29620 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
29621
29622         * manual/lang.texi (size_t): Note types to which size_t may be
29623         equivalent with the GNU C Library, but do not describe when
29624         differences between them are significant.
29625
29626 2012-03-05  Andreas Jaeger  <aj@suse.de>
29627
29628         * sysdeps/i386/fpu/libm-test-ulps: Update.
29629
29630 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
29631
29632         [BZ #3976]
29633         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
29634         (__ieee754_pow): Save and restore rounding mode and use
29635         round-to-nearest for main computations.
29636         * math/libm-test.inc (pow_test_tonearest): New function.
29637         (pow_test_towardzero): Likewise.
29638         (pow_test_downward): Likewise.
29639         (pow_test_upward): Likewise.
29640         (main): Call the new functions.
29641         * sysdeps/i386/fpu/libm-test-ulps: Update.
29642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29643
29644         [BZ #3976]
29645         * math/libm-test.inc (cosh_test_tonearest): New function.
29646         (cosh_test_towardzero): Likewise.
29647         (cosh_test_downward): Likewise.
29648         (cosh_test_upward): Likewise.
29649         (sinh_test_tonearest): Likewise.
29650         (sinh_test_towardzero): Likewise.
29651         (sinh_test_downward): Likewise.
29652         (sinh_test_upward): Likewise.
29653         (main): Call the new functions.
29654         * sysdeps/i386/fpu/libm-test-ulps: Update.
29655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29656
29657 2012-03-05  Tom de Vries  <tom@codesourcery.com>
29658
29659         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
29660         default stack guard is set in last bytes.
29661         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
29662
29663 2012-03-05  Kees Cook  <keescook@chromium.org>
29664
29665         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
29666
29667         [BZ #13656]
29668         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
29669         possibly allocate from heap instead of stack.
29670         * stdio-common/bug-vfprintf-nargs.c: New file.
29671         * stdio-common/Makefile (tests): Add nargs overflow test.
29672
29673 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
29674
29675         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29676
29677 2012-03-03  Marek Polacek  <polacek@redhat.com>
29678
29679         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
29680         * math/math_private.h: Likewise.
29681         * stdlib/tst-strtod.c: Likewise.
29682         * sysdeps/i386/i486/bits/atomic.h: Likewise.
29683         * sysdeps/x86_64/bits/atomic.h: Likewise.
29684
29685 2012-03-02  David S. Miller  <davem@davemloft.net>
29686
29687         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
29688         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
29689         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
29690         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
29691         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
29692         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
29693         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
29694         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
29695
29696 2012-03-02  Roland McGrath  <roland@hack.frob.com>
29697
29698         [BZ #13792]
29699         * manual/examples/README: New file, says the example source files
29700         can be used under GPL>=2.
29701         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
29702         line containing just "*/".
29703         * manual/examples/add.c: Add copyright header (GPL>=2).
29704         * manual/examples/argp-ex1.c: Likewise.
29705         * manual/examples/argp-ex2.c: Likewise.
29706         * manual/examples/argp-ex3.c: Likewise.
29707         * manual/examples/argp-ex4.c: Likewise.
29708         * manual/examples/atexit.c: Likewise.
29709         * manual/examples/db.c: Likewise.
29710         * manual/examples/dir.c: Likewise.
29711         * manual/examples/dir2.c: Likewise.
29712         * manual/examples/execinfo.c: Likewise.
29713         * manual/examples/filecli.c: Likewise.
29714         * manual/examples/filesrv.c: Likewise.
29715         * manual/examples/fmtmsgexpl.c: Likewise.
29716         * manual/examples/genpass.c: Likewise.
29717         * manual/examples/inetcli.c: Likewise.
29718         * manual/examples/inetsrv.c: Likewise.
29719         * manual/examples/isockad.c: Likewise.
29720         * manual/examples/longopt.c: Likewise.
29721         * manual/examples/memopen.c: Likewise.
29722         * manual/examples/memstrm.c: Likewise.
29723         * manual/examples/mkfsock.c: Likewise.
29724         * manual/examples/mkisock.c: Likewise.
29725         * manual/examples/mygetpass.c: Likewise.
29726         * manual/examples/pipe.c: Likewise.
29727         * manual/examples/popen.c: Likewise.
29728         * manual/examples/rprintf.c: Likewise.
29729         * manual/examples/search.c: Likewise.
29730         * manual/examples/select.c: Likewise.
29731         * manual/examples/setjmp.c: Likewise.
29732         * manual/examples/sigh1.c: Likewise.
29733         * manual/examples/sigusr.c: Likewise.
29734         * manual/examples/stpcpy.c: Likewise.
29735         * manual/examples/strdupa.c: Likewise.
29736         * manual/examples/strftim.c: Likewise.
29737         * manual/examples/strncat.c: Likewise.
29738         * manual/examples/subopt.c: Likewise.
29739         * manual/examples/swapcontext.c: Likewise.
29740         * manual/examples/termios.c: Likewise.
29741         * manual/examples/testopt.c: Likewise.
29742         * manual/examples/testpass.c: Likewise.
29743         * manual/examples/timeval_subtract.c: Likewise.
29744
29745         [BZ #13792]
29746         * manual/time.texi (Elapsed Time): Move timeval_subtract example
29747         function to ...
29748         * manual/timeval_subtract.c.texi: ... here, new file.
29749
29750 2012-03-02  David S. Miller  <davem@davemloft.net>
29751
29752         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
29753
29754 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
29755
29756         [BZ #3976]
29757         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
29758         (__sin): Save and restore rounding mode and use round-to-nearest
29759         for all computations.
29760         (__cos): Save and restore rounding mode and use round-to-nearest
29761         for all computations.
29762         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
29763         <fenv.h>.
29764         (tan): Save and restore rounding mode and use round-to-nearest for
29765         all computations.
29766         * math/libm-test.inc (cos_test_tonearest): New function.
29767         (cos_test_towardzero): Likewise.
29768         (cos_test_downward): Likewise.
29769         (cos_test_upward): Likewise.
29770         (sin_test_tonearest): Likewise.
29771         (sin_test_towardzero): Likewise.
29772         (sin_test_downward): Likewise.
29773         (sin_test_upward): Likewise.
29774         (tan_test_tonearest): Likewise.
29775         (tan_test_towardzero): Likewise.
29776         (tan_test_downward): Likewise.
29777         (tan_test_upward): Likewise.
29778         (main): Call the new functions.
29779         * sysdeps/i386/fpu/libm-test-ulps: Update.
29780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29781
29782         [BZ #10135]
29783         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
29784         small n, then large n, before computing and testing k+n.
29785         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
29786         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
29787         Likewise.
29788         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
29789         Likewise.
29790         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
29791         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
29792         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
29793         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
29794         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
29795         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
29796         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
29797         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
29798         * math/libm-test.inc (scalbn_test): Add more tests.
29799         (scalbln_test): Likewise.
29800
29801         * manual/filesys.texi (mode_t): Describe constraints on size and
29802         signedness, not exact equivalence to a particular type.
29803         (ino_t): Likewise.
29804         (ino64_t): Likewise.
29805         (dev_t): Likewise.
29806         (nlink_t): Likewise.
29807         (blkcnt_t): Likewise.
29808         (blkcnt64_t): Likewise.
29809         * manual/llio.texi (off_t): Likewise.
29810
29811         [BZ #3976]
29812         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
29813         (__ieee754_exp): Save and restore rounding mode and use
29814         round-to-nearest for all computations.
29815         * math/libm-test.inc (exp_test_tonearest): New function.
29816         (exp_test_towardzero): Likewise.
29817         (exp_test_downward): Likewise.
29818         (exp_test_upward): Likewise.
29819         (main): Call the new functions.
29820         * sysdeps/i386/fpu/libm-test-ulps: Update.
29821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29822
29823 2012-03-01  Chris Demetriou  <cgd@google.com>
29824
29825         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
29826         have predictable order.
29827
29828 2012-03-01  David S. Miller  <davem@davemloft.net>
29829
29830         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
29831
29832         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
29833         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
29834         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
29835         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
29836
29837         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
29838         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
29839         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
29840         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
29841         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
29842         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
29843         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
29844         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
29845         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
29846
29847         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29848
29849         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
29850         * sysdeps/sparc/fpu/libm-test-ulps: to here.
29851         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
29852
29853         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
29854         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29855         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
29856         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
29857         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
29858         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
29859         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
29860         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29861         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
29862         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
29863         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
29864         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
29865         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29866         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
29867         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29868         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29869         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
29870         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
29871         * sysdeps/sparc/elf/configure: Regenerated.
29872
29873 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
29874
29875         * configure.in (AS, LD): Require binutils 2.20 or later.
29876         * configure: Regenerated.
29877         * manual/install.texi (Tools for Compilation): Give binutils 2.20
29878         as required minimum version.
29879         * INSTALL: Regenerated.
29880
29881         [BZ #2541]
29882         [BZ #4108]
29883         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
29884         before squaring exponent.
29885         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
29886         bottom long double and 27 bits of top long double before squaring
29887         exponent.
29888         * math/libm-test.inc (erfc_test): Add more tests.
29889         * sysdeps/i386/fpu/libm-test-ulps: Update.
29890         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29892
29893 2012-03-01  Kai Tietz  <ktietz@redhat.com>
29894
29895         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
29896         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
29897         containing bit-fields.
29898         * soft-fp/extended.h (_FP_UNION_E): Likewise.
29899         * soft-fp/single.h (_FP_UNION_S): Likewise.
29900         * soft-fp/double.h (_FP_UNION_D): Likewise.
29901
29902 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29903
29904         [BZ #13786]
29905         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
29906         not include ../strcmp.S.
29907         [USE_AS_STRNCASECMP_L]: Likewise.
29908         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
29909         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
29910         * sysdeps/i386/i686/multiarch/strncase_l-c.c
29911         (__strncasecmp_l_ia32): Define as alias to
29912         __strncasecmp_l_nonascii.
29913
29914         [BZ #5794]
29915         * math/libm-test.inc (expm1_test): Add test for bug 5794.
29916         * sysdeps/i386/fpu/libm-test-ulps: Update.
29917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29918
29919         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
29920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29921
29922 2012-02-29  Jeff Law  <law@redhat.com>
29923
29924         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
29925         out of bounds read.
29926
29927 2012-02-29  Marek Polacek  <polacek@redhat.com>
29928
29929         [BZ #13706]
29930         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
29931         * elf/Makefile: Add rules to run tst-unused-dep.out.
29932
29933 2012-02-28  David S. Miller  <davem@davemloft.net>
29934
29935         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
29936         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
29937         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
29938         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
29939         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
29940         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
29941
29942 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
29943
29944         * math/libm-test.inc (llround_test): Move one test from
29945         lround_test.  Use TEST_f_L in moved test.
29946         (lround_test): Move misplaced test to llround_test.  Add testcase
29947         from bug 2561.
29948
29949 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
29950
29951         * sysdeps/x86_64/fpu/e_expf.S: New file.
29952         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
29953
29954 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
29955
29956         [BZ #13637]
29957         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
29958         of remain_len that may cause incomplete multi-byte character and
29959         false match.
29960         * posix/bug-regex33.c: New file.
29961         * posix/Makefile (tests): Add bug-regex33.
29962
29963 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
29964
29965         * manual/macros.texi: New file.
29966         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
29967         * manual/libc.texinfo: Include macros.texi.
29968         * manual/creatute.texi: Likewise.
29969         * manual/install.texi: Likewise.
29970         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
29971         @glibcadj{} in references to the GNU C Library.
29972         * manual/charset.texi: Likewise.
29973         * manual/conf.texi: Likewise.
29974         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
29975         when not using those macros.
29976         * manual/creature.texi: Likewise.
29977         * manual/crypt.texi: Likewise.
29978         * manual/errno.texi: Likewise.
29979         * manual/filesys.texi: Likewise.
29980         * manual/header.texi: Likewise.
29981         * manual/install.texi: Likewise.
29982         * manual/intro.texi: Likewise.
29983         * manual/io.texi: Likewise.
29984         * manual/job.texi: Likewise.
29985         * manual/lang.texi: Likewise.
29986         * manual/libc.texiinfo: Likewise.
29987         * manual/llio.texi: Likewise.
29988         * manual/locale.texi: Likewise.
29989         * manual/maint.texi: Likewise.
29990         * manual/math.texi: Likewise.
29991         * manual/memory.texi: Likewise.
29992         * manual/message.texi: Likewise.
29993         * manual/nss.texi: Likewise.
29994         * manual/pattern.texi: Likewise.
29995         * manual/process.texi: Likewise.
29996         * manual/resource.texi: Likewise.
29997         * manual/search.texi: Likewise.
29998         * manual/setjmp.texi: Likewise.
29999         * manual/signal.texi: Likewise.
30000         * manual/socket.texi: Likewise.
30001         * manual/startup.texi: Likewise.
30002         * manual/stdio.texi: Likewise.
30003         * manual/string.texi: Likewise.
30004         * manual/sysinfo.texi: Likewise.
30005         * manual/syslog.texi: Likewise.
30006         * manual/terminal.texi: Likewise.
30007         * manual/time.texi: Likewise.
30008         * manual/users.texi: Likewise.
30009         * INSTALL: Regenerated.
30010         * NOTES: Regenerated.
30011         * sysdeps/gnu/errlist.c: Regenerated.
30012
30013 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
30014
30015         * include/dirent.h: Include <dirstream.h> before
30016         <dirent/dirent.h>.
30017
30018 2012-02-28  David S. Miller  <davem@davemloft.net>
30019
30020         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
30021         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
30022         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
30023         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
30024
30025 2012-02-27  David S. Miller  <davem@davemloft.net>
30026
30027         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
30028         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
30029         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
30030         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
30031
30032         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
30033         frame pointer instead of stack pointer relative arg slot.
30034         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30035         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30036         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30037
30038 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
30039
30040         [BZ #3992]
30041         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
30042
30043 2012-02-27  David S. Miller  <davem@davemloft.net>
30044
30045         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
30046         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
30047         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30048         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
30049         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
30050         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
30051         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
30052         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
30053
30054 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
30055
30056         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
30057         later.  Allow versions 5-9.
30058         * configure: Regenerated.
30059         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
30060         required minimum version and 4.6 as recommended version.  Do not
30061         mention bugs in GCC 2.7 and 2.8.
30062         * INSTALL: Regenerated.
30063
30064 2012-02-27  David S. Miller  <davem@davemloft.net>
30065
30066         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
30067         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
30068         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
30069         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
30070         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
30071         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
30072         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
30073         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
30074
30075         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
30076         manipulate bits before adding and subtracting TWO112[sx].
30077         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30078
30079 2012-02-27  Roland McGrath  <roland@hack.frob.com>
30080
30081         [BZ #13775]
30082         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
30083         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
30084         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
30085         being in POSIX, because they are in 1003.1-2008.
30086
30087         * rt/tst-aio.c: Include <fcntl.h>.
30088         * rt/tst-aio7.c: Likewise.
30089         * rt/tst-aio64.c: Likewise.
30090
30091         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
30092
30093 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
30094
30095         * manual/install.texi (--with-headers): Describe headers as
30096         interface headers, not private headers.
30097         (Specific advice for GNU/Linux systems): Describe use of headers
30098         from "make headers_install", not private headers from older
30099         kernels.
30100         * INSTALL: Regenerated.
30101         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
30102         Change to 2.6.19.
30103         * sysdeps/unix/sysv/linux/configure: Regenerated.
30104
30105         * manual/llio.texi (fclean): Remove documentation.
30106
30107         * manual/Makefile (libc-texi-generated): New variable.  Include
30108         version.texi.
30109         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
30110         $(libc-texi-generated), not duplicated list of files.
30111         (version.texi, stamp-version): New rules.
30112         (realclean): Remove $(libc-texi-generated), not individual files
30113         from that list.  Do not remove dir-add.texinfo.
30114         * manual/libc.texinfo: Comment out uses of edition numbers and
30115         references to printed manual.  Remove last-updated dates.
30116         (EDITION): Comment out.
30117         (ISBN): Likewise.
30118         (VERSION, UPDATED): Remove.
30119         (version.texi): Include.
30120
30121 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
30122
30123         * sysdeps/posix/spawni.c: Include <signal.h>.
30124         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
30125         * sysdeps/pthread/aio_fsync.c: Likewise.
30126
30127 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
30128
30129         * conform/Makefile (tests): Run only when not cross-compiling and
30130         when fast-check is not defined.
30131
30132         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
30133         * conform/data/limits.h-data: Fixes for POSIX2008.
30134         * conform/run-conformtest.sh: Run all tests.
30135         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
30136         headers.
30137         * include/bits/dlfcn.h: Likewise.
30138         * include/langinfo.h: Likewise.
30139         * include/monetary.h: Likewise.
30140         * include/sys/poll.h: Likewise.
30141
30142         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
30143         for __USE_GNU.
30144         * posix/spawn.h: Define __need_sigset_t.
30145         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
30146         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
30147         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
30148         to get sigevent_t only.
30149         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
30150         only for __USE_GNU.
30151         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30152         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30153         process_vm_writev only for __USE_GNU.
30154         * termios/termios.h: Declare tcgetsid also for POSIX2008.
30155
30156         * conform/Makefile: For now ignore errors from run-conformtest.
30157         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
30158         POSIX to avoid namespace pollution.  Don't prepend headers.
30159         * conform/data/aio.h-data: Fixes for POSIX testing.
30160         * conform/data/fcntl.h-data: Likewise.
30161         * conform/data/glob.h-data: Likewise.
30162         * conform/data/grp.h-data: Likewise.
30163         * conform/data/pthread.h-data: Likewise.
30164         * conform/data/pwd.h-data: Likewise.
30165         * conform/data/signal.h-data: Likewise.
30166         * conform/data/spawn.h-data: Likewise.
30167         * conform/data/stdio.h-data: Likewise.
30168         * conform/data/stdlib.h-data: Likewise.
30169         * conform/data/stropts.h-data: Likewise.
30170         * conform/data/sys/mman.h-data: Likewise.
30171         * conform/data/sys/stat.h-data: Likewise.
30172         * conform/data/sys/types.h-data: Likewise.
30173         * conform/data/sys/wait.h-data: Likewise.
30174         * conform/data/time.h-data: Likewise.
30175         * conform/data/unistd.h-data: Likewise.
30176         * conform/data/utime.h-data: Likewise.
30177
30178         * io/sys/stat.h: fchmod was always in POSIX.
30179         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
30180         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
30181         * rt/aio.h: Define __need_timespec before including <time.h>.
30182         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
30183         struct.  Add forward declaration of pthread_attr_t and use it in
30184         sigevent.
30185         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30186         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30187         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
30188         always remove CLK_TCK definition.
30189
30190 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
30191
30192         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
30193
30194 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
30195
30196         * conform/run-conformtest.sh: New file.
30197         * conform/Makefile: Run run-conformtest for tests.
30198         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
30199         support.
30200
30201         * conform/data/uchar.h-data: New file.
30202         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
30203         * conform/data/arpa/inet.h-data: Likewise.
30204         * conform/data/assert.h-data: Likewise.
30205         * conform/data/complex.h-data: Likewise.
30206         * conform/data/cpio.h-data: Likewise.
30207         * conform/data/ctype.h-data: Likewise.
30208         * conform/data/dirent.h-data: Likewise.
30209         * conform/data/dlfcn.h-data: Likewise.
30210         * conform/data/errno.h-data: Likewise.
30211         * conform/data/fcntl.h-data: Likewise.
30212         * conform/data/float.h-data: Likewise.
30213         * conform/data/fmtmsg.h-data: Likewise.
30214         * conform/data/fnmatch.h-data: Likewise.
30215         * conform/data/ftw.h-data: Likewise.
30216         * conform/data/glob.h-data: Likewise.
30217         * conform/data/grp.h-data: Likewise.
30218         * conform/data/iconv.h-data: Likewise.
30219         * conform/data/inttypes.h-data: Likewise.
30220         * conform/data/langinfo.h-data: Likewise.
30221         * conform/data/libgen.h-data: Likewise.
30222         * conform/data/limits.h-data: Likewise.
30223         * conform/data/locale.h-data: Likewise.
30224         * conform/data/math.h-data: Likewise.
30225         * conform/data/monetary.h-data: Likewise.
30226         * conform/data/mqueue.h-data: Likewise.
30227         * conform/data/ndbm.h-data: Likewise.
30228         * conform/data/net/if.h-data: Likewise.
30229         * conform/data/netdb.h-data: Likewise.
30230         * conform/data/netinet/in.h-data: Likewise.
30231         * conform/data/nl_types.h-data: Likewise.
30232         * conform/data/poll.h-data: Likewise.
30233         * conform/data/pthread.h-data: Likewise.
30234         * conform/data/pwd.h-data: Likewise.
30235         * conform/data/regex.h-data: Likewise.
30236         * conform/data/sched.h-data: Likewise.
30237         * conform/data/search.h-data: Likewise.
30238         * conform/data/semaphore.h-data: Likewise.
30239         * conform/data/setjmp.h-data: Likewise.
30240         * conform/data/signal.h-data: Likewise.
30241         * conform/data/spawn.h-data: Likewise.
30242         * conform/data/stdarg.h-data: Likewise.
30243         * conform/data/stdio.h-data: Likewise.
30244         * conform/data/stdlib.h-data: Likewise.
30245         * conform/data/string.h-data: Likewise.
30246         * conform/data/strings.h-data: Likewise.
30247         * conform/data/stropts.h-data: Likewise.
30248         * conform/data/sys/ipc.h-data: Likewise.
30249         * conform/data/sys/mman.h-data: Likewise.
30250         * conform/data/sys/msg.h-data: Likewise.
30251         * conform/data/sys/resource.h-data: Likewise.
30252         * conform/data/sys/select.h-data: Likewise.
30253         * conform/data/sys/sem.h-data: Likewise.
30254         * conform/data/sys/shm.h-data: Likewise.
30255         * conform/data/sys/socket.h-data: Likewise.
30256         * conform/data/sys/stat.h-data: Likewise.
30257         * conform/data/sys/statvfs.h-data: Likewise.
30258         * conform/data/sys/time.h-data: Likewise.
30259         * conform/data/sys/timeb.h-data: Likewise.
30260         * conform/data/sys/times.h-data: Likewise.
30261         * conform/data/sys/types.h-data: Likewise.
30262         * conform/data/sys/uio.h-data: Likewise.
30263         * conform/data/sys/un.h-data: Likewise.
30264         * conform/data/sys/utsname.h-data: Likewise.
30265         * conform/data/sys/wait.h-data: Likewise.
30266         * conform/data/syslog.h-data: Likewise.
30267         * conform/data/tar.h-data: Likewise.
30268         * conform/data/termios.h-data: Likewise.
30269         * conform/data/utime.h-data: Likewise.
30270         * conform/data/utmpx.h-data: Likewise.
30271         * conform/data/varargs.h-data: Likewise.
30272         * conform/data/wchar.h-data: Likewise.
30273         * conform/data/wctype.h-data: Likewise.
30274         * conform/data/wordexp.h-data: Likewise.
30275
30276         * include/stropts.h: New file.
30277         * include/uchar.h: New file.
30278         * include/aio.h: Changes to allow conformtest.pl to use the headers.
30279         * include/assert.h: Likewise.
30280         * include/ctype.h: Likewise.
30281         * include/dirent.h: Likewise.
30282         * include/dlfcn.h: Likewise.
30283         * include/fcntl.h: Likewise.
30284         * include/fnmatch.h: Likewise.
30285         * include/glob.h: Likewise.
30286         * include/grp.h: Likewise.
30287         * include/libio.h: Likewise.
30288         * include/locale.h: Likewise.
30289         * include/math.h: Likewise.
30290         * include/net/if.h: Likewise.
30291         * include/netdb.h: Likewise.
30292         * include/netinet/in.h: Likewise.
30293         * include/pthread.h: Likewise.
30294         * include/pwd.h: Likewise.
30295         * include/regex.h: Likewise.
30296         * include/sched.h: Likewise.
30297         * include/search.h: Likewise.
30298         * include/setjmp.h: Likewise.
30299         * include/signal.h: Likewise.
30300         * include/stdio.h: Likewise.
30301         * include/stdlib.h: Likewise.
30302         * include/string.h: Likewise.
30303         * include/sys/cdefs.h: Likewise.
30304         * include/sys/mman.h: Likewise.
30305         * include/sys/msg.h: Likewise.
30306         * include/sys/resource.h: Likewise.
30307         * include/sys/select.h: Likewise.
30308         * include/sys/socket.h: Likewise.
30309         * include/sys/stat.h: Likewise.
30310         * include/sys/statvfs.h: Likewise.
30311         * include/sys/time.h: Likewise.
30312         * include/sys/times.h: Likewise.
30313         * include/sys/uio.h: Likewise.
30314         * include/sys/utsname.h: Likewise.
30315         * include/sys/wait.h: Likewise.
30316         * include/termios.h: Likewise.
30317         * include/time.h: Likewise.
30318         * include/ulimit.h: Likewise.
30319         * include/unistd.h: Likewise.
30320         * include/utime.h: Likewise.
30321         * include/wchar.h: Likewise.
30322         * include/wctype.h: Likewise.
30323         * include/wordexp.h: Likewise.
30324
30325         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
30326
30327         * time/time.h: TIME_UTC must be a macro.
30328         Make timespec_get available for ISO C11 only as well.
30329
30330 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
30331
30332         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
30333         Reported by Peng Haitao <penght@cn.fujitsu.com>.
30334
30335 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30336
30337         * configure.in: Use -o not -a in test for unsupported multi-arch.
30338
30339 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30340
30341         * manual/texinfo.tex: Update to version 2012-01-19.16.
30342
30343 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
30344
30345         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
30346
30347 2012-02-24  Roland McGrath  <roland@hack.frob.com>
30348
30349         [BZ #13738]
30350         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
30351         * manual/fdl-1.3.texi: New file.
30352         * manual/fdl-1.1.texi: File removed.
30353
30354         [BZ #13738]
30355         * manual/libc.texinfo (FDL_VERSION): New @set.
30356         Use it for mention of FDL in cover text.
30357         (Documentation License): Use it in @include file name.
30358
30359 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30360             Roland McGrath  <roland@hack.frob.com>
30361
30362         [BZ #5461]
30363         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
30364         not LONG_LONG_MAX and LONG_LONG_MIN.
30365         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
30366         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
30367         name.
30368         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
30369
30370 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30371
30372         [BZ #2547]
30373         [BZ #11365]
30374         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
30375         manipulate bits before adding and subtracting TWO23[sx].
30376         * math/libm-test.inc (nearbyint_test): Add more tests.
30377
30378 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30379
30380         [BZ #2548]
30381         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
30382         bits before adding and subtracting TWO23[sx].
30383         * math/libm-test.inc (rint_test): Add more tests.
30384         (rint_test_tonearest): Likewise.
30385         (rint_test_towardzero): Likewise.
30386         (rint_test_downward): Likewise.
30387         (rint_test_upward: Likewise.
30388
30389 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30390
30391         [BZ #10110]
30392         * include/stdc-predef.h: New file.  Extracted from features.h.
30393         * include/features.h: Include stdc-predef.h.
30394         * Makefile (headers): Add stdc-predef.h.
30395         * CONFORMANCE (Compiler limitations): Update.
30396
30397 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
30398
30399         * manual/libc.texinfo (VERSION, UPDATED): Revert.
30400
30401 2012-02-21  David S. Miller  <davem@davemloft.net>
30402
30403         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
30404         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30405
30406 2012-02-20  David S. Miller  <davem@davemloft.net>
30407
30408         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
30409         using a normal save/restore sequence, rather than allocating a
30410         dummy stack frame just to store a frame pointer and restore.
30411         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30412
30413 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30414
30415         * manual/install.texi: Fix stray word in line-wrapped comment.
30416
30417 2012-02-20  David S. Miller  <davem@davemloft.net>
30418
30419         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
30420         both binutils and gcc support GOTDATA.
30421
30422         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
30423         "rd %pc" in the PIC register setup sequences.
30424
30425         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
30426         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30427         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
30428         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30429         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
30430         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30431         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30432         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
30433         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
30434         (SYSCALL_ERROR_HANDLER): Likewise.
30435         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
30436         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30437         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
30438         (SYSCALL_ERROR_HANDLER): Likewise.
30439
30440         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
30441         (HAVE_GCC_GOTDATA): New.
30442         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
30443         relocation support in both binutils and gcc.
30444         * sysdeps/sparc/elf/configure: Regenerate.
30445
30446         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
30447         * sysdeps/sparc/sparc32/elf/configure: Delete.
30448         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
30449         * sysdeps/sparc/sparc64/elf/configure: Delete.
30450         * sysdeps/sparc/elf/configure.in: New file.
30451         * sysdeps/sparc/elf/configure: Generate.
30452
30453         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
30454         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
30455         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30456         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
30457         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
30458
30459 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30460
30461         * manual/install.texi: Do not mention specific glibc version
30462         numbers.
30463         * manual/libc.texinfo (VERSION, UPDATED): Update.
30464         (@copying): Use @copyright{} and range of years.
30465
30466 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
30467
30468         [BZ #13695]
30469         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
30470         [crti.S not in sysdirs] (generated): Do not append.
30471         [crti.S not in sysdirs] (omit-deps): Likewise.
30472         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
30473         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
30474         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
30475         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
30476         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
30477         Likewise.
30478         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
30479         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
30480         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
30481         * csu/defs.awk: Remove file.
30482         * sysdeps/generic/initfini.c: Likewise.
30483         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
30484         variable.
30485         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
30486         Likewise.
30487
30488 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30489
30490         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
30491         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
30492         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
30493         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
30494         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30495         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
30496         <bits/epoll.h>.
30497         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
30498         (__EPOLL_PACKED): Define to empty if not defined by
30499         <bits/epoll.h>.
30500         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
30501         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30502         bits/epoll.h.
30503
30504 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30505
30506         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
30507         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
30508         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
30509         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
30510         <bits/timerfd.h>.
30511         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
30512         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30513         bits/timerfd.h.
30514
30515 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
30516
30517         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
30518         in C locale.
30519         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30520         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30521         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
30522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30523
30524 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
30525
30526         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30527         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
30528
30529 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
30530
30531         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
30532         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
30533         defined.
30534         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
30535         Likewise.
30536         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
30537         entry for 2.16.
30538
30539 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
30540
30541         * math/w_acos.c: Use non-signaling floating-point comparisons.
30542         * math/w_acosf.c: Likewise.
30543         * math/w_acosh.c: Likewise.
30544         * math/w_acoshf.c: Likewise.
30545         * math/w_acoshl.c: Likewise.
30546         * math/w_acosl.c: Likewise.
30547         * math/w_asin.c: Likewise.
30548         * math/w_asinf.c: Likewise.
30549         * math/w_asinl.c: Likewise.
30550         * math/w_atanh.c: Likewise.
30551         * math/w_atanhf.c: Likewise.
30552         * math/w_atanhl.c: Likewise.
30553         * math/w_exp2.c: Likewise.
30554         * math/w_exp2f.c: Likewise.
30555         * math/w_exp2l.c: Likewise.
30556         * math/w_j0.c: Likewise.
30557         * math/w_j0f.c: Likewise.
30558         * math/w_j0l.c: Likewise.
30559         * math/w_j1.c: Likewise.
30560         * math/w_j1f.c: Likewise.
30561         * math/w_j1l.c: Likewise.
30562         * math/w_jn.c: Likewise.
30563         * math/w_jnf.c: Likewise.
30564         * math/w_log.c: Likewise.
30565         * math/w_log10.c: Likewise.
30566         * math/w_log10f.c: Likewise.
30567         * math/w_log10l.c: Likewise.
30568         * math/w_log2.c: Likewise.
30569         * math/w_log2f.c: Likewise.
30570         * math/w_log2l.c: Likewise.
30571         * math/w_logf.c: Likewise.
30572         * math/w_logl.c: Likewise.
30573         * math/w_sqrt.c: Likewise.
30574         * math/w_sqrtf.c: Likewise.
30575         * math/w_sqrtl.c: Likewise.
30576         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30577         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30578         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30579         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30580         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30581
30582 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30583
30584         [BZ #9739]
30585         * manual/string.texi (strnlen): Use correct parameter name in
30586         equivalent expression.
30587
30588 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30589
30590         [BZ #11174]
30591         * manual/users.texi (seteuid): Consistently use neweuid for
30592         argument name.
30593
30594 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
30595
30596         [BZ #13704]
30597         * manual/nss.texi (Services in the NSS configuration): Correct
30598         list of services in example configuration file.
30599
30600 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
30601
30602         [BZ #11322]
30603         * manual/arith.texi: Remove statements about negative zero
30604         behaving identically to zero.
30605
30606 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
30607
30608         [BZ #5993]
30609         * manual/install.texi: Do not document upgrading from libc5.
30610
30611 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
30612
30613         [BZ #4596]
30614         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
30615
30616 2012-02-18  David S. Miller  <davem@davemloft.net>
30617
30618         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
30619         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
30620         %o7 across the call.
30621         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
30622         instead.
30623         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
30624         SETUP_PIC_REG_LEAF.
30625         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30626         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
30627         * sysdeps/sparc/crtn.S: Likewise.
30628
30629 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
30630
30631         * aout/Makefile: Remove.
30632
30633 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
30634
30635         [BZ #13058]
30636         * manual/examples/argp-ex1.c (main): Format definition in GNU
30637         style.
30638         * manual/examples/argp-ex2.c (main): Likewise.
30639         * manual/examples/argp-ex3.c (main): Likewise.
30640         * manual/examples/argp-ex4.c (main): Likewise.
30641         * manual/examples/longopt.c (main): Use new-style prototype
30642         definition.
30643         * manual/examples/strncat.c (main): Specify return type and use
30644         (void) for arguments.
30645         * manual/examples/subopt.c (main): Use char **argv argument.
30646
30647 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30648
30649         [BZ #5077]
30650         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
30651         rounding modes.
30652
30653 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
30654
30655         [BZ #6907]
30656         * manual/string.texi (strchr): Change when strchrnul is
30657         recommended.
30658
30659 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
30660
30661         [BZ #174]
30662         * manual/locale.texi (setlocale): Document LOCPATH.
30663
30664 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30665
30666         [BZ #10210]
30667         * manual/process.texi (execle): Move @dots{} before last argument.
30668
30669 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
30670
30671         [BZ #12047]
30672         * manual/charset.texi (Generic Charset Conversion): Fix typo
30673         (LC_TYPE -> LC_CTYPE).
30674
30675 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
30676
30677         [BZ #5805]
30678         * manual/arith.texi (scalbn): Use @var{} on parameter names.
30679         (scalbnf): Likewise.
30680         (scalbnl): Likewise.
30681         (scalbln): Likewise.
30682         (scalblnf): Likewise.
30683         (scalblnl): Likewise.
30684         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
30685         (vwarnx): Likewise.
30686         (verr): Likewise.
30687         (verrx): Likewise.
30688         * manual/filesys.texi (telldir): Use braces around return type.
30689         * manual/llio.texi (mmap): Add space after comma.
30690         (mmap64): Likewise.
30691         * manual/math.texi (jn): Use @var{} on parameter names.
30692         (jnf): Likewise.
30693         (jnl): Likewise.
30694         (yn): Likewise.
30695         (ynf): Likewise.
30696         (ynl): Likewise.
30697         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
30698         line.
30699         * manual/resource.texi (ulimit): Use @dots{} instead of literal
30700         "...".
30701         (sched_get_priority_min): Remove semicolon on @deftypefun line.
30702         (sched_get_priority_max): Likewise.
30703         * manual/signal.texi (sigvec): Add space after comma.
30704         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
30705         names.
30706         (if_indextoname): Likewise.
30707         (if_freenameindex): Likewise.
30708         (sendto): Use ',' instead of '.' in prototype.
30709         * manual/startup.texi (syscall): Use @dots{} instead of literal
30710         "...".
30711         * manual/stdio.texi (__fpending): Separate initial words of
30712         paragraph from @deftypefun line.
30713         * manual/syslog.texi (syslog): Use @dots{} instead of literal
30714         "...".
30715         (vsyslog): Use @var{} on parameter names.
30716         * manual/terminal.texi (stty): Use @var{} on parameter names.
30717         * manual/users.texi (getutmp): Use @var{} on parameter names.
30718         (getutmpx): Likewise.
30719
30720 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30721
30722         [BZ #6884]
30723         * manual/stdio.texi (fopen): Fix typos in description of
30724         ",ccs=STRING".
30725
30726 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
30727
30728         [BZ #4026]
30729         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
30730         get clock_id definition.
30731
30732 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
30733
30734         [BZ #4822]
30735         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
30736         (madvise): Cast every argument to void on its own.
30737
30738 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30739
30740         [BZ #9902]
30741         * manual/startup.texi (Exit Status): Fix typo.
30742
30743 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
30744
30745         [BZ #10140]
30746         * manual/examples/argp-ex1.c: Include <stdlib.h>.
30747         * manual/examples/argp-ex2.c: Likewise.
30748         * manual/examples/argp-ex3.c: Likewise.
30749
30750 2012-02-16  Richard Henderson  <rth@redhat.com>
30751
30752         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
30753         * sysdeps/s390/s390-32/initfini.c: Remove.
30754         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
30755         * sysdeps/s390/s390-64/initfini.c: Remove.
30756
30757 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30758
30759         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
30760         compiler output for sysdeps/generic/initfini.c.
30761         * sysdeps/sh/elf/initfini.c: Remove file.
30762
30763 2012-02-16  David S. Miller  <davem@davemloft.net>
30764
30765         [BZ #11494]
30766         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
30767
30768         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
30769         * sysdeps/sparc/crti.S: New file.
30770         * sysdeps/sparc/crtn.S: New file.
30771         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
30772         * sysdeps/sparc/sparc64/Makefile: Likewise.
30773
30774 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
30775
30776         [BZ #3335]
30777         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
30778
30779 2012-02-15  Roland McGrath  <roland@hack.frob.com>
30780
30781         [BZ #4822]
30782         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
30783
30784         * mach/devstream.c (cookie_io_functions_t): Macro removed.
30785         (write, read, close): Likewise.
30786         Patch by Aurelien Jarno <aurelien@aurel32.net>.
30787
30788 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
30789
30790         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
30791         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
30792         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
30793         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
30794         <bits/signalfd.h>.
30795         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
30796         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30797         bits/signalfd.h.
30798
30799 2012-02-14  Marek Polacek  <polacek@redhat.com>
30800
30801         * sysdeps/x86_64/crti.S: New file.
30802         * sysdeps/x86_64/crtn.S: New file.
30803         * sysdeps/x86_64/elf/initfini.c: Remove file.
30804
30805 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30806
30807         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
30808         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
30809         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
30810         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
30811         <bits/inotify.h>.
30812         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
30813         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30814         bits/inotify.h.
30815
30816 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
30817
30818         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
30819         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
30820         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
30821         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
30822         <bits/eventfd.h>.
30823         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
30824         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30825         bits/eventfd.h.
30826
30827 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
30828
30829         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
30830         __feraiseexcept instead of feraiseexcept.
30831
30832         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
30833         nanosleep invocations.
30834         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
30835         strings, and add error checking for a nanosleep invocations.
30836
30837 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
30838
30839         Replace FSF snail mail address with URLs, as per GNU coding standards.
30840         Most of the snail mail addresses were wrong anyway, and omitting
30841         them makes the source code easier to maintain.  Almost all of the
30842         changes are to license notices and to locale LC_IDENTIFICATION
30843         addresses, except for this one:
30844         * manual/libc.texinfo: In "Published by", give the FSF's URL,
30845         not its snail mail address.
30846
30847 2012-02-09  Richard Henderson  <rth@twiddle.net>
30848
30849         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
30850         of kernel-features.h.
30851
30852         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
30853
30854 2012-02-08  Marek Polacek  <polacek@redhat.com>
30855
30856         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
30857         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
30858         * sysdeps/gnu/_G_config.h: Likewise.
30859         * sysdeps/generic/_G_config.h: Likewise.
30860
30861 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
30862
30863         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
30864         tests.
30865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30866
30867         * sysdeps/powerpc/powerpc32/crti.S: New file.
30868         * sysdeps/powerpc/powerpc32/crtn.S: New file.
30869         * sysdeps/powerpc/powerpc64/crti.S: New file.
30870         * sysdeps/powerpc/powerpc64/crtn.S: New file.
30871
30872         * Makeconfig (have-initfini): Don't set.
30873         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
30874         * configure.in (nopic_initfini): Don't substitute.
30875         * config.h.in (HAVE_INITFINI): Don't #undef.
30876         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
30877         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
30878
30879 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
30880
30881         Support crti.S and crtn.S provided directly by architectures.
30882         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
30883         [crti.S in sysdirs] (omit-deps): Likewise.
30884         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
30885         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
30886         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
30887         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
30888         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
30889         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
30890         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
30891         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
30892         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
30893         compiler output for sysdeps/generic/initfini.c.
30894         * sysdeps/i386/elf/Makefile: Remove file.
30895         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
30896
30897 2012-02-07  Marek Polacek  <polacek@redhat.com>
30898
30899         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
30900         * sysdeps/gnu/_G_config.h: Likewise.
30901         * sysdeps/mach/hurd/_G_config.h: Likewise.
30902
30903 2012-02-07  Marek Polacek  <polacek@redhat.com>
30904
30905         * math/Makefile (tests): Add tst-CMPLX2.
30906         * math/tst-CMPLX2.c: New file.
30907
30908 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
30909
30910         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30911
30912         * math/libm-test.inc (jn_test): Add missing L suffix.
30913
30914 2012-02-06  Marek Polacek  <polacek@redhat.com>
30915
30916         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
30917         * sysdeps/i386/fpu/e_powf.S: Likewise.
30918         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30919         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
30920         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30921         * sysdeps/i386/fpu/e_pow.S: Likewise.
30922         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30923         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30924         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30925         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30926         * sysdeps/i386/fpu/e_log2.S: Likewise.
30927         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30928         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30929         * sysdeps/i386/fpu/e_powl.S: Likewise.
30930         * sysdeps/i386/fpu/s_log1p.S: Likewise.
30931         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30932         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30933         * sysdeps/i386/fpu/e_logl.S: Likewise.
30934         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30935         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
30936         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30937         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30938         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30939         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30940         * sysdeps/i386/fpu/e_log.S: Likewise.
30941         * sysdeps/i386/fpu/s_cexp.S: Likewise.
30942         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30943         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
30944         * sysdeps/i386/fpu/e_logf.S: Likewise.
30945         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30946         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30947         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
30948         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30949         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
30950         * sysdeps/i386/fpu/e_log10.S: Likewise.
30951         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30952         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30953         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30954         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30955         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30956         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30957         * sysdeps/i386/asm-syntax.h: Likewise.
30958         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30959         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30960         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30961         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
30962         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
30963         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30964         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30965         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30966         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30967         * sysdeps/powerpc/sysdep.h: Likewise.
30968         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
30969         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30970
30971 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
30972
30973         [BZ #411]
30974         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
30975
30976 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
30977
30978         * sysdeps/i386/sysdep.h: Include <features.h>.
30979         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
30980         version.
30981
30982 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
30983
30984         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
30985         Define.
30986         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
30987         LOAD_PIC_REG_STR.
30988
30989 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30990
30991         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
30992         (SETUP_PIC_REG): Use GET_PC_THUNK.
30993         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
30994         macro.
30995
30996 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
30997
30998         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
30999         for non-PIC compilation.
31000         (SETUP_PIC_REG): Add .p2align directive.
31001         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
31002         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31003         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31004         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31005         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31006         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31007         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31008         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31009         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31010         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31011         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31012         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31013         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31014         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31015         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31016         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31017         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31018         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31019         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31020         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31021         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
31022         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31023         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31024         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31025         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31026         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31027         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31028         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31029         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
31030         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
31031         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
31032         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
31033         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
31034         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
31035         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
31036         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
31037         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
31038         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
31039         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
31040         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
31041         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
31042
31043 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
31044
31045         * math/tst-CMPLX.c: Include <stdio.h>.
31046
31047 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
31048
31049         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
31050         float.
31051         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31052         * sysdeps/sparc/bits/mathdef.h: Likewise.
31053
31054 2012-01-31  Marek Polacek  <polacek@redhat.com>
31055
31056         * libio/libio.h: Don't define _PARAMS.
31057         * locale/programs/config.h: Don't define PARAMS.
31058         * stdlib/strtol_l.c: Likewise.
31059         (__strtol_l): Remove PARAMS from the prototype.
31060
31061 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
31062
31063         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
31064         names.  Just use the correct names.  Remove unnecessary wrapper
31065         functions.
31066         * malloc/arena.c: Likewise.
31067         * malloc/hooks.c: Likewise.
31068
31069         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
31070         ARENA_TEST says not to.  Simplify test for creation of a new arena.
31071         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
31072
31073 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
31074
31075         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
31076         into tail calls.
31077         (update_get_addr): New function.
31078         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
31079         GET_ADDR_MODULE parameter.
31080
31081 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
31082
31083         * crypt/cert.c: Remove __STDC__ conditionals.
31084         * crypt/crypt-entry.c: Likewise.
31085         * crypt/crypt_util.c: Likewise.
31086         * libio/filedoalloc.c: Likewise.
31087         * libio/fileops.c: Likewise.
31088         * libio/genops.c: Likewise.
31089         * libio/iofclose.c: Likewise.
31090         * libio/iofdopen.c: Likewise.
31091         * libio/iofopen.c: Likewise.
31092         * libio/iofopen64.c: Likewise.
31093         * libio/iogetdelim.c: Likewise.
31094         * libio/iopopen.c: Likewise.
31095         * libio/obprintf.c: Likewise.
31096         * libio/oldfileops.c: Likewise.
31097         * libio/oldiofclose.c: Likewise.
31098         * libio/oldiofdopen.c: Likewise.
31099         * libio/oldiofopen.c: Likewise.
31100         * libio/oldiopopen.c: Likewise.
31101         * libio/wfiledoalloc.c: Likewise.
31102         * libio/wgenops.c: Likewise.
31103         * locale/programs/xmalloc.c: Likewise.
31104         * misc/syslog.c: Likewise.
31105         * stdio-common/xbug.c: Likewise.
31106         * string/memchr.c: Likewise.
31107         * string/memcmp.c: Likewise.
31108         * string/memrchr.c: Likewise.
31109         * string/rawmemchr.c: Likewise.
31110         * sysdeps/posix/getcwd.c: Likewise.
31111         * time/strftime_l.c: Likewise.
31112
31113 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
31114
31115         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
31116         * config.make.in (config-cflags-sse2avx): Define.
31117         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
31118         Fix typo.
31119
31120 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
31121
31122         * scripts/config.guess: Update from upstream config git repository.
31123         * scripts/config.sub: Likewise.
31124
31125 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
31126
31127         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
31128         (EM_NUM): Update.
31129         (R_TILEPRO_*, R_TILEGX_*): New macros.
31130
31131         * scripts/firstversions.awk: Fix bug in version range handling.
31132
31133         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
31134
31135         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
31136
31137         * include/sys/epoll.h: New file.
31138         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
31139         libc_hidden_def.
31140
31141 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
31142
31143         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
31144         Avoid unnecessary __WORDSIZE == 64 test.
31145         (fmaxf): Use VEX format if possible.
31146         (fmax): Likewise.
31147         (fminf): Likewise.
31148         (fmin): Likewise.
31149
31150         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
31151         * math/math_private.h: Remove libc_fegetround* and
31152         libc_fesetround*.
31153         * sysdeps/i386/configure.in: Check for -msse2avx.
31154         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
31155         also if SSE2AVX is defined.
31156         Remove libc_fegetround* and libc_fesetround*.
31157         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
31158         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
31159         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
31160         of HAS_YMM_USABLE.
31161         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31162         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31163         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31164         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31165         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31166
31167         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
31168
31169 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31170
31171         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
31172         size is not set.
31173         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31174
31175 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
31176
31177         [BZ #13618]
31178         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
31179         relocation.
31180         * Makeconfig (libm): Define.
31181         * elf/Makefile: Add rules to build and run tst-relsort1.
31182         * elf/tst-relsort1.c: New file.
31183         * elf/tst-relsort1mod1.c: New file.
31184         * elf/tst-relsort1mod2.c: New file.
31185
31186 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
31187
31188         * math/s_ldexp.c: Remove __STDC__ conditionals.
31189         * math/s_ldexpf.c: Likewise.
31190         * math/s_ldexpl.c: Likewise.
31191         * math/s_nextafter.c: Likewise.
31192         * math/s_nexttowardf.c: Likewise.
31193         * math/s_significand.c: Likewise.
31194         * math/s_significandf.c: Likewise.
31195         * math/s_significandl.c: Likewise.
31196         * math/w_jnl.c: Likewise.
31197         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
31198         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
31199         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
31200         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
31201         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
31202         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31203         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
31204         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31205         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31206         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31207         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31208         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31209         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31210         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
31211         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31212         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31213         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31214         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31215         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31216         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31217         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31218         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31219         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31220         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31221         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31222         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31223         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31224         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31225         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
31226         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31227         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31228         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
31229         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31230         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
31231         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
31232         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31233         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
31234         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
31235         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
31236         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
31237         * sysdeps/ieee754/k_standard.c: Likewise.
31238         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31239         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31240         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
31241         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
31242         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
31243         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31244         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31245         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31246         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31247         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31248         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31249         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31250         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31251         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31252         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31253         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31254         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31255         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31256         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31257         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31258         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31259         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31260         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31261         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31262         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31263         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31264         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31265         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31266         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31267         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31268         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31269         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
31270         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31271         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31272         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31273         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31274         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
31275         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31276         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31277         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
31278         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
31279         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31280         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31281         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
31282         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31283         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31284         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31285         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31286         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31287         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31288         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
31289         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31290         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31291         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31292         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31293         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31294         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
31295         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31296         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31297         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31298         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31299         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31300         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31301         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31302         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31303         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31304         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31305         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31306         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31307         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31308         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31309         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31310         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31311         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31312         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31313         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31314         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31315         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31316         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31317         * sysdeps/ieee754/s_matherr.c: Likewise.
31318         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31319         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31320         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31321         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31322
31323 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
31324
31325         * crypt/md5.h: Remove __STDC__ conditionals.
31326         * libio/libioP.h: Likewise.
31327         * locale/programs/config.h: Likewise.
31328         * sysdeps/generic/sysdep.h: Likewise.
31329         * sysdeps/i386/asm-syntax.h: Likewise.
31330         * sysdeps/s390/asm-syntax.h: Likewise.
31331         * sysdeps/unix/sysdep.h: Likewise.
31332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31334
31335 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
31336
31337         * libio/libio.h: Remove __STDC__ conditionals.
31338         * malloc/obstack.h: Likewise.
31339         * math/complex.h: Likewise.
31340         * math/math.h: Likewise.
31341         * sysdeps/generic/_G_config.h: Likewise.
31342         * sysdeps/gnu/_G_config.h: Likewise.
31343         * sysdeps/mach/hurd/_G_config.h: Likewise.
31344         * sysdeps/powerpc/bits/mathdef.h: Likewise.
31345         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
31346         * sysdeps/sparc/bits/mathdef.h: Likewise.
31347
31348 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
31349
31350         [BZ #13583]
31351         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
31352         Clean up HAS_* macros.
31353         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
31354         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
31355         possible.
31356         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
31357         HAS_AVX.
31358         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31359         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31360         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31361         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31362         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31363
31364 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
31365
31366         * elf/tst-unique3.cc (gets): Remove declaration.
31367         * elf/tst-unique3lib.cc (gets): Likewise.
31368         * elf/tst-unique3lib2.cc (gets): Likewise.
31369         * elf/tst-unique4.cc (gets): Likewise.
31370
31371 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
31372
31373         * include/stdio.h: Add C++ protection.  Add gets declarations and
31374         definitions.
31375         * debug/tst-chk1.c: Don't declare gets here.
31376         * stdio-common/tst-gets.c: Likewise.
31377
31378 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
31379
31380         * posix/glob: Remove directory.
31381
31382 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
31383
31384         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
31385
31386 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
31387
31388         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
31389         of the non-standard EPFNOSUPPORT.
31390
31391 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31392
31393         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
31394         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
31395         ANYWHERE set to 1 only on KERN_NO_SPACE error.
31396
31397 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
31398
31399         * wcsmbs/uchar.h: Test __STDC_VERSION__.
31400
31401 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
31402
31403         * nscd/aicache.c (addhstaiX): Do not cache negative results of
31404         transient errors.
31405         * nscd/grpcache.c (cache_addgr): Likewise.
31406         * nscd/hstcache.c (cache_addhst): Likewise.
31407         * nscd/initgrcache.c (addinitgroupsX): Likewise.
31408         * nscd/pwdcache.c (cache_addpw): Likewise.
31409         * nscd/servicescache.c (cache_addserv): Likewise.
31410
31411 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
31412
31413         * malloc/malloc.c: Various cleanups.
31414         * malloc/hooks.c: Likewise.
31415
31416         * stdlib/Makefile (tests): Add bug-fmtmsg1.
31417         * stdlib/bug-fmtmsg1.c: New file.
31418
31419         * stdlib/fmtmsg.c (init): Add missing unlock.
31420         Patch by Peng Haitao <penght@cn.fujitsu.com>.
31421
31422 2012-01-12  Marek Polacek  <polacek@redhat.com>
31423
31424         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
31425         and _GNU_SOURCE.
31426
31427 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
31428
31429         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
31430         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
31431         macro to ensure uniqueness of label name.
31432         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
31433         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
31434
31435 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
31436
31437         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
31438
31439         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
31440         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
31441         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31442         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
31443
31444 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
31445
31446         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
31447
31448         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
31449         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
31450         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31451
31452         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
31453
31454         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
31455         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
31456         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31457         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
31458
31459         * math/bits/math-finite.h: Add ldexp support.
31460
31461 2012-01-10  Marek Polacek  <polacek@redhat.com>
31462
31463         * locale/programs/localedef.h (show_archive_content): Add noreturn
31464         attribute.
31465
31466 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
31467
31468         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
31469
31470 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31471
31472         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
31473
31474         * io/Makefile (headers): Add bits/poll2.h.
31475
31476 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
31477
31478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
31479         typo #include statement.
31480
31481 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31482
31483         * include/sys/cdefs.h: Define __attribute_alloc_size.
31484         * catgets/gencat.c: Add alloc_size attribute and apply consistently
31485         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
31486         * elf/pldd.c: Likewise.
31487         * iconv/iconv_charmap.c: Likewise.
31488         * iconv/iconvconfig.c: Likewise.
31489         * iconv/strtab.c: Likewise.
31490         * locale/programs/locale.c: Likewise.
31491         * locale/programs/localedef.h: Likewise.
31492         * locale/programs/simple-hash.c: Likewise.
31493         * nscd/nscd.h: Likewise.
31494         * nss/makedb.c: Likewise.
31495         * sysdeps/generic/ldconfig.h: Likewise.
31496         * locale/programs/localedef.c: Remove xmalloc prototype.
31497         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
31498
31499 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31500
31501         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
31502         appropriate.
31503
31504 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
31505
31506         * math/Makefile (tests): Add tst-CMPLX.
31507         * math/tst-CMPLX.c: New file.
31508
31509         * math/complex.h (CMPLXL): Fix typo.
31510
31511         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
31512         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
31513         GLIBC_2.16.
31514         * debug/tst-chk1.c: Add poll and ppoll tests.
31515         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
31516         * include/sys/poll.h: Add hidden proto for ppoll.
31517         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
31518         * sysdeps/mach/hurd/ppoll.c: Likewise.
31519         * io/ppoll.c: Likewise.
31520         * debug/poll_chk.c: New file.
31521         * debug/ppoll_chk.c: New file.
31522         * include/bits/poll2.h: New file.
31523         * io/bits/poll2.h: New file.
31524
31525         [BZ #1350]
31526         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
31527
31528         * configure.in: static is always set to yes.  Remove.
31529         * config.make.in: Don't set build-static.
31530         * Makeconfig: Remove use of build-static.
31531         * dlfcn/Makefile: Likewise.
31532         * elf/Makefile: Likewise.
31533         * math/Makefile: Likewise.
31534         * misc/Makefile: Likewise.
31535         * nptl/Makefile: Likewise.
31536         * sysdeps/mach/hurd/Makefile: Likewise.
31537
31538         * configure.in: PWD_P is not used anymore.
31539         * config.make.in: Remove PWD_P entry.
31540
31541         * configure.in: Remove last remnants of RANLIB.
31542         No need to check for signed size_t anymore.
31543         Don't set libc_commonpagesize and libc_relro_required here for Alpha
31544         and IA-64.
31545         Remove __builtin_expect test because we require at least gcc 3.4.
31546         * aclocal.m4: Likewise.
31547
31548         * wcsmbs/mbrtoc16.c: Implement using towc function.
31549         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
31550         * wcsmbs/wcsmbsload.c: Likewise.
31551         * iconv/gconv_simple.c: Likewise.
31552         * iconv/gconv_int.h: Likewise.
31553         * iconv/gconv_builtin.h: Likewise.
31554         * iconv/iconv_prog.c: Remove CHAR16 handling.
31555
31556         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
31557
31558         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
31559
31560         * configure.in: Remove --with-elf and --enable-bounded options.
31561         Dont set base_machine for ia64.  More non-ELF conditions removed.
31562         Remove testing and setting of leading underscore information.
31563         * config.make.in (build-bounded): Set to no.
31564         * config.h.in: Remove NO_UNDERSCORES entry.
31565         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
31566         them.
31567         * csu/start.c: Remove !NO_UNDERSCORE code.
31568         * locale/localeinfo.h: Likewise.
31569         * sysdeps/generic/machine-gmon.h: Likewise.
31570         * sysdeps/generic/sysdep.h: Likewise.
31571         * sysdeps/i386/sysdep.h: Likewise.
31572         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31573         * sysdeps/mach/sysdep.h: Likewise.
31574         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31575         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31576         * sysdeps/sh/sysdep.h: Likewise.
31577         * sysdeps/sparc/sparc32/alloca.S: Likewise.
31578         * sysdeps/unix/i386/sysdep.S: Likewise.
31579         * sysdeps/unix/sparc/start.c: Likewise.
31580         * sysdeps/unix/sparc/sysdep.S: Likewise.
31581         * sysdeps/unix/sparc/sysdep.h: Likewise.
31582         * sysdeps/unix/start.c: Likewise.
31583         * sysdeps/unix/x86_64/sysdep.S: Likewise.
31584         * sysdeps/x86_64/sysdep.h: Likewise.
31585
31586 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
31587
31588         [BZ #13553]
31589         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
31590         for non-gcc.
31591         * argp/argp-fmtstream.h: Use const instead __const.
31592         * argp/argp.h: Likewise.
31593         * assert/assert.h: Likewise.
31594         * bits/fenv.h: Likewise.
31595         * bits/sched.h: Likewise.
31596         * bits/sigset.h: Likewise.
31597         * bits/sigthread.h: Likewise.
31598         * catgets/nl_types.h: Likewise.
31599         * conform/data/pthread.h-data: Likewise.
31600         * crypt/crypt-private.h: Likewise.
31601         * crypt/crypt.h: Likewise.
31602         * crypt/crypt_util.c: Likewise.
31603         * ctype/ctype.h: Likewise.
31604         * debug/execinfo.h: Likewise.
31605         * debug/mbsnrtowcs_chk.c: Likewise.
31606         * debug/mbsrtowcs_chk.c: Likewise.
31607         * debug/wcsnrtombs_chk.c: Likewise.
31608         * debug/wcsrtombs_chk.c: Likewise.
31609         * debug/wcstombs_chk.c: Likewise.
31610         * dirent/dirent.h: Likewise.
31611         * dlfcn/dlfcn.h: Likewise.
31612         * elf/neededtest4.c: Likewise.
31613         * grp/grp.h: Likewise.
31614         * gshadow/gshadow.h: Likewise.
31615         * iconv/gconv.h: Likewise.
31616         * iconv/gconv_int.h: Likewise.
31617         * iconv/gconv_simple.c: Likewise.
31618         * iconv/iconv.h: Likewise.
31619         * iconv/loop.c: Likewise.
31620         * iconv/skeleton.c: Likewise.
31621         * include/aio.h: Likewise.
31622         * include/aliases.h: Likewise.
31623         * include/argz.h: Likewise.
31624         * include/arpa/inet.h: Likewise.
31625         * include/assert.h: Likewise.
31626         * include/dirent.h: Likewise.
31627         * include/dlfcn.h: Likewise.
31628         * include/execinfo.h: Likewise.
31629         * include/fcntl.h: Likewise.
31630         * include/fenv.h: Likewise.
31631         * include/glob.h: Likewise.
31632         * include/grp.h: Likewise.
31633         * include/libintl.h: Likewise.
31634         * include/mntent.h: Likewise.
31635         * include/netdb.h: Likewise.
31636         * include/pwd.h: Likewise.
31637         * include/rpc/netdb.h: Likewise.
31638         * include/sched.h: Likewise.
31639         * include/search.h: Likewise.
31640         * include/shadow.h: Likewise.
31641         * include/signal.h: Likewise.
31642         * include/stdio.h: Likewise.
31643         * include/stdlib.h: Likewise.
31644         * include/string.h: Likewise.
31645         * include/sys/socket.h: Likewise.
31646         * include/sys/stat.h: Likewise.
31647         * include/sys/statfs.h: Likewise.
31648         * include/sys/statvfs.h: Likewise.
31649         * include/sys/syslog.h: Likewise.
31650         * include/sys/time.h: Likewise.
31651         * include/sys/uio.h: Likewise.
31652         * include/time.h: Likewise.
31653         * include/unistd.h: Likewise.
31654         * include/utmp.h: Likewise.
31655         * include/wchar.h: Likewise.
31656         * include/wctype.h: Likewise.
31657         * inet/aliases.h: Likewise.
31658         * inet/arpa/inet.h: Likewise.
31659         * inet/netinet/ether.h: Likewise.
31660         * inet/netinet/in.h: Likewise.
31661         * intl/libintl.h: Likewise.
31662         * io/bits/fcntl2.h: Likewise.
31663         * io/fcntl.h: Likewise.
31664         * io/ftw.h: Likewise.
31665         * io/sys/poll.h: Likewise.
31666         * io/sys/stat.h: Likewise.
31667         * io/sys/statfs.h: Likewise.
31668         * io/sys/statvfs.h: Likewise.
31669         * io/utime.h: Likewise.
31670         * libio/bits/stdio.h: Likewise.
31671         * libio/bits/stdio2.h: Likewise.
31672         * libio/libio.h: Likewise.
31673         * libio/libioP.h: Likewise.
31674         * libio/stdio.h: Likewise.
31675         * locale/lc-ctype.c: Likewise.
31676         * locale/locale.h: Likewise.
31677         * login/utmp.h: Likewise.
31678         * malloc/arena.c: Likewise.
31679         * malloc/malloc.c: Likewise.
31680         * malloc/malloc.h: Likewise.
31681         * malloc/mcheck.c: Likewise.
31682         * malloc/mtrace.c: Likewise.
31683         * math/bits/mathcalls.h: Likewise.
31684         * math/fenv.h: Likewise.
31685         * math/math_private.h: Likewise.
31686         * misc/bits/error.h: Likewise.
31687         * misc/bits/syslog.h: Likewise.
31688         * misc/err.h: Likewise.
31689         * misc/error.h: Likewise.
31690         * misc/fstab.h: Likewise.
31691         * misc/mntent.h: Likewise.
31692         * misc/regexp.h: Likewise.
31693         * misc/search.h: Likewise.
31694         * misc/sgtty.h: Likewise.
31695         * misc/sys/mman.h: Likewise.
31696         * misc/sys/syslog.h: Likewise.
31697         * misc/sys/uio.h: Likewise.
31698         * misc/sys/xattr.h: Likewise.
31699         * misc/ttyent.h: Likewise.
31700         * nis/rpcsvc/ypclnt.h: Likewise.
31701         * nss/nss.h: Likewise.
31702         * posix/bits/unistd.h: Likewise.
31703         * posix/fnmatch.h: Likewise.
31704         * posix/glob.h: Likewise.
31705         * posix/sched.h: Likewise.
31706         * posix/spawn.h: Likewise.
31707         * posix/sys/wait.h: Likewise.
31708         * posix/unistd.h: Likewise.
31709         * posix/wordexp.h: Likewise.
31710         * pwd/pwd.h: Likewise.
31711         * resolv/netdb.h: Likewise.
31712         * resource/sys/resource.h: Likewise.
31713         * rt/aio.h: Likewise.
31714         * rt/bits/mqueue2.h: Likewise.
31715         * rt/mqueue.h: Likewise.
31716         * shadow/shadow.h: Likewise.
31717         * signal/signal.h: Likewise.
31718         * socket/send.c: Likewise.
31719         * socket/sendto.c: Likewise.
31720         * socket/sys/socket.h: Likewise.
31721         * stdio-common/printf.h: Likewise.
31722         * stdlib/bits/stdlib.h: Likewise.
31723         * stdlib/fmtmsg.h: Likewise.
31724         * stdlib/monetary.h: Likewise.
31725         * stdlib/stdlib.h: Likewise.
31726         * stdlib/ucontext.h: Likewise.
31727         * streams/stropts.h: Likewise.
31728         * string/argz.h: Likewise.
31729         * string/bits/string2.h: Likewise.
31730         * string/string.h: Likewise.
31731         * string/strings.h: Likewise.
31732         * sunrpc/rpc/auth.h: Likewise.
31733         * sunrpc/rpc/auth_des.h: Likewise.
31734         * sunrpc/rpc/clnt.h: Likewise.
31735         * sunrpc/rpc/netdb.h: Likewise.
31736         * sunrpc/rpc/pmap_clnt.h: Likewise.
31737         * sunrpc/rpc/xdr.h: Likewise.
31738         * sysdeps/generic/inttypes.h: Likewise.
31739         * sysdeps/generic/net/if.h: Likewise.
31740         * sysdeps/generic/sys/swap.h: Likewise.
31741         * sysdeps/gnu/net/if.h: Likewise.
31742         * sysdeps/gnu/utmpx.h: Likewise.
31743         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
31744         * sysdeps/i386/i486/bits/string.h: Likewise.
31745         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
31746         * sysdeps/s390/bits/string.h: Likewise.
31747         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
31748         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
31749         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
31750         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
31751         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
31752         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
31753         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
31754         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
31755         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
31756         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31757         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
31758         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31759         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
31760         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31761         * sysdeps/unix/sysv/linux/readv.c: Likewise.
31762         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
31763         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31764         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31765         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
31766         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
31767         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
31768         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
31769         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
31770         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
31771         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
31772         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
31773         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
31774         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
31775         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
31776         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
31777         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
31778         * sysvipc/sys/ipc.h: Likewise.
31779         * sysvipc/sys/msg.h: Likewise.
31780         * sysvipc/sys/sem.h: Likewise.
31781         * sysvipc/sys/shm.h: Likewise.
31782         * termios/termios.h: Likewise.
31783         * time/sys/time.h: Likewise.
31784         * time/time.h: Likewise.
31785         * wcsmbs/bits/wchar2.h: Likewise.
31786         * wcsmbs/uchar.h: Likewise.
31787         * wcsmbs/wchar.h: Likewise.
31788         * wctype/wctype.h: Likewise.
31789
31790         [BZ #13551]
31791         * Makeconfig: Remove all but ELF support including AIX support.
31792         * Makerules: Likewise.
31793         * config.h.in: Likewise.
31794         * config.make.in: Likewise.
31795         * configure: Likewise.
31796         * configure.in: Likewise.
31797         * csu/Makefile: Likewise.
31798         * csu/version.c: Likewise.
31799         * debug/Makefile: Likewise.
31800         * dlfcn/Makefile: Likewise.
31801         * elf/Makefile: Likewise.
31802         * extra-lib.mk: Likewise.
31803         * iconv/Makefile: Likewise.
31804         * include/libc-symbols.h: Likewise.
31805         * include/shlib-compat.h: Likewise.
31806         * resolv/Makefile: Likewise.
31807         * resolv/res_libc.c: Likewise.
31808         * rt/Makefile: Likewise.
31809         * sysdeps/i386/asm-syntax.h: Likewise.
31810         * sysdeps/i386/sysdep.h: Likewise.
31811         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
31812         * sysdeps/mach/sysdep.h: Likewise.
31813         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
31814         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
31815         * sysdeps/s390/asm-syntax.h: Likewise.
31816         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31817         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31818         * sysdeps/sh/sysdep.h: Likewise.
31819         * sysdeps/unix/sparc/sysdep.h: Likewise.
31820         * sysdeps/wordsize-32/divdi3.c: Likewise.
31821         * sysdeps/x86_64/sysdep.h: Likewise.
31822
31823         * argp/Versions: Remove _argp_unlock_xxx.
31824
31825         [BZ #13559]
31826         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
31827         * abilist/libBrokenLocale.abilist: Likewise.
31828         * abilist/libanl.abilist: Likewise.
31829         * abilist/libc.abilist: Likewise.
31830         * abilist/libcrypt.abilist: Likewise.
31831         * abilist/libdl.abilist: Likewise.
31832         * abilist/libm.abilist: Likewise.
31833         * abilist/libnsl.abilist: Likewise.
31834         * abilist/libpthread.abilist: Likewise.
31835         * abilist/libresolv.abilist: Likewise.
31836         * abilist/librt.abilist: Likewise.
31837         * abilist/libthread_db.abilist: Likewise.
31838         * abilist/libutil.abilist: Likewise.
31839         * abilist/libnss_db.abilist: New file.
31840
31841         * scripts/abilist.awk: Add support for indirect functions.
31842
31843         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
31844
31845         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
31846
31847         * shlib-versions: Remove entries for ports architectures.
31848
31849         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
31850         files in ports.
31851         * elf/stackguard-macros.h: Remove support for IA-64.
31852         * elf/tst-auditmod1.c: Likewise.
31853         * sysdeps/generic/ldsodefs.h: Likewise.
31854
31855         * sysdeps/unix/sysv/linux/configure.in: Ports should define
31856         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
31857         configure files.
31858
31859         [BZ #13552]
31860         * configure.in: Remove --enable-omitfp support.
31861         * FAQ.in: Adjust.
31862         * config.make.in: Likewise.
31863         * Makeconfig: Likewise.
31864         * manual/install.texi: Likewise.
31865
31866         In case anyone cares, the IA-64 architecture could move to ports.
31867         * sysdeps/ia64/*: Removed.
31868         * sysdeps/unix/sysv/linux/ia64/*: Removed.
31869         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
31870
31871         [BZ #13555]
31872         * configure.in: Remove entries for unsupported architectures.
31873
31874         [BZ #13533]
31875         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
31876         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
31877         routines.
31878         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
31879         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
31880         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
31881         fall back to using wcrtomb.
31882         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
31883         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
31884         renaming.
31885         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
31886         * wcsmbs/tst-c16c32-1.c: New file.
31887
31888         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
31889         local variable.
31890
31891         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
31892
31893         * elf/tst-unique3.cc: Add explicit declaration of gets.
31894         * elf/tst-unique3lib.cc: Likewise.
31895         * elf/tst-unique3lib2.cc: Likewise.
31896         * elf/tst-unique4.cc: Likewise.
31897
31898         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
31899
31900 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
31901
31902         [BZ #13566]
31903         * assert/assert.h (static_assert): Don't define for C++.
31904         * libio/stdio.h (gets): Do declare for C++ <= C++11.
31905         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
31906
31907 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
31908
31909         * iconv/loop.c (single loop): Fix assertion in storing of
31910         remaining bytes.
31911
31912         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
31913
31914 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
31915
31916         * posix/getconf.c: Update copyright year.
31917         * nss/getent.c: Likewise.
31918         * nss/makedb.c: Likewise.
31919         * iconv/iconvconfig.c: Likewise.
31920         * iconv/iconv_prog.c: Likewise.
31921         * elf/ldconfig.c: Likewise.
31922         * elf/pldd.c: Likewise.
31923         * elf/sotruss.ksh: Likewise.
31924         * catgets/gencat.c: Likewise.
31925         * csu/version.c: Likewise.
31926         * elf/ldd.bash.in: Likewise.
31927         * elf/sprof.c (print_version): Likewise.
31928         * locale/programs/locale.c: Likewise.
31929         * locale/programs/localedef.c: Likewise.
31930         * login/programs/pt_chown.c: Likewise.
31931         * nscd/nscd.c (print_version): Likewise.
31932         * debug/xtrace.sh: Likewise.
31933         * malloc/memusage.sh: Likewise.
31934         * malloc/mtrace.pl: Likewise.
31935         * debug/catchsegv.sh: Likewise.
31936
31937 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
31938
31939         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
31940         pure attribute.
31941
31942 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
31943
31944         [BZ #13533]
31945         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
31946         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
31947         transformations.
31948         * iconv/gconv_int.h: Likewise.
31949         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
31950         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
31951         from libc for GLIBC_2.16.
31952         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
31953         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
31954         * wcsmbs/uchar.h: Really define mbstate_t.
31955         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
31956         * wcsmbs/c16rtomb.c: New file.
31957         * wcsmbs/mbrtoc16.c: New file.
31958         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
31959         for C/POSIX locale.
31960         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
31961         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
31962
31963         * wcsmbs/wchar.h: Add missing __restrict.
31964
31965 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
31966
31967         [BZ #13532]
31968         * time/Makefile (routines): Add timespec_get.
31969         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
31970         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
31971         timespec for ISO C11.
31972         * time/timespec_get.c: New file.
31973         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
31974         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
31975
31976         [BZ #13531]
31977         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
31978         * stdlib/stdlib.h: Declare aligned_alloc.
31979         * Versions.def: Add GLIBC_2.16 for libc.
31980         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
31981
31982         [BZ 13527]
31983         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
31984         ISO C11.
31985
31986         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
31987         code.
31988
31989         [BZ #13528]
31990         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
31991
31992         [BZ #13529]
31993         * assert/assert.h (static_assert): Define.
31994
31995         * version.h: Update for 2.16 development version.
31996
31997         [BZ #13526]
31998         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
31999         _ISOC11_SOURCE.
32000
32001         * version.h (RELEASE): Bump for 2.15 release.
32002         * include/features.h (__GLIBC_MINOR__): Bump to 15.
32003
32004         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
32005         Patch by Marek Polacek <mpolacek@redhat.com>.
32006
32007         * bits/byteswap.h: Protect long long constants with __extension__.
32008         * sysdeps/i386/bits/byteswap.h: Likewise.
32009         * sysdeps/ia64/bits/byteswap.h: Likewise.
32010         * sysdeps/s390/bits/byteswap.h: Likewise.
32011         * sysdeps/x86_64/bits/byteswap.h: Likewise.
32012
32013 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32014
32015         [BZ #13540]
32016         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
32017         destination buffer.
32018         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32019
32020 2011-12-23  Marek Polacek  <polacek@redhat.com>
32021
32022         * elf/dl-addr.c (determine_info): Add inline keyword.
32023         * elf/tst-auditmod4b.c (check_avx): Likewise.
32024         * elf/tst-auditmod6b.c (check_avx): Likewise.
32025         * elf/tst-auditmod6c.c (check_avx): Likewise.
32026         * elf/tst-auditmod7b.c (check_avx): Likewise.
32027
32028 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
32029
32030         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
32031         !__SSE_MATH__.
32032
32033 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32034
32035         [BZ #13540]
32036         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
32037         processing for last bytes.
32038
32039 2011-08-06  Bruno Haible  <bruno@clisp.org>
32040
32041         [BZ #13061]
32042         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
32043         U+0385, not to U+1FEE.
32044
32045         [BZ #13062]
32046         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
32047         entry for U+00A5 U+0301.
32048
32049 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
32050
32051         [BZ #13166]
32052         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
32053         buffer for the output is too small.
32054
32055         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
32056         optimization.
32057
32058         [BZ #13185]
32059         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
32060         SSE flags if possible.
32061
32062 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32063
32064         [BZ #13540]
32065         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
32066         processing for last bytes.
32067
32068 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
32069
32070         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
32071         (syscall-list-default-options, syscall-list-default-condition)
32072         (syscall-list-includes): Define.
32073         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
32074         list of ABIs and options and #if conditions for each ABI.  Do not
32075         handle common syscalls between ABIs specially.
32076         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
32077         Remove.
32078         (syscall-list-variants, syscall-list-32bit-options)
32079         (syscall-list-32bit-condition, syscall-list-64bit-options)
32080         (syscall-list-64bit-condition): Define.
32081         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
32082         (syscall-list-variants, syscall-list-32bit-options)
32083         (syscall-list-32bit-condition, syscall-list-64bit-options)
32084         (syscall-list-64bit-condition): Define.
32085         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
32086         Remove.
32087         (syscall-list-variants, syscall-list-32bit-options)
32088         (syscall-list-32bit-condition, syscall-list-64bit-options)
32089         (syscall-list-64bit-condition): Define.
32090         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
32091         Remove.
32092         (syscall-list-variants, syscall-list-32bit-options)
32093         (syscall-list-32bit-condition, syscall-list-64bit-options)
32094         (syscall-list-64bit-condition): Define.
32095
32096 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
32097
32098         * locale/iso-639.def: Add brx entry.
32099
32100         [BZ #13328]
32101         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
32102         Proposed by Mariusz_Cukr <marcukr@op.pl>.
32103
32104         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
32105         __feraiseexcept_renamed.
32106
32107 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
32108
32109         [BZ #13538]
32110         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
32111         EPOLLET with unsigned values.
32112         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32113         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
32114
32115         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
32116         to large cancellation.
32117         * math/s_cacoshf.c: Likewise.
32118         * math/s_cacoshl.c: Likewise.
32119
32120 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
32121
32122         [BZ #13305]
32123         [BZ #12786]
32124         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
32125         * math/s_cacoshf.c: Likewise.
32126         * math/s_cacoshl.c: Likewise.
32127
32128 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
32129
32130         [BZ #13439]
32131         * iconv/gconv.h: Define __GCONV_SWAP.
32132         * iconvdata/unicode.c: The swap bit must be stored in __flags.
32133         * iconvdata/utf-16.c: Likewise.
32134         * iconvdata/utf-32.c: Likewise.
32135
32136 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
32137
32138         [BZ #13524]
32139         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
32140         numerator after shifting it by one limb.
32141
32142 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
32143
32144         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
32145         under [__USE_EXTERN_INLINES].
32146
32147 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
32148
32149         [BZ #13446]
32150         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
32151
32152 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32153
32154         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
32155         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
32156         optimized code.
32157         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
32158         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
32159         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
32160         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
32161         for strncasecmp/strncasecmp_l compilation.
32162         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
32163         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
32164
32165 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
32166
32167         [BZ #13484]
32168         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
32169         of __asm__.
32170
32171 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
32172
32173         [BZ #13506]
32174         * time/tzfile.c (__tzfile_read): Check values from file header.
32175
32176 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
32177
32178         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
32179         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
32180         * powerpc/powerpc32/dl-start.S: Likewise.
32181         * powerpc/powerpc32/elf/start.S: Likewise.
32182         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32183         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
32184         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
32185         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
32186         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
32187         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
32188         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
32189         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32190         * powerpc/powerpc32/fpu/s_round.S: Likewise.
32191         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
32192         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
32193         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
32194         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32195         * powerpc/powerpc32/memset.S: Likewise.
32196         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
32197         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32198         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32199         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32200         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32201         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32202         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32203         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32204         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
32205         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
32206         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
32207         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
32208         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
32209
32210 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32211
32212         * math/libm-test.inc: Added more nearbyint tests.
32213         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
32214         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
32215         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
32216         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
32217
32218 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
32219
32220         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
32221         FD_CLOEXEC.
32222
32223 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32224
32225         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
32226         Add wcscpy-ssse3 wcscpy-c.
32227         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
32228         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
32229         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
32230         * sysdeps/x86_64/wcschr.S: New file.
32231         * sysdeps/x86_64/wcsrchr.S: New file.
32232         * string/test-strcmp.c: Remove checking of wcscmp function for
32233         wrong alignments.
32234         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
32235         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
32236         wcsrchr-sse2 wcsrchr-c.
32237         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
32238         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
32239         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
32240         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
32241         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
32242         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
32243         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
32244         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
32245         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
32246         * wcsmbc/wcschr.c (WCSCHR): New macro.
32247
32248 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32249
32250         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
32251         * wcsmbs/test-wcsrchr.c: New file.
32252         * string/test-strrchr.c: Add wcsrchr support.
32253         (WIDE): New macro.
32254         * wcsmbs/test-wcscpy.c: New file.
32255         * string/test-strcpy.c: Add wcscpy support.
32256         (WIDE): New macro.
32257
32258 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
32259
32260         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
32261         the inner loop.
32262
32263 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
32264
32265         [BZ #13472]
32266         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
32267
32268 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
32269
32270         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
32271         Minor optimizations.
32272
32273         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
32274         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
32275         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
32276
32277 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
32278
32279         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
32280         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
32281         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
32282         for gcc to avoid warnings.
32283         * inet/Makefile (tests): Add tst-checks.
32284         * inet/tst-checks.c: New file.
32285
32286         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
32287         warning.
32288
32289         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
32290         __wmemcmp_sse2.
32291
32292         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
32293         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
32294
32295         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
32296
32297 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
32298
32299         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
32300         problem.
32301
32302         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
32303
32304 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
32305
32306         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
32307         conditional on GCC version.
32308         (__arch_compare_and_exchange_val_8_acq)
32309         (__arch_compare_and_exchange_val_16_acq)
32310         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
32311         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
32312         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
32313
32314 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
32315
32316         * sysdeps/sh/backtrace.c: New file.
32317
32318 2011-12-02  Andreas Schwab  <schwab@redhat.com>
32319
32320         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
32321         parenthesis.
32322
32323 2011-12-01  Andreas Schwab  <schwab@redhat.com>
32324
32325         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
32326         falling back to utime.
32327
32328 2011-11-30  Andreas Schwab  <schwab@redhat.com>
32329
32330         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
32331         expectations for float.
32332
32333 2011-11-29  Andreas Schwab  <schwab@redhat.com>
32334
32335         * locale/weight.h (findidx): Add parameter len.
32336         * locale/weightwc.h (findidx): Likewise.
32337         * posix/fnmatch_loop.c (FCT): Adjust caller.
32338         * posix/regcomp.c (build_equiv_class): Likewise.
32339         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
32340         * posix/regexec.c (check_node_accept_bytes): Likewise.
32341         * string/strcoll_l.c (STRCOLL): Likewise.
32342         * string/strxfrm_l.c (STRXFRM): Likewise.
32343
32344 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
32345
32346         * Makefile.in: Remove CVSOPT handling.
32347         * configure.in: Remove use of AC_REVISION.
32348         * iconvdata/Makefile (distribute): No need to filter out CVS.
32349         * scripts/list-sources.sh: Remove CVS, subversion and monotone
32350         handling.
32351
32352 2011-11-16  Andreas Schwab  <schwab@redhat.com>
32353
32354         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
32355         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
32356         [USE_AS_STRNCASECMP_L]: Likewise.
32357         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
32358         NO_TLS_DIRECT_SEG_REFS.
32359         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
32360         Fix argument offsets for non-PIC.
32361         [USE_AS_STRNCASECMP_L]: Likewise.
32362         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
32363         NO_TLS_DIRECT_SEG_REFS.
32364
32365 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
32366
32367         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
32368         O_CLOEXEC.
32369         * locale/loadlocale.c (_nl_load_locale): Likewise.
32370
32371 2011-11-15  Andreas Schwab  <schwab@redhat.com>
32372
32373         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
32374         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
32375         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
32376         (SYSCALL_GETTIME): Set errno on error.
32377
32378         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
32379         count references to noai6ai_cached.
32380
32381 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
32382
32383         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
32384
32385         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
32386         FD_CLOEXEC for /proc/self/maps.
32387
32388         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
32389         FD_CLOEXEC for /proc/meminfo.
32390
32391         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
32392         gai.conf.
32393
32394         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
32395         FD_CLOEXEC for given file.
32396
32397         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
32398
32399         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
32400         FD_CLOEXEC for /etc/hosts.
32401         (_gethtent): Likewise.
32402
32403         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
32404
32405         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
32406         cancellation and set FD_CLOEXEC for /etc/netgroup.
32407
32408         * nss/nss_files/files-key.c (search): Don't allow cancellation when
32409         reading /etc/publickey.
32410
32411         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
32412         allow cancellation when reading /etc/group.
32413
32414         * nss/nss_files/files-alias.c (internal_setent): Don't allow
32415         cancellation.
32416         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
32417
32418         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
32419         when using data file.
32420
32421         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
32422
32423         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
32424         (write_nis_obj): Use "c" and "e" in fopen.
32425
32426         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
32427
32428         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
32429
32430         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
32431
32432         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
32433
32434         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
32435         locale.alias.
32436
32437         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
32438
32439         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
32440
32441         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
32442
32443         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
32444         file parsing and set FD_CLOEXEC.
32445
32446 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
32447
32448         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
32449
32450 2011-11-14  Andreas Schwab  <schwab@redhat.com>
32451
32452         * malloc/arena.c (arena_get2): Don't call reused_arena when
32453         _int_new_arena failed.
32454
32455 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
32456
32457         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
32458         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
32459         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
32460         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32461         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32462         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
32463         to compile strcasecmp and strncasecmp.
32464         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
32465         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
32466
32467         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
32468
32469 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
32470
32471         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
32472         locale-defines.sym to gen-as-const-headers.
32473         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
32474         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
32475         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
32476         to compile strcasecmp and strncasecmp.
32477         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
32478         strcasecmp_l and strncasecmp_l.
32479         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
32480         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
32481         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
32482         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
32483         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
32484         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
32485         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
32486         * sysdeps/i386/i686/multiarch/strncase.S: New file.
32487         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
32488         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
32489         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
32490
32491 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
32492
32493         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
32494         result of SYSDEP_GETTIME_CPU to retval.
32495         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
32496         parameter list to macro.  Remove trailing semicolon.  Adjust users.
32497
32498         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
32499         variable.
32500
32501         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
32502         mantissa words.
32503         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
32504
32505         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
32506         from unused variable.
32507
32508         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
32509         DWARF definitions.
32510         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
32511         for assembling.
32512
32513         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
32514         over namespaces.
32515
32516         * sunrpc/rpc_prot.c (rejected): Fix case value.
32517
32518         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
32519         unsigned long long int to avoid warnings in shift.
32520
32521         * posix/regex_internal.c (re_string_reconstruct): Actually use result
32522         of use of trans.
32523         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
32524         variable tmp.
32525
32526         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
32527         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32528         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32529
32530         * nis/nis_table.c (nis_list): Use variable of correct type for
32531         result of __follow_path call.
32532
32533 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32534
32535         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
32536         of math functions ceil, trunc, floor, round, and sqrt, when
32537         avaliable on the platform.
32538         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
32539         name clash.
32540         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32541         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32542         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32543
32544 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
32545
32546         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
32547         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32548
32549 2011-11-11  Roland McGrath  <roland@hack.frob.com>
32550
32551         * include/unistd.h: Fix __readlink return type.
32552         Reported by Chris Metcalf <cmetcalf@tilera.com>.
32553
32554 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
32555
32556         * stdlib/ucontext.h: Undo last change for makecontext.
32557
32558 2011-11-11  Andreas Schwab  <schwab@redhat.com>
32559
32560         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
32561
32562         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
32563         * setjmp/setjmp.h: Mark functions as non-leaf.
32564         * setjmp/bits/setjmp2.h: Likewise.
32565         * stdlib/ucontext.h: Likewise.
32566
32567 2011-11-10  Andreas Schwab  <schwab@redhat.com>
32568
32569         * malloc/arena.c (_int_new_arena): Don't increment narenas.
32570         (reused_arena): Don't check arena limit.
32571         (arena_get2): Atomically check arena limit.
32572
32573 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
32574
32575         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
32576         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
32577
32578         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
32579         instructions.
32580
32581 2011-11-07  Andreas Schwab  <schwab@redhat.com>
32582
32583         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
32584         handler when locking.
32585
32586         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32587         Fix size of allocated buffer.
32588
32589 2011-11-04  Andreas Schwab  <schwab@redhat.com>
32590
32591         [BZ #10103]
32592         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
32593         declarations for long double functions.
32594         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
32595
32596         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
32597
32598 2011-11-03  Andreas Schwab  <schwab@redhat.com>
32599
32600         * nscd/nscd.c (main): Don't start AVC thread until credentials are
32601         installed.
32602
32603         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
32604         is disabled.
32605
32606 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32607
32608         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
32609
32610 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
32611
32612         * include/alloca.h (stackinfo_alloca_round): Define.
32613         (extend_alloca): Use it.
32614         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
32615         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
32616         here.
32617
32618         * scripts/check-local-headers.sh: Ignore libaudit.h.
32619
32620         * nscd/Makefile (extra-objs): Make recursively expanded.
32621
32622 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
32623
32624         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
32625         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32626
32627         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
32628         * posix/tst-rfc3484-2.c: Likewise.
32629         * posix/tst-rfc3484-3.c: Likewise.
32630
32631         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
32632         process_vm_writev.
32633         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
32634         process_vm_writev.
32635         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
32636         process_vm_writev from libc using GLIBC_2.15 version.
32637
32638         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
32639
32640 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
32641
32642         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
32643         stack usage.
32644
32645 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
32646
32647         [BZ #13367]
32648         * nss/getent.c (initgroups_keys): Show error message in case no group
32649         names are given.
32650
32651         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
32652         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
32653         __bump_nl_timestamp.
32654         * nscd/connections (nscd_init): When host database is served open
32655         netlink socket and request notification about configuration changes.
32656         (main_loop_poll): Track netlink file descriptor and bump timestamp
32657         in case data becomes available.
32658         (main_loop_epoll): Likewise.
32659         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
32660         (database_pers_head): Add extra_data fileds.
32661         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
32662         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
32663         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
32664         Adjust caller.
32665         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
32666         in6ai data, call __free_in6ai.
32667         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
32668         Add -DHAVE_NETLINK.
32669         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
32670         interface information.  Reuse previous data if netlink timestamp
32671         is not changed.
32672         (__bump_nl_timestamp): New function.
32673         (__free_in6ai): New function.
32674
32675 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
32676
32677         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
32678         close_not_cancel_no_status here.
32679         (__check_pf): Reorganize code a bit to not call close twice if OOM.
32680
32681 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32682
32683         [BZ #13276]
32684         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
32685         return value.
32686
32687         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
32688         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
32689         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
32690
32691 2011-07-03  Andreas Jaeger  <aj@suse.de>
32692
32693         [BZ #10709]
32694         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
32695         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
32696         * math/libm-test.inc (sin_test): Add test case.
32697
32698 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
32699
32700         [BZ #13337]
32701         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
32702         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32703
32704         * elf/chroot_canon.c (chroot_canon): Cleanups.
32705
32706         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
32707
32708         [BZ #13335]
32709         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
32710         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
32711
32712         * string/test-strchr.c: Make usable for strchrnul testing.
32713         * string/test-strchrnul.c: New file.
32714         * string/Makefile (strop-tests): Add strchrnul.
32715
32716         * po/it.po: Update from translation team.
32717         * po/es.po: Likewise.
32718
32719 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
32720
32721         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
32722         the three constants needed as parameters.  Drop the others.
32723         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
32724         __m128i_strloadu_tolower.
32725         Create and initialize variable zero and use it in all the places
32726         where _mm_setzero_si128 was used.
32727
32728         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
32729         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
32730         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
32731         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
32732         anymore.
32733         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
32734         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
32735         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
32736         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
32737         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
32738         __mpranred, __mptan.
32739         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
32740         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
32741         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
32742         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
32743         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
32744         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
32745         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
32746         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
32747         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
32748
32749 2011-10-28  Andreas Schwab  <schwab@redhat.com>
32750
32751         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
32752         redefine if SHARED.
32753         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
32754
32755         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
32756         wide char related routines to wcsmbs subdir.
32757
32758 2011-10-27  Andreas Schwab  <schwab@redhat.com>
32759
32760         [BZ #13344]
32761         * misc/sys/cdefs.h (__THROWNL): Define.
32762         * posix/unistd.h: Use __THREADNL instead of __THREAD
32763         for memory synchronization functions.
32764
32765 2011-10-26  Roland McGrath  <roland@hack.frob.com>
32766
32767         [BZ #13349]
32768         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
32769         doesn't exist.
32770         * manual/stdio.texi (Obstack Streams): Node removed.
32771
32772 2011-10-26  Andreas Schwab  <schwab@redhat.com>
32773
32774         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
32775         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32776         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32777
32778         * math/math_private.h (math_force_eval): Allow non-addressable
32779         arguments.
32780         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
32781
32782 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32783
32784         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
32785         file is not needed.
32786
32787         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
32788         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32789         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32790         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32791         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32792         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32793         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32794         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
32795         Add AVX variants.
32796         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
32797         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
32798         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
32799         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
32800         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
32801         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
32802         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
32803         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
32804         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
32805         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
32806         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
32807         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
32808         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
32809         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
32810         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
32811         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
32812         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
32813         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
32814         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
32815
32816         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
32817         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
32818
32819         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
32820         place.  Use VEX encoding when compiling for AVX.
32821
32822 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32823
32824         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
32825         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
32826
32827         * string/test-strchr.c (do_test): Don't generate NUL bytes.
32828
32829 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32830
32831         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
32832         useless if() expression.
32833         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32834         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32835         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32836         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32837         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32838         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32839         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32840         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32841         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32842         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32843         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32844         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32845         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32846         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32847         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32848         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32849         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32850         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32851         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32852
32853         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
32854
32855 2011-10-25  Andreas Schwab  <schwab@redhat.com>
32856
32857         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
32858         condition.
32859         * elf/dl-fini.c (_dl_sort_fini): Likewise.
32860
32861 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
32862
32863         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
32864         .text section.  Avoid duplicate constants.
32865         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32866         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32867         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32868         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32869         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32870         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32871         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32872         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32873         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32874         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
32875         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32876         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32877         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32878         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32879         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32880         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32881         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32882         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32883         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32884         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32885         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32886         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32887         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32888         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
32889         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
32890         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
32891         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
32892         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
32893         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
32894         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
32895         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
32896         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
32897         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32898         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
32899         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
32900         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
32901         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
32902         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
32903         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
32904         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
32905         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
32906         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
32907         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
32908         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
32909         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
32910
32911 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
32912
32913         * sysdeps/x86_64/dla.h: Move to ...
32914         * sysdeps/x86_64/fpu/dla.h: ...here.
32915         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
32916         situations.  Use __builtin_fma only for gcc 4.6 and up.
32917
32918         * config.make.in: Add have-mfma4 entry.
32919         * configure.in: Substitute libc_cv_cc_fma4.
32920         * math/Makefile (dbl-only-routines): Add sincostab.
32921         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
32922         Use __sincostab not sincos.
32923         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
32924         name is a macro.
32925         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32926         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32927         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32928         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
32929         using __copysign.
32930         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
32931         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
32932         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
32933         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
32934         and __inv.
32935         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
32936         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
32937         __copysign.
32938         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
32939         define aliases when function name is a macro.
32940         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
32941         sysdeps/ieee754/dbl-64/sincos.tbl.
32942         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
32943         fma4-enabled routines.
32944         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
32945         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
32946         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
32947         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
32948         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
32949         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
32950         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
32951         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
32952         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
32953         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
32954         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
32955         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
32956         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
32957         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
32958         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
32959         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
32960         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
32961         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
32962         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
32963         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
32964         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
32965         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
32966         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
32967         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
32968         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
32969         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
32970         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
32971         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
32972         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
32973         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
32974
32975         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
32976         rename.
32977         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32978         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32979         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32980         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32981         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32982         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32983         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32984         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32985
32986 2011-10-24  Andreas Schwab  <schwab@redhat.com>
32987
32988         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
32989
32990 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
32991
32992         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
32993
32994         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
32995         prediction.
32996         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
32997
32998         * string/strnlen.c: Don't define STRNLEN, reverse logic.
32999         Remove unused variable magic_bits.
33000         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
33001
33002         * string/strnlen.c: Define and use STRNLEN macro.
33003         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
33004         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
33005         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
33006         * wcsmbs/wcslen.c: Define and use WCSLEN.
33007         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
33008         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
33009         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
33010         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
33011         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
33012         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
33013         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33014
33015 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33016
33017         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33018         strnlen-sse2-no-bsf.
33019         Rename strlen-no-bsf to strlen-sse2-no-bsf.
33020         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
33021         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
33022         Add strnlen support.
33023         (USE_AS_STRNLEN): New macro.
33024         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
33025         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
33026         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
33027         * sysdeps/x86_64/wcslen.S: New file.
33028
33029 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
33030
33031         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33032         XMM-moves are used for copying on small sizes.
33033
33034 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33035
33036         * wcsmbs/Makefile (strop-tests): Add wcschr.
33037         * wcsmbs/test-wcschr.c: New file.
33038         * string/test-strchr.c: Update.
33039         Add wcschr support.
33040         (WIDE): New macro.
33041
33042 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33043
33044         * wcsmbs/Makefile (strop-tests): Add wcslen.
33045         * wcsmbs/test-wcslen.c: New file.
33046         * string/test-strlen.c: Update.
33047         Add wcslen support.
33048         (WIDE): New macro.
33049
33050 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33051
33052         * po/it.po: Update from translation team.
33053
33054 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33055
33056         * sysdeps/x86_64/wcscmp.S: Update.
33057         Fix wrong comparison semantics.
33058         wcscmp shall use signed comparison not unsigned.
33059         Don't use substraction to avoid overflow bug.
33060         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33061         * wcsmbc/wcscmp.c: Likewise.
33062         * string/test-strcmp.c: Likewise.
33063         Add new tests to check cases with negative values.
33064
33065 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
33066
33067         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
33068         * sysdeps/x86_64/dla.h: ...here.  New file.
33069         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
33070         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33071         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33072         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33073         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33074         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33075         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33076         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33077         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33078
33079 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
33080
33081         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
33082         __ynl_finite aliases.
33083
33084 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
33085
33086         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33087
33088         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
33089         define DLA_FMA.
33090         [DLA_FMA] (EMULV): Use DLA_FMA.
33091         [DLA_FMA] (MUL12): Use EMULV.
33092         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
33093         that are not needed.
33094         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33095         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33096         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33097         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33098         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33099         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33100         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33101
33102 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
33103
33104         * math/s_nan.c: Undef __nan.
33105         * math/s_nanf.c: Undef __nanf.
33106         * math/s_nanl.c: Undef __nanl.
33107         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
33108         "math_private.h".
33109
33110 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
33111
33112         * math/s_catan.c: Add branch predictions.
33113         * math/s_catanf.c: Likewise.
33114         * math/s_catanh.c: Likewise.
33115         * math/s_catanhf.c: Likewise.
33116         * math/s_catanhl.c: Likewise.
33117         * math/s_catanl.c: Likewise.
33118         * math/s_cexp.c: Likewise.
33119         * math/s_cexpf.c: Likewise.
33120         * math/s_cexpl.c: Likewise.
33121         * math/s_clog.c: Likewise.
33122         * math/s_clog10.c: Likewise.
33123         * math/s_clog10f.c: Likewise.
33124         * math/s_clog10l.c: Likewise.
33125         * math/s_clogf.c: Likewise.
33126         * math/s_clogl.c: Likewise.
33127         * math/s_csqrt.c: Likewise.
33128         * math/s_csqrtf.c: Likewise.
33129         * math/s_csqrtl.c: Likewise.
33130         * math/s_ctanf.c: Likewise.
33131         * math/s_ctanh.c: Likewise.
33132         * math/s_ctanhf.c: Likewise.
33133         * math/s_ctanhl.c: Likewise.
33134         * math/s_ctanl.c: Likewise.
33135
33136         * math/math_private.h: Define __nan, __nanf, __nanl.
33137         * math/s_cacosh.c: Include <math_private.h>.
33138         * math/s_cacoshl.c: Likewise.
33139         * math/s_casinh.c: Likewise.
33140         * math/s_casinhf.c: Likewise.
33141         * math/s_casinhl.c: Likewise.
33142         * math/s_ccos.c: Rely entire on ccosh.
33143         * math/s_ccosf.c: Rely entire on ccoshf.
33144         * math/s_ccosl.c: Rely entirely on ccoshl.
33145         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
33146         Remove tests for FE_INVALID.
33147         * math/s_ccoshf.c: Likewise.
33148         * math/s_ccoshl.c: Likewise.
33149         * math/s_csin.c: Likewise.
33150         * math/s_csinf.c: Likewise.
33151         * math/s_csinh.c Likewise.
33152         * math/s_csinhf.c: Likewise.
33153         * math/s_csinhl.c: Likewise.
33154         * math/s_csinl.c: Likewise.
33155         * math/s_ctan.c: Likewise.
33156         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
33157         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
33158         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
33159
33160 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
33161
33162         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
33163         compilation problems.
33164
33165         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
33166         __builtin_expect.
33167
33168 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
33169
33170         * sysdeps/i386/configure.in: Test for -mfma4 option.
33171         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
33172         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
33173         COMMON_CPUID_INDEX_80000001.
33174         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
33175         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
33176         use it if FMA3 is not supported.
33177         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33178
33179         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
33180         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33181
33182 2011-10-20  Andreas Schwab  <schwab@redhat.com>
33183
33184         [BZ #12892]
33185         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
33186         it would create a cycle with a link time dependency.
33187
33188 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
33189
33190         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
33191         instruction.
33192         * string/Makefile (strop-tests): Add rawmemchr.
33193         * string/test-rawmemchr.c: New file.
33194
33195         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
33196         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
33197         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
33198         when compiling str{,n}casecmp and when AVX is available.  Hook up
33199         new optimized code in initializers.
33200
33201 2011-10-19  Andreas Schwab  <schwab@redhat.com>
33202
33203         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
33204         __feraiseexcept instead of feraiseexcept.
33205
33206 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
33207
33208         * math/math_private.h: Define defaults for libc_fetestexcept and
33209         libc_feupdateenv.
33210         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
33211         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
33212         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33213         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33214         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33215         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33216         libc_fetestexcept and libc_feupdateenv.
33217
33218         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
33219         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
33220         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
33221         * sysdeps/x86_64/fpu/math_private.h: Define special version of
33222         libc_feholdexcept_setround.
33223
33224         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
33225         Add s_nearbyint-c and s_nearbyintf-c.
33226         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
33227         nearbyintf inlines.
33228         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
33229         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
33230         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
33231         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
33232
33233         * math/math_private.h: Define defaults for libc_fegetround,
33234         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
33235         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
33236         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
33237         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
33238         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
33239         standard functions.
33240         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33241         Remove comments and hacks for old compiler versions.
33242         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
33243         libc_fegetround, libc_fesetround, libc_feholdexcept, and
33244         libc_feholdexceptl.
33245
33246 2011-10-18  Andreas Schwab  <schwab@redhat.com>
33247
33248         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
33249         (__feraiseexcept_renamed): Add __NTH.
33250         (feraiseexcept): Add __NTH.  Rename local variables to fix
33251         namespace violations.
33252
33253 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
33254
33255         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
33256
33257         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
33258
33259         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
33260         recently added interfaces.
33261         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
33262
33263         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
33264         about macro parameter expansion.
33265
33266         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
33267         __NO_MATH_INLINES is defined.  Cleanups.
33268
33269         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
33270         and __floorf is target has SSE4.1.
33271         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
33272         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
33273         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
33274         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
33275
33276         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
33277         name.
33278         (floorf): Likewise.
33279
33280         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
33281
33282 2011-10-17  Andreas Schwab  <schwab@redhat.com>
33283
33284         * misc/sys/cdefs.h: Fix last change.
33285
33286         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
33287         database lookup.
33288
33289 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
33290
33291         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
33292
33293         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
33294         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33295         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33296         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33297         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33298         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33299         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33300         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33301         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33302         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
33303         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
33304         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
33305         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
33306         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
33307         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
33308         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
33309         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
33310         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
33311         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
33312         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
33313         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
33314         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
33315
33316         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
33317         ceil, ceilf, floor, floorf.
33318
33319         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
33320         Perform IRELATIVE relocations last.
33321
33322         * elf/do-rel.h: Add another parameter nrelative, replacing the
33323         local variable with the same name.  Change name of the function
33324         to end in Rel or Rela (uppercase).
33325         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
33326         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
33327         elf_dynamic_do_##reloc function.
33328
33329 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
33330
33331         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
33332         is sufficient, at least on modern CPUs.
33333
33334         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
33335
33336         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
33337         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
33338
33339         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
33340         __expl_finite.
33341         * math/bits/math-finite.h: Add entries for exp.
33342         * math/e_expl.c: Add __*_finite alias.
33343         * sysdeps/i386/fpu/e_exp.S: Likewise.
33344         * sysdeps/i386/fpu/e_expf.S: Likewise.
33345         * sysdeps/i386/fpu/e_expl.c: Likewise.
33346         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33347         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33348         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33349         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33350         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
33351         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33352         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33353
33354         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
33355         is sufficient, at least on modern CPUs.
33356
33357         * ctype/ctype-info.c (__ctype_init): Define.
33358         * include/ctype.h (__ctype_init): Declare.
33359         (__ctype_b_loc): The variable is always initialized.
33360         (__ctype_toupper_loc): Likewise.
33361         (__ctype_tolower_loc): Likewise.
33362         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
33363         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
33364
33365 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
33366
33367         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
33368
33369         * configure.in: Also look in $cxxmachine/include for C++ system
33370         headers.
33371
33372 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33373
33374         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
33375         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
33376         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
33377         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
33378         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
33379         (USE_AS_WMEMCMP): New macro.
33380         Fixing indents.
33381         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
33382         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
33383         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
33384         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
33385         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33386         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
33387         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
33388         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
33389         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
33390         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
33391         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
33392         (USE_AS_WMEMCMP): New macro.
33393         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
33394         * sysdeps/string/test-memcmp.c: Update.
33395         Fix simple_wmemcmp.
33396         Add new tests.
33397         * wcsmbs/wmemcmp.c: Update.
33398         (WMEMCMP): New macro.
33399         Fix overflow bug.
33400
33401 2011-10-12  Andreas Jaeger  <aj@suse.de>
33402
33403         [BZ #13268]
33404         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
33405
33406 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
33407
33408         * libio/iofwide.c (do_length): Avoid warning.
33409
33410         * ctype/ctype.h (__isctype_f): Add missing __THROW.
33411
33412 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
33413
33414         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
33415
33416         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
33417         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
33418         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
33419         * sysdeps/i386/i686/fpu/e_log.S: New file.
33420         * sysdeps/i386/i686/fpu/e_logf.S: New file.
33421         * sysdeps/i386/i686/fpu/e_logl.S: New file.
33422
33423         * ctype/ctype.h: Add support for inlined isXXX functions when
33424         compiling C++ code.
33425
33426 2011-10-14  Andreas Schwab  <schwab@redhat.com>
33427
33428         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33429
33430         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
33431
33432 2011-10-13  Roland McGrath  <roland@hack.frob.com>
33433
33434         [BZ #13291]
33435         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
33436
33437 2011-10-13  Andreas Schwab  <schwab@redhat.com>
33438
33439         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
33440         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
33441         feraiseexcept.
33442
33443         * sysdeps/x86_64/memrchr.S: Check for zero size.
33444
33445         * string/stratcliff.c: Add memrchr tests.
33446
33447 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33448
33449         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33450         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
33451         rawmemchr-sse2 rawmemchr-sse2-bsf.
33452         * sysdeps/i386/i686/multiarch/memchr.S: New file.
33453         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
33454         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
33455         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
33456         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
33457         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
33458         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
33459         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
33460         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
33461         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
33462         * string/memrchr.c (MEMRCHR): New macro.
33463
33464 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
33465
33466         Add integration with gcc's -ffinite-math-only and optimize wrapper
33467         functions in libm.
33468         * Versions.def: Define GLIBC_2.15 version for libm.
33469         * math/Makefile (headers): Add bits/math-finite.h.
33470         * math/bits/math-finite.h: New file.
33471         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
33472         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
33473         * math/e_acoshl.c: Add __*_finite alias.
33474         * math/e_acosl.c: Likewise.
33475         * math/e_asinl.c: Likewise.
33476         * math/e_atan2l.c: Likewise.
33477         * math/e_atanhl.c: Likewise.
33478         * math/e_coshl.c: Likewise.
33479         * math/e_exp10.c: Likewise.
33480         * math/e_exp10f.c: Likewise.
33481         * math/e_exp10l.c: Likewise.
33482         * math/e_exp2l.c: Likewise.
33483         * math/e_fmodl.c: Likewise.
33484         * math/e_gammal_r.c: Likewise.
33485         * math/e_hypotl.c: Likewise.
33486         * math/e_j0l.c: Likewise.
33487         * math/e_j1l.c: Likewise.
33488         * math/e_jnl.c: Likewise.
33489         * math/e_lgammal_r.c: Likewise.
33490         * math/e_log10l.c: Likewise.
33491         * math/e_log2l.c: Likewise.
33492         * math/e_logl.c: Likewise.
33493         * math/e_powl.c: Likewise.
33494         * math/e_sinhl.c: Likewise.
33495         * math/e_sqrtl.c: Likewise.
33496         * math/e_scalb.c: Completely rewritten and optimized.
33497         * math/e_scalbf.c: Likewise.
33498         * math/e_scalbl.c: Likewise.
33499         * math/w_acos.c: Likewise.
33500         * math/w_acosf.c: Likewise.
33501         * math/w_acosl.c: Likewise.
33502         * math/w_acosh.c: Likewise.
33503         * math/w_acoshf.c: Likewise.
33504         * math/w_acoshl.c: Likewise.
33505         * math/w_asin.c: Likewise.
33506         * math/w_asinf.c: Likewise.
33507         * math/w_asinl.c: Likewise.
33508         * math/w_atan2.c: Likewise.
33509         * math/w_atan2f.c: Likewise.
33510         * math/w_atan2l.c: Likewise.
33511         * math/w_atanh.c: Likewise.
33512         * math/w_atanhf.c: Likewise.
33513         * math/w_atanhl.c: Likewise.
33514         * math/w_exp10.c: Likewise.
33515         * math/w_exp10f.c: Likewise.
33516         * math/w_exp10l.c: Likewise.
33517         * math/w_fmod.c: Likewise.
33518         * math/w_fmodf.c: Likewise.
33519         * math/w_fmodl.c: Likewise.
33520         * math/w_j0.c: Likewise.
33521         * math/w_j0f.c: Likewise.
33522         * math/w_j0l.c: Likewise.
33523         * math/w_j1.c: Likewise.
33524         * math/w_j1f.c: Likewise.
33525         * math/w_j1l.c: Likewise.
33526         * math/w_jn.c: Likewise.
33527         * math/w_jnf.c: Likewise.
33528         * math/w_log.c: Likewise.
33529         * math/w_logf.c: Likewise.
33530         * math/w_logl.c: Likewise.
33531         * math/w_log10.c: Likewise.
33532         * math/w_log10f.c: Likewise.
33533         * math/w_log10l.c: Likewise.
33534         * math/w_log2.c: Likewise.
33535         * math/w_log2f.c: Likewise.
33536         * math/w_log2l.c: Likewise.
33537         * math/w_pow.c: Likewise.
33538         * math/w_powf.c: Likewise.
33539         * math/w_powl.c: Likewise.
33540         * math/w_remainder.c: Likewise.
33541         * math/w_remainderf.c: Likewise.
33542         * math/w_remainderl.c: Likewise.
33543         * math/w_scalb.c: Likewise.
33544         * math/w_scalbf.c: Likewise.
33545         * math/w_scalbl.c: Likewise.
33546         * math/w_sqrt.c: Likewise.
33547         * math/w_sqrtf.c: Likewise.
33548         * math/w_sqrtl.c: Likewise.
33549         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
33550         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
33551         used.
33552         * math/math_private.h: Declare __kernel_standard_f.
33553         * math/w_cosh.c: Remove cruft and optimize a bit.
33554         * math/w_coshf.c: Likewise.
33555         * math/w_coshl.c: Likewise.
33556         * math/w_exp2.c: Likewise.
33557         * math/w_exp2f.c: Likewise.
33558         * math/w_exp2l.c: Likewise.
33559         * math/w_hypot.c: Likewise.
33560         * math/w_hypotf.c: Likewise.
33561         * math/w_hypotl.c: Likewise.
33562         * math/w_lgamma.c: Likewise.
33563         * math/w_lgamma_r.c: Likewise.
33564         * math/w_lgammaf.c: Likewise.
33565         * math/w_lgammaf_r.c: Likewise.
33566         * math/w_lgammal.c: Likewise.
33567         * math/w_lgammal_r.c: Likewise.
33568         * math/w_sinh.c: Likewise.
33569         * math/w_sinhf.c: Likewise.
33570         * math/w_sinhl.c: Likewise.
33571         * math/w_tgamma.c: Likewise.
33572         * math/w_tgammaf.c: Likewise.
33573         * math/w_tgammal.c: Likewise.
33574         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33575         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33576         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
33577         Minor optimizations.  Pretty printing.  Remove cruft.
33578         * sysdeps/i386/fpu/e_acosf.S: Likewise.
33579         * sysdeps/i386/fpu/e_acosh.S: Likewise.
33580         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
33581         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
33582         * sysdeps/i386/fpu/e_acosl.c: Likewise.
33583         * sysdeps/i386/fpu/e_asin.S: Likewise.
33584         * sysdeps/i386/fpu/e_asinf.S: Likewise.
33585         * sysdeps/i386/fpu/e_atan2.S: Likewise.
33586         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
33587         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
33588         * sysdeps/i386/fpu/e_atanh.S: Likewise.
33589         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
33590         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
33591         * sysdeps/i386/fpu/e_exp10.S: Likewise.
33592         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
33593         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
33594         * sysdeps/i386/fpu/e_exp2.S: Likewise.
33595         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
33596         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
33597         * sysdeps/i386/fpu/e_fmod.S: Likewise.
33598         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
33599         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
33600         * sysdeps/i386/fpu/e_hypot.S: Likewise.
33601         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
33602         * sysdeps/i386/fpu/e_log.S: Likewise.
33603         * sysdeps/i386/fpu/e_log10.S: Likewise.
33604         * sysdeps/i386/fpu/e_log10f.S: Likewise.
33605         * sysdeps/i386/fpu/e_log10l.S: Likewise.
33606         * sysdeps/i386/fpu/e_log2.S: Likewise.
33607         * sysdeps/i386/fpu/e_log2f.S: Likewise.
33608         * sysdeps/i386/fpu/e_log2l.S: Likewise.
33609         * sysdeps/i386/fpu/e_logf.S: Likewise.
33610         * sysdeps/i386/fpu/e_logl.S: Likewise.
33611         * sysdeps/i386/fpu/e_pow.S: Likewise.
33612         * sysdeps/i386/fpu/e_powf.S: Likewise.
33613         * sysdeps/i386/fpu/e_powl.S: Likewise.
33614         * sysdeps/i386/fpu/e_remainder.S: Likewise.
33615         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
33616         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
33617         * sysdeps/i386/fpu/e_scalb.S: Likewise.
33618         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
33619         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
33620         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
33621         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
33622         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
33623         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33624         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33625         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33626         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33627         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33628         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33629         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
33630         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33631         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33632         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33633         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33634         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33635         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33636         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33637         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33638         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33639         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33640         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33641         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33642         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33643         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33644         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33645         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33646         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33647         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33648         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33649         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
33650         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33651         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
33652         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33653         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33654         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33655         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33656         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33657         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33658         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33659         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33660         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33661         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33662         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33663         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33664         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33665         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33666         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33667         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33668         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33669         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33670         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33671         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33672         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
33673         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33674         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33675         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33676         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33677         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33678         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33679         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33680         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33681         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33682         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33683         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33684         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33685         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33686         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33687         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33688         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33689         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33690         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33691         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
33692         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33693         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33694         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33695         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33696         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33697         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33698         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33699         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33700         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33701         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33702         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33703         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33704         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33705         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
33706         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33707         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33708         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33709         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33710         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33711         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33712         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33713         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33714         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33715         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33716         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
33717         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
33718         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
33719         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
33720         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
33721         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
33722         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
33723         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
33724         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
33725         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
33726         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
33727         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
33728         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
33729         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
33730         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33731         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
33732         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
33733         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
33734         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
33735         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
33736         (__isnanf): Likewise.
33737         (__isinf_ns): Likewise.
33738         (__isinf_nsf): Likewise.
33739         (__finite): Likewise.
33740         (__finitef): Likewise.
33741         (__ieee754_sqrt): Define as macro.
33742         (__ieee754_sqrtf): Define as macro.
33743         (__ieee754_sqrtl): Define as macro.
33744         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
33745         inlined copy.
33746         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
33747         __FINITE_MATH_ONLY__ consistent.
33748         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
33749
33750 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
33751
33752         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
33753         of rawmemchr.
33754
33755         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
33756
33757 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
33758
33759         * po/ja.po: Update from translation team.
33760
33761 2011-10-08  Roland McGrath  <roland@hack.frob.com>
33762
33763         * locale/programs/locarchive.c (prepare_address_space): New function.
33764         (create_archive, enlarge_archive, open_archive): Use it.
33765
33766         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
33767         inside [SHARED], where it is used.
33768
33769         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
33770
33771         * nss/getent.c (netgroup_keys): Remove unused variable.
33772         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33773
33774 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
33775
33776         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
33777         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
33778         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
33779         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
33780         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
33781         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
33782         * math/Makefile (libm-calls): Add s_isinf_ns.
33783         * math/divtc3.c: Use __isinf_nsl instead of isinf.
33784         * math/multc3.c: Likewise.
33785         * math/s_casin.c: Likewise.
33786         * math/s_casinf.c: Likewise.
33787         * math/s_casinl.c: Likewise.
33788         * math/s_ccos.c: Likewise.
33789         * math/s_ccosf.c: Likewise.
33790         * math/s_ccosl.c: Likewise.
33791         * math/s_ctan.c: Likewise.
33792         * math/s_ctanf.c: Likewise.
33793         * math/s_ctanh.c: Likewise.
33794         * math/s_ctanhf.c: Likewise.
33795         * math/s_ctanhl.c: Likewise.
33796         * math/s_ctanl.c: Likewise.
33797         * math/w_fmod.c: Likewise.
33798         * math/w_fmodf.c: Likewise.
33799         * math/w_fmodl.c: Likewise.
33800         * math/w_remainder.c: Likewise.
33801         * math/w_remainderf.c: Likewise.
33802         * math/w_remainderl.c: Likewise.
33803         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
33804         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
33805         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
33806         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
33807         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
33808         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
33809         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
33810         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
33811
33812         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
33813         of the number.
33814         * stdio-common/printf_fphex.c: Likewise.
33815         * stdio-common/printf_size.c: Likewise.
33816
33817         * math/e_exp10.c: Include math_private.h using <...> not "...".
33818         * math/e_exp10f.c: Likewise.
33819         * math/e_exp10l.c: Likewise.
33820         * math/e_exp2l.c: Likewise.
33821         * math/e_j0l.c: Likewise.
33822         * math/e_j1l.c: Likewise.
33823         * math/e_jnl.c: Likewise.
33824         * math/e_lgammal_r.c: Likewise.
33825         * math/e_rem_pio2l.c: Likewise.
33826         * math/e_scalb.c: Likewise.
33827         * math/e_scalbf.c: Likewise.
33828         * math/e_scalbl.c: Likewise.
33829         * math/k_cosl.c: Likewise.
33830         * math/k_sinl.c: Likewise.
33831         * math/k_tanl.c: Likewise.
33832         * math/s_cacoshf.c: Likewise.
33833         * math/s_catan.c: Likewise.
33834         * math/s_catanf.c: Likewise.
33835         * math/s_catanh.c: Likewise.
33836         * math/s_catanhf.c: Likewise.
33837         * math/s_catanhl.c: Likewise.
33838         * math/s_catanl.c: Likewise.
33839         * math/s_ccosh.c: Likewise.
33840         * math/s_ccoshf.c: Likewise.
33841         * math/s_ccoshl.c: Likewise.
33842         * math/s_cexp.c: Likewise.
33843         * math/s_cexpf.c: Likewise.
33844         * math/s_cexpl.c: Likewise.
33845         * math/s_clog.c: Likewise.
33846         * math/s_clog10.c: Likewise.
33847         * math/s_clog10f.c: Likewise.
33848         * math/s_clog10l.c: Likewise.
33849         * math/s_clogf.c: Likewise.
33850         * math/s_clogl.c: Likewise.
33851         * math/s_csin.c: Likewise.
33852         * math/s_csinf.c: Likewise.
33853         * math/s_csinh.c: Likewise.
33854         * math/s_csinhf.c: Likewise.
33855         * math/s_csinhl.c: Likewise.
33856         * math/s_csinl.c: Likewise.
33857         * math/s_csqrt.c: Likewise.
33858         * math/s_csqrtf.c: Likewise.
33859         * math/s_csqrtl.c: Likewise.
33860         * math/s_ctan.c: Likewise.
33861         * math/s_ctanf.c: Likewise.
33862         * math/s_ctanh.c: Likewise.
33863         * math/s_ctanhf.c: Likewise.
33864         * math/s_ctanhl.c: Likewise.
33865         * math/s_ctanl.c: Likewise.
33866         * math/s_ldexp.c: Likewise.
33867         * math/s_ldexpf.c: Likewise.
33868         * math/s_ldexpl.c: Likewise.
33869         * math/s_significand.c: Likewise.
33870         * math/s_significandf.c: Likewise.
33871         * math/s_significandl.c: Likewise.
33872         * math/w_acos.c: Likewise.
33873         * math/w_acosf.c: Likewise.
33874         * math/w_acosh.c: Likewise.
33875         * math/w_acoshf.c: Likewise.
33876         * math/w_acoshl.c: Likewise.
33877         * math/w_acosl.c: Likewise.
33878         * math/w_asin.c: Likewise.
33879         * math/w_asinf.c: Likewise.
33880         * math/w_asinl.c: Likewise.
33881         * math/w_atan2.c: Likewise.
33882         * math/w_atan2f.c: Likewise.
33883         * math/w_atan2l.c: Likewise.
33884         * math/w_atanh.c: Likewise.
33885         * math/w_atanhf.c: Likewise.
33886         * math/w_atanhl.c: Likewise.
33887         * math/w_cosh.c: Likewise.
33888         * math/w_coshf.c: Likewise.
33889         * math/w_coshl.c: Likewise.
33890         * math/w_dremf.c: Likewise.
33891         * math/w_exp10.c: Likewise.
33892         * math/w_exp10f.c: Likewise.
33893         * math/w_exp10l.c: Likewise.
33894         * math/w_exp2.c: Likewise.
33895         * math/w_exp2f.c: Likewise.
33896         * math/w_fmod.c: Likewise.
33897         * math/w_fmodf.c: Likewise.
33898         * math/w_fmodl.c: Likewise.
33899         * math/w_hypot.c: Likewise.
33900         * math/w_hypotf.c: Likewise.
33901         * math/w_hypotl.c: Likewise.
33902         * math/w_j0.c: Likewise.
33903         * math/w_j0f.c: Likewise.
33904         * math/w_j0l.c: Likewise.
33905         * math/w_j1.c: Likewise.
33906         * math/w_j1f.c: Likewise.
33907         * math/w_j1l.c: Likewise.
33908         * math/w_jn.c: Likewise.
33909         * math/w_jnf.c: Likewise.
33910         * math/w_jnl.c: Likewise.
33911         * math/w_lgamma.c: Likewise.
33912         * math/w_lgamma_r.c: Likewise.
33913         * math/w_lgammaf.c: Likewise.
33914         * math/w_lgammaf_r.c: Likewise.
33915         * math/w_lgammal.c: Likewise.
33916         * math/w_lgammal_r.c: Likewise.
33917         * math/w_log.c: Likewise.
33918         * math/w_log10.c: Likewise.
33919         * math/w_log10f.c: Likewise.
33920         * math/w_log10l.c: Likewise.
33921         * math/w_log2.c: Likewise.
33922         * math/w_log2f.c: Likewise.
33923         * math/w_log2l.c: Likewise.
33924         * math/w_logf.c: Likewise.
33925         * math/w_logl.c: Likewise.
33926         * math/w_pow.c: Likewise.
33927         * math/w_powf.c: Likewise.
33928         * math/w_powl.c: Likewise.
33929         * math/w_remainder.c: Likewise.
33930         * math/w_remainderf.c: Likewise.
33931         * math/w_remainderl.c: Likewise.
33932         * math/w_scalb.c: Likewise.
33933         * math/w_scalbf.c: Likewise.
33934         * math/w_scalbl.c: Likewise.
33935         * math/w_sinh.c: Likewise.
33936         * math/w_sinhf.c: Likewise.
33937         * math/w_sinhl.c: Likewise.
33938         * math/w_sqrt.c: Likewise.
33939         * math/w_sqrtf.c: Likewise.
33940         * math/w_sqrtl.c: Likewise.
33941         * math/w_tgamma.c: Likewise.
33942         * math/w_tgammaf.c: Likewise.
33943         * math/w_tgammal.c: Likewise.
33944
33945         * po/ja.po: Update from translation team.
33946
33947 2011-09-29  Andreas Jaeger  <aj@suse.de>
33948
33949         [BZ #13179]
33950         * sunrpc/netname.c (netname2host): Fix logic.
33951
33952         [BZ #6779]
33953         [BZ #6783]
33954         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
33955         correctly.
33956         * math/w_remainder.c (__remainder): Likewise.
33957         * math/w_remainderf.c (__remainderf): Likewise.
33958         * math/libm-test.inc (remainder_test): Add test cases.
33959
33960 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33961
33962         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
33963         sdiv_qrnnd.
33964
33965 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
33966
33967         * string/test-memcmp.c: Avoid unncessary #defines.
33968         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
33969
33970 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33971
33972         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
33973         Use new sse2 version for core i3 - i7 as it's faster
33974         than sse42 version.
33975         (bit_Prefer_PMINUB_for_stringop): New.
33976         * sysdeps/x86_64/rawmemchr.S: Update.
33977         Replace with faster SSE2 version.
33978         * sysdeps/x86_64/memrchr.S: New file.
33979         * sysdeps/x86_64/memchr.S: Update.
33980         Replace with faster SSE2 version.
33981
33982 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
33983
33984         * elf/dl-load.c (lose): Add cast to avoid warning.
33985
33986 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
33987
33988         * po/ca.po: Update from translation team.
33989
33990         * inet/getnetgrent_r.c: Hook up nscd.
33991         * nscd/Makefile (routines): Add nscd_netgroup.
33992         (nscd-modules): Add netgroupcache.
33993         (CFLAGS-netgroupcache.c): Define.
33994         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
33995         (cache_search): Add const to second parameter.
33996         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
33997         INNETGR.
33998         (dbs): Add netgrdb entry.
33999         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
34000         (verify_persistent_db): Handle netgrdb.
34001         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
34002         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
34003         GETFDNETGR.
34004         (netgroup_response_header): Define.
34005         (innetgroup_response_header): Define.
34006         (datahead): Add netgroup_response_header and innetgroup_response_header
34007         elements.
34008         * nscd/nscd.conf: Add entries for netgroup cache.
34009         * nscd/nscd.h (dbtype): Add netgrdb.
34010         (_PATH_NSCD_NETGROUP_DB): Define.
34011         (netgroup_iov_disabled): Declare.
34012         (xmalloc, xcalloc, xrealloc): Move declarations here.
34013         (cache_search): Adjust prototype.
34014         Add netgroup-related prototypes.
34015         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
34016         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
34017         (__nscd_innetgr): Declare.
34018         * nscd/selinux.c (perms): Use access_vector_t as element type and
34019         add netgroup-related initializers.
34020         * nscd/netgroupcache.c: New file.
34021         * nscd/nscd_netgroup.c: New file.
34022         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
34023         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
34024         For four parameters use innetgr.
34025         * nss/nss_files/files-init.c: Add definition and callback for netgr.
34026         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
34027         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
34028         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
34029
34030         * nscd/connections.c (register_traced_file): Don't register file
34031         for disabled databases.
34032
34033 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
34034
34035         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
34036
34037         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
34038         from tree and freeing node.
34039
34040 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
34041
34042         * nss/nsswitch.c (__nss_database_lookup): Handle
34043         nss_parse_service_list out of memory case.
34044
34045 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
34046
34047         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
34048         out of memory case.
34049
34050 2011-10-04  Andreas Schwab  <schwab@redhat.com>
34051
34052         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
34053         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
34054         pass it down.
34055         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
34056         elf_machine_rela, elf_machine_lazy_rel.
34057         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
34058         (ELF_DYNAMIC_DO_REL): Likewise.
34059         (ELF_DYNAMIC_DO_RELA): Likewise.
34060         (ELF_DYNAMIC_RELOCATE): Likewise.
34061         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
34062         to ELF_DYNAMIC_DO_REL.
34063         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
34064         (dl_main): In trace mode always set __RTLD_NOIFUNC.
34065         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
34066         elf_machine_rela.
34067         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
34068         skip_ifunc, don't call ifunc function if non-zero.
34069         (elf_machine_rela): Likewise.
34070         (elf_machine_lazy_rel): Likewise.
34071         (elf_machine_lazy_rela): Likewise.
34072         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
34073         (elf_machine_lazy_rel): Likewise.
34074         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
34075         Likewise.
34076         (elf_machine_lazy_rel): Likewise.
34077         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34078         Likewise.
34079         (elf_machine_lazy_rel): Likewise.
34080         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
34081         (elf_machine_lazy_rel): Likewise.
34082         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
34083         (elf_machine_lazy_rel): Likewise.
34084         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34085         (elf_machine_lazy_rel): Likewise.
34086         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
34087         (elf_machine_lazy_rel): Likewise.
34088         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
34089         (elf_machine_lazy_rel): Likewise.
34090         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34091         (elf_machine_lazy_rel): Likewise.
34092
34093 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
34094
34095         * nss/nss_files/files-init.c (_nss_files_init): Use static
34096         initialization for all the *_traced_file variables.
34097
34098 2011-09-28  Andreas Schwab  <schwab@redhat.com>
34099
34100         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34101
34102 2011-09-27  Roland McGrath  <roland@hack.frob.com>
34103
34104         [BZ #13226]
34105         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
34106
34107 2011-09-27  Andreas Schwab  <schwab@redhat.com>
34108
34109         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34110         Reread the line before reparsing it.
34111
34112 2011-09-26  Andreas Schwab  <schwab@redhat.com>
34113
34114         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
34115
34116 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
34117             Maxim Kuvyrkov  <maxim@codesourcery.com>
34118             Joseph Myers  <joseph@codesourcery.com>
34119
34120         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
34121         if needed for __stack_chk_guard.
34122
34123 2011-09-19  Roland McGrath  <roland@hack.frob.com>
34124
34125         * sysdeps/posix/spawni.c (script_execute): Always define it.
34126         It will be optimized away if unused.
34127         (maybe_script_execute): New function.
34128         (__spawni): Call it.
34129
34130         * Makerules: Don't include tls.make.
34131         (config-tls): Always set to thread.
34132         * tls.make.c: File removed.
34133
34134 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
34135
34136         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
34137         * config.make.in (CPPFLAGS-config): New substituted variable.
34138
34139 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
34140
34141         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
34142
34143         [BZ #13192]
34144         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
34145         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
34146
34147 2011-09-15  Roland McGrath  <roland@hack.frob.com>
34148
34149         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
34150         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
34151         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34152         (CALL_FAIL): Likewise.
34153         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
34154         (CALL_FAIL): Macro removed.
34155         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
34156
34157 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
34158
34159         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
34160         for __FINITE_MATH_ONLY__ == 1.
34161
34162 2011-09-15  Andreas Schwab  <schwab@redhat.com>
34163
34164         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
34165         __ieee754_sqrt instead of sqrt.
34166         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
34167         __ieee754_sqrtf instead of sqrtf.
34168         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
34169         __floorf instead of floorf.
34170         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
34171         __floorf, __truncf instead of floorf, truncf.
34172
34173 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
34174
34175         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
34176
34177         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
34178         __extern_always_inline.
34179         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
34180         32-bit.
34181
34182 2011-09-14  Andreas Schwab  <schwab@redhat.com>
34183
34184         * elf/rtld.c (dl_main): Also relocate in dependency order when
34185         doing symbol dependency testing.
34186
34187 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
34188
34189         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34190         Always define `refsym'.
34191
34192 2011-09-13  Andreas Schwab  <schwab@redhat.com>
34193
34194         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
34195         (__FD_ELT): Renamed from __FDELT.
34196         * misc/bits/select2.h (__FD_ELT): Likewise.
34197         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
34198         __FD_MASK instead of __FDELT, __FDMASK.
34199         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34200         Likewise.
34201         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
34202         Likewise.
34203
34204         * elf/Makefile (gen-ldd): Fix pattern.
34205
34206         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
34207         (init_tls): Likewise.
34208
34209 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
34210
34211         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
34212
34213 2011-09-12  Andreas Schwab  <schwab@redhat.com>
34214
34215         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
34216         `struct cmsghdr *' instead of `void *'.
34217         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
34218         Likewise.
34219
34220 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
34221
34222         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
34223         if non-absolute.
34224         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
34225         ldd_rewrite_script.
34226
34227 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
34228
34229         * configure.in: Remove --with-tls option.
34230         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
34231         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
34232         out in case it is missing.
34233         * sysdeps/ia64/elf/configure.in: Likewise.
34234         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
34235         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
34236         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
34237         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
34238         * sysdeps/sh/elf/configure.in: Likewise.
34239         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
34240         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34241         * sysdeps/x86_64/elf/configure.in: Likewise.
34242         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
34243         * sysdeps/mach/hurd/tls.h: Likewise.
34244
34245         [BZ #13067]
34246         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
34247
34248         [BZ #13090]
34249         * configure.in: Fix use of AC_INIT.
34250
34251         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
34252
34253 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
34254
34255         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
34256         __set_errno.
34257         * malloc/hooks.c: Likewise.
34258
34259         [BZ #11929]
34260         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
34261         variables statically.
34262         (narenas): Initialize.
34263         (list_lock): Initialize.
34264         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
34265         initializtion of main_arena and list_lock.  Small cleanups.
34266         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
34267         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
34268         Add initializers to main_arena and mp_.
34269         (malloc_state): Remove pagesize member.  Change all users to use
34270         GLRO(dl_pagesize).
34271
34272         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
34273         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
34274         is always initialized.
34275
34276         * malloc/malloc.c: Removed unused configurations and dead code.
34277         * malloc/arena.c: Likewise.
34278         * malloc/hooks.c: Likewise.
34279         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
34280
34281         * include/tls.h: Removed.  USE___THREAD must always be defined.
34282         * bits/libc-tsd.h: Don't handle !USE___THREAD.
34283         * elf/dl-libc.c: Likewise.
34284         * elf/dl-tsd.c: Likewise.
34285         * include/errno.h: Likewise.
34286         * include/netdb.h: Likewise.
34287         * include/resolv.h: Likewise.
34288         * inet/herrno-loc.c: Likewise.
34289         * inet/herrno.c: Likewise.
34290         * malloc/arena.c: Likewise.
34291         * malloc/hooks.c: Likewise.
34292         * malloc/malloc.c: Likewise.
34293         * resolv/res-state.c: Likewise.
34294         * resolv/res_libc.c: Likewise.
34295         * sysdeps/i386/dl-machine.h: Likewise.
34296         * sysdeps/ia64/dl-machine.h: Likewise.
34297         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
34298         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34299         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
34300         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
34301         * sysdeps/sh/dl-machine.h: Likewise.
34302         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34303         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34304         * sysdeps/unix/i386/sysdep.S: Likewise.
34305         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34306         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
34307         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
34308         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34309         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
34310         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34311         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
34312         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34313         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34314         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34315         * sysdeps/unix/x86_64/sysdep.S: Likewise.
34316         * sysdeps/x86_64/dl-machine.h: Likewise.
34317         * tls.make.c: Likewise.
34318
34319         * configure.in: Remove --with-__thread option.  Make tests for
34320         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
34321         tls_model attribute fail if no support is available.  Remove
34322         USE_IN_LIBIO.
34323         * Makeconfig: Adjust for dropped configure option.  All features are
34324         now mandatory.
34325         * Makerules: Likewise.
34326         * Versions.def: Likewise.
34327         * argp/argp-fmtstream.c: Likewise.
34328         * argp/argp-fmtstream.h: Likewise.
34329         * argp/argp-help.c: Likewise.
34330         * assert/assert.c: Likewise.
34331         * config.h.in: Likewise.
34332         * config.make.in: Likewise.
34333         * configure: Likewise.
34334         * configure.in: Likewise.
34335         * csu/Versions: Likewise.
34336         * csu/init.c: Likewise.
34337         * elf/tst-audit2.c: Likewise.
34338         * elf/tst-tls10.c: Likewise.
34339         * elf/tst-tls10.h: Likewise.
34340         * elf/tst-tls11.c: Likewise.
34341         * elf/tst-tls12.c: Likewise.
34342         * elf/tst-tls14.c: Likewise.
34343         * elf/tst-tlsmod11.c: Likewise.
34344         * elf/tst-tlsmod12.c: Likewise.
34345         * elf/tst-tlsmod13.c: Likewise.
34346         * elf/tst-tlsmod13a.c: Likewise.
34347         * elf/tst-tlsmod14a.c: Likewise.
34348         * elf/tst-tlsmod15b.c: Likewise.
34349         * elf/tst-tlsmod16a.c: Likewise.
34350         * elf/tst-tlsmod16b.c: Likewise.
34351         * elf/tst-tlsmod7.c: Likewise.
34352         * elf/tst-tlsmod8.c: Likewise.
34353         * elf/tst-tlsmod9.c: Likewise.
34354         * gmon/gmon.c: Likewise.
34355         * grp/fgetgrent_r.c: Likewise.
34356         * grp/putgrent.c: Likewise.
34357         * hurd/fopenport.c: Likewise.
34358         * include/libc-symbols.h: Likewise.
34359         * include/tls.h: Likewise.
34360         * intl/gettextP.h: Likewise.
34361         * intl/loadinfo.h: Likewise.
34362         * locale/global-locale.c: Likewise.
34363         * locale/localeinfo.h: Likewise.
34364         * mach/devstream.c: Likewise.
34365         * malloc/arena.c: Likewise.
34366         * malloc/set-freeres.c: Likewise.
34367         * misc/err.c: Likewise.
34368         * misc/getttyent.c: Likewise.
34369         * misc/mntent_r.c: Likewise.
34370         * posix/getopt.c: Likewise.
34371         * posix/wordexp.c: Likewise.
34372         * pwd/fgetpwent_r.c: Likewise.
34373         * resolv/Versions: Likewise.
34374         * resolv/res_hconf.c: Likewise.
34375         * shadow/fgetspent_r.c: Likewise.
34376         * shadow/putspent.c: Likewise.
34377         * stdio-common/printf_fphex.c: Likewise.
34378         * stdio-common/tmpfile.c: Likewise.
34379         * stdlib/abort.c: Likewise.
34380         * stdlib/fmtmsg.c: Likewise.
34381         * sunrpc/auth_unix.c: Likewise.
34382         * sunrpc/clnt_perr.c: Likewise.
34383         * sunrpc/clnt_tcp.c: Likewise.
34384         * sunrpc/clnt_udp.c: Likewise.
34385         * sunrpc/clnt_unix.c: Likewise.
34386         * sunrpc/openchild.c: Likewise.
34387         * sunrpc/svc_simple.c: Likewise.
34388         * sunrpc/svc_tcp.c: Likewise.
34389         * sunrpc/svc_udp.c: Likewise.
34390         * sunrpc/svc_unix.c: Likewise.
34391         * sunrpc/xdr.c: Likewise.
34392         * sunrpc/xdr_array.c: Likewise.
34393         * sunrpc/xdr_rec.c: Likewise.
34394         * sunrpc/xdr_ref.c: Likewise.
34395         * sunrpc/xdr_stdio.c: Likewise.
34396
34397 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34398
34399         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34400
34401 2011-07-03  Andreas Jaeger  <aj@suse.de>
34402
34403         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
34404         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
34405         regenerate with gen-libm-tests.pl.
34406
34407 2010-05-12  Petr Baudis  <pasky@suse.cz>
34408
34409         [BZ #11589]
34410         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
34411         around j0() zero points by switching to j1().
34412         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34413         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
34414         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34415         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34416
34417 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34418
34419         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
34420         instead of 0.
34421         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
34422         instead of 0.
34423         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34424         Patch in part by Pavel Roskin <proski@gnu.org>.
34425
34426         [BZ #13138]
34427         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
34428         realloc.
34429         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
34430         Free memory block if necessary.
34431
34432         [BZ #12847]
34433         * libio/genops.c (INTDEF): For string streams the _lock pointer can
34434         be NULL.  Don't lock in this case.
34435
34436 2011-09-09  Roland McGrath  <roland@hack.frob.com>
34437
34438         * elf/elf.h (ELFOSABI_GNU): New macro.
34439         (ELFOSABI_LINUX): Define to that.
34440
34441 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
34442
34443         * string/strncat.c (strncat): Undef the symbol in case it has been
34444         defined in bits/string.h.
34445
34446 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
34447
34448         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
34449
34450         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
34451         link map.
34452
34453 2011-08-17  Andreas Jaeger  <aj@suse.de>
34454
34455         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
34456
34457 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
34458             Ian Lance Taylor  <iant@google.com>
34459
34460         * math/libm-test.inc (lround_test): New testcase.
34461         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
34462
34463 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
34464
34465         * Makefile: Remove support for automatic cvs check-ins.
34466         * Makerules: Likewise.
34467         * config.make.in: Likewise.
34468         * configure.in: Likewise.
34469         * intl/Makefile: Likewise.
34470         * locale/Makefile: Likewise.
34471         * po/Makefile: Likewise.
34472         * posix/Makefile: Likewise.
34473         * sysdeps/gnu/Makefile: Likewise.
34474         * sysdeps/mach/hurd/Makefile: Likewise.
34475         * sysdeps/sparc/sparc32/Makefile: Likewise.
34476
34477         [BZ #13118]
34478         * posix/Makefile (bug-regex32-ENV): Define.
34479         Patch by John Stanley <jpsinthemix@verizon.net>.
34480
34481         * misc/Makefile (headers): Add bits/select2.h.
34482         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
34483         * misc/bits/select2.h: New file.
34484         * include/bits/select2.h: New file.
34485         * debug/Makefile (routines): Add fdelt_chk.
34486         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
34487         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
34488         FD_ISSET.
34489         * debug/fdelt_chk.c: New file.
34490
34491         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
34492         * wcsmbs/test-wmemcmp.c: Likewise.
34493         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
34494         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
34495
34496 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34497
34498         * string/Makefile (strop-tests): Add memcmp.
34499         * string/test-wmemcmp.c: New file.
34500         * string/test-memcmp.c: Add wmemcmp support.
34501
34502 2011-09-08  Roland McGrath  <roland@hack.frob.com>
34503
34504         [BZ #13153]
34505         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
34506         2011-07-19 change.
34507
34508         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
34509         garbage value in a __mach_port_mod_refs call in the cases of the
34510         task-self and thread-self ports.
34511
34512 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34513
34514         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
34515
34516 2011-09-08  Andreas Schwab  <schwab@redhat.com>
34517
34518         * elf/dl-load.c (lose): Check for non-null L.
34519
34520 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
34521
34522         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
34523
34524         * elf/dl-libc.c (dlerror_run): Pass back error code from
34525         dl_catch_error.
34526
34527         [BZ #13123]
34528         * elf/dl-load.c (lose): Free l_origin if it is valid.
34529
34530         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
34531         names.
34532         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
34533         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34534         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
34535         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34536         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
34537         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
34538
34539 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34540
34541         * sysdeps/powerpc/fpu/e_hypot.c: New file.
34542         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
34543         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
34544         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
34545         * sysdeps/powerpc/fpu/k_cosf.c: New file.
34546         * sysdeps/powerpc/fpu/k_sinf.c: New file.
34547         * sysdeps/powerpc/fpu/s_cosf.c: New file.
34548         * sysdeps/powerpc/fpu/s_sinf.c: New file.
34549         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
34550         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
34551
34552 2011-08-15  Alan Modra  <amodra@gmail.com>
34553
34554         [BZ #13092]
34555         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
34556         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
34557         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
34558         ppc_mcount to static-only-routines.
34559         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
34560         __mcount_internal.
34561         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
34562         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
34563
34564 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
34565
34566         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
34567         for finite and infinity parameters.
34568
34569 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
34570
34571         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
34572         and add nop instructions for throughput optimization.
34573         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34574
34575 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
34576
34577         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
34578         aligned copy for power7 with vector-scalar instructions.
34579         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
34580
34581 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
34582
34583         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
34584         AVX check.
34585
34586 2011-09-07  Andreas Schwab  <schwab@redhat.com>
34587
34588         [BZ #13144]
34589         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
34590         last change.
34591
34592 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
34593
34594         * sysdeps/unix/sysv/linux/x86_64/init-first.c
34595         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
34596         syscall wrapper around clock_gettime in __vdso_clock_gettime.
34597         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
34598         clock_gettime.
34599
34600 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
34601
34602         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
34603         Forgot to demangle the pointer.
34604
34605         * sysdeps/i386/sysdep.h: Define atom_text_section.
34606         * sysdeps/x86_64/sysdep.h: Likewise.
34607         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
34608         section with atom_text_section.
34609         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
34610         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
34611         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
34612         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
34613         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
34614
34615         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
34616         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
34617         already be defined.  Change to take two parameters and don't assign
34618         result to variable.  Adjust all users.
34619         Define INTERNAL_GETTIME if not already defined.
34620         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
34621         call.
34622         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
34623         HAVE_CLOCK_GETTIME_VSYSCALL.
34624         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
34625
34626         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
34627         gettimeofday vsyscall, just use time.
34628
34629 2011-09-06  Andreas Schwab  <schwab@redhat.com>
34630
34631         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
34632         <errno.h>.
34633
34634 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
34635
34636         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
34637         syscall on x86-64.
34638         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
34639         syscall.
34640         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
34641         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
34642         syscall if possible.
34643
34644 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34645
34646         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
34647         e_ident.  Don't pass to find_mapsXX.
34648         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
34649
34650 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34651
34652         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34653         strchr-sse2-no-bsf strrchr-sse2-no-bsf
34654         * sysdeps/x86_64/multiarch/strchr.S: Update.
34655         Check bit_slow_BSF bit.
34656         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34657         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
34658         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
34659
34660 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34661
34662         [BZ #13134]
34663         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
34664         before glibc 2.15.
34665         (tryshell): Define.
34666         (__spawni): Change last parameter to be flag.  Test
34667         SPAWN_XFLAGS_USE_PATH flag to use path or not.
34668         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
34669         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
34670         * posix/spawni.c: Likewise.
34671         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
34672         * posix/spawnp.c: Likewise.  Change normal version to use
34673         SPAWN_XFLAGS_USE_PATH.
34674         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
34675         SPAWN_XFLAGS_TRY_SHELL.
34676
34677         [BZ #13150]
34678         * posix/glob.h: Remove gcc 1.x support.
34679
34680         [BZ #13068]
34681         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
34682
34683 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
34684
34685         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34686         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
34687         strrchr-sse2-bsf
34688         * sysdeps/i386/i686/multiarch/strchr.S: New file.
34689         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
34690         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
34691         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
34692         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
34693         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
34694
34695 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34696
34697         * sysdeps/x86_64/wcscmp.S: New file.
34698
34699         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
34700         wcscmp-c wcscmp-sse2
34701         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
34702         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
34703         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
34704         * wcsmbs/wcscmp.c: Allow renaming.
34705
34706 2011-09-05  David S. Miller  <davem@davemloft.net>
34707
34708         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
34709         stack slot, rather than the struct return pointer slot.
34710         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
34711         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
34712         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
34713         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
34714
34715 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
34716
34717         * po/ja.po: Update from translation team.
34718
34719         [BZ #13144]
34720         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
34721         kernel in 64-bit binaries.
34722
34723 2011-09-01  David S. Miller  <davem@davemloft.net>
34724
34725         * elf/elf.h (HWCAP_SPARC_*): Move to..
34726         * sysdeps/sparc/sysdep.h: this new file and add new values.
34727         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
34728         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
34729         _DL_HWCAP_COUNT to 24.
34730         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34731         entries.
34732         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
34733         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
34734         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
34735         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
34736         instead of magic constants.
34737         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34738
34739 2011-08-31  David S. Miller  <davem@davemloft.net>
34740
34741         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
34742         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
34743         Reimplement to do errno handling inline.
34744         (SYSCALL_ERROR_HANDLER): New macro.
34745         (__SYSCALL_STRING): Do not do errno handling in asm.
34746         (__CLONE_SYSCALL_STRING): Delete.
34747         (__INTERNAL_SYSCALL_STRING): Delete.
34748         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
34749         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
34750         (PSEUDO): Reimplement to do errno handling inline.
34751         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
34752         (SYSCALL_ERROR_HANDLER): New macro.
34753         (__SYSCALL_STRING): Do not do errno handling in asm.
34754         (__CLONE_SYSCALL_STRING): Delete.
34755         (__INTERNAL_SYSCALL_STRING): Delete.
34756         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
34757         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
34758         i386.
34759         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
34760         (inline_syscall*): Add 'err' argument.
34761         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
34762         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
34763         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
34764         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
34765
34766         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
34767         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34768
34769 2011-08-30  Andreas Schwab  <schwab@redhat.com>
34770
34771         * elf/rtld.c (dl_main): Relocate objects in dependency order.
34772
34773 2011-08-29  Jiri Olsa <jolsa@redhat.com>
34774
34775         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
34776         directive.
34777
34778 2011-08-24  David S. Miller  <davem@davemloft.net>
34779
34780         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
34781
34782 2011-08-24  Andreas Schwab  <schwab@redhat.com>
34783
34784         * elf/Makefile: Add rules to build and run unload8 test.
34785         * elf/unload8.c: New file.
34786         * elf/unload8mod1.c: New file.
34787         * elf/unload8mod1x.c: New file.
34788         * elf/unload8mod2.c: New file.
34789         * elf/unload8mod3.c: New file.
34790
34791         * elf/dl-close.c (_dl_close_worker): Reset private search list if
34792         it wasn't used.
34793
34794 2011-08-23  David S. Miller  <davem@davemloft.net>
34795
34796         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
34797         subtract stack bias.
34798         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
34799         %sp not %fp in calculations.
34800         (_JMPBUF_UNWINDS_ADJ): Likewise.
34801
34802         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
34803         (aio_suspend): Call it to force an exception region around the
34804         AIO_MISC_WAIT() invocation.
34805
34806 2011-08-23  Andreas Schwab  <schwab@redhat.com>
34807
34808         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
34809         backslash.
34810
34811 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
34812
34813         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
34814         protection macro.
34815         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
34816         and <dl-machine.h>.
34817         (Elf64_FuncDesc): Remove.
34818
34819 2011-08-22  David S. Miller  <davem@davemloft.net>
34820
34821         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
34822         sigaltstack check, add missing cfi directives.
34823         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
34824         missing cfi directives, and sigaltstack handling.
34825
34826 2011-08-16  Andreas Schwab  <schwab@redhat.com>
34827
34828         [BZ #11724]
34829         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
34830         object is seen twice.
34831         * elf/dl-fini.c (_dl_sort_fini): Likewise.
34832
34833         * elf/Makefile (distribute): Add tst-initorder2.c.
34834         (tests): Add tst-initorder2.
34835         (modules-names): Add tst-initorder2a tst-initorder2b
34836         tst-initorder2c tst-initorder2d.  Add rules to build them.
34837         ($(objpfx)tst-initorder2.out): New rule.
34838         * elf/tst-initorder2.c: New file.
34839         * elf/tst-initorder2.exp: New file.
34840
34841 2011-08-22  Andreas Schwab  <schwab@redhat.com>
34842
34843         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
34844
34845         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
34846         dependencies back to end of function.
34847
34848         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34849         $(elfobjdir)/ld.so.
34850
34851 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
34852
34853         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
34854         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
34855         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
34856         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
34857         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
34858         of __vdso_gettimeofday.
34859         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
34860         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
34861         attribute_hidden.
34862         (_libc_vdso_platform_setup): Remove initialization of
34863         __vdso_gettimeofday and __vdso_time.
34864
34865 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34866
34867         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
34868         and fgetc_unlocked.
34869         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
34870         getc_unlocked.
34871
34872         * elf/dl-open.c (add_to_global): Report additions to the global scope
34873         for LD_DEBUG=scopes.
34874         (dl_open_worker): Also print scope of newly loaded dependencies.
34875         (_dl_show_scope): Indicate if there is no scope.
34876
34877         [BZ #13114]
34878         * stdio-common/Makefile (tests): Add bug24.
34879         * stdio-common/bug24.c: New file.
34880
34881 2011-08-19  Andreas Jaeger  <aj@suse.de>
34882
34883         [BZ #13114]
34884         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
34885         non-existant file when using close-on-exec mode.
34886
34887 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
34888
34889         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
34890         the very first instruction.
34891
34892         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
34893         the CFI state in the end.
34894         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
34895         inclusion of dl-trampoline.h.
34896         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
34897
34898 2011-08-19  Andreas Schwab  <schwab@redhat.com>
34899
34900         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
34901         expectations for long double.
34902
34903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
34904         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
34905
34906 2011-08-14  David S. Miller  <davem@davemloft.net>
34907
34908         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
34909         artificual limit depends upon the system page size.
34910
34911 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34912
34913         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
34914         * resolv/Makefile: Define CFLAGS-libresolv.
34915
34916 2011-08-17  Andreas Schwab  <schwab@redhat.com>
34917
34918         * nss/makedb.c (compute_tables): Make variables used in nested
34919         function static.
34920
34921 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
34922
34923         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
34924         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
34925         if buffer was too small.
34926
34927         * elf/pldd.c (main): Attach to all threads in the process.
34928         Rewrite /proc handling to use *at functions.
34929
34930 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
34931
34932         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
34933         specifies first scope to show.
34934         (dl_open_worker): Update callers.  Move printing scope of new
34935         object to before the relocation.
34936         * elf/rtld.c (dl_main): Update _dl_show_scope call.
34937         * sysdeps/generic/ldsodefs.h: Update declaration.
34938
34939         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
34940         string for the scope number.
34941
34942 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
34943
34944         * nscd/servicescache.c (cache_addserv): Make sure written is always
34945         initialized.
34946
34947 2011-08-14  Roland McGrath  <roland@hack.frob.com>
34948
34949         * sysdeps/i386/i486/bits/atomic.h
34950         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
34951         statement expression, so as to suppress "set but not used" warning.
34952         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
34953
34954         * string/strncat.c (STRNCAT): Use prototype definition.
34955
34956         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
34957         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
34958         -Iprograms here.
34959         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
34960         (localedef-modules): Add localedef.
34961         (locale-modules): Add locale.
34962
34963         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
34964         * elf/rtld.c (dl_main): Invert order of assignment in last change,
34965         to avoid a warning.
34966
34967 2011-08-14  David S. Miller  <davem@davemloft.net>
34968
34969         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
34970         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
34971
34972 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
34973
34974         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
34975         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
34976         * elf/rtld.c (dl_main): Set l_name of vDSO.
34977         Call _dl_show_scope when DL_DEBUG_SCOPES.
34978         (process_dl_debug): Recognize scopes flag and also set it for all.
34979         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
34980         Declare _dl_show_scope.
34981
34982         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
34983         (do_dlopen): Pass caller_dlopen to dl_open.
34984         (__libc_dlopen_mode): Initialize caller_dlopen.
34985
34986         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
34987         of libc.  Make tolower call locale-independent.  Optimize a bit by
34988         using isdigit instead of isalnum.
34989         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
34990
34991 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
34992
34993         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
34994         was a dependency or dynamically loaded.
34995
34996 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
34997
34998         * intl/l10nflist.c: Allow architecture-specific pop function.
34999         * sysdeps/x86_64/l10nflist.c: New file.
35000
35001         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
35002         classification.
35003
35004 2011-08-10  Andreas Schwab  <schwab@redhat.com>
35005
35006         * include/dirent.h: Add libc_hidden_proto for scandirat and
35007         scandirat64.  Don't declare __scandirat64.
35008         * dirent/scandirat.c: Add libc_hidden_def.
35009         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
35010         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
35011
35012 2011-08-10  David S. Miller  <davem@davemloft.net>
35013
35014         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
35015         enum.
35016         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35017         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35018         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35019
35020 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
35021
35022         * Versions.def [libc]: Add GLIBC_2.15.
35023         * dirent/Makefile (routines): Add scandirat and scandirat64.
35024         * dirent/Versions [libc]: Export scandirat and scandirat64 for
35025         GLIBC_2.15.
35026         * dirent/dirent.h: Declare scandirat and scandirat64.
35027         * dirent/scandirat.c: New file.
35028         * dirent/scandirat64.c: New file.
35029         * sysdeps/wordsize-64/scandirat.c: New file.
35030         * sysdeps/wordsize-64/scandirat64.c: New file.
35031         * dirent/opendir.c: Define opendirat.
35032         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
35033         using scandirat.
35034         * dirent/scandir64.c: Adjust for scandir.c change.
35035         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
35036         __scandirat64, and __scandir_cancel_handler.
35037         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
35038         additional parameter and use openat instead of open (outside of ld.so).
35039         Add new __opendir as wrapper around __opendirat.
35040         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
35041         here without requiring old scandirat implementation.
35042
35043 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
35044
35045         * dirent/scandir.c (cancel_handler): Renamed to
35046         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
35047         defined.  Adjust users.
35048         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
35049         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
35050
35051 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
35052
35053         * string/test-string.h (IMPL): Use __STRING to expand name and then
35054         stringify it.
35055
35056         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
35057         of cleanups.
35058
35059 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35060
35061         * string/Makefile: Update.
35062         (strop-tests): Append strncat.
35063         * string/test-wcscmp.c: New file.
35064         New comprehensive test for wcscmp.
35065         * string/test-strcmp.c: Update.
35066         (WIDE): New define.
35067
35068 2011-07-22  Andreas Schwab  <schwab@redhat.com>
35069
35070         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
35071         line.
35072
35073 2011-07-26  Andreas Schwab  <schwab@redhat.com>
35074
35075         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35076         encoding to ACE if AI_IDN.
35077
35078 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
35079
35080         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
35081         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
35082
35083 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35084
35085         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
35086         Fix overflow bug in strncat.
35087         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35088
35089         * string/test-strncat.c: Update.
35090         Add new tests for checking overflow bugs.
35091
35092 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35093
35094         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35095         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
35096         * sysdeps/i386/i686/multiarch/strcat.S: New file.
35097         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
35098         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
35099         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
35100         * sysdeps/i386/i686/multiarch/strncat.S: New file.
35101         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
35102         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
35103
35104         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
35105         (USE_AS_STRCAT): Define.
35106         Add strcat and strncat support.
35107         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35108
35109 2011-07-25  Andreas Schwab  <schwab@redhat.com>
35110
35111         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
35112         __n bigger than INT_MAX+1.
35113         (__strncmp_g): Likewise.
35114
35115 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
35116
35117         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
35118         * libio/stido.h: Likewise.
35119
35120         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
35121         (AF_NFC): Define.
35122         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
35123         (AF_NFC): Define.
35124
35125         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
35126         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35127         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35128         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
35129         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35130
35131         [BZ #13021]
35132         * scripts/test-installation.pl: Don't expect libnss_test1 to be
35133         installed.
35134
35135         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
35136         typo.
35137         (_dl_x86_64_save_sse): Likewise.
35138
35139 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
35140
35141         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
35142         OSXSAVE.
35143         (_dl_x86_64_save_sse): Likewise.
35144
35145         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
35146
35147         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
35148
35149 2011-07-21  Andreas Schwab  <schwab@redhat.com>
35150
35151         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
35152         change.
35153         (_dl_x86_64_save_sse): Use correct AVX check.
35154
35155 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35156
35157         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
35158         bug in strncpy/strncat.
35159         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
35160
35161 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
35162
35163         * string/tester.c (test_strcat): Add tests for different alignments
35164         of source and destination.
35165         (test_strncat): Likewise.
35166
35167 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
35168
35169         [BZ #12852]
35170         * posix/glob.c (glob): Check passed in values before using them in
35171         expressions to avoid some overflows.
35172         (glob_in_dir): Likewise.
35173
35174         [BZ #13007]
35175         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
35176         check for AVX enablement so that we don't crash with old kernels and
35177         new hardware.
35178         * elf/tst-audit4.c: Add same checks here.
35179         * elf/tst-audit6.c: Likewise.
35180
35181         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
35182
35183 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
35184
35185         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
35186
35187 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
35188
35189         * po/cs.po: Update from translation team.
35190         * po/bg.po: Likewise.
35191
35192 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
35193
35194         * misc/sys/cdefs.h: Add support for const attribute.
35195         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
35196         to gnu_dev_{major,minor,makedev} functions.
35197
35198 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
35199
35200         * intl/dcigettext.c (get_output_charset): Add missing bracket.
35201
35202 2011-07-20  Andreas Schwab  <schwab@redhat.com>
35203
35204         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
35205         strlen results.
35206
35207 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35208
35209         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
35210         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
35211         register in order to avoid conflicts with the soft frame pointer
35212         being held in r11 when necessary.
35213         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
35214         (INTERNAL_VSYSCALL_NCS): Likewise.
35215
35216 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
35217
35218         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
35219         * elf/dl-fini.c (_dl_fini): Adjust caller.
35220         * elf/dl-close.c (_dl_close_worker): Likewise.
35221         * sysdeps/generic/ldsodefs.h: Adjust declaration.
35222
35223 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
35224
35225         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
35226         "aux_cache->nlibs < 0".
35227
35228         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
35229         in the reload-count case.
35230
35231 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
35232
35233         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35234         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
35235         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
35236         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
35237         * sysdeps/x86_64/multiarch/strcat.S: New file.
35238         * sysdeps/x86_64/multiarch/strncat.S: New file.
35239         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
35240         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
35241         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
35242         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
35243         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
35244         (USE_AS_STRCAT): Define.
35245         Add strcat and strncat support.
35246         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
35247         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
35248         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
35249         * string/strncat.c: Update.
35250         (USE_AS_STRNCAT): Define.
35251         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35252         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
35253         and i7.
35254         * sysdeps/x86_64/multiarch/init-arch.h
35255         (bit_Prefer_PMINUB_for_stringop): New.
35256         (index_Prefer_PMINUB_for_stringop): Likewise.
35257         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
35258         bit_Prefer_PMINUB_for_stringop.
35259
35260 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
35261
35262         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
35263         buffer64.
35264         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
35265         of casting of buffer.
35266         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
35267         buffer32 and buffer64.
35268         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
35269         writes instead of casting of buffer.
35270         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
35271         buffer32.
35272         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
35273         casting of buffer.
35274
35275 2011-07-19  Andreas Schwab  <schwab@redhat.com>
35276
35277         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
35278
35279 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
35280
35281         * nscd/nscd.c (termination_handler): Don't do anything for a database
35282         if it has not yet been initialized.
35283
35284 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
35285
35286         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35287
35288 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
35289
35290         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
35291
35292 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
35293
35294         * po/nl.po: Update from translation team.
35295         * po/sv.po: Likewise.
35296
35297 2011-07-16  Roland McGrath  <roland@hack.frob.com>
35298
35299         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
35300         now disallowed by GCC.
35301
35302         * configure.in (use-default-link): Default to yes if a test -shared
35303         link meets our qualifications.
35304         * configure: Regenerated.
35305
35306         * config.make.in (output-format): New variable.
35307         * configure.in: Check for ld --print-output-format support.
35308         * configure: Regenerated.
35309         * Makerules ($(common-objpfx)format.lds)
35310         [$(output-format) != unknown]: Just use $(output-format),
35311         instead of the linker-script munging.
35312
35313 2011-07-14  Roland McGrath  <roland@hack.frob.com>
35314
35315         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
35316         of $(common-objpfx)shlib.lds.
35317         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
35318
35319         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
35320         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
35321
35322         * configure.in (-z relro check): Adjust test code to add a large
35323         writable data section after it.
35324         * configure: Regenerated.
35325
35326 2011-07-11  Roland McGrath  <roland@hack.frob.com>
35327
35328         * configure.in (-z relro check): Fix test code to make the variable
35329         truly const.
35330         * configure: Regenerated.
35331
35332 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
35333
35334         * nscd/nscd.h (struct traced_file): Define.
35335         (struct database_dyn): Remove inotify_descr, reset_res, and filename
35336         elements.  Add traced_files.
35337         (inotify_fd): Declare.
35338         (register_traced_file): Declare.
35339         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
35340         (inotify_fd): Export.
35341         (resolv_conf_descr): Remove.
35342         (nscd_init): Move inotify descriptor creation to main.
35343         Don't register files for notification here.
35344         (register_traced_file): New function.
35345         (invalidate_cache): Don't use reset_res to determine whether to call
35346         res_init, go through the list of registered files.
35347         (main_loop_poll): The inotify descriptors are now stored in the
35348         structures for the traced files.
35349         (main_loop_epoll): Likewise
35350         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
35351         to __nss_disable_nscd.
35352         * nscd/cache.c (prune_cache): There is no single inotify descriptor
35353         for a database anymore.  Check the records for all the registered
35354         files instead.
35355         * nss/Makefile (libnss_files-routines): Add files-init.
35356         (libnss_db-routines): Add db-init.
35357         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
35358         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
35359         * nss/nss_db/db-init.c: New file.
35360         * nss/nss_files/files-init.c: New file.
35361         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
35362         __nss_lookup_function.
35363         (__nss_lookup_function): Call nss_load_library.
35364         (nss_load_all_libraries): New function.
35365         (__nss_disable_nscd): Take parameter with callback function for files
35366         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
35367         used for the cached services.
35368         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
35369         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
35370         options for features to all the files in nscd.
35371
35372         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
35373
35374 2011-07-10  Roland McGrath  <roland@hack.frob.com>
35375
35376         * csu/elf-init.c (__libc_csu_init): Comment typo.
35377
35378 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
35379
35380         * po/pl.po: Update from translation team.
35381         * po/ja.po: Likewise.
35382         * po/ru.po: Likewise.
35383         * po/ko.po: Likewise.
35384         * po/fr.po: Likewise.
35385
35386 2011-07-09  Roland McGrath  <roland@hack.frob.com>
35387
35388         * configure.in (.ctors/.dtors header and trailer check):
35389         Use an empirical test on a built program.
35390         * configure: Regenerated.
35391
35392         * configure.in (-z relro check): Use an empirical test on a built DSO.
35393         Detect, but do not require, on ia64.
35394         * configure: Regenerated.
35395
35396         * configure.in (READELF): Find it with AC_CHECK_TOOL.
35397         Update tests that use readelf to use $READELF instead.
35398         * configure: Regenerated.
35399
35400 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
35401
35402         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
35403         if the result is not used.
35404
35405 2011-07-05  Andreas Jaeger  <aj@suse.de>
35406
35407         [BZ#9696]
35408         * stdlib/tst-strtod.c: Add testcase.
35409
35410 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
35411
35412         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
35413         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
35414         The latter has a higher limit.  Take additional parameter to pass to
35415         the new function.
35416         (__pathconf): Pass file to __statfs_link_max.
35417         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
35418         __statfs_link_max.
35419         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
35420         __statfs_link_max.
35421
35422         [BZ #12868]
35423         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
35424         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35425         Handle Lustre.
35426         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
35427         (__statfs_filesize_max): Likewise.
35428         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
35429
35430 2011-07-05  Andreas Jaeger  <aj@suse.de>
35431
35432         * resolv/res_comp.c (dn_skipname): Remove unused variable.
35433
35434 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
35435
35436         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
35437         `status' variable.
35438         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
35439         Likewise.
35440
35441 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
35442
35443         * Makefile (strop-tests): Add strncat.
35444         * string/test-strncat.c: New file.
35445
35446 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
35447
35448         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
35449
35450 2011-06-21  Andreas Jaeger  <aj@suse.de>
35451
35452         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
35453         Copy rule from iconvdata/Makefile.
35454
35455 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
35456
35457         [BZ #12922]
35458         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
35459         but no long options are defined, just return 'W'.
35460
35461 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
35462
35463         [BZ #9696]
35464         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
35465
35466 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
35467
35468         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
35469         netgroups to read.
35470         (innetgr): Likewise.
35471
35472 2011-07-05  Roland McGrath  <roland@hack.frob.com>
35473
35474         * config.make.in (install_root): Default to $(DESTDIR).
35475
35476 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
35477
35478         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
35479
35480 2011-07-02  Roland McGrath  <roland@hack.frob.com>
35481
35482         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
35483
35484         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
35485         containing directory rather than embedding absolute directory names.
35486
35487         * scripts/check-local-headers.sh: Rewritten using awk.
35488         Match by word, not by line.  Print error messages for matches.
35489         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
35490
35491         * Makerules [shlib-lds-flags empty]:
35492         ($(common-objpfx)libc_pic.opts): New target.
35493         ($(common-objpfx)libc_pic.os.clean): New target.
35494         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
35495
35496         * config.make.in (OBJCOPY): New variable.
35497         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
35498         * configure: Regenerated.
35499
35500         * config.make.in (use-default-link): New variable.
35501         * configure.in (use_default_link): Grok --with-default-link to set it.
35502         * configure: Regenerated.
35503         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
35504         (shlib-lds, shlib-lds-flags): Define to empty.
35505
35506         * Makerules (shlib-lds): New variable.
35507         (shlib-lds-flags): New variable.
35508         (build-shlib, build-moduile, build-module-asneeded): Use it.
35509         ($(common-objpfx)libc.so): Use $(shlib-lds).
35510         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
35511         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
35512
35513         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
35514         DT_FLAGS/DT_FLAGS_1 with zero flags.
35515
35516         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
35517         linker script munging.
35518
35519 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
35520
35521         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
35522         as 128-bit value.
35523         * crypt/sha512.c (sha512_process_block): Perform total addition using
35524         128-bit if possible.
35525         (__sha512_finish_ctx): Likewise.
35526         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
35527         as 64-bit value.
35528         * crypt/sha256.c (SWAP64): Define.
35529         (sha256_process_block): Perform total addition using 64-bit if
35530         possible.
35531         (__sha256_finish_ctx): Likewise.
35532
35533 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
35534
35535         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
35536         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35537         * nscd/hstcache.c (cache_addhst): Likewise.
35538         * nscd/grpcache.c (cache_addgr): Likewise.
35539         * nscd/aicache.c (addhstaiX): Likewise
35540         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
35541
35542 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
35543
35544         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
35545         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35546         * nscd/hstcache.c (cache_addhst): Likewise.
35547         * nscd/grpcache.c (cache_addgr): Likewise.
35548         * nscd/aicache.c (addhstaiX): Likewise
35549
35550 2011-07-01  Andreas Schwab  <schwab@redhat.com>
35551
35552         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
35553         domain only when needed.
35554
35555 2011-06-30  Andreas Schwab  <schwab@redhat.com>
35556
35557         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
35558         is always restored.
35559
35560 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
35561
35562         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
35563         are re-adding the entry.
35564         * nscd/servicescache.c (cache_addserv): Likewise.
35565
35566 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
35567
35568         * sysdeps/generic/dl-irel.h: fix protection against multiple
35569         inclusions.
35570         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
35571
35572 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
35573
35574         [BZ #12935]
35575         * malloc/memusage.sh: Fix quoting in message.
35576         * debug/xtrace.sh: Likewise.
35577
35578         * configure.in: Remove support for --experimental-malloc option, make
35579         it the default.
35580         * config.make.in: Likewise.
35581         * malloc/Makefile: Likewise.
35582
35583 2011-06-27  Andreas Schwab  <schwab@redhat.com>
35584
35585         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
35586         two-byte characters.
35587
35588 2011-06-27  Roland McGrath  <roland@hack.frob.com>
35589
35590         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
35591         AC_CACHE_CHECK invocation.
35592         * configure: Regenerated.
35593
35594         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
35595
35596 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
35597
35598         [BZ #12350]
35599         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
35600         bit from old_res_options.
35601
35602         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
35603
35604         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
35605         value type for setfct.
35606
35607 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
35608
35609         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35610         __gettimeofday instead of gettimeofday.
35611
35612 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
35613
35614         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
35615
35616 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
35617
35618         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
35619
35620         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
35621         info.
35622
35623 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
35624
35625         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35626         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35627         strcpy-sse2-unaligned strncpy-sse2-unaligned
35628         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
35629         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
35630         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
35631         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
35632         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
35633         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
35634         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
35635         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
35636         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
35637         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
35638         (STRCPY): Support SSE2 and SSSE3 versions.
35639
35640 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
35641
35642         [BZ #12874]
35643         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
35644         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
35645         kernels which artificially limit size of requests.
35646
35647 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
35648
35649         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35650         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
35651         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
35652         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
35653         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
35654         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
35655         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
35656         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
35657         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
35658         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
35659         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
35660         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
35661         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
35662         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
35663         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
35664         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35665         Enable unaligned load optimization for Intel Core i3, i5 and i7
35666         processors.
35667         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
35668         Define.
35669         (index_Fast_Unaligned_Load): Define.
35670         (HAS_FAST_UNALIGNED_LOAD): Define.
35671
35672 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
35673
35674         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
35675
35676 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35677
35678         [BZ #12907]
35679         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
35680         until it is clear that the information is realy needed.
35681         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
35682
35683 2011-06-22  Andreas Schwab  <schwab@redhat.com>
35684
35685         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
35686
35687 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
35688
35689         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
35690         /sys/devices/system/cpu/online if it is usable.
35691
35692         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
35693         reading the information from the /proc filesystem to once a second.
35694
35695 2011-06-21  Andreas Jaeger  <aj@suse.de>
35696
35697         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
35698         NULL after inclusion of kernel headers.
35699
35700 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
35701
35702         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
35703         calls to internal_setent.
35704
35705         [BZ #12885]
35706         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
35707         addresses using gethostbyname4_r ignore IPv4 addresses.
35708
35709         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
35710         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
35711
35712         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
35713
35714 2011-06-20  David S. Miller  <davem@davemloft.net>
35715
35716         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
35717         inclusions.
35718         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
35719
35720         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
35721         (elf_irel): Use it.
35722         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
35723         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
35724         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
35725         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
35726         * sysdeps/x86_64/dl-irel.h: Likewise.
35727
35728         * elf/dl-runtime.c: Use elf_ifunc_invoke.
35729         * elf/dl-sym.c: Likewise.
35730
35731 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35732
35733         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
35734         need to dereference resplen2.
35735
35736 2011-06-14  Andreas Schwab  <schwab@redhat.com>
35737
35738         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
35739
35740 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
35741
35742         * Makeconfig: Define vardbdir and inst_vardbdir.
35743         * nss/Makefile: Add rules to install db-Makefile.
35744
35745         * nss/nss_db/db-XXX.c: Cleanup.
35746
35747         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
35748         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
35749         GLIBC_PRIVATE.
35750         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
35751         * nss/makedb.c: Implement -g option to specify that value strings
35752         are generated and should not be added to table iterated over for
35753         get*ent calls.
35754         * nss/nss_db/db-initgroups.c: New file.
35755
35756         * nss/getent.c: Add support for initgroups lookups through getgrouplist
35757         interface.
35758
35759         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
35760         (internal_getgrouplist): Adjust to name change.
35761         Update use_initgroups_entry if this is not the first call.
35762         * nss/databases.def: Add initgroups entry.
35763
35764         * nss/makedb.c (compute_tables): Check result of multiple hash table
35765         sizes to minimize maximum chain length.
35766
35767 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
35768
35769         * Versions.def: Add entry for libnss_db.
35770         * shlib-versions: Likewise.
35771         * nss/Makefile: Add rules to build libnss_db.
35772         * nss/Versions: Add libnss_db information.  Organize libnss_files
35773         entries better.
35774         * nss/db-Makefile: Add gshadow support.  Change rules for the new
35775         makedb progra.  Some minor improvements to generate smaller files.
35776         * nss/nss_db/nss_db.h: Move NSS database header data structures to
35777         here from...
35778         * nss/makedb.c: ...here.
35779         Improve database format to be smaller and require less memory at
35780         runtime.
35781         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
35782         db anymore.
35783         * nss/nss_db/db-netgrp.c: Likewise.
35784         * nss/nss_db/db-open.c: Likewise.
35785         * nss/nss_files/flies-XXX.x: Adjust comments.
35786         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
35787         * nss/nss_files/files-grp.c: Likewise.
35788         * nss/nss_files/files-hosts.c: Likewise.
35789         * nss/nss_files/files-network.c: Likewise.
35790         * nss/nss_files/files-proto.c: Likewise.
35791         * nss/nss_files/files-pwd.c: Likewise.
35792         * nss/nss_files/files-rpc.c: Likewise.
35793         * nss/nss_files/files-service.c: Likewise.
35794         * nss/nss_files/files-sgrp.c: Likewise.
35795         * nss/nss_files/files-spwd.c: Likewise.
35796         * nss/nss_db/db-alias.c: Removed.
35797         * nss/nss_db/dummy-db.h: Removed.
35798
35799 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
35800
35801         * nss/makedb.c: Rewritten to not use database library.
35802         * nss/Makefile: Update to build new makedb program.
35803
35804 2011-06-14  Andreas Jaeger  <aj@suse.de>
35805
35806         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
35807         memset declaration.
35808
35809 2011-06-10  Andreas Schwab  <schwab@redhat.com>
35810
35811         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
35812         tmpbuf.
35813
35814 2011-06-10  Roland McGrath  <roland@hack.frob.com>
35815
35816         * Makerules (shlib.lds): Fail if the linker script comes out empty.
35817         * elf/Makefile ($(objpfx)ld.so): Likewise.
35818
35819         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
35820         Don't list ld.so twice in dependencies.
35821
35822         * posix/bug-regex31.c: Include <stdlib.h>.
35823
35824         * nscd/hstcache.c (cache_addhst): Remove unused variable.
35825
35826         * nis/nss_compat/compat-spwd.c
35827         (getspent_next_nss_netgr): Remove unused variable.
35828         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
35829
35830         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
35831         nonmembers" output to use the right array.
35832
35833         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
35834
35835         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
35836
35837         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
35838         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
35839         * catgets/gencat.c (read_input_file): Likewise.
35840         * locale/programs/locarchive.c (enlarge_archive): Likewise.
35841
35842         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
35843         variable definition inside #if's controlling its use.
35844
35845         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
35846
35847         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
35848
35849         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
35850
35851         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
35852         unreachable code.
35853
35854         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
35855
35856         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
35857         * configure: Regenerated.
35858
35859         * Makerules: Revert last change.
35860         * elf/Makefile: Likewise.
35861
35862 2011-06-09  Roland McGrath  <roland@hack.frob.com>
35863
35864         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
35865         * elf/Makefile ($(objpfx)librtld.os): Likewise.
35866         (reloc-link): Likewise.
35867
35868 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
35869
35870         * elf/Makefile: Add rules to build pldd.
35871         * elf/pldd.c: New file.
35872         * elf/pldd-xx.c: New file.
35873
35874 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
35875
35876         * version.h: Update for 2.15 development version.
35877
35878 2011-06-07  David S. Miller  <davem@davemloft.net>
35879
35880         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
35881         ifuncs.
35882         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
35883         elf_machine_lazy_rel): Likewise.
35884         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
35885         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
35886         elf_machine_lazy_rel): Likewise.
35887         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
35888         dl_hwcap via passed in argument.
35889         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
35890         Likewise.
35891
35892 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35893
35894         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
35895
35896 2011-06-06  Roland McGrath  <roland@hack.frob.com>
35897
35898         [BZ #12849]
35899         * manual/fdl-1.1.texi: New file, verbatim from:
35900         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
35901         * manual/lgpl-2.1.texi: New file, verbatim from:
35902         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
35903         * manual/Makefile (licenses): New variable, list those new file names.
35904         (texis): Use it.
35905         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
35906
35907         * manual/fdl.texi: File removed.
35908         * manual/lesser.texi: File removed.
35909         * manual/libc.texinfo (Copying, Documentation License):
35910         Use new @include file names, put @appendix directive before @include.
35911
35912 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
35913
35914         [BZ #12841]
35915         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
35916         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
35917         (mq_open): Add __NTH.
35918
35919 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
35920
35921         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35922         Assume Intel Core i3/i5/i7 processor if AVX is available.
35923
35924 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35925
35926         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35927         typo.
35928
35929 2011-05-31  Andreas Schwab  <schwab@redhat.com>
35930
35931         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
35932         memory.  Use alloca_account.  Fix memory leak when retrying.
35933
35934 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
35935
35936         * version.h (RELEASE): Bump for 2.14 release.
35937         * include/features.h (__GLIBC_MINOR__): Bump to 14.
35938
35939         * config.make.in (RANLIB): Remove entry.
35940
35941 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
35942
35943         * po/Makefile (po-sed-cmd): Add ksh to extensions.
35944         (libc.pot): Work around missing support for .ksh extension in xgettext.
35945
35946         [BZ #12684]
35947         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
35948         if both request failed.
35949         (send_dg): In case of server errors clear resplen or *resplen2.
35950
35951         [BZ #12454]
35952         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
35953         when there are multiple maps.
35954         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
35955         (_dl_fini): Remove test here.
35956
35957         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
35958
35959 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
35960
35961         [BZ #12350]
35962         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
35963         bit from old_res_options.
35964         (gaih_inet): Likewise.
35965
35966         [BZ #11099]
35967         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
35968         as signed.
35969
35970         * resolv/res_init.c (res_setoptions): Make the code more compact.
35971
35972         [BZ #11558]
35973         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
35974         set RES_USEVC.
35975
35976         [BZ #11634]
35977         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
35978
35979         * malloc/malloc.h: Mark malloc hook variables as deprecated.
35980
35981         [BZ #11781]
35982         * malloc/malloc.h: Declare malloc hook variables as volatile.
35983
35984         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
35985         in last patch.
35986
35987         [BZ #11799]
35988         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
35989         raise in the comment.
35990         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
35991         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35992         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
35993
35994 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
35995
35996         [BZ #12811]
35997         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
35998         grow the buffers more if it already has to be sufficient.
35999         (build_wcs_upper_buffer): Likewise.
36000         * posix/regexec.c (check_matching): Likewise.
36001         (clean_state_log_if_needed): Likewise.
36002         (extend_buffers): Don't enlarge buffers beyond size of the input
36003         buffer.
36004         Patches mostly by Emil Wojak <emil@wojak.eu>.
36005         * posix/bug-regex32.c: New file.
36006         * posix/Makefile (tests): Add bug-regex32.
36007
36008         * locale/findlocale.c (_nl_find_locale): Return right away if
36009         _nl_explode_name failed.
36010         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
36011
36012         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
36013
36014         * debug/xtrace.sh: Unify messages.
36015         * malloc/memusage.sh: Likewise.
36016
36017         [BZ #12813]
36018         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
36019         time symbol from vDSO.  Substitute with vsyscall if not available.
36020         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
36021         __vdso_time.
36022
36023         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
36024         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
36025         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
36026         Add sendmmsg and internal_sendmmsg.
36027         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
36028         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
36029         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
36030
36031         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
36032         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
36033         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
36034
36035 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
36036
36037         [BZ #12813]
36038         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
36039         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
36040         available.
36041         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
36042         __vdso_getcpu.
36043
36044         [BZ #12814]
36045         * iconvdata/Makefile (tests): Add bug-iconv9.
36046         * iconvdata/bug-iconv9.c: New file.
36047
36048 2011-05-27  Andreas Schwab  <schwab@redhat.com>
36049
36050         [BZ #12814]
36051         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
36052
36053 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
36054
36055         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36056         (struct user_regs_struct): Change intcs field back to cs.
36057
36058 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
36059
36060         * po/ja.po: Update from translation team.
36061
36062 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
36063
36064         [BZ #12795]
36065         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
36066         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
36067
36068 2011-05-20  Andreas Schwab  <schwab@redhat.com>
36069
36070         * stdlib/longlong.h: Update from GCC.
36071
36072 2011-05-23  Andreas Schwab  <schwab@redhat.com>
36073
36074         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
36075         parameter name.
36076         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
36077         Add parameter name.
36078         (__sysconf): Pass it down.
36079
36080 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
36081
36082         [BZ #12671]
36083         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
36084         some situations.
36085         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36086         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
36087         add in in __libc_use_alloca calls.  Adjust callers.
36088         (glob): Use malloc in some situations.
36089
36090         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
36091         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
36092         pltexit.
36093
36094 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
36095
36096         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
36097         and CLOCK_BOOTTIME_ALARM.
36098
36099         [BZ #12782]
36100         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
36101         is returned.
36102
36103         * string/_strerror.c (__strerror_r): Print negative errors as signed
36104         numbers.
36105
36106         [BZ #12777]
36107         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
36108         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
36109         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
36110
36111         * configure.in: Fix typo in redirection and correct removal of test
36112         files in two cases.
36113
36114         [BZ #12788]
36115         * locale/setlocale.c (new_composite_name): Fix test to check for
36116         identical name of all categories.
36117
36118         [BZ #12792]
36119         * libio/filedoalloc.c (local_isatty): New function.
36120         (_IO_file_doallocate): Use local_isatty.
36121         * stdio-common/perror.c (perror): In case a new stream is used
36122         forward the stream error.
36123         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
36124         error flag.
36125
36126 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
36127
36128         [BZ #11869]
36129         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
36130         alloca.
36131         * include/alloca.h (extend_alloca_account): Define.
36132
36133         [BZ #11857]
36134         * posix/regex.h: Fix comments with documentation of user-accessible
36135         fields after compilation and describe correct free'ing of pattern
36136         after re_compile_pattern.
36137         Patch by Reuben Thomas <rrt@sc3d.org>.
36138
36139 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
36140
36141         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
36142         and -mno-altivec to prevent the compiler from using Altivec and/or
36143         VSX instructions when the corresponding registers are not available.
36144
36145 2011-05-19  Andreas Schwab  <schwab@redhat.com>
36146
36147         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
36148
36149 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
36150
36151         * libio/freopen.c (freopen): Use __dup2, not dup2.
36152         * libio/freopen64.c (freopen64): Likewise.
36153
36154 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
36155
36156         [BZ #12775]
36157         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
36158         * math/Makefile (tests): Add test-powl.
36159         (CFLAGS-test-powl.c): Define.
36160         * math/test-powl.c: New file.
36161
36162 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
36163
36164         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
36165
36166 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
36167
36168         [BZ #11837]
36169         * iconvdata/gb18030.c: Update to GB18020-2005.
36170
36171 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
36172
36173         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
36174         RE_SYNTAX_POSIX_AWK): Update to match recent development.
36175         Patch by Aharon Robbins <arnold@skeeve.com>.
36176
36177         [BZ #11892]
36178         * stdlib/putenv.c (putenv): Don't always create copy of the variable
36179         on the stack.
36180
36181         [BZ #11895]
36182         * misc/pselect.c (__pselect): Handle timeout value errors hidden
36183         through underflows.
36184
36185         [BZ #12766]
36186         * misc/error.c (error_at_line): Ensure file_name and old_file_name
36187         point to strings before performing equality test for error_one_per_line
36188         mode.
36189
36190         [BZ #11697]
36191         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
36192
36193         [BZ #11820]
36194         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
36195         (struct user_fpregs_struct): Avoid __uint*_t types.
36196
36197         [BZ #6420]
36198         * malloc/mtrace.c (tr_where): Add additional parameter to point to
36199         symbol info.  Use it instead of calling _dl_addr locally.
36200         (lock_and_info): New function.
36201         (tr_freehook): Call lock_and_info and pass symbol info as additional
36202         parameter to tr_where.
36203         (tr_mallochook): Likewise.
36204         (tr_reallochook): Likewise.
36205         (tr_memalignhook): Likewise.
36206
36207         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
36208         used and couldn't be at all thread-safe.
36209
36210 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
36211
36212         * libio/freopen.c (freopen): Don't close old file descriptor
36213         before the new one is opened.  Instead dup the new file descriptor
36214         to the old one after the new stream is created.
36215         * libio/freopen64.c (freopen64): Likewise.
36216         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
36217         * libio/fileops.c (_IO_new_file_close_it): Handle new
36218         _IO_FLAGS2_NOCLOSE flag.
36219         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
36220         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
36221         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
36222         _IO_FLAGS2_NOCLOSE flag.
36223         * include/unistd.h: Add hidden_proto for dup3.
36224         Define __have_dup3.
36225         * io/dup3.c: Define hidden symbol.
36226         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
36227
36228         [BZ #7101]
36229         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
36230         when an incomplete long option is used.
36231         * posix/tst-getopt_long1.c: New file.
36232         * posix/Makefile (tests): Add tst-getopt_long1.
36233
36234         [BZ #10138]
36235         * scripts/config.guess: Update from autoconf-2.68.
36236         * scripts/config.sub: Likewise.
36237
36238         [BZ #10157]
36239         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
36240         tests into ...
36241         (has_cpuclock): ...this.  New function.
36242         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
36243         macro here based on has_cpuclock code.
36244
36245         [BZ #10149]
36246         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36247         First byte (not low byte) is now always NUL.
36248         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
36249
36250         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36251         Use non-cancelable interfaces.
36252
36253         [BZ #9809]
36254         * locale/iso-639.def: Add entry for Sorani.
36255
36256         [BZ #11901]
36257         * include/stdlib.h: Move include protection to the right place.
36258         Define abort_msg_s.  Declare __abort_msg with it.
36259         * stdlib/abort.c (__abort_msg): Adjust type.
36260         * assert/assert.c (__assert_fail_base): New function.  Majority
36261         of code from __assert_fail.  Allocate memory for __abort_msg with
36262         mmap.
36263         (__assert_fail): Now call __assert_fail_base.
36264         * assert/assert-perr.c: Remove bulk of implementation.  Use
36265         __assert_fail_base.
36266         * include/assert.hL Declare __assert_fail_base.
36267         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
36268         mmap.
36269         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
36270
36271 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
36272
36273         [BZ #11952]
36274         [BZ #12453]
36275         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
36276         until all modules are registered in the DTV.
36277         * elf/Makefile: Add rules to build and run tst-tls19.
36278         * elf/tst-tls19.c: New file.
36279         * elf/tst-tls19mod1.c: New file.
36280         * elf/tst-tls19mod2.c: New file.
36281         * elf/tst-tls19mod3.c: New file.
36282         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
36283
36284         [BZ #12083]
36285         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
36286         correctly.
36287
36288         [BZ #12601]
36289         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
36290         two-byte sequence errors.
36291         * iconvdata/Makefile (tests): Add bug-iconv8.
36292         * iconvdata/bug-iconv8.c: New file.
36293
36294         [BZ #12626]
36295         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
36296         buf2 definition.
36297
36298         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
36299
36300         [BZ #12432]
36301         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
36302         (dummy_getcfa): New function.
36303         (init): Get _Unwind_GetCFA address, use dummy if not found.
36304         (backtrace_helper): In recursion check, also check whether CFA changes.
36305         (__backtrace): Completely initialize arg.
36306
36307         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
36308         storing incomplete byte sequence in state object.  Avoid testing for
36309         guaranteed too small input if we know there is enough data available.
36310
36311 2011-05-11  Andreas Schwab  <schwab@redhat.com>
36312
36313         * Makeconfig (+link-pie): Indent.
36314         * Rules (binaries-pie): Define if $(have-fpie) and
36315         $(build-shared).
36316         (binaries-shared): Also filter out $(binaries-pie).
36317         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
36318         * nscd/Makefile (others-pie): Add nscd.
36319         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
36320         ($(objpfx)nscd): Remove command override.
36321         * login/Makefile (others-pie): Add pt_chown.
36322         ($(objpfx)pt_chown): Remove command override.
36323         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
36324         remove command overrides.
36325
36326 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
36327
36328         * libio/tst_putwc.c: Fix error messages.
36329
36330         [BZ #12724]
36331         * libio/fileops.c (_IO_new_file_close_it): Always flush when
36332         currently writing and seek to current position when not.
36333         * libio/Makefile (tests): Add bug-fclose1.
36334         * libio/bug-fclose1.c: New file.
36335
36336 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
36337
36338         [BZ #12511]
36339         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
36340         don't set DF_1_NODELETE here.
36341         (do_lookup_x): When entering new entry test for copy relocation
36342         and if necessary set DF_1_NODELETE flag.
36343         * elf/tst-unique4.cc: New file.
36344         * elf/tst-unique4.h: New file.
36345         * elf/tst-unique4lib.cc: New file.
36346         * elf/Makefile: Add rules to build and run tst-unique4.
36347         Patch by Piotr Bury <pbury@goahead.com>.
36348
36349 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
36350
36351         [BZ #12052]
36352         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
36353
36354         [BZ #12625]
36355         * misc/mntent_r.c (addmntent): Flush the stream after the output
36356
36357         [BZ #12393]
36358         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
36359         (is_trusted_path_normalize): Skip initial colon.  Append slash
36360         to empty buffer.  Duplicate is_trusted_path code but allow
36361         constructed patch to be prefix.
36362         (is_dst): Allow $ORIGIN followed by /.
36363         (_dl_dst_substitute): Correct clearing of check_for_trusted.
36364         Correct testing of result of is_trusted_path_normalize
36365         (decompose_rpath): Fix warning.
36366
36367 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
36368
36369         [BZ #11257]
36370         * grp/initgroups.c (internal_getgrouplist): When we found the service
36371         list through the initgroups entry in nsswitch.conf do not always
36372         continue on a successful lookup.  Don't always use the
36373         __nss_group_database value if it is set.
36374         * nss/nsswitch.conf (initgroups): Change action for successful db
36375         lookup to continue for compatibility.
36376
36377 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
36378
36379         [BZ #11532]
36380         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
36381         and CP774 modules.
36382         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
36383         and CP774 modules.
36384         * iconvdata/tst-tables.sh: Likewise.
36385         * iconvdata/cp770.c: New file.
36386         * iconvdata/cp771.c: New file.
36387         * iconvdata/cp772.c: New file.
36388         * iconvdata/cp773.c: New file.
36389         * iconvdata/cp774.c: New file.
36390         * iconvdata/testdata/CP770: New file.
36391         * iconvdata/testdata/CP770..UTF8: New file.
36392         * iconvdata/testdata/CP771: New file.
36393         * iconvdata/testdata/CP771..UTF8: New file.
36394         * iconvdata/testdata/CP772: New file.
36395         * iconvdata/testdata/CP772..UTF8: New file.
36396         * iconvdata/testdata/CP773: New file.
36397         * iconvdata/testdata/CP773..UTF8: New file.
36398         * iconvdata/testdata/CP774: New file.
36399         * iconvdata/testdata/CP774..UTF8: New file.
36400
36401         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
36402         END CHARMAP line.
36403         * iconvdata/gen-8bit-gap.sh: Likewise.
36404         * iconvdata/gen-8bit.sh: Likewise.
36405
36406         * locale/iso-639.def: Add ary entry.
36407
36408         [BZ #11258]
36409         * locale/C-translit.h.in: Add U20A1 transliteration.
36410
36411         [BZ #12178]
36412         * locale/iso-639.def: Add wae entry.
36413         Patch by Kevin Bortis <bortis@translate-wae.ch>.
36414
36415         [BZ #12545]
36416         * locale/programs/localedef.c (construct_output_path): Use ssize_t
36417         for n.
36418
36419         [BZ #12711]
36420         * locale/C-translit.h.in: Add entry for U20B9.
36421         Patch by pravin.d.s@gmail.com.
36422
36423 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
36424
36425         [BZ #12713]
36426         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
36427         ENAMETOOLONG use generic getcwd.
36428         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
36429         in rtld.  Use *stat64.
36430         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
36431         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
36432         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
36433         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
36434         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
36435         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
36436         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
36437         __fstatat64 macros.
36438         * include/dirent.h: Add libc_hidden_proto for rewinddir.
36439         * dirent/rewinddir.c: Add libc_hidden_def.
36440         * sysdeps/mach/hurd/rewinddir.c: Likewise.
36441         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
36442
36443         * include/dirent.h (__alloc_dir): Add flags parameter.
36444         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
36445         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
36446         __alloc_dir.
36447         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
36448         from fdopendir if O_CLOEXEC is already set.
36449
36450 2011-03-15  Alan Modra  <amodra@gmail.com>
36451
36452         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
36453         l_tls_firstbyte_offset non-zero.  Save padding offset in
36454         l_tls_firstbyte_offset for later use.
36455         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
36456         freeing static tls block.
36457
36458 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
36459
36460         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
36461         where #ifdef was intended.  The intent is to prevent ARG_MAX from
36462         being defined by the kernel headers.
36463
36464 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
36465
36466         [BZ #12734]
36467         * resolv/resolv.h: Define RES_NOTLDQUERY.
36468         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
36469         no-tld-query and set RES_NOTLDQUERY.
36470         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
36471         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
36472         modern BIND to search name as TLD unless forbidden.
36473
36474 2011-05-07  Petr Baudis  <pasky@suse.cz>
36475             Ulrich Drepper  <drepper@gmail.com>
36476
36477         [BZ #12393]
36478         * elf/dl-load.c (fillin_rpath): Move trusted path check...
36479         (is_trusted_path): ...to here.
36480         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
36481         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
36482         using is_trusted_path_normalize() in setuid scripts.
36483
36484 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36485
36486         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
36487         __BEGIN/__END_DECLS.
36488
36489 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
36490
36491         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
36492         NSS_STATUS_NOTFOUND if no record was found.
36493
36494 2011-05-05  Andreas Schwab  <schwab@redhat.com>
36495
36496         * sunrpc/Makefile (headers): Add rpc/netdb.h.
36497         (headers-not-in-tirpc): Remove rpc/netdb.h
36498         * resolv/netdb.h: Revert last change.
36499
36500 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
36501
36502         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
36503         circular dependency between libgcc.a and libc.a.
36504
36505 2011-05-05  Andreas Schwab  <schwab@redhat.com>
36506
36507         * resolv/netdb.h: Don't include <rpc/netdb.h>.
36508         * nis/Makefile: Don't install rpcsvc/*.
36509         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
36510         instead of <rpc/types.h>.
36511         (MAXHOSTNAMELEN): Define.
36512
36513 2011-05-03  Andreas Schwab  <schwab@redhat.com>
36514
36515         * elf/ldconfig.c (add_dir): Don't crash on empty path.
36516
36517 2011-04-28  Maciej Babinski  <mbabinski@google.com>
36518
36519         [BZ #12714]
36520         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
36521         gethostbyname4_r when IPv6 results are possible.
36522
36523 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
36524
36525         [BZ #12723]
36526         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
36527         _PC_PIPE_BUF handling.
36528
36529 2011-04-30  Bruno Haible  <bruno@clisp.org>
36530
36531         [BZ #12717]
36532         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
36533         * resolv/netdb.h (getnameinfo): Change type of flags parameter
36534         to 'int'.
36535         * inet/getnameinfo.c (getnameinfo): Likewise.
36536
36537 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
36538
36539         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
36540         to groups setting in database lookup.
36541         * nss/nsswitch.conf: Add initgroups entry.
36542
36543 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
36544
36545         [BZ #12685]
36546         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
36547         mode string.
36548         Patch by Eric Blake <eblake@redhat.com>.
36549
36550 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
36551
36552         * sunrpc/Makefile (need-export-routines): Add svc_run.
36553         (routines): Remove svc_run.
36554         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
36555         * sunrpc/clnt_perr.c (clnt_perrno): Export.
36556         * sunrpc/svc_run.c (svc_run): Likewise.
36557         * sunrpc/svc_udp.c (svcudp_create): Likewise.
36558
36559 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
36560
36561         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
36562         problem in reallocation in last patch.
36563
36564 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
36565
36566         * sunrpc/Makefile: Move inclusion of Rules.
36567
36568 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
36569
36570         * nss/nss_files/files-initgroups.c: New file.
36571         * nss/Makefile (libnss_files-routines): Add files-initgroups.
36572         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
36573         _nss_files_initgroups_dyn.
36574
36575 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
36576
36577         * elf/elf.h (R_ARM_IRELATIVE): Define.
36578
36579 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
36580
36581         * po/ru.po: Update from translation team.
36582
36583 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
36584
36585         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
36586         dependencies.
36587
36588 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
36589
36590         [BZ #12653]
36591         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
36592         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
36593         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36594         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36595         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36596
36597 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
36598
36599         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
36600         differing bytes.
36601         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36602         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36603         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36604
36605 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
36606
36607         [BZ #12420]
36608         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
36609         storing it.
36610         * stdlib/bug-getcontext.c: New file.
36611         * stdlib/Makefile: Add rules to build and run bug-getcontext.
36612
36613 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36614
36615         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
36616         instructions into .machine "z9-109".
36617         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
36618         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
36619
36620 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36621
36622         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
36623         between environment variables and auxiliary vector.
36624
36625 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
36626
36627         * Makefile: Add rules to build linkobj/libc.so.
36628         * include/libc-symbols.h: Define libc_hidden_nolink.
36629         * include/rpc/auth.h: Mark functions which are to be hidden.
36630         * include/rpc/auth_des.h: Likewise.
36631         * include/rpc/auth_unix.h: Likewise.
36632         * include/rpc/clnt.h: Likewise.
36633         * include/rpc/des_crypt.h: Likewise.
36634         * include/rpc/key_prot.h: Likewise.
36635         * include/rpc/pmap_clnt.h: Likewise.
36636         * include/rpc/pmap_prot.h: Likewise.
36637         * include/rpc/pmap_rmt.h: Likewise.
36638         * include/rpc/rpc_msg.h: Likewise.
36639         * include/rpc/svc.h: Likewise.
36640         * include/rpc/svc_auth.h: Likewise.
36641         * include/rpc/xdr.h: Likewise.
36642         * nis/Makefile: Link all DSOs against linkobj/libc.so.
36643         * nss/Makefile: Likewise.
36644         * sunrpc/Makefile: Don't install headers.  Build library with normal
36645         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
36646         * sunrpc/auth_des.c: Hide exported symbols by default, export some
36647         for the compat linking library.  Remove use of INTDEF/INTUSE.
36648         * sunrpc/auth_none.c: Likewise.
36649         * sunrpc/auth_unix.c: Likewise.
36650         * sunrpc/authdes_prot.c: Likewise.
36651         * sunrpc/authuxprot.c: Likewise.
36652         * sunrpc/clnt_gen.c: Likewise.
36653         * sunrpc/clnt_perr.c: Likewise.
36654         * sunrpc/clnt_raw.c: Likewise.
36655         * sunrpc/clnt_simp.c: Likewise.
36656         * sunrpc/clnt_tcp.c: Likewise.
36657         * sunrpc/clnt_udp.c: Likewise.
36658         * sunrpc/clnt_unix.c: Likewise.
36659         * sunrpc/des_crypt.c: Likewise.
36660         * sunrpc/des_soft.c: Likewise.
36661         * sunrpc/get_myaddr.c: Likewise.
36662         * sunrpc/key_call.c: Likewise.
36663         * sunrpc/key_prot.c: Likewise.
36664         * sunrpc/netname.c: Likewise.
36665         * sunrpc/pm_getmaps.c: Likewise.
36666         * sunrpc/pm_getport.c: Likewise.
36667         * sunrpc/pmap_clnt.c: Likewise.
36668         * sunrpc/pmap_prot.c: Likewise.
36669         * sunrpc/pmap_prot2.c: Likewise.
36670         * sunrpc/pmap_rmt.c: Likewise.
36671         * sunrpc/publickey.c: Likewise.
36672         * sunrpc/rpc_cmsg.c: Likewise.
36673         * sunrpc/rpc_common.c: Likewise.
36674         * sunrpc/rpc_dtable.c: Likewise.
36675         * sunrpc/rpc_prot.c: Likewise.
36676         * sunrpc/rpc_thread.c: Likewise.
36677         * sunrpc/rtime.c: Likewise.
36678         * sunrpc/svc.c: Likewise.
36679         * sunrpc/svc_auth.c: Likewise.
36680         * sunrpc/svc_authux.c: Likewise.
36681         * sunrpc/svc_raw.c: Likewise.
36682         * sunrpc/svc_run.c: Likewise.
36683         * sunrpc/svc_simple.c: Likewise.
36684         * sunrpc/svc_tcp.c: Likewise.
36685         * sunrpc/svc_udp.c: Likewise.
36686         * sunrpc/svc_unix.c: Likewise.
36687         * sunrpc/svcauth_des.c: Likewise.
36688         * sunrpc/xcrypt.c: Likewise.
36689         * sunrpc/xdr.c: Likewise.
36690         * sunrpc/xdr_array.c: Likewise.
36691         * sunrpc/xdr_float.c: Likewise.
36692         * sunrpc/xdr_intXX_t.c: Likewise.
36693         * sunrpc/xdr_mem.c: Likewise.
36694         * sunrpc/xdr_rec.c: Likewise.
36695         * sunrpc/xdr_ref.c: Likewise.
36696         * sunrpc/xdr_sizeof.c: Likewise.
36697         * sunrpc/xdr_stdio.c: Likewise.
36698
36699 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
36700
36701         [BZ #12650]
36702         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
36703         * sysdeps/ia64/dl-tls.h: Likewise.
36704         * sysdeps/powerpc/dl-tls.h: Likewise.
36705         * sysdeps/s390/dl-tls.h: Likewise.
36706         * sysdeps/sh/dl-tls.h: Likewise.
36707         * sysdeps/sparc/dl-tls.h: Likewise.
36708         * sysdeps/x86_64/dl-tls.h: Likewise.
36709         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
36710
36711 2011-03-14  Andreas Schwab  <schwab@redhat.com>
36712
36713         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
36714         rpath element also skip the following colon.
36715         (expand_dynamic_string_token): Add is_path parameter and pass
36716         down to DL_DST_REQUIRED and _dl_dst_substitute.
36717         (decompose_rpath): Call expand_dynamic_string_token with
36718         non-zero is_path.  Ignore empty rpaths.
36719         (_dl_map_object_from_fd): Call expand_dynamic_string_token
36720         with zero is_path.
36721
36722 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
36723
36724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36725         Make cancelable.
36726
36727 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
36728
36729         [BZ #12655]
36730         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
36731         Patch by Filipe David Manana <fdmanana@apache.org>.
36732
36733 2011-04-07  Andreas Schwab  <schwab@redhat.com>
36734
36735         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
36736         Maintain aligned stack.
36737         (CHECK_RSP): Remove unused macro.
36738
36739 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
36740
36741         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
36742         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
36743
36744 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
36745
36746         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
36747
36748         * include/features.h: Mention __USE_XOPEN2K8 in comment.
36749
36750 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
36751
36752         [BZ #12518]
36753         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
36754         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
36755         * sysdeps/x86_64/memmove.c: New file.
36756         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
36757         (memcpy): Renamed to ...
36758         (__new_memcpy): This.
36759         (memcpy): Provide GLIBC_2_14 memcpy.
36760         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
36761         (memcpy): Provide GLIBC_2_2_5 memcpy.
36762
36763 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36764
36765         [BZ #12631]
36766         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
36767
36768 2011-03-30  Andreas Schwab  <schwab@redhat.com>
36769
36770         * misc/syncfs.c: New file.
36771         * misc/Makefile (routines): Add syncfs.
36772         * posix/unistd.h: Declare syncfs.
36773         * sysdeps/unix/syscalls.list: Add syncfs.
36774
36775 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36776
36777         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
36778         open_by_handle_at.
36779         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36780         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36781         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36782         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36783         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36784         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
36785         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36786
36787 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36788
36789         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
36790         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36791         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
36792         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36793         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36794         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36795         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36796
36797         * io/Makefile: Compile fallocate.c, fallocate64.c, and
36798         sync_file_range.c with -fexceptions.
36799         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
36800         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
36801         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
36802         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
36803         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
36804         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36805         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
36806         sync_file_range as cancellation point
36807         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
36808         now a wrapper around __call_sync_file_range with cancellation handling.
36809         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
36810         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
36811         function name to __call_sync_file_range.
36812         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
36813         Add call_sync_file_range.
36814
36815 2011-04-01  Andreas Schwab  <schwab@redhat.com>
36816
36817         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36818         bits/timex.h.
36819
36820 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
36821
36822         * iconv/iconv.h: Fix typo in comment.
36823         * io/fcntl.h: Likewise.
36824         * libio/stdio.h: Likewise.
36825         * posix/spawn.h: Likewise.
36826         * posix/unistd.h: Likewise.
36827         * stdlib/stdlib.h: Likewise.
36828         * time/time.h: Likewise.
36829         * wcsmbs/wchar.h: Likewise.
36830
36831         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
36832         open_by_handle): Add.
36833         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
36834         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
36835         Augment a few comments.
36836         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
36837         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36838         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36839         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36840         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36841         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
36842         open_by_handle.
36843
36844         * io/fcntl.h (AT_EMPTY_PATH): Define.
36845
36846 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
36847
36848         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
36849         * sysdeps/unix/sysv/linux/bits/time.h: New file.
36850         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
36851         to...
36852         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
36853         * Versions.def: Add GLIBC_2.14.
36854         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
36855         Export.
36856
36857 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
36858
36859         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
36860         round counter.
36861         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36862
36863 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36864
36865         [BZ #12597]
36866         * string/test-strncmp.c (do_page_test): New function.
36867         (check2): Likewise.
36868         (test_main): Call check2.
36869         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
36870
36871 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
36872
36873         [BZ #12587]
36874         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
36875         Handle cache information in CPU leaf 4.
36876         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
36877
36878 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
36879
36880         [BZ #12583]
36881         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
36882         character representation.
36883         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
36884
36885 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
36886
36887         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
36888         END(__isnan) to END(__isnanf) to match function entry point/label
36889         EALIGN(__isnanf,...).
36890
36891 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
36892
36893         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
36894
36895 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
36896
36897         [BZ #12510]
36898         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
36899         copy from the symbol referenced in the relocation to initialize the
36900         used variable.
36901         Patch by Piotr Bury <pbury@goahead.com>.
36902         * elf/Makefile: Add rules to build and tst-unique3.
36903         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
36904         * elf/tst-unique3.cc: New file.
36905         * elf/tst-unique3.h: New file.
36906         * elf/tst-unique3lib.cc: New file.
36907         * elf/tst-unique3lib2.cc: New file.
36908
36909         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
36910
36911 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
36912
36913         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
36914         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
36915         to _start.
36916
36917 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
36918
36919         * elf/dl-load.c (_dl_map_object): If we are looking for the first
36920         to-be-loaded object along a path to loader is ld.so.
36921
36922 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36923             Ulrich Drepper  <drepper@gmail.com>
36924
36925         * sysdeps/x86_64/memset.S: After aligning destination, code
36926         branches to different locations depending on the value of
36927         misalignment, when multiarch is enabled. Fix this.
36928
36929 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
36930
36931         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
36932         Set _x86_64_preferred_memory_instruction for AMD processsors.
36933         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36934         Set bit_Prefer_SSE_for_memop for AMD processors.
36935
36936 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
36937
36938         * libio/fmemopen.c (fmemopen): Optimize a bit.
36939
36940 2011-03-03  Andreas Schwab  <schwab@redhat.com>
36941
36942         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
36943
36944 2011-03-03  Roland McGrath  <roland@redhat.com>
36945
36946         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
36947
36948 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
36949
36950         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
36951         __bzero_ultra1 instead of __memset_ultra1.
36952
36953 2011-02-23  Andreas Schwab  <schwab@redhat.com>
36954             Ulrich Drepper  <drepper@gmail.com>
36955
36956         [BZ #12509]
36957         * include/link.h (struct link_map): Add l_orig_initfini.
36958         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
36959         returning unsuccessfully.
36960         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
36961         close of a file loaded at startup, restore the original l_initfini
36962         list.
36963         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
36964         list, store the pointer.
36965         * elf/Makefile ($(objpfx)noload-mem): New rule.
36966         (noload-ENV): Define.
36967         (tests): Add $(objpfx)noload-mem.
36968         * elf/noload.c: Include <memcheck.h>.
36969         (main): Call mtrace.  Close all opened handles.
36970
36971 2011-02-17  Andreas Schwab  <schwab@redhat.com>
36972
36973         [BZ #12454]
36974         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
36975         dependencies are missing.
36976
36977 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36978
36979         Fix __if_freereq crash: Unlike the generic version which uses free,
36980         Hurd needs munmap.
36981         * sysdeps/mach/hurd/ifreq.h: New file.
36982
36983 2011-01-27  Petr Baudis  <pasky@suse.cz>
36984             Ulrich Drepper  <drepper@gmail.com>
36985
36986         [BZ 12445]#
36987         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
36988         to extend_alloca().
36989         * stdio-common/bug23.c: New file.
36990         * stdio-common/Makefile (tests): Add bug23.
36991
36992 2010-09-28  Andreas Schwab  <schwab@redhat.com>
36993             Ulrich Drepper  <drepper@gmail.com>
36994
36995         [BZ #12489]
36996         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
36997         before performing relro protection.  At old place add assertion
36998         to make sure nothing changed.
36999
37000 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
37001             Glauber de Oliveira Costa  <glommer@gmail.com>
37002
37003         * elf/elf.h: Add new ARM TLS relocs.
37004
37005 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
37006
37007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37008         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
37009         cast from r3.
37010         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
37011         'tests' variable.
37012         * sysdeps/wordsize-64/tst-writev.c: New file.
37013
37014 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
37015
37016         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
37017         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
37018         insns in _dl_start to prevent a TOC reference before relocs are
37019         resolved.
37020
37021 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
37022
37023         [BZ #12469]
37024         * Makeconfig: Remove RANLIB definition.
37025         * Makerules: Don't use RANLIB.
37026         * aclocal.m4: Remove ranlib test.
37027         * configure.in: No need to check for ranlib.
37028         * elf/rtld-Rules: Don't use RANLIB.
37029
37030 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37031
37032         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
37033         protection macro.
37034         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
37035         inclusion protection macro.
37036
37037         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
37038         SIGRTMIN and SIGRTMAX and print information in that case only when
37039         SIGRTMIN is defined.
37040
37041 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
37042
37043         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
37044         arginfo fn returning -1.
37045
37046         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
37047         and thousands string is zero terminated.
37048
37049 2011-02-03  Andreas Schwab  <schwab@redhat.com>
37050
37051         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
37052         sysdeps/unix/sysv/linux/bits/socket.h.
37053
37054 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37055
37056         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
37057         (__CPU_COUNT): Remove old macros.
37058         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
37059         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
37060         (__CPU_ALLOC, __CPU_FREE): Add macros.
37061         (__sched_cpualloc, __sched_cpufree): Add declarations.
37062
37063 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
37064
37065         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
37066         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
37067         * nscd/aicache.c (addhstaiX): Return timeout of added value.
37068         (readdhstai): Return value of addhstaiX call.
37069         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
37070         (addgrbyX): Return value returned by cache_addgr.
37071         (readdgrbyname): Return value returned by addgrbyX.
37072         (readdgrbygid): Likewise.
37073         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
37074         (addpwbyX): Return value returned by cache_addpw.
37075         (readdpwbyname): Return value returned by addhstbyX.
37076         (readdpwbyuid): Likewise.
37077         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
37078         (addservbyX): Return value returned by cache_addserv.
37079         (readdservbyname): Return value returned by addservbyX:
37080         (readdservbyport): Likewise.
37081         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
37082         (addhstbyX): Return value returned by cache_addhst.
37083         (readdhstbyname): Return value returned by addhstbyX.
37084         (readdhstbyaddr): Likewise.
37085         (readdhstbynamev6): Likewise.
37086         (readdhstbyaddrv6): Likewise.
37087         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
37088         (readdinitgroups): Return value returned by addinitgroupsX.
37089         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
37090         (prune_cache): Keep track of timeout value of re-added entries.
37091         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
37092         * nscd/nscd.h: Adjust prototypes of readd* functions.
37093
37094 2011-02-04  Roland McGrath  <roland@redhat.com>
37095
37096         * nis/nis_server.c (nis_servstate): Use the right name for 0.
37097         (nis_stats): Likewise.
37098         * nis/nis_modify.c (nis_modify): Likewise.
37099         * nis/nis_remove.c (nis_remove): Likewise.
37100         * nis/nis_add.c (nis_add): Likewise.
37101
37102         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
37103
37104         * posix/fnmatch_loop.c: Add some consts.
37105
37106         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
37107
37108 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
37109
37110         [BZ #12460]
37111         * config.make.in (config-cflags-novzeroupper): Define.
37112         * configure.in: Substitute libc_cv_cc_novzeroupper.
37113         * elf/Makefile (AVX-CFLAGS): Define.
37114         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
37115         (CFLAGS-tst-auditmod4a.c): Likewise.
37116         (CFLAGS-tst-auditmod4b.c): Likewise.
37117         (CFLAGS-tst-auditmod6b.c): Likewise.
37118         (CFLAGS-tst-auditmod6c.c): Likewise.
37119         (CFLAGS-tst-auditmod7b.c): Likewise.
37120         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
37121
37122 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
37123
37124         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
37125         function to the callback.
37126         Patch partly by Jiri Olsa <jolsa@redhat.com>.
37127
37128 2011-02-02  Andreas Schwab  <schwab@redhat.com>
37129
37130         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
37131         of errno.
37132
37133 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
37134
37135         [BZ #11724]
37136         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
37137         of constructors.
37138         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
37139         of destructors.
37140         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
37141
37142         [BZ #11724]
37143         * elf/Makefile: Add rules to build and run new test.
37144         * elf/tst-initorder.c: New file.
37145         * elf/tst-initorder.exp: New file.
37146         * elf/tst-initordera1.c: New file.
37147         * elf/tst-initordera2.c: New file.
37148         * elf/tst-initordera3.c: New file.
37149         * elf/tst-initordera4.c: New file.
37150         * elf/tst-initorderb1.c: New file.
37151         * elf/tst-initorderb2.c: New file.
37152         * elf/tst-order-a1.c: New file.
37153         * elf/tst-order-a2.c: New file.
37154         * elf/tst-order-a3.c: New file.
37155         * elf/tst-order-a4.c: New file.
37156         * elf/tst-order-b1.c: New file.
37157         * elf/tst-order-b2.c: New file.
37158         * elf/tst-order-main.c: New file.
37159         New test case by George Gensure <werkt0@gmail.com>.
37160
37161 2010-10-01  Andreas Schwab  <schwab@redhat.com>
37162
37163         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
37164         decoding ACE if AI_CANONIDN.
37165
37166 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
37167
37168         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
37169
37170 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
37171
37172         * version.h (RELEASE): Bump for 2.13 release.
37173         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
37174
37175         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
37176
37177         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
37178         MADV_NOHUGEPAGE.
37179         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
37180         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
37181         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37182         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37183         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37184         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37185
37186         * posix/getconf.c: Update copyright year.
37187         * catgets/gencat.c: Likewise.
37188         * csu/version.c: Likewise.
37189         * debug/catchsegv.sh: Likewise.
37190         * debug/xtrace.sh: Likewise.
37191         * elf/ldconfig.c: Likewise.
37192         * elf/ldd.bash.in: Likewise.
37193         * elf/sprof.c (print_version): Likewise.
37194         * iconv/iconv_prog.c: Likewise.
37195         * iconv/iconvconfig.c: Likewise.
37196         * locale/programs/locale.c: Likewise.
37197         * locale/programs/localedef.c: Likewise.
37198         * malloc/memusage.sh: Likewise.
37199         * malloc/mtrace.pl: Likewise.
37200         * nscd/nscd.c (print_version): Likewise.
37201         * nss/getent.c: Likewise.
37202
37203         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
37204         PF_CAIF, and PF_ALG.
37205         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37206
37207 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
37208
37209         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
37210         (modules-names): Use them.
37211         (ifunc-test-modules, ifunc-pie-tests): Define.
37212         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
37213         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
37214         (test-extras): Likewise.
37215         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
37216         $(compile-command.c).
37217         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
37218         (all-built-dso): Define.
37219         (check-textrel.out, check-execstack.out): Depend on it.
37220
37221         * configure.in: Don't override --enable-multi-arch.
37222
37223 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
37224
37225         [BZ #6812]
37226         * nscd/hstcache.c (tryagain): Define.
37227         (cache_addhst): Return tryagain not notfound for temporary errors.
37228         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
37229         failed.
37230
37231 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
37232
37233         [BZ #10563]
37234         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
37235         to make the syscall.
37236         * sysdeps/unix/sysv/linux/setgroups.c: New file.
37237
37238         [BZ #12378]
37239         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
37240         and fall back to matching as normal character if the string ends before
37241         the matching ']' is found.  This is what POSIX requires.
37242         * posix/testfnm.c: Adjust test result.
37243         * posix/globtest.sh: Adjust test result.  Add new test.
37244         * posix/tst-fnmatch.input: Likewise.
37245         * posix/tst-fnmatch2.c: Add new test.
37246
37247 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
37248
37249         * elf/Makefile (check-execstack): Revert last change.  Depend on
37250         check-execstack.h.
37251         (check-execstack.h): New target.
37252         (generated): Add check-execstack.h.
37253         * elf/check-execstack.c: Include "check-execstack.h".
37254         (main): Revert last change.
37255         (handle_file): Return zero if GNU_STACK is absent and
37256         DEFAULT_STACK_PERMS doesn't include PF_X.
37257
37258 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
37259
37260         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
37261         in child fails because the descriptor is already closed.
37262         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
37263         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
37264         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
37265
37266         [BZ #12397]
37267         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
37268         syscall.
37269
37270         [BZ #10484]
37271         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
37272         temporary buffer used to handle multi lookups locally.
37273         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
37274
37275 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
37276
37277         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
37278         loader is ld.so.
37279
37280 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
37281
37282         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
37283         alignment for SSE2.
37284
37285 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
37286
37287         [BZ #12394]
37288         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
37289         characters.  When rounding increased number of integer digits recompute
37290         number of groups.
37291         * stdio-common/tst-grouping.c: New file.
37292         * stdio-common/Makefile: Add rules to build and run tst-grouping.
37293
37294 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
37295
37296         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
37297         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
37298
37299         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
37300         void.
37301         * bits/select.h: Likewise.
37302
37303 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
37304
37305         * po/ja.po: Update from translation team.
37306
37307 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
37308
37309         [BZ #11155]
37310         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
37311         implementation just like for lxstat, fxstatat, et al.
37312
37313 2010-12-27  Jim Meyering  <meyering@redhat.com>
37314
37315         [BZ #12348]
37316         * posix/regexec.c (build_trtable): Return failure indication upon
37317         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
37318
37319 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
37320
37321         [BZ #12201]
37322         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
37323         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
37324         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
37325         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
37326
37327         [BZ #12207]
37328         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
37329
37330         [BZ #12204]
37331         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
37332         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
37333
37334 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
37335
37336         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
37337         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
37338         script has SORT_BY_INIT_PRIORITY.
37339         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
37340         NO_CTORS_DTORS_SECTIONS is defined.
37341         * elf/soinit.c: Likewise.
37342         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
37343         NO_CTORS_DTORS_SECTIONS is defined.
37344         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
37345         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
37346         * sysdeps/sh/init-first.c: Likewise.
37347         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
37348
37349 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
37350
37351         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
37352         always use the slow path.
37353
37354 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
37355
37356         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
37357         similar rule which adds the sysdep directories to the header search in
37358         order to pick up the correct platform stackinfo.h.
37359         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
37360         perform test if it is, otherwise return successfully without testing.
37361         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
37362         DEFAULT_STACK_PERMS define in stackinfo.h.
37363         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
37364         defined in stackinfo.h.
37365         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
37366         DEFAULT_STACK_PERMS defined in stackinfo.h.
37367         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
37368         * sysdeps/ia64/stackinfo.h: Likewise.
37369         * sysdeps/s390/stackinfo.h: Likewise.
37370         * sysdeps/sh/stackinfo.h: Likewise.
37371         * sysdeps/sparc/stackinfo.h: Likewise.
37372         * sysdeps/x86_64/stackinfo.h: Likewise.
37373         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
37374         PF_X for powerpc64.  Retain PF_X for powerpc32.
37375
37376 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
37377
37378         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
37379         accurately.
37380         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
37381         GETDENTS_64BIT_ALIGNED.
37382
37383 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
37384
37385         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
37386
37387 2010-12-10  Andreas Schwab  <schwab@redhat.com>
37388
37389         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
37390         _GNU_SOURCE.
37391
37392         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
37393         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
37394         Remove __restrict.
37395         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
37396         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
37397
37398 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
37399
37400         [BZ #11655]
37401         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
37402         are initialized.
37403
37404 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
37405
37406         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
37407
37408 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
37409
37410         * po/it.po: Update from translation team.
37411
37412 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
37413
37414         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
37415         unused codes.
37416
37417 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
37418
37419         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
37420
37421 2010-11-24  Andreas Schwab  <schwab@redhat.com>
37422
37423         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
37424         specially.
37425         (gaih_getanswer_slice): Likewise.
37426
37427 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
37428
37429         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
37430
37431 2010-05-31  Petr Baudis  <pasky@suse.cz>
37432
37433         [BZ #11149]
37434         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
37435         silently even in the chroot mode.
37436
37437 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
37438
37439         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
37440         last patch a bit.  Pretty printing
37441
37442 2010-05-31  Petr Baudis <pasky@suse.cz>
37443
37444         [BZ #10085]
37445         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
37446         initialization of skip_initgroups_dyn.
37447
37448 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
37449
37450         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
37451         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
37452
37453 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
37454
37455         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
37456
37457 2010-11-11  Andreas Schwab  <schwab@redhat.com>
37458
37459         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
37460         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
37461         (tst-fnmatch-ENV): Set MALLOC_TRACE.
37462         ($(objpfx)tst-fnmatch-mem): New rule.
37463         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
37464         * posix/tst-fnmatch.c (main): Call mtrace.
37465
37466 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
37467
37468         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37469         Support Intel processor model 6 and model 0x2c.
37470
37471 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
37472
37473         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
37474           signed comparison.
37475
37476 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
37477
37478         [BZ #12205]
37479         * string/test-strncasecmp.c (check_result): New function.
37480         (do_one_test): Use it.
37481         (check1): New function.
37482         (test_main): Use it.
37483         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
37484         Support strcasecmp and strncasecmp.
37485
37486 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
37487
37488         [BZ #12194]
37489         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
37490         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37491
37492 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
37493
37494         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
37495         IFUNC support.
37496         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37497         memset-x86-64.
37498         * sysdeps/x86_64/multiarch/bzero.S: New file.
37499         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
37500         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
37501         * sysdeps/x86_64/multiarch/memset.S: New file.
37502         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
37503         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37504         Set bit_Prefer_SSE_for_memop for Intel processors.
37505         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
37506         Define.
37507         (index_Prefer_SSE_for_memop): Define.
37508         (HAS_PREFER_SSE_FOR_MEMOP): Define.
37509
37510 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
37511
37512         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
37513         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
37514
37515 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
37516
37517         [BZ #12191]
37518         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37519         (__x86_64_raw_data_cache_size_half): Likewise.
37520         (__x86_64_raw_shared_cache_size): Likewise.
37521         (__x86_64_raw_shared_cache_size_half): Likewise.
37522
37523         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
37524         (__x86_64_raw_data_cache_size_half): Likewise.
37525         (__x86_64_raw_shared_cache_size): Likewise.
37526         (__x86_64_raw_shared_cache_size_half): Likewise.
37527         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
37528         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
37529         and __x86_64_raw_shared_cache_size_half.  Round
37530         __x86_64_data_cache_size_half, __x86_64_data_cache_size
37531         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
37532         to multiple of 256 bytes.
37533
37534 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
37535
37536         [BZ #12167]
37537         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
37538         of inacessible symlinks.  Verify result of symlink before returning it.
37539         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
37540         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
37541
37542 2010-10-28  Erich Ritz  <erichritz@gmail.com>
37543
37544         * math/math.h (isinf): Fix typo in comment.
37545
37546 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
37547
37548         * po/da.po: Update from translation team.
37549
37550 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
37551
37552         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
37553         is added to the list.
37554
37555 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37556             Ulrich Drepper  <drepper@gmail.com>
37557
37558         * elf/dl-object.c (_dl_new_object): Don't append the new object to
37559         the global list here.  Move code to...
37560         (_dl_add_to_namespace_list): ...here.  New function.
37561         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
37562         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
37563         * elf/dl-load.c (lose): Don't remove the element from the list.
37564         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
37565         (_dl_map_object): Likewise.
37566
37567 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
37568
37569         [BZ #12159]
37570         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
37571         into all bytes of SSE register.
37572         Patch by Richard Li <richardpku@gmail.com>.
37573
37574 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
37575
37576         [BZ #12140]
37577         * malloc/malloc.c (_int_free): Fill correct number of bytes when
37578         perturbing.
37579
37580 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
37581
37582         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
37583         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
37584         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
37585         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
37587         submachine.
37588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
37589
37590 2010-10-22  Andreas Schwab  <schwab@redhat.com>
37591
37592         * include/dlfcn.h (__RTLD_SECURE): Define.
37593         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
37594         mode & __RTLD_SECURE instead.
37595         (open_path): Rename preloaded parameter to secure.
37596         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
37597         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
37598         * elf/dl-deps.c (openaux): Likewise.
37599         * elf/rtld.c (struct map_args): Remove is_preloaded.
37600         (map_doit): Don't use it.
37601         (dl_main): Likewise.
37602         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
37603         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
37604
37605 2010-09-09  Andreas Schwab  <schwab@redhat.com>
37606
37607         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
37608         (sysd-rules-targets): Remove duplicates.
37609         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
37610         rtld-%.$o dependency.
37611
37612 2010-10-18  Andreas Schwab  <schwab@redhat.com>
37613
37614         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
37615         _dl_map_object do it.
37616
37617 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
37618
37619         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
37620         fast fma builtins, define the macros in the C99 standard.
37621         (FP_FAST_FMAF): Likewise.
37622         (FP_FAST_FMAL): Likewise.
37623         * sysdeps/x86_64/bits/mathdef.h: Likewise.
37624
37625         * bits/mathdef.h: Update copyright year.
37626         * sysdeps/powerpc/bits/mathdef.h: Likewise.
37627
37628 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
37629
37630         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
37631         builtins, define the macros in the C99 standard.
37632         (FP_FAST_FMAF): Likewise.
37633         (FP_FAST_FMAL): Likewise.
37634         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
37635         multiply/add.
37636         (FP_FAST_FMAF): Likewise.
37637
37638 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
37639
37640         [BZ #3268]
37641         * math/libm-test.inc (fma_test): Some new testcases.
37642         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
37643         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
37644         y and infinite z.  Do multiplication by C already in long double.
37645         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
37646         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
37647         y and infinite z.  Do bitwise or of inexact bit into u.d.
37648         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
37649         * sysdeps/i386/fpu/s_fmaf.S: Removed.
37650         * sysdeps/i386/fpu/s_fma.S: Removed.
37651         * sysdeps/i386/fpu/s_fmal.S: Removed.
37652
37653 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
37654
37655         [BZ #3268]
37656         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
37657         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
37658         computation is not scheduled after fetestexcept.  Fix value
37659         of minimum denormal long double.
37660
37661 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
37662
37663         [BZ #3268]
37664         * math/libm-test.inc (fma_test): Add some more tests.
37665         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
37666         correctly.
37667
37668 2010-10-15  Andreas Schwab  <schwab@redhat.com>
37669
37670         * scripts/data/localplt-s390-linux-gnu.data: New file.
37671         * scripts/data/localplt-s390x-linux-gnu.data: New file.
37672
37673 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
37674
37675         [BZ #3268]
37676         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
37677         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
37678         instead of dbl-64.
37679         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
37680         inlines.
37681         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
37682         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
37683         if one of x and y is very large and the other is subnormal.
37684         * sysdeps/s390/fpu/s_fmaf.c: New file.
37685         * sysdeps/s390/fpu/s_fma.c: New file.
37686         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
37687         * sysdeps/powerpc/fpu/s_fma.S: New file.
37688         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
37689         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
37690         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
37691
37692 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
37693
37694         [BZ #3268]
37695         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
37696         fma tests.
37697         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
37698         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
37699         * sysdeps/i386/i686/multiarch/s_fma.c: Include
37700         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
37701         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
37702         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
37703         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
37704
37705 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
37706
37707         [BZ #12078]
37708         * posix/regcomp.c (parse_branch): One more memory leak plugged.
37709         * posix/bug-regex31.input: Add test case.
37710
37711 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37712
37713         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
37714         * posix/bug-regex31.input: New file.
37715
37716         [BZ #12078]
37717         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
37718         (parse_sub_exp): Fix last change, use postorder.
37719
37720         * posix/bug-regex31.c: New file.
37721         * posix/Makefile: Add rules to build and run bug-regex31.
37722
37723         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
37724
37725         [BZ #12078]
37726         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
37727
37728         [BZ #12108]
37729         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
37730         to have entries in sys_siglist.
37731
37732         [BZ #12093]
37733         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
37734         be NULL.
37735
37736 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
37737
37738         [BZ #3268]
37739         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
37740         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
37741         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
37742         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
37743         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37744         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
37745         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
37746         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
37747         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
37748         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
37749         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
37750         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
37751         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
37752         * math/ftestexcept.c (fetestexcept): Likewise.
37753         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
37754         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
37755         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
37756         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
37757         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
37758         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
37759         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37760
37761 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
37762
37763         [BZ #12107]
37764         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
37765         newline.
37766
37767 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
37768
37769         * string/bug-strstr1.c: New file.
37770         * string/Makefile: Add rules to build and run bug-strstr1.
37771
37772 2010-10-05  Eric Blake  <eblake@redhat.com>
37773
37774         [BZ #12092]
37775         * string/str-two-way.h (two_way_long_needle): Always clear memory
37776         when skipping input due to the shift table.
37777
37778 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
37779
37780         [BZ #12005]
37781         * malloc/mcheck.c: Handle large requests.
37782
37783         [BZ #12077]
37784         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
37785         for strncmp and strncasecmp.
37786         * string/stratcliff.c: Add tests for strcmp and strncmp.
37787         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
37788
37789 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37790
37791         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
37792         __set_fpscr.
37793
37794 2010-09-30  Andreas Jaeger  <aj@suse.de>
37795
37796         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
37797         (CGROUP_SUPER_MAGIC): Define.
37798         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37799         Handle btrfs and cgroup file systems.
37800         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
37801         Likewise.
37802
37803 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
37804
37805         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
37806         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
37807
37808 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37809
37810         [BZ #12067]
37811         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
37812         trying to locate the ELF header.
37813
37814 2010-09-27  Andreas Schwab  <schwab@redhat.com>
37815
37816         [BZ #11611]
37817         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
37818         Mask out sign-bit copies when constructing f_fsid.
37819
37820 2010-09-24  Petr Baudis <pasky@suse.cz>
37821
37822         * debug/stack_chk_fail_local.c: Add missing licence exception.
37823         * debug/warning-nop.c: Likewise.
37824
37825 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
37826
37827         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
37828         implementing getdents64 using getdents syscall, set d_type if
37829         __ASSUME_GETDENTS32_D_TYPE.
37830
37831 2010-09-16  Andreas Schwab  <schwab@redhat.com>
37832
37833         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
37834         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
37835
37836 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
37837
37838         [BZ #12037]
37839         * posix/unistd.h: Undo change of feature selection for ftruncate from
37840         2010-01-11.
37841
37842 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
37843
37844         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
37845         detection.
37846
37847 2010-09-20  Andreas Schwab  <schwab@redhat.com>
37848
37849         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
37850         fanotify_mark.
37851         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
37852
37853 2010-09-14  Andreas Schwab  <schwab@redhat.com>
37854
37855         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
37856         variables after CHECK_SP call.
37857         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
37858
37859 2010-09-13  Andreas Schwab  <schwab@redhat.com>
37860             Ulrich Drepper  <drepper@redhat.com>
37861
37862         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
37863         re-relocationg ld.so.
37864         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
37865         _dl_init_paths call.
37866         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
37867         here anymore.
37868
37869 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
37870
37871         * resolv/res_init.c (__res_vinit): Count the default server we added.
37872
37873 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
37874             Ulrich Drepper  <drepper@redhat.com>
37875
37876         [BZ #11968]
37877         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37878         (____longjmp_chk): Use %ebx for saving value across system call.
37879         Add unwind info.
37880
37881 2010-09-06  Andreas Schwab  <schwab@redhat.com>
37882
37883         * manual/Makefile: Don't mix pattern rules with normal rules.
37884
37885 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37886
37887         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
37888         operation.
37889         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
37890         * libio/iofopncook.c (_IO_cookie_init): Likewise.
37891         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
37892         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37893         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37894         Likewise.
37895
37896 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
37897
37898         [BZ #11979]
37899         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
37900         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
37901
37902 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
37903
37904         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
37905         * sysdeps/x86_64/addmul_1.S: Likewise.
37906         * sysdeps/x86_64/lshift.S: Likewise.
37907         * sysdeps/x86_64/mul_1.S: Likewise.
37908         * sysdeps/x86_64/rshift.S: Likewise.
37909         * sysdeps/x86_64/sub_n.S: Likewise.
37910         * sysdeps/x86_64/submul_1.S: Likewise.
37911
37912 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37913
37914         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
37915         Define __sched_param instead of SCHED_* and sched_param when
37916         <bits/sched.h> is included with __need_schedparam defined.
37917         * bits/sched.h [__need_schedparam]
37918         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
37919         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
37920         (__defined_schedparam): Define to 1.
37921         (__sched_param): New structure, identical to sched_param.
37922         (__need_schedparam): Undefine.
37923
37924 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
37925
37926         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
37927         (epoll_create1): Declare.
37928
37929         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
37930
37931 2010-08-31  Andreas Schwab  <schwab@redhat.com>
37932
37933         [BZ #7066]
37934         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
37935         shifting retval into place.
37936
37937 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
37938
37939         * nis/rpcsvc/nis.h: Update copyright notice.
37940         * nis/rpcsvc/nis.x: Likewise.
37941         * nis/rpcsvc/nis_callback.h: Likewise.
37942         * nis/rpcsvc/nis_callback.x: Likewise.
37943         * nis/rpcsvc/nis_object.x: Likewise.
37944         * nis/rpcsvc/nis_tags.h: Likewise.
37945         * nis/rpcsvc/yp.h: Likewise.
37946         * nis/rpcsvc/yp.x: Likewise.
37947         * nis/rpcsvc/ypupd.h: Likewise.
37948         * nis/yp_xdr.c: Likewise.
37949         * nis/ypupdate_xdr.c: Likewise.
37950
37951         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
37952         mainly the body of pmap_getport.  Add parameters to specify timeouts.
37953         (pmap_getport): Use __libc_rpc_getport.
37954         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
37955         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
37956         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
37957
37958 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
37959
37960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
37961         fanotify_mark.
37962
37963 2010-08-27  Roland McGrath  <roland@redhat.com>
37964
37965         * sysdeps/i386/i686/multiarch/Makefile
37966         (CFLAGS-varshift.c): New variable.
37967
37968 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
37969
37970         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
37971         * sysdeps/i386/i686/multiarch/varshift.c: New file.
37972
37973         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
37974
37975         * sysdeps/x86_64/strlen.S: Minimal code improvement.
37976
37977 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
37978
37979         * sysdeps/x86_64/strlen.S: Unroll the loop.
37980         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37981         strlen-sse2 strlen-sse2-bsf.
37982         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
37983         __strlen_no_bsf if bit_Slow_BSF is set.
37984         (__strlen_sse42): Removed.
37985         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
37986         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
37987
37988 2010-08-25  Roland McGrath  <roland@redhat.com>
37989
37990         * sysdeps/x86_64/multiarch/varshift.S: File removed.
37991         * sysdeps/x86_64/multiarch/varshift.c: New file.
37992         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
37993         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
37994         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
37995         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37996
37997 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
37998
37999         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38000         strlen-sse2 strlen-sse2-bsf.
38001         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
38002         __strlen_sse2_bsf if bit_Slow_BSF is unset.
38003         (__strlen_sse2): Removed.
38004         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
38005         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
38006         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
38007         bit_Slow_BSF for Atom.
38008         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
38009         (index_Slow_BSF): Define.
38010         (HAS_SLOW_BSF): Define.
38011
38012 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
38013
38014         [BZ #10851]
38015         * resolv/res_init.c (__res_vinit): When no server address at all
38016         is given default to loopback.
38017
38018 2010-08-24  Roland McGrath  <roland@redhat.com>
38019
38020         * configure.in: Remove config-name.h generation.
38021         * configure: Regenerated.
38022         * config-name.in: File removed.
38023         * scripts/config-uname.sh: New file.
38024         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
38025         ($(objdir)config-name.h): New target.
38026
38027         * sunrpc/rpc_parse.h: Avoid nested comment.
38028
38029 2010-08-24  Richard Henderson  <rth@redhat.com>
38030             Ulrich Drepper  <drepper@redhat.com>
38031             H.J. Lu  <hongjiu.lu@intel.com>
38032
38033         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
38034         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
38035         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
38036         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
38037         _mm_alignr_epi8 with _mm_loadu_si128.
38038         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
38039         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
38040         (__m128i_shift_right): Removed.
38041         * sysdeps/i386/i686/multiarch/varshift.h: New file.
38042         * sysdeps/i386/i686/multiarch/varshift.S: New file.
38043         * sysdeps/x86_64/multiarch/varshift.h: New file.
38044         * sysdeps/x86_64/multiarch/varshift.S: New file.
38045
38046 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
38047
38048         * configure.in: Move assembler checks to before sysdep dir checking.
38049
38050 2010-08-20  Petr Baudis  <pasky@suse.cz>
38051
38052         * LICENSES: Sync the sunrpc license.
38053
38054 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
38055
38056         * sunrpc/auth_des.c: Update copyright notice once again.
38057         * sunrpc/auth_none.c: Likewise.
38058         * sunrpc/auth_unix.c: Likewise.
38059         * sunrpc/authdes_prot.c: Likewise.
38060         * sunrpc/authuxprot.c: Likewise.
38061         * sunrpc/bindrsvprt.c: Likewise.
38062         * sunrpc/clnt_gen.c: Likewise.
38063         * sunrpc/clnt_perr.c: Likewise.
38064         * sunrpc/clnt_raw.c: Likewise.
38065         * sunrpc/clnt_simp.c: Likewise.
38066         * sunrpc/clnt_tcp.c: Likewise.
38067         * sunrpc/clnt_udp.c: Likewise.
38068         * sunrpc/clnt_unix.c: Likewise.
38069         * sunrpc/des_crypt.c: Likewise.
38070         * sunrpc/des_soft.c: Likewise.
38071         * sunrpc/get_myaddr.c: Likewise.
38072         * sunrpc/getrpcport.c: Likewise.
38073         * sunrpc/key_call.c: Likewise.
38074         * sunrpc/key_prot.c: Likewise.
38075         * sunrpc/openchild.c: Likewise.
38076         * sunrpc/pm_getmaps.c: Likewise.
38077         * sunrpc/pm_getport.c: Likewise.
38078         * sunrpc/pmap_clnt.c: Likewise.
38079         * sunrpc/pmap_prot.c: Likewise.
38080         * sunrpc/pmap_prot2.c: Likewise.
38081         * sunrpc/pmap_rmt.c: Likewise.
38082         * sunrpc/rpc/auth.h: Likewise.
38083         * sunrpc/rpc/auth_unix.h: Likewise.
38084         * sunrpc/rpc/clnt.h: Likewise.
38085         * sunrpc/rpc/des_crypt.h: Likewise.
38086         * sunrpc/rpc/key_prot.h: Likewise.
38087         * sunrpc/rpc/netdb.h: Likewise.
38088         * sunrpc/rpc/pmap_clnt.h: Likewise.
38089         * sunrpc/rpc/pmap_prot.h: Likewise.
38090         * sunrpc/rpc/pmap_rmt.h: Likewise.
38091         * sunrpc/rpc/rpc.h: Likewise.
38092         * sunrpc/rpc/rpc_des.h: Likewise.
38093         * sunrpc/rpc/rpc_msg.h: Likewise.
38094         * sunrpc/rpc/svc.h: Likewise.
38095         * sunrpc/rpc/svc_auth.h: Likewise.
38096         * sunrpc/rpc/types.h: Likewise.
38097         * sunrpc/rpc/xdr.h: Likewise.
38098         * sunrpc/rpc_clntout.c: Likewise.
38099         * sunrpc/rpc_cmsg.c: Likewise.
38100         * sunrpc/rpc_common.c: Likewise.
38101         * sunrpc/rpc_cout.c: Likewise.
38102         * sunrpc/rpc_dtable.c: Likewise.
38103         * sunrpc/rpc_hout.c: Likewise.
38104         * sunrpc/rpc_main.c: Likewise.
38105         * sunrpc/rpc_parse.c: Likewise.
38106         * sunrpc/rpc_parse.h: Likewise.
38107         * sunrpc/rpc_prot.c: Likewise.
38108         * sunrpc/rpc_sample.c: Likewise.
38109         * sunrpc/rpc_scan.c: Likewise.
38110         * sunrpc/rpc_scan.h: Likewise.
38111         * sunrpc/rpc_svcout.c: Likewise.
38112         * sunrpc/rpc_tblout.c: Likewise.
38113         * sunrpc/rpc_util.c: Likewise.
38114         * sunrpc/rpc_util.h: Likewise.
38115         * sunrpc/rpcinfo.c: Likewise.
38116         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
38117         * sunrpc/rpcsvc/key_prot.x: Likewise.
38118         * sunrpc/rpcsvc/klm_prot.x: Likewise.
38119         * sunrpc/rpcsvc/mount.x: Likewise.
38120         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
38121         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
38122         * sunrpc/rpcsvc/rex.x: Likewise.
38123         * sunrpc/rpcsvc/rstat.x: Likewise.
38124         * sunrpc/rpcsvc/rusers.x: Likewise.
38125         * sunrpc/rpcsvc/sm_inter.x: Likewise.
38126         * sunrpc/rpcsvc/spray.x: Likewise.
38127         * sunrpc/rpcsvc/yppasswd.x: Likewise.
38128         * sunrpc/rtime.c: Likewise.
38129         * sunrpc/svc.c: Likewise.
38130         * sunrpc/svc_auth.c: Likewise.
38131         * sunrpc/svc_authux.c: Likewise.
38132         * sunrpc/svc_raw.c: Likewise.
38133         * sunrpc/svc_run.c: Likewise.
38134         * sunrpc/svc_simple.c: Likewise.
38135         * sunrpc/svc_tcp.c: Likewise.
38136         * sunrpc/svc_udp.c: Likewise.
38137         * sunrpc/svc_unix.c: Likewise.
38138         * sunrpc/svcauth_des.c: Likewise.
38139         * sunrpc/xcrypt.c: Likewise.
38140         * sunrpc/xdr.c: Likewise.
38141         * sunrpc/xdr_array.c: Likewise.
38142         * sunrpc/xdr_float.c: Likewise.
38143         * sunrpc/xdr_mem.c: Likewise.
38144         * sunrpc/xdr_rec.c: Likewise.
38145         * sunrpc/xdr_ref.c: Likewise.
38146         * sunrpc/xdr_sizeof.c: Likewise.
38147         * sunrpc/xdr_stdio.c: Likewise.
38148
38149         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
38150         handling.
38151
38152 2010-08-19  Andreas Schwab  <schwab@redhat.com>
38153
38154         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
38155
38156 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
38157
38158         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
38159         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
38160         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
38161         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
38162         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
38163         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
38164         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
38165         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
38166         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
38167         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
38168         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
38169         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
38170         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
38171         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
38172
38173 2010-07-26  Anton Blanchard  <anton@samba.org>
38174
38175         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
38176         * malloc/arena.c (heap_trim): Likewise.
38177
38178 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
38179
38180         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
38181         here.  Not...
38182         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
38183         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
38184
38185 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
38186
38187         * sysdeps/i386/elf/Makefile: New file.
38188
38189 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
38190
38191         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
38192         from fanotify_init.
38193         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
38194         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38195
38196 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
38197
38198         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
38199         of strncasecmp_l.
38200         * sysdeps/multiarch/strcmp.S: Likewise.
38201
38202 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
38203
38204         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38205         strncase_l-nonascii.
38206         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38207         Add strncase_l-ssse3.
38208         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
38209         * sysdeps/x86_64/strcmp.S: Likewise.
38210         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
38211         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
38212         * sysdeps/x86_64/strncase.S: New file.
38213         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
38214         * sysdeps/x86_64/strncase_l.S: New file.
38215         * string/Makefile (strop-tests): Add strncasecmp.
38216         * string/test-strncasecmp.c: New file.
38217
38218         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
38219         warning.
38220
38221         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
38222         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
38223
38224 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
38225
38226         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
38227
38228 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
38229
38230         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
38231         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
38232         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
38233
38234 2010-05-01  Alan Modra  <amodra@gmail.com>
38235
38236         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
38237         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
38238         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
38239         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
38240         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
38241         tidying.  Don't tail-call __sigjmp_save for static lib.
38242         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
38243         save location.
38244         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
38245         (CALL_MCOUNT): Add eh info, and nop after bl.
38246         (TAIL_CALL_SYSCALL_ERROR): New macro.
38247         (PSEUDO_RET): Use it.
38248         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
38249         Correct save location of integer regs and cr.
38250         (_dl_profile_resolve): Correct cr save location.  Delete nops
38251         after bl when SHARED.  Reduce cfi size a little by better
38252         placement of cfi directives.
38253         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
38254         make a stack frame.  Instead use parm save area as a temp.
38255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
38256         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
38257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
38258         Don't make a stack frame for parent, use parm save area.
38259         Increase child stack frame to 112 bytes.  Don't save unused reg,
38260         and adjust reg usage.  Set up cfi on error recovery and
38261         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
38262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38263         (__makecontext): Add dummy nop after jump to exit.
38264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
38265         Use correct parm save area and cr save, reduce stack frame.
38266         Correct cfi for possible PSEUDO_RET frame setup.
38267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
38268         Branch to local label emitted by PSEUDO_RET rather than
38269         __syscall_error.
38270
38271 2010-08-12  Andreas Schwab  <schwab@redhat.com>
38272
38273         [BZ #11904]
38274         * locale/programs/locale.c (print_assignment): New function.
38275         (show_locale_vars): Use it.
38276
38277 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
38278
38279         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
38280         field.
38281         (struct statfs64): Likewise.
38282         (_STATFS_F_FLAGS): Define.
38283         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
38284         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38285         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
38286         (ST_VALID): Define locally.
38287         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
38288         __statvfs_getflags, use the provided value.
38289         * sysdeps/unix/sysv/linux/kernel-features.h: Define
38290         __ASSUME_STATFS_F_FLAGS.
38291
38292         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
38293
38294         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
38295         Add sys/fanotify.h.
38296         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
38297         fanotify_mask for GLIBC_2.13.
38298         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
38299         fanotify_init and fanotify_mark.
38300         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
38301         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
38302
38303         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
38304         Add prlimit.
38305         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
38306         prlimit64 for GLIBC_2.13.
38307         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
38308         prlimit64.
38309         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
38310         syscall.
38311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
38312         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
38313         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
38314         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
38315         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
38316         add prlimit alias.
38317         * sysdeps/unix/sysv/linux/prlimit.c: New file.
38318
38319         [BZ #11903]
38320         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
38321         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
38322
38323         * nss/Makefile: Add rules to build and run tst-nss-test1.
38324         * shlib-versions: Add entry for libnss_test1.
38325         * nss/nss_test1.c: New file.
38326         * nss/tst-nss-test1.c: New file.
38327
38328         * nss/nsswitch.c (__nss_database_custom): Define new variable.
38329         (__nss_configure_lookup): Set appropriate entry in
38330         __nss_configure_lookup to true.
38331         * nss/nsswitch.h: Define enum with indeces of databases in
38332         databases and __nss_database_custom arrays.  Declare
38333         __nss_database_custom.
38334         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
38335         to avoid using nscd when custom rules are installed.
38336         * nss/getXXbyYY_r.c: Likewise.
38337         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
38338
38339         * nss/nss_files/files-parse.c: Whitespace fixes.
38340
38341 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
38342
38343         [BZ #11883]
38344         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
38345         * posix/fnmatch_loop.c: Likewise.
38346
38347 2010-07-17  Andi Kleen  <ak@linux.intel.com>
38348
38349         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
38350         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
38351         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
38352         * Versions.def [GLIBC_2.13]: Add.
38353
38354 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
38355
38356         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38357         Also fail if tpwd after pwuid call is NULL.
38358
38359 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38360
38361         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
38362         when converting to ms.
38363
38364 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38365
38366         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
38367         EOPNOTSUPP errors with ENOTTY.
38368         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
38369         EOPNOTSUPP errors with ENOTTY.
38370
38371 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
38372
38373         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
38374         Add strcasecmp_l-ssse3.
38375         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
38376         strcasecmp.
38377         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
38378         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
38379         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
38380
38381 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
38382
38383         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
38384
38385         * string/Makefile (strop-tests): Add strcasecmp.
38386         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
38387         strcasecmp_l-nonascii.
38388         (gen-as-const-headers): Add locale-defines.sym.
38389         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
38390         * sysdeps/x86_64/strcasecmp.S: New file.
38391         * sysdeps/x86_64/strcasecmp_l.S: New file.
38392         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
38393         * sysdeps/x86_64/locale-defines.sym: New file.
38394         * string/test-strcasecmp.c: New file.
38395
38396         * string/test-strcasestr.c: Test both ends of the range of characters.
38397         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
38398
38399 2010-07-29  Roland McGrath  <roland@redhat.com>
38400
38401         [BZ #11856]
38402         * manual/locale.texi (Yes-or-No Questions): Fix example code.
38403
38404 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
38405
38406         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
38407         for ld.so.
38408
38409 2010-07-27  Andreas Schwab  <schwab@redhat.com>
38410
38411         * manual/memory.texi (Malloc Tunable Parameters): Document
38412         M_PERTURB.
38413
38414 2010-07-26  Roland McGrath  <roland@redhat.com>
38415
38416         [BZ #11840]
38417         * configure.in (-fgnu89-inline check): Set and substitute
38418         gnu89_inline, not libc_cv_gnu89_inline.
38419         * configure: Regenerated.
38420         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
38421
38422 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
38423
38424         * string/test-strnlen.c: New file.
38425         * string/Makefile (strop-tests): Add strnlen.
38426         * string/tester.c (test_strnlen): Add a few more test cases.
38427         * string/tst-strlen.c: Better error reporting.
38428
38429         * sysdeps/x86_64/strnlen.S: New file.
38430
38431 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
38432
38433         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
38434         lower-latency instructions.
38435
38436 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
38437
38438         * string/test-strcasestr.c: New file.
38439         * string/test-strstr.c: New file.
38440         * string/Makefile (strop-tests): Add strstr and strcasestr.
38441         * string/str-two-way.h: Don't undefine MAX.
38442         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
38443
38444 2010-07-21  Andreas Schwab  <schwab@redhat.com>
38445
38446         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38447         strcasestr-nonascii.
38448         (CFLAGS-strcasestr-nonascii.c): Define.
38449         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
38450         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
38451         Remove unused attribute.
38452
38453 2010-07-20  Roland McGrath  <roland@redhat.com>
38454
38455         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
38456         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
38457         ld.so.cache was broken.  With it, there is no way to disable dsocaps
38458         like LD_HWCAP_MASK can disable hwcaps.
38459
38460 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
38461
38462         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
38463
38464 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
38465
38466         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
38467         call in strcasestr.
38468         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
38469         __strcasestr_sse42_nonascii.
38470         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
38471         strcasestr-nonascii.c.
38472         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
38473
38474 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
38475
38476         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
38477         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
38478         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
38479         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
38480
38481 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
38482
38483         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
38484         fcntl.
38485
38486 2010-07-06  Andreas Schwab  <schwab@redhat.com>
38487
38488         [BZ #11577]
38489         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
38490         dl_signal_cerror.
38491
38492 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
38493
38494         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
38495         _PC_PIPE_BUF using F_GETPIPE_SZ.
38496
38497 2010-07-05  Roland McGrath  <roland@redhat.com>
38498
38499         * manual/arith.texi (Rounding Functions): Fix rint description
38500         implicit in round description.
38501
38502 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
38503
38504         * elf/Makefile: Fix linking for a few tests to make recent linker
38505         happy.
38506
38507 2010-06-30  Andreas Schwab  <schwab@redhat.com>
38508
38509         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38510         $(common-objpfx)libc_nonshared.a.
38511
38512 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
38513
38514         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
38515         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
38516         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38517         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38518         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
38519         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
38520         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38521         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
38523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
38524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
38525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
38526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
38527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
38528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
38529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
38530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
38531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
38532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
38533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
38534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
38535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
38536         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
38537         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
38538         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
38539         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
38540         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
38541         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
38542         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
38543         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
38544         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
38545         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
38546         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
38547         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
38548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
38549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
38550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
38551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
38552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
38553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
38554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
38555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
38556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
38557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
38558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
38559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
38560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
38561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
38562
38563 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
38564
38565         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
38566         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
38567         * string/memmove.c (memmove): Renamed to ...
38568         (MEMMOVE): ...this.  Default to memmove.
38569         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
38570         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
38571         (END_CHK): Define.
38572         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38573         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
38574         mempcpy-ssse3-back memmove-ssse3-back.
38575         * sysdeps/x86_64/multiarch/bcopy.S: New file .
38576         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
38577         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
38578         * sysdeps/x86_64/multiarch/memcpy.S: New file.
38579         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
38580         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
38581         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
38582         * sysdeps/x86_64/multiarch/memmove.c: New file.
38583         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
38584         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
38585         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
38586         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
38587         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
38588         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
38589         Define.
38590         (index_Fast_Copy_Backward): Define.
38591         (HAS_ARCH_FEATURE): Define.
38592         (HAS_FAST_REP_STRING): Define.
38593         (HAS_FAST_COPY_BACKWARD): Define.
38594
38595 2010-06-21  Andreas Schwab  <schwab@redhat.com>
38596
38597         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
38598         Restore proper fallback handling.
38599
38600 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
38601
38602         [BZ #11701]
38603         * posix/group_member.c (__group_member): Correct checking loop.
38604
38605         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
38606         OOM in getpwuid_r correctly.  Return error number when the caller
38607         should return, otherwise -1.
38608         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
38609         call returning > 0 value.
38610         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
38611
38612 2010-06-07  Andreas Schwab  <schwab@redhat.com>
38613
38614         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
38615         libc_nonshared.a from targets in modules-names.
38616
38617 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
38618
38619         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
38620         requires it.
38621
38622 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
38623
38624         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
38625         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
38626         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
38627         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
38628
38629 2010-06-02  Andreas Schwab  <schwab@redhat.com>
38630
38631         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
38632
38633 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
38634
38635         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
38636         and F_GETPIPE_SZ.
38637         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38638         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38639         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38640         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38641         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38642         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
38643
38644 2010-06-14  Roland McGrath  <roland@redhat.com>
38645
38646         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
38647
38648 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
38649
38650         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
38651         __REDIRECT followed by __THROW.
38652         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
38653         * posix/getopt.h (getopt): Likewise.
38654
38655 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
38656
38657         * hurd/lookup-at.c (__file_name_lookup_at): Accept
38658         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
38659         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
38660         in AT_FLAGS.
38661         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
38662         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
38663
38664 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
38665
38666         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
38667
38668 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
38669
38670         [BZ #11640]
38671         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38672         Properly check family and model.
38673
38674 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
38675
38676         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
38677
38678 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
38679
38680         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
38681
38682 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
38683
38684         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
38685         symbol reference.
38686
38687 2010-05-19  Andreas Schwab  <schwab@redhat.com>
38688
38689         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
38690         symbol reference.
38691
38692 2010-05-21  Andreas Schwab  <schwab@redhat.com>
38693
38694         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
38695         and internal_recvmmsg.
38696         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
38697         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
38698         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
38699         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
38700
38701         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
38702         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38703         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38704
38705 2010-05-20  Andreas Schwab  <schwab@redhat.com>
38706
38707         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
38708
38709 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
38710
38711         POWER7 optimizations.
38712         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
38713         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
38714
38715 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
38716
38717         * version.h: Update for 2.13 development version.
38718
38719 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
38720
38721         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
38722         exceptions.  Return 0.
38723
38724 2010-05-07  Roland McGrath  <roland@redhat.com>
38725
38726         * elf/ldconfig.c (main): Add a const.
38727
38728 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
38729
38730         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
38731         (args_options): Add no-idn option.
38732         (ahosts_keys_int): Add idn_flags to ai_flags.
38733         (parse_option): Handle 'i' option to clear idn_flags.
38734
38735         * malloc/malloc.c (_int_free): Possible race in the most recently
38736         added check.  Only act on the data if no current modification
38737         happened.
38738
38739 See ChangeLog.17 for earlier changes.